/* Home page: black canvas, a stack of large rounded video cards that tilt as they pass. */
:root {
  --ink: #050507;
  --card: #0f1017;
  --line: #222533;
  --text: #f2f3f7;
  --muted: #9aa1b4;
  --accent: #d08cff;
  --accent-2: #7c3aed;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; }

/* Fixed corner labels */
.corner {
  position: fixed; z-index: 20; font-size: 15px; font-weight: 600; letter-spacing: .02em;
  color: #fff; mix-blend-mode: difference; padding: 6px 2px;
}
.corner a { opacity: .92; transition: opacity .2s; }
.corner a:hover { opacity: 1; }
.c-tl { top: 22px; left: 28px; display: flex; align-items: center; gap: 10px; }
.c-tl img { width: 26px; height: 26px; mix-blend-mode: normal; }
.c-tr { top: 22px; right: 28px; }
.c-bl { bottom: 22px; left: 28px; display: flex; gap: 10px; }
.c-bl span { opacity: .45; }
.c-br { bottom: 22px; right: 28px; }

/* Intro */
.intro { min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 6vw 56px; max-width: 1400px; margin: 0 auto; }
.intro .kicker { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.intro h1 {
  margin: 0; font-size: clamp(44px, 8.4vw, 132px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
}
.intro h1 .soft { color: #6d7285; }
.intro .row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; margin-top: 36px; }
.intro p { max-width: 30em; color: var(--muted); font-size: 18px; margin: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
  background: #fff; color: #08080b; font-weight: 700; font-size: 16px; transition: transform .2s;
}
.pill:hover { transform: scale(1.03); }
.pill.dark { background: transparent; color: #fff; border: 1px solid #3a3e4f; }
.pills { display: flex; gap: 12px; flex-wrap: wrap; }

/* Card stack */
.stack { display: grid; gap: 28px; padding: 0 2.4vw 40px; perspective: 1400px; }
.panel {
  position: relative; height: min(82vh, 860px); min-height: 420px; border-radius: 34px; overflow: hidden;
  background: var(--card); transform-origin: 50% 50%; will-change: transform;
  /* Videos are drawn on their own layer; clip-path keeps them inside the rounded corners. */
  clip-path: inset(0 round 34px); isolation: isolate;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.panel video, .panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 28%, transparent 55%, rgba(0, 0, 0, .72) 100%);
}
.panel .shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 1; }
.panel .label {
  position: absolute; z-index: 2; left: clamp(22px, 3vw, 44px); bottom: clamp(22px, 3vw, 40px); right: 120px;
}
.panel .num { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 8px; letter-spacing: .08em; }
.panel h2 { margin: 0; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.panel .desc { margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: clamp(14px, 1.3vw, 17px); max-width: 36em; }
.panel .go {
  position: absolute; z-index: 2; right: clamp(22px, 3vw, 40px); bottom: clamp(22px, 3vw, 40px);
  width: 64px; height: 64px; border-radius: 50%; background: #0a0a0d; color: #fff; display: grid; place-items: center;
  transition: transform .25s, background .25s;
}
.panel .go:hover { transform: scale(1.08) rotate(-12deg); background: var(--accent-2); }
.panel .tags { position: absolute; z-index: 2; top: clamp(20px, 2.6vw, 34px); left: clamp(22px, 3vw, 44px); display: flex; gap: 8px; flex-wrap: wrap; }
.panel .tags span { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(10, 10, 13, .55); backdrop-filter: blur(8px); color: #e9eaf0; }
.panel.screen { background: radial-gradient(900px 500px at 70% 10%, #2b1450, #0b0c12 70%); }
.panel.screen > img { object-fit: contain; inset: 9% 6% 22%; width: 88%; height: 69%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }

/* Lower sections */
.block { max-width: 1240px; margin: 0 auto; padding: 120px 5vw 40px; }
.block h2 { font-size: clamp(34px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 16px; }
.block .lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 48px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 26px; padding: 30px 26px; background: var(--card); display: flex; flex-direction: column; }
.plan.hot { background: linear-gradient(170deg, #2a1650, var(--card) 65%); border-color: #5b3a96; }
.plan h3 { margin: 0; font-size: 17px; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { font-size: 15px; color: #d5d8e3; padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); opacity: .8; }
.points { margin-top: 16px; border: 1px solid var(--line); border-radius: 26px; padding: 28px 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.points p { margin: 0; color: var(--muted); }
.points b { color: var(--text); }
.points table { width: 100%; border-collapse: collapse; font-size: 15px; }
.points td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.points td:last-child { text-align: right; color: var(--text); }
.fine { color: #737a8e; font-size: 13px; margin-top: 18px; }
.fine a { color: var(--accent); }

.download { text-align: center; }
.download .pills { justify-content: center; }
.download .lead { margin: 0 auto 32px; }
.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; text-align: left; }
.reqs div { border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; color: var(--muted); font-size: 15px; }
.reqs b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }
.pill[aria-disabled="true"] { opacity: .5; cursor: default; transform: none; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 24px; color: var(--muted); max-width: 46em; }

.end { max-width: 1240px; margin: 0 auto; padding: 120px 5vw 110px; }
.end .big { font-size: clamp(40px, 7vw, 108px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 32px; }
.end nav { display: flex; flex-wrap: wrap; gap: 14px 28px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.end nav a:hover { color: var(--text); }
.end nav span { margin-right: auto; }

@media (max-width: 860px) {
  .plans, .reqs, .points { grid-template-columns: 1fr; }
  .panel { height: 72vh; border-radius: 24px; clip-path: inset(0 round 24px); }
  .panel .go { width: 52px; height: 52px; }
  .panel .label { right: 84px; }
  .c-bl, .c-br { display: none; }
  .intro { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  .panel { transform: none !important; }
}
