/* =========================================================
   2Subs — Marketing site
   Red / white system, original design
   ========================================================= */

:root {
  --red-50:  #FFF1F2;
  --red-100: #FFE0E2;
  --red-200: #FFC2C7;
  --red-300: #FF96A0;
  --red-400: #FF5E6E;
  --red-500: #ED2233;   /* primary */
  --red-600: #D31425;
  --red-700: #A30E1B;
  --red-800: #730912;
  --red-900: #45050B;

  --ink-900: #0B0B10;
  --ink-800: #1A1A22;
  --ink-700: #2A2A35;
  --ink-500: #5B5B6B;
  --ink-400: #8A8A98;
  --ink-300: #B7B7C2;
  --ink-200: #D9D9E0;
  --ink-100: #ECECEF;
  --ink-50:  #F6F6F8;
  --white:   #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(11,11,16,.06), 0 1px 1px rgba(11,11,16,.04);
  --shadow-md: 0 10px 30px -12px rgba(11,11,16,.18), 0 4px 12px -6px rgba(11,11,16,.10);
  --shadow-lg: 0 30px 60px -20px rgba(11,11,16,.25), 0 12px 24px -12px rgba(11,11,16,.12);
  --shadow-red: 0 18px 50px -16px rgba(237,34,51,.55), 0 8px 20px -8px rgba(237,34,51,.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --container: 1200px;
  --gutter: 24px;

  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* gradient palette */
  --grad-hero: radial-gradient(120% 80% at 80% -10%, #FFE6E9 0%, transparent 55%),
               radial-gradient(90% 60% at -10% 20%, #FFF1F2 0%, transparent 50%),
               linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 100%);
  --grad-red:  linear-gradient(135deg, #FF4757 0%, #ED2233 45%, #B70F1E 100%);
  --grad-red-soft: linear-gradient(135deg, #FFB1B8 0%, #FF6B7A 100%);
  --grad-dark: linear-gradient(180deg, #0B0B10 0%, #1A0608 100%);
  --grad-mesh: radial-gradient(80% 60% at 20% 20%, rgba(237,34,51,.25), transparent 60%),
               radial-gradient(60% 50% at 80% 30%, rgba(255,71,87,.18), transparent 60%),
               radial-gradient(60% 60% at 50% 90%, rgba(115,9,18,.35), transparent 60%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--white);
  color: var(--ink-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--red-500); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 12px 10px 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(11,11,16,.06);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -16px rgba(11,11,16,.18);
  transition: box-shadow .3s ease, transform .3s ease, background .3s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 40px -16px rgba(11,11,16,.22);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.brand img {
  width: 28px; height: 28px;
  border-radius: 7px;
  box-shadow: 0 4px 12px -4px rgba(237,34,51,.55);
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--ink-50); color: var(--ink-900); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink-900);
  color: var(--white);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--red-500); box-shadow: var(--shadow-red); }

.menu-btn {
  display: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--ink-50);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(11,11,16,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
  opacity: .55;
}
.hero-blob {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
}
.hero-blob.a { background: radial-gradient(closest-side, #FF6B7A, transparent); top: -200px; right: -120px; }
.hero-blob.b { background: radial-gradient(closest-side, #FFB1B8, transparent); bottom: -300px; left: -200px; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px,-30px) scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.eyebrow .pill {
  background: var(--grad-red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16C172;
  box-shadow: 0 0 0 4px rgba(22,193,114,.18);
}

h1.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h1.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1.hero-title .strike {
  position: relative;
  white-space: nowrap;
}
h1.hero-title .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 55%;
  height: 6px;
  background: var(--red-500);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: strike 1.4s cubic-bezier(.7,.1,.25,1) .7s forwards;
}
@keyframes strike {
  to { transform: scaleX(1); }
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-500);
  max-width: 540px;
  margin: 0 0 32px;
}
@media (max-width: 940px) { .hero-sub { margin-left: auto; margin-right: auto; } }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 940px) { .hero-ctas { justify-content: center; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px rgba(237,34,51,.65); }
.btn-ghost {
  background: var(--white);
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
}
.btn-ghost:hover { background: var(--ink-50); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink-900);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-700); transform: translateY(-2px); }

.hero-meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-500);
  font-size: 13.5px;
}
@media (max-width: 940px) { .hero-meta { justify-content: center; } }
.stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-500);
}
.stars b { color: var(--ink-900); font-weight: 700; margin-left: 4px; }

