/* ============ AVideo AI — Landing styles ============ */
:root {
  --accent: #1E5FB8;
  --accent-2: #2D8BC9;
  --accent-deep: #1A4D6E;
  --accent-violet: #5b3aa8;

  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --text: #0a1220;
  --text-muted: #5a6680;
  --border: rgba(10, 18, 32, 0.08);
  --shadow-sm: 0 2px 12px rgba(10, 30, 60, 0.05);
  --shadow-md: 0 12px 40px rgba(10, 30, 60, 0.08);
  --shadow-lg: 0 30px 80px rgba(10, 30, 60, 0.12);

  --max: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
}
[data-theme="dark"] {
  --bg: #06080d;
  --bg-alt: #0a0e16;
  --surface: #0e131c;
  --surface-2: #131927;
  --text: #f0f4fa;
  --text-muted: #8a96aa;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .store-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .logo img {
  filter: invert(1) hue-rotate(180deg);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  transition: background .35s ease, color .35s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

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



/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav--scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
}
.nav-inner {
  height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex; gap: 28px; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 16px; font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  width: 44px; height: 44px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all .2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--text-muted); }
.variant-toggle {
  display: flex; padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 2px;
}
.variant-toggle span {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.variant-toggle span.is-active {
  background: var(--accent); color: #fff;
}
.nav-cta {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 12px;
  font-size: 16px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in oklab, var(--accent) 40%, transparent);
}

/* ============ Hero ============ */
.hero { padding: 60px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, color-mix(in oklab, var(--accent-violet) 10%, transparent), transparent 60%);
  pointer-events: none;
}

/* SPLIT */
.hero-split__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
  position: relative;
}
.hero-split__copy { max-width: 560px; }
.hero-split__phone { display: flex; justify-content: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 13px; font-weight: 600;
  border-radius: 100px;
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.display {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 22px 0 22px;
  text-wrap: balance;
}
.display--center { text-align: center; max-width: 13ch; margin-left: auto; margin-right: auto; }
.grad-text {
  background: linear-gradient(120deg, var(--accent-deep), var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.lede--center { text-align: center; margin-left: auto; margin-right: auto; }

.hero-stores { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stores--center { justify-content: center; }
.store-badge:hover { transform: translateY(-2px); }

.hero-stats {
  margin-top: 48px;
  display: flex; gap: 48px;
}
.hero-stats--center { justify-content: center; margin-top: 60px; }
.hero-stats > div {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stats strong {
  font-size: 28px; font-weight: 700; letter-spacing: -.02em;
}
.hero-stats span {
  font-size: 13px; color: var(--text-muted);
}
.hero-stats .div { width: 1px; background: var(--border); }

/* CENTERED */
.hero-centered { padding-bottom: 140px; }
.hero-centered__inner { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.hero-centered__top { text-align: center; max-width: 900px; }
.hero-centered__top .badge { margin: 0 auto; }
.hero-centered__phone {
  position: relative;
  margin-top: 20px;
}
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.float-card--left {
  top: 30%; left: -40px;
  transform: translateX(-100%);
  animation-delay: -1s;
}
.float-card--right {
  top: 60%; right: -40px;
  transform: translateX(100%);
  animation-delay: -3s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(var(--tx, 0)); }
  50% { transform: translateY(-8px) translateX(var(--tx, 0)); }
}
.float-card--left { --tx: -100%; }
.float-card--right { --tx: 100%; }
.float-card__avatar {
  width: 36px; height: 36px; border-radius: 10px;
  flex-shrink: 0;
}
.float-card__title { font-size: 13px; font-weight: 600; }
.float-card__sub { font-size: 11px; color: var(--text-muted); }

/* ============ Sections ============ */
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.eyebrow {
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--border));
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-title {
  font-size: 19px; font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.55;
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.how-step {
  position: relative;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.how-num {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 20px;
  font-feature-settings: "tnum";
}
.how-step-title {
  font-size: 22px; font-weight: 600; letter-spacing: -.015em;
  margin-bottom: 10px;
}
.how-step-desc {
  font-size: 15px; color: var(--text-muted);
}
.how-connector {
  position: absolute;
  top: 65px; right: -22px;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.showcase-tile {
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.showcase-tile:hover {
  transform: scale(1.02);
}
.showcase-tile:hover .play-overlay { opacity: 1; }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.review-stars {
  font-size: 14px; letter-spacing: 2px; margin-bottom: 14px;
}
.review-text {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 21px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-role { font-size: 12px; color: var(--text-muted); }

/* CTA */
.section--cta { padding: 120px 0; }
.cta-card {
  position: relative;
  padding: 80px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  opacity: .35;
  pointer-events: none;
}
.cta-title { position: relative; }
.cta-sub {
  position: relative;
  font-size: 18px; color: var(--text-muted);
  margin: 0 auto 32px;
  max-width: 56ch;
}
.cta-card .hero-stores { position: relative; }
.cta-note {
  position: relative;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-tagline {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 30ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.footer-title {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.footer-cols a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero-split__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-split__copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-split__copy .badge { margin: 0 auto; }
  .hero-split__copy .lede { margin-left: auto; margin-right: auto; }
  .hero-split__copy .hero-stores { justify-content: center; }
  .hero-stats { justify-content: center; gap: 30px; }
  .float-card--left { top: -10px; left: 0; transform: none; --tx: 0; }
  .float-card--right { top: auto; bottom: 30px; right: 0; transform: none; --tx: 0; }
  .features-grid, .how-grid, .reviews-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; max-width: 320px; }
  .how-connector { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .cta-card { padding: 60px 24px; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 20px; }
  .hero-stats strong { font-size: 22px; }
  .display { font-size: 44px; }
  .features-grid { grid-template-columns: 1fr; }
}
