/* ============================================================
   VOCANIFY — main.css
   Premium AI English communication platform landing page.
   Palette: Royal Blue #2563EB · Orange #F97316 · Navy #111827
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-050: #eff4ff;
  --blue-100: #dbeafe;
  --orange: #f97316;
  --orange-050: #fff7ed;
  --orange-100: #ffedd5;
  --navy: #111827;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --green: #10b981;
  --green-050: #ecfdf5;

  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-xs: 0 1px 3px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 4px 16px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 16px 40px rgba(17, 24, 39, 0.09);
  --shadow-lg: 0 32px 72px rgba(17, 24, 39, 0.14);
  --shadow-blue: 0 16px 40px rgba(37, 99, 235, 0.25);
  --shadow-blue-lg: 0 24px 56px rgba(37, 99, 235, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1200px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

em {
  font-style: normal;
  color: var(--blue);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container--narrow {
  max-width: 800px;
}

/* Anchor offset for fixed nav */
section[id],
.hero {
  scroll-margin-top: 88px;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 1001;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  transition: all 0.4s var(--ease);
  will-change: transform;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn svg {
  transition: transform 0.4s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
  background: var(--blue-600);
}

.btn--primary:hover svg {
  transform: translateX(4px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--ink);
  padding: 12px 18px;
}

.btn--ghost:hover {
  color: var(--blue);
  background: var(--blue-050);
}

.btn--play {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.btn--play:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.play-ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange-050);
  color: var(--orange);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease);
}

.btn--play:hover .play-ring {
  transform: scale(1.1);
}

.btn--white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.btn--outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--orange);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
    box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(17, 24, 39, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-050);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 910;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(84vw, 360px);
  background: #fff;
  z-index: 905;
  padding: 100px 26px 30px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer__link {
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  transition: color 0.25s var(--ease);
}

.mobile-drawer__link:hover {
  color: var(--blue);
}

.mobile-drawer__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 148px 0 40px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
  top: -180px;
  left: -160px;
  animation: glowDrift 18s ease-in-out infinite;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25), transparent 70%);
  bottom: -160px;
  right: -120px;
  animation: glowDrift 22s ease-in-out infinite reverse;
}

@keyframes glowDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.97);
  }
}

/* Subtle dot grid */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, var(--gray-300) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Copy */
.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.06);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  margin-bottom: 28px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
  }
}

.hero__title {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 4px;
}

.hero__title .line__inner {
  display: block;
  transform: translateY(110%);
  animation: lineReveal 0.9s var(--ease) forwards;
}

.hero__title .line:nth-child(1) .line__inner {
  animation-delay: 0.15s;
}

.hero__title .line:nth-child(2) .line__inner {
  animation-delay: 0.28s;
}

.hero__title .line:nth-child(3) .line__inner {
  animation-delay: 0.41s;
}

@keyframes lineReveal {
  to {
    transform: translateY(0);
  }
}

.hero__title em {
  background: linear-gradient(105deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero entrance */
.hero-in {
  opacity: 0;
  animation: fadeUp 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__trust p {
  font-size: 14px;
  color: var(--muted);
}

.avatars {
  display: flex;
}

.avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: hsl(var(--hue, 210), 60%, 60%);
  border: 2.5px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-left: -8px;
  box-shadow: var(--shadow-xs);
}

.avatars span:first-child {
  margin-left: 0;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  height: 520px;
  z-index: 2;
}

.hero__orb {
  position: absolute;
  inset: 8% 6%;
  border-radius: 46% 54% 58% 42% / 50% 46% 54% 50%;
  background: linear-gradient(150deg, var(--blue) 0%, #4f86ff 40%, var(--orange) 100%);
  box-shadow: 0 40px 80px rgba(37, 99, 235, 0.25);
  opacity: 0.92;
  animation: morph 14s ease-in-out infinite;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 46% 54% 58% 42% / 50% 46% 54% 50%;
  }

  50% {
    border-radius: 58% 42% 40% 60% / 42% 58% 42% 58%;
  }
}

/* Float Cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  width: 252px;
  animation: floaty 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
}

.float-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.float-card--chat {
  top: 5%;
  right: -3%;
  animation-delay: 0s;
}

.float-card--match {
  bottom: 22%;
  left: -5%;
  width: 234px;
  animation-delay: 1.5s;
}

.float-card--daily {
  bottom: 2%;
  right: 5%;
  width: 238px;
  animation-delay: 2.8s;
}

@keyframes floaty {
  50% {
    transform: translateY(-12px);
  }
}

.fc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.fc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.fc-dot--blue {
  background: var(--blue);
}

.fc-dot--orange {
  background: var(--orange);
}

.fc-live {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-050);
  padding: 2px 8px;
  border-radius: 999px;
}

.bubble {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 14px;
  margin-bottom: 6px;
  max-width: 90%;
  line-height: 1.45;
}

.bubble--in {
  background: var(--gray-100);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.bubble--out {
  background: var(--blue);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.fc-fix {
  font-size: 11.5px;
  background: var(--orange-050);
  color: #9a3412;
  padding: 7px 10px;
  border-radius: 10px;
  margin-top: 4px;
}

.fc-fix u {
  text-decoration-color: var(--orange);
}

.match-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-row+.match-row {
  margin-top: 10px;
}

.match-ava {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.match-ava--o {
  background: var(--orange);
}

.match-ava--g {
  background: var(--green);
}

.match-row b {
  font-size: 13.5px;
  display: block;
}

.match-row small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

.match-cta {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-050);
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.match-cta:hover {
  background: var(--blue);
  color: #fff;
}

.ring-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ring {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--gray-200) 0);
}

.ring::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
}

.ring span {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.ring-wrap b {
  font-size: 13px;
  display: block;
}

.ring-wrap small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

/* Marquee */
.marquee {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: scrollX 28s linear infinite;
}

.marquee__track span {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee__track .sep {
  color: var(--orange);
  font-size: 16px;
}

@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted {
  padding: 48px 0 0;
}

.trusted__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}

.trusted__logos:hover {
  opacity: 0.8;
}

.trusted__logo {
  transition: transform 0.3s var(--ease);
}

.trusted__logo:hover {
  transform: scale(1.05);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px 28px;
  text-align: center;
}

.stat__num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
}

.stat p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 6px;
}