/* Hero player mockup */
.player {
  position: relative;
  border-radius: var(--radius-lg);
  background: #0B0B10;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11,11,16,.06);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.player:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }

.player-stage {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(237,34,51,.30), transparent 70%),
    linear-gradient(180deg, #1f1a2e 0%, #0B0B10 60%);
}
.player-stage::after {
  /* film grain texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.06), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(237,34,51,.10), transparent 50%);
  mix-blend-mode: screen;
}
.player .scene-glow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 80%;
  height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(237,34,51,.45), transparent 70%),
    radial-gradient(40% 30% at 60% 30%, rgba(255,107,122,.25), transparent 70%);
  filter: blur(20px);
  opacity: .85;
}
.player .topchrome {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,.45), transparent);
}
.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #B8F5D4;
  padding: 4px 10px 4px 8px;
  background: rgba(22,193,114,.18);
  border: 1px solid rgba(22,193,114,.35);
  border-radius: 999px;
}
.live-pill .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16C172;
  box-shadow: 0 0 0 4px rgba(22,193,114,.25);
  animation: blink 1.5s ease-in-out infinite;
}
.player .topchrome .dots { display: flex; gap: 6px; }
.player .topchrome .dots i { display:block; width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.18); }
.player .topchrome .dots i:nth-child(1) { background:#FF5F57; }
.player .topchrome .dots i:nth-child(2) { background:#FEBC2E; }
.player .topchrome .dots i:nth-child(3) { background:#28C840; }

.player .controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: #fff;
  font-size: 12px;
}
.player .controls .scrub {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.player .controls .scrub::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(90deg, #ED2233, #FF6B7A);
  animation: progress 9s linear infinite;
}
@keyframes progress {
  0% { width: 0; } 100% { width: 100%; }
}
.player .controls svg { width: 18px; height: 18px; }

/* subtitles */
.subs {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 88%;
}
.sub-line {
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.sub-line.primary { color: #fff; font-size: clamp(15px, 1.4vw, 20px); }
.sub-line.secondary {
  color: #FFD3D7;
  font-size: clamp(13px, 1.15vw, 16px);
  background: rgba(237,34,51,.18);
  border: 1px solid rgba(255,255,255,.08);
}
.sub-line .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  animation: word-in .4s ease forwards;
}

/* floating chips around player */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-900);
  border: 1px solid var(--ink-100);
  animation: hover-y 6s ease-in-out infinite;
}
.float-chip .lang {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  background: var(--grad-red);
}
.float-chip.b { animation-delay: -3s; background: var(--ink-900); color: #fff; }
.float-chip.b .lang { background: #fff; color: var(--ink-900); }
@keyframes hover-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-stage { position: relative; }
.float-chip.a { top: 8%; left: -4%; }
.float-chip.b { bottom: 12%; right: -6%; }

/* =====================================================
   LOGO ROW
   ===================================================== */
.logos {
  padding: 60px 0 20px;
  text-align: center;
}
.logos p {
  font-size: 13px;
  color: var(--ink-400);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: .7;
  filter: grayscale(1);
}
.logos-row span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--ink-700);
  letter-spacing: -0.02em;
}

/* =====================================================
   SECTIONS — generic
   ===================================================== */
section { padding: 110px 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red-600);
  margin-bottom: 16px;
}
.section-tag::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--red-500);
}
.section-tag::after {
  content: "";
  width: 24px; height: 1px;
  background: var(--red-500);
}
h2.section-title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 16px;
}
h2.section-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 18px;
  color: var(--ink-500);
  margin: 0;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 940px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}

/* "Coming soon" badge on roadmap features */
.soon-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFF4D6 0%, #FFE08A 100%);
  color: #6B4A00;
  border: 1px solid rgba(107, 74, 0, .15);
  box-shadow: 0 4px 12px -6px rgba(107, 74, 0, .35);
}
.feature-card.dark .soon-badge,
.feature-card.red .soon-badge {
  background: rgba(255,255,255,.18);
  color: #FFE0E2;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-200);
}
.feature-card.wide { grid-column: span 4; }
.feature-card.tall { grid-column: span 2; }
.feature-card.half { grid-column: span 3; }
.feature-card.dark {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}
.feature-card.red {
  background: var(--grad-red);
  color: #fff;
  border-color: transparent;
}
@media (max-width: 940px) {
  .feature-card.wide, .feature-card.tall, .feature-card.half { grid-column: span 2; }
}
@media (max-width: 600px) {
  .feature-card.wide, .feature-card.tall, .feature-card.half { grid-column: span 1; }
}

.feature-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0;
  max-width: 36ch;
}
.feature-card.dark p, .feature-card.red p { color: rgba(255,255,255,.78); }

.feature-icon {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red-600);
  margin-bottom: 16px;
}
.feature-card.dark .feature-icon { background: rgba(255,255,255,.08); color: #fff; }
.feature-card.red .feature-icon { background: rgba(255,255,255,.16); color: #fff; }

.feature-art {
  margin-top: 22px;
  position: relative;
  border-radius: 14px;
  height: 200px;
  background: var(--ink-50);
  overflow: hidden;
}
.feature-card.wide .feature-art { height: 240px; }

/* lang grid art */
.lang-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 18px;
  align-content: center;
}
.lang-grid span {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-700);
  transition: transform .25s, border-color .25s, color .25s, background .25s;
}
.lang-grid span.hot {
  background: var(--grad-red);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-red);
}

/* waveform art */
.wave-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  padding: 24px;
}
.wave-art i {
  display: block;
  width: 4px;
  background: var(--grad-red);
  border-radius: 4px;
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 8px; opacity: .6; }
  50%      { height: 100%; opacity: 1; }
}

/* speed art */
.speed-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.speed-dial {
  width: 160px; height: 160px;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, var(--red-500) 0deg, var(--red-500) 270deg, var(--ink-100) 270deg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.speed-dial::before {
  content: "";
  position: absolute; inset: 14px;
  border-radius: 50%;
  background: var(--white);
}
.speed-dial span {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.speed-dial small {
  position: relative;
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-400);
  text-align: center;
  margin-top: 2px;
}

/* stack art */
.stack-art {
  position: absolute; inset: 0;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.stack-art .row {
  background: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
  border: 1px solid var(--ink-100);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 8px rgba(11,11,16,.04);
}
.stack-art .row.active {
  border-color: var(--red-200);
  box-shadow: 0 8px 22px -10px rgba(237,34,51,.45);
}
.stack-art .row .b { width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); }

/* glyph art */
.glyph-art {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
  padding: 22px;
}
.glyph-art span {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-300);
  transition: color .3s, transform .3s;
}
.glyph-art span.hot { color: var(--red-500); transform: scale(1.2); }

/* sites art */
.sites-art {
  position: absolute; inset: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sites-art .site {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-700);
}
.sites-art .site .pic {
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--ink-100), var(--ink-200));
  position: relative;
}
.sites-art .site .pic::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--red-500);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.step p {
  margin: 0 0 18px;
  color: var(--ink-500);
}
.step-art {
  height: 140px;
  border-radius: 12px;
  background: var(--ink-50);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* step 1: install */
.step1 {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FFF1F2, #FFE0E2);
}
.step1 .puzzle {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-red);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-red);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* step 2: select languages */
.step2 {
  width: 100%; height: 100%;
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.step2 .pick {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
}
.step2 .pick.sel {
  border-color: var(--red-300);
  box-shadow: 0 0 0 3px rgba(237,34,51,.12);
}
.step2 .pick .flag {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

/* step 3: watch */
.step3 {
  width: 100%; height: 100%;
  background: #0B0B10;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 14px;
  position: relative;
}
.step3::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 90%, rgba(237,34,51,.35), transparent 70%);
}
.step3 .lines {
  position: relative;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.step3 .lines span {
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
}
.step3 .lines span:nth-child(2) {
  background: rgba(237,34,51,.25);
  color: #FFD3D7;
}

/* connector line behind steps */
.steps::before {
  content: "";
  position: absolute;
  top: 76px;
  left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--red-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}
@media (max-width: 800px) { .steps::before { display: none; } }

/* =====================================================
   SHOWCASE / SPLIT
   ===================================================== */
.showcase {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 60px var(--gutter);
  overflow: hidden;
  position: relative;
}
.showcase::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  opacity: .8;
  pointer-events: none;
}
.showcase-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px;
  align-items: center;
}
@media (max-width: 940px) {
  .showcase-inner { grid-template-columns: 1fr; padding: 56px 32px; }
  .showcase { margin: 60px 12px; }
}
.showcase h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 700;
}
.showcase h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #FFB1B8;
}
.showcase p {
  color: rgba(255,255,255,.72);
  font-size: 17px;
  max-width: 46ch;
  margin: 0 0 28px;
}
.showcase .stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px;
}
.showcase .stat .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #FFB1B8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.showcase .stat .l { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }

/* dual-sub visual */
.dual {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(237,34,51,.35), transparent 70%),
    linear-gradient(180deg, #2A2A35 0%, #0B0B10 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.dual .silhouette {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1 / 1.4;
  background: radial-gradient(60% 30% at 50% 18%, #1F1A2E, transparent 70%),
              radial-gradient(70% 70% at 50% 80%, #1F1A2E, transparent 70%);
}
.dual .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.dual .badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 4px rgba(237,34,51,.3);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: .3; }
}
.dual .subs2 {
  position: absolute;
  left: 50%; bottom: 8%;
  transform: translateX(-50%);
  width: 86%;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.dual .subs2 span {
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
  font-size: 17px;
}
.dual .subs2 span.b {
  color: #FFD3D7;
  background: rgba(237,34,51,.22);
  font-size: 14px;
}

/* Streaming-services brand tile grid (replaces plain .site boxes) */
.sites-art-wrap {
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 22px;
}
.sites-brand {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 940px) { .sites-brand { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .sites-brand { grid-template-columns: repeat(2, 1fr); } }

.brand-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.brand-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.brand-tile .brand-glyph {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}
.brand-tile .brand-name {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  opacity: .92;
}

/* — brand-color treatments — */
.brand-tile.netflix {
  background: linear-gradient(155deg, #1c1c1c 0%, #000 100%);
  color: #fff;
}
.brand-tile.netflix .brand-glyph { color: #E50914; text-shadow: 0 2px 12px rgba(229,9,20,.5); }

.brand-tile.youtube {
  background: linear-gradient(135deg, #FF1F1F 0%, #C00 100%);
  color: #fff;
}
.brand-tile.youtube .brand-glyph {
  background: #fff;
  width: 44px; height: 32px;
  min-width: 44px;
  border-radius: 8px;
  padding-left: 4px;
}

.brand-tile.disney {
  background: linear-gradient(155deg, #1F1FAE 0%, #0a0a4a 100%);
  color: #fff;
}
.brand-tile.disney .brand-glyph { color: #fff; }

.brand-tile.prime {
  background: linear-gradient(155deg, #1A98FF 0%, #0066B3 100%);
  color: #fff;
}
.brand-tile.prime .brand-glyph {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #fff;
}
.brand-tile.prime .brand-glyph::after {
  content: "";
  display: inline-block;
  width: 22px; height: 4px;
  background: #FFB400;
  border-radius: 2px;
  margin-left: 4px;
  transform: translateY(-4px);
}

.brand-tile.max {
  background: linear-gradient(155deg, #6E2BFF 0%, #2A0B66 100%);
  color: #fff;
}
.brand-tile.max .brand-glyph { color: #fff; font-size: 32px; letter-spacing: -0.04em; }

.brand-tile.crunchy {
  background: linear-gradient(155deg, #F47521 0%, #C24E00 100%);
  color: #fff;
}
.brand-tile.crunchy .brand-glyph { color: #fff; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 38px; }

/* — single-card pricing layout — */
.price-grid-single {
  grid-template-columns: minmax(280px, 460px);
  justify-content: center;
}
.price-grid-single .price-card {
  text-align: left;
}

/* =====================================================
   PRICING
   ===================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
  box-shadow: var(--shadow-red);
}
.price-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.price-card .pdesc {
  font-size: 14px; color: var(--ink-500); margin: 0 0 22px;
}
.price-card.featured .pdesc { color: rgba(255,255,255,.6); }
.price-card .price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px;
}
.price-card .price .amt {
  font-size: 48px; font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card .price .cur { font-size: 22px; font-weight: 600; color: var(--ink-400); }
.price-card .price .per { font-size: 14px; color: var(--ink-400); margin-left: 4px; }
.price-card.featured .price .cur,
.price-card.featured .price .per { color: rgba(255,255,255,.5); }
.price-card .billed {
  font-size: 12px; color: var(--ink-400); margin-bottom: 26px;
}
.price-card.featured .billed { color: rgba(255,255,255,.5); }
.price-card .pbtn {
  display: flex; width: 100%;
  justify-content: center;
  padding: 13px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--ink-900); color: #fff;
  margin-bottom: 24px;
  transition: transform .2s, background .2s;
}
.price-card .pbtn:hover { transform: translateY(-1px); background: var(--red-500); }
.price-card.featured .pbtn { background: var(--grad-red); box-shadow: var(--shadow-red); }
.price-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.price-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--ink-700);
}
.price-card.featured ul li { color: rgba(255,255,255,.8); }
.price-card ul li svg { flex: 0 0 18px; color: var(--red-500); margin-top: 2px; }
.price-card.featured ul li svg { color: #FF8A95; }

.bill-toggle {
  display: inline-flex;
  background: var(--ink-50);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 40px;
  gap: 2px;
  align-self: center;
}
.bill-toggle button {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.bill-toggle button.on {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.bill-toggle .save {
  background: var(--red-500);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
}

.bill-wrap { display: flex; justify-content: center; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 18px;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi .qstars { color: var(--red-500); display: flex; gap: 2px; }
.testi .quote {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
}
.testi .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.testi .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-red);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 15px;
}
.testi .who .name { font-weight: 600; font-size: 14px; }
.testi .who .role { font-size: 12.5px; color: var(--ink-400); }

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--ink-100);
}
.faq-item:first-child { border-top: 1px solid var(--ink-100); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: left;
  color: var(--ink-900);
}
.faq-q .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-600);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .25s, color .25s;
  flex: 0 0 28px;
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--red-500); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 4px 22px;
  color: var(--ink-500);
  font-size: 15px;
  max-width: 60ch;
}

/* =====================================================
   FINAL CTA
   ===================================================== */
.final-cta {
  position: relative;
  text-align: center;
  padding: 130px 24px;
  background: var(--grad-red);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 0 var(--gutter) 80px;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,.18), transparent 60%);
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}
.final-cta h2 {
  position: relative;
  font-size: clamp(40px, 5.5vw, 78px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 700;
}
.final-cta h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #FFE0E2;
}
.final-cta p {
  position: relative;
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.85);
}
.final-cta .btn-light {
  position: relative;
  background: #fff;
  color: var(--red-600);
  padding: 16px 28px;
  font-size: 16px;
}
.final-cta .btn-light:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px rgba(0,0,0,.4); }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--ink-100);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-500);
  max-width: 30ch;
}
.foot-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.foot-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.foot-col a {
  font-size: 14px;
  color: var(--ink-700);
  transition: color .2s;
}
.foot-col a:hover { color: var(--red-500); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-400);
  padding-top: 24px;
  border-top: 1px solid var(--ink-100);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom .socials { display: flex; gap: 10px; }
.foot-bottom .socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink-50);
  color: var(--ink-700);
  transition: background .25s, color .25s;
}
.foot-bottom .socials a:hover { background: var(--red-500); color: #fff; }

/* =====================================================
   HERO popup shot — real extension popup floating in front
   ===================================================== */
.popup-shot {
  position: absolute;
  right: -8%;
  top: -2%;
  width: 56%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 30px 80px -30px rgba(11,11,16,.55),
    0 12px 30px -16px rgba(237,34,51,.30);
  animation: hover-y 7s ease-in-out -2s infinite;
  pointer-events: none;
  z-index: 3;
}
@media (max-width: 1100px) {
  .popup-shot { right: -2%; width: 50%; }
}
@media (max-width: 940px) {
  .popup-shot {
    position: relative;
    right: auto;
    top: auto;
    width: 70%;
    max-width: 280px;
    margin: -40px auto 0;
    display: block;
    animation: none;
  }
}

/* Appearance panel image inside the dark feature card */
.appearance-art {
  background: transparent !important;
  height: auto !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.appearance-art img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -20px rgba(0,0,0,.6);
  margin: 0 auto;
}

/* =====================================================
   PRODUCT PREVIEW SECTION — uses real popup screenshots
   ===================================================== */
.preview-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 20px;
}
@media (max-width: 940px) {
  .preview-stage { grid-template-columns: 1fr; gap: 36px; }
}

.preview-card {
  position: relative;
  background: linear-gradient(180deg, #16161D 0%, #0B0B10 100%);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  padding: 18px 18px 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.preview-card:hover { transform: translateY(-4px); }
.preview-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 6px 12px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 999px;
}
.preview-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 4px rgba(237,34,51,.25);
  animation: blink 1.5s ease-in-out infinite;
}

.preview-mid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
.preview-quote {
  width: 100%;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(237,34,51,.30), transparent 70%),
    linear-gradient(180deg, #1F1A2E 0%, #0B0B10 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 28px 22px 26px;
  position: relative;
  overflow: hidden;
}
.preview-quote::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  pointer-events: none;
  opacity: .5;
}
.preview-quote .pq-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #FFD3D7;
  background: rgba(237,34,51,.2);
  border: 1px solid rgba(237,34,51,.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.preview-quote .pq-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-400);
  box-shadow: 0 0 0 4px rgba(237,34,51,.25);
  animation: blink 1.5s ease-in-out infinite;
}
.preview-quote .pq-line {
  position: relative;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-block;
  margin: 4px 0;
  max-width: 100%;
  text-wrap: balance;
}
.preview-quote .pq-line.a {
  background: rgba(0,0,0,.7);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.preview-quote .pq-line.b {
  background: rgba(237,34,51,.22);
  color: #FFD3D7;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,.06);
}

.preview-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.preview-features .pf {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  font-weight: 500;
}
.preview-features .pf b { font-family: var(--font-mono); background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: 12px; }
.preview-features .pf-k {
  flex: 0 0 32px;
  height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--grad-red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* =====================================================
   LANGUAGES (SEO long-tail grid)
   ===================================================== */
.lang-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 940px) { .lang-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lang-cards { grid-template-columns: 1fr; } }

.lang-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s;
  position: relative;
  overflow: hidden;
}
.lang-card::after {
  content: "→";
  position: absolute;
  top: 22px; right: 22px;
  font-size: 18px;
  color: var(--ink-300);
  transition: transform .25s, color .25s;
}
.lang-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-200);
}
.lang-card:hover::after { transform: translateX(4px); color: var(--red-500); }
.lang-card .lc-flag {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 10px;
}
.lang-card .lc-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.lang-card .lc-hint {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.4;
}
.lang-card.more {
  background: linear-gradient(135deg, var(--red-50), var(--white));
  border-color: var(--red-200);
}
.lang-card.more .lc-flag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 44px;
}

/* =====================================================
   SCROLL REVEAL
   — Default: visible. JS adds `has-reveal` on <html> only if it can
   actually drive the animation; that's when we hide-then-fade-in.
   ===================================================== */
[data-reveal] {
  opacity: 1;
  transform: none;
}
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
html.has-reveal [data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], html.has-reveal [data-reveal] {
    opacity: 1; transform: none; transition: none;
  }
  .hero-blob, .float-chip, .wave-art i, .step1 .puzzle, .dual .badge::before { animation: none !important; }
  html { scroll-behavior: auto; }
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(237,34,51,.14), transparent 34%),
    linear-gradient(180deg, var(--red-50), #fff 360px);
  color: var(--ink-800);
}
.legal {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}
.legal-brand {
  display: inline-flex;
  margin-bottom: 44px;
}
.legal h1 {
  font-size: clamp(42px, 8vw, 78px);
  line-height: .92;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 34px 0 10px;
  color: var(--ink-900);
}
.legal p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-600);
  margin: 0 0 14px;
}
.legal a:not(.brand) {
  color: var(--red-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-muted {
  color: var(--ink-400) !important;
  font-size: 14px !important;
}

/* MOBILE */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  section { padding: 80px 0; }
  .float-chip.a, .float-chip.b { display: none; }
}