.stat:nth-child(2) .stat__num,
.stat:nth-child(4) .stat__num {
  color: var(--blue);
}

.stat:nth-child(3) .stat__num {
  color: var(--orange);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head--light .section__title {
  color: #fff;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: var(--blue-050);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.tag--onDark {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section__title {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.section__title .accent {
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
}

.section__lead {
  font-size: 17px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.65;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(37, 99, 235, 0.03));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease);
}

.feature:hover .feature__icon {
  transform: scale(1.06) rotate(-3deg);
}

.feature__icon--blue {
  background: var(--blue-050);
  color: var(--blue);
}

.feature__icon--orange {
  background: var(--orange-050);
  color: var(--orange);
}

.feature__icon--green {
  background: var(--green-050);
  color: var(--green);
}

.feature h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.feature__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.4s var(--ease);
  position: relative;
  z-index: 1;
}

.feature:hover .feature__link {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   HOW IT WORKS — TIMELINE
   ============================================================ */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--orange));
  border-radius: 2px;
}

.tl {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 16px 0;
  position: relative;
}

.tl__num {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.tl:hover .tl__num {
  transform: scale(1.05);
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.tl__body {
  padding-top: 14px;
}

.tl__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.tl__body p {
  font-size: 15.5px;
  color: var(--muted);
}

/* ============================================================
   PRODUCT PREVIEW
   ============================================================ */
.preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.5s var(--ease);
}

.mock:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--line);
}

.mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock__bar span:nth-child(1) {
  background: #ff6058;
}

.mock__bar span:nth-child(2) {
  background: #ffbd2e;
}

.mock__bar span:nth-child(3) {
  background: #28c840;
}

.mock__bar b {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.mock__body {
  padding: 20px;
}

.mock__chat .bubble {
  font-size: 14.5px;
}

.mock__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 11px 14px;
  background: var(--gray-100);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.mic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  position: relative;
}

.mic::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 3px 3px 6px 6px;
  background: #fff;
}

.mock__phrase small {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.mock__phrase h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 6px;
}

.mock__phrase p {
  font-size: 14.5px;
  color: var(--muted);
}

.chip {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-050);
  padding: 7px 16px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.chip:hover {
  background: var(--blue-100);
}

.chip--orange {
  color: var(--orange);
  background: var(--orange-050);
}

.chip--orange:hover {
  background: var(--orange-100);
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin: 14px 0 4px;
}

.wave i {
  width: 4px;
  border-radius: 999px;
  background: var(--blue);
  animation: wave 1.1s ease-in-out infinite;
}

.wave i:nth-child(odd) {
  background: var(--orange);
}

.wave i:nth-child(1) {
  height: 30%;
  animation-delay: 0s
}

.wave i:nth-child(2) {
  height: 70%;
  animation-delay: .1s
}

.wave i:nth-child(3) {
  height: 45%;
  animation-delay: .2s
}

.wave i:nth-child(4) {
  height: 90%;
  animation-delay: .3s
}

.wave i:nth-child(5) {
  height: 60%;
  animation-delay: .4s
}

.wave i:nth-child(6) {
  height: 100%;
  animation-delay: .5s
}

.wave i:nth-child(7) {
  height: 50%;
  animation-delay: .6s
}

.wave i:nth-child(8) {
  height: 80%;
  animation-delay: .7s
}

.wave i:nth-child(9) {
  height: 35%;
  animation-delay: .8s
}

.wave i:nth-child(10) {
  height: 65%;
  animation-delay: .9s
}

@keyframes wave {
  50% {
    transform: scaleY(0.4);
  }
}

.mock__match .match-row+.match-row {
  margin-top: 14px;
}

/* ============================================================
   COMPARISON
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.compare__card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.compare__card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.compare__card ul li {
  font-size: 16px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare__card--others {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare__card--others h3 {
  color: rgba(255, 255, 255, 0.8);
}

.compare__card--others li {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare__card--others li::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l6 6M8 2l-6 6' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.compare__card--voca {
  background: linear-gradient(155deg, var(--blue) 0%, var(--blue-600) 100%);
  box-shadow: var(--shadow-blue-lg);
}

.compare__card--voca h3,
.compare__card--voca li {
  color: #fff;
}

.compare__card--voca li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  position: relative;
}

.tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.compare__vs {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: all 0.5s var(--ease);
}

.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.stars {
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.quote blockquote {
  font-size: 17px;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 20px;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.q-ava {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: hsl(var(--hue, 210), 55%, 55%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.quote figcaption b {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
}

.quote figcaption small {
  font-size: 12.5px;
  color: var(--muted);
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.faq__item.open {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.3s var(--ease);
}

.faq__q:hover {
  color: var(--blue);
}

.faq__ico {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq__ico::before,
.faq__ico::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}

.faq__ico::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq__ico::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq__item.open .faq__ico::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq__a p {
  padding: 0 24px 22px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  margin: 48px 28px 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-600) 55%, #1e3a8a 100%);
  padding: 96px 0;
  text-align: center;
}

.cta__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta__glow--1 {
  width: 360px;
  height: 360px;
  background: rgba(249, 115, 22, 0.45);
  top: -120px;
  left: -60px;
}

.cta__glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(96, 165, 250, 0.5);
  bottom: -160px;
  right: -80px;
}

.cta__inner {
  position: relative;
  z-index: 2;
}

.cta__title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.025em;
}

.cta__title em {
  color: #fff;
  -webkit-text-fill-color: #fff;
  position: relative;
  display: inline-block;
}

.cta__title em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 12px;
  background: var(--orange);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.8;
}

.cta__lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 20px 0 32px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 76px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {}

.footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 15px;
  max-width: 300px;
  line-height: 1.65;
}

.footer__col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer__col a {
  display: block;
  font-size: 14.5px;
  padding: 5px 0;
  transition: color 0.25s var(--ease);
}

.footer__col a:hover {
  color: var(--orange);
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.08); */
  color: rgba(255, 255, 255, 0.7);
  font-size: 0;
  line-height: 0;
  transition: all 0.3s var(--ease);
}

.social svg {
  width: 20px;
  height: 20px;
}

.social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__visual {
    height: 460px;
  }

  .float-card {
    width: 220px;
  }

  .stat__num {
    font-size: 38px;
  }
}

@media (max-width: 860px) {

  .nav__menu,
  .nav__actions {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero {
    padding-top: 130px;
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero__visual {
    height: 460px;
    max-width: 400px;
    margin: 0 auto;
  }

  .float-card {
    width: 210px;
  }

  .float-card--chat {
    top: 0;
    right: 0;
  }

  .float-card--match {
    top: 32%;
    left: 0;
  }

  .float-card--daily {
    bottom: 0;
    right: 0;
  }

  .features,
  .testimonials,
  .preview {
    grid-template-columns: 1fr;
  }

  .preview .mock--wide {
    grid-column: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare__vs {
    margin: -8px auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section {
    padding: 76px 0;
  }

  .trusted__logos {
    gap: 20px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .cta {
    margin: 24px 14px 24px;
    border-radius: 24px;
    padding: 64px 0;
  }

  .marquee__track span {
    font-size: 20px;
  }

  .stat__num {
    font-size: 30px;
  }

  .btn--lg {
    padding: 14px 22px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__visual {
    height: 420px;
    max-width: 320px;
  }

  .float-card {
    width: 190px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .float-card--chat {
    top: 0;
    right: -4px;
  }

  .float-card--match {
    top: 31%;
    left: -4px;
  }

  .float-card--daily {
    bottom: 0;
    right: -4px;
  }

  /* Scale down fonts and shapes in cards on mobile */
  .float-card .fc-head {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .float-card .bubble {
    font-size: 11.5px;
    padding: 6px 10px;
    margin-bottom: 4px;
    border-radius: 10px;
  }

  .float-card .bubble--in {
    border-bottom-left-radius: 3px;
  }

  .float-card .bubble--out {
    border-bottom-right-radius: 3px;
  }

  .float-card .fc-fix {
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 8px;
    margin-top: 2px;
  }

  .float-card .match-row b {
    font-size: 12.5px;
  }

  .float-card .match-row small {
    font-size: 10px;
  }

  .float-card .match-ava {
    width: 32px;
    height: 32px;
    font-size: 11px;
    border-radius: 10px;
  }

  .float-card .match-cta {
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .float-card .ring {
    width: 44px;
    height: 44px;
  }

  .float-card .ring::before {
    width: 32px;
    height: 32px;
  }

  .float-card .ring span {
    font-size: 11px;
  }

  .float-card .ring-wrap b {
    font-size: 12px;
  }

  .float-card .ring-wrap small {
    font-size: 10px;
  }

  .tl__num {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }

  .timeline::before {
    left: 29px;
  }

  .tl {
    gap: 20px;
  }

  .compare__card {
    padding: 28px 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__title .line__inner {
    transform: none;
  }

  .hero-in {
    opacity: 1;
  }
}