/* Antalya Ulaşım — Tanıtım Sitesi (Akdeniz transit editorial) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f3f5f7;
  --bg-elevated: #ffffff;
  --bg-glow-1: rgba(15, 118, 110, 0.10);
  --bg-glow-2: rgba(135, 0, 252, 0.08);
  --bg-glow-3: rgba(14, 165, 233, 0.07);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --border: rgba(15, 27, 45, 0.09);
  --border-strong: rgba(15, 27, 45, 0.16);
  --text: #0c1222;
  --text-muted: #5a6578;
  --text-subtle: #8793a6;
  --primary: #8700fc;
  --primary-hover: #7200d6;
  --primary-grad: linear-gradient(135deg, #6d28d9 0%, #8700fc 55%, #a855f7 100%);
  --primary-weak: rgba(135, 0, 252, 0.10);
  --live: #0d9488;
  --live-hover: #0f766e;
  --live-weak: rgba(13, 148, 136, 0.12);
  --violet: #8700fc;
  --accent: #0ea5e9;
  --success: #16a34a;
  --success-weak: rgba(22, 163, 74, 0.12);
  --glass-blur: blur(18px) saturate(1.4);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.04);
  --shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
  --shadow-lg: 0 20px 48px rgba(15, 27, 45, 0.10);
  --shadow-glow: 0 0 64px rgba(13, 148, 136, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;
  --nav-height: 72px;
  --section-gap: clamp(80px, 12vw, 128px);
  --container: min(1120px, calc(100% - 40px));
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: var(--font-body);
  --theme-chrome: #f3f5f7;
  --mockup-frame: linear-gradient(160deg, #1e2430 0%, #0f141c 100%);
  --mockup-notch: #0a0d12;
}

:root[data-theme="dark"] {
  --bg: #06080d;
  --bg-elevated: #0c1018;
  --bg-glow-1: rgba(45, 212, 191, 0.12);
  --bg-glow-2: rgba(168, 85, 247, 0.10);
  --bg-glow-3: rgba(56, 189, 248, 0.08);
  --surface: rgba(14, 18, 28, 0.82);
  --surface-solid: #10161f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9eef5;
  --text-muted: #93a0b4;
  --text-subtle: #6b7a90;
  --primary: #a78bfa;
  --primary-hover: #c4b5fd;
  --primary-grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #c084fc 100%);
  --primary-weak: rgba(167, 139, 250, 0.14);
  --live: #2dd4bf;
  --live-hover: #5eead4;
  --live-weak: rgba(45, 212, 191, 0.14);
  --violet: #a855f7;
  --accent: #38bdf8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 80px rgba(45, 212, 191, 0.16);
  --theme-chrome: #06080d;
  --mockup-frame: linear-gradient(160deg, #252b38 0%, #12161e 100%);
  --mockup-notch: #06080d;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 12% -8%, var(--bg-glow-1), transparent 58%),
    radial-gradient(ellipse 55% 40% at 88% 4%, var(--bg-glow-2), transparent 52%),
    radial-gradient(ellipse 50% 35% at 50% 100%, var(--bg-glow-3), transparent 48%),
    var(--bg);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
  background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 65%);
}

h1, h2, h3, .landing-nav__brand, .section__title, .hero__title,
.feature-card__title, .step-card__title, .cta-banner__title,
.landing-footer__brand {
  font-family: var(--font-display);
}

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

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

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

:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 3px;
}

.landing-container {
  width: var(--container);
  margin-inline: auto;
}

/* ─── Navigation ─── */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.landing-nav.is-scrolled {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.landing-nav__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.landing-nav__logo {
  width: 36px;
  height: 36px;
}

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

.landing-nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.landing-nav__link:hover {
  color: var(--text);
  background: var(--primary-weak);
}

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

.landing-nav__theme {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.landing-nav__theme:hover {
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.landing-nav__theme svg {
  width: 18px;
  height: 18px;
}

.landing-nav__theme .icon-sun { display: none; }
:root[data-theme="dark"] .landing-nav__theme .icon-moon { display: none; }
:root[data-theme="dark"] .landing-nav__theme .icon-sun { display: block; }

@media (max-width: 768px) {
  .landing-nav__links {
    display: none;
  }
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--primary) 28%, transparent);
}

.btn--primary:hover {
  box-shadow: 0 6px 24px color-mix(in srgb, var(--primary) 36%, transparent);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ─── Hero ─── */

.hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 64px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--live-weak);
  border: 1px solid color-mix(in srgb, var(--live) 28%, transparent);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--live-hover);
  margin-bottom: 20px;
}

:root[data-theme="dark"] .hero__badge {
  color: var(--live);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 45%, transparent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 40%, transparent); }
  50% { opacity: 0.85; transform: scale(0.92); box-shadow: 0 0 0 6px transparent; }
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 5.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__title-accent {
  background: linear-gradient(120deg, var(--live) 0%, var(--primary) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  box-decoration-break: clone;
}

.hero__subtitle {
  margin: 0 0 32px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-subtle);
}

.hero__stat-icon {
  width: 15px;
  height: 15px;
  color: var(--live);
  flex-shrink: 0;
  opacity: 0.9;
}

/* Phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--live) 55%, transparent), color-mix(in srgb, var(--primary) 35%, transparent) 55%, transparent 70%);
  filter: blur(72px);
  opacity: 0.45;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.06); }
}

.phone-mockup {
  position: relative;
  width: 280px;
  z-index: 1;
  animation: mockup-float 6s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-mockup__frame {
  background: var(--mockup-frame);
  border-radius: 40px;
  padding: 11px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-lg),
    var(--shadow-glow);
}

.phone-mockup__screen {
  background: var(--bg-elevated);
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  position: relative;
}

.phone-mockup__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: var(--mockup-notch);
  border-radius: 20px;
  z-index: 2;
}

.phone-mockup__content {
  padding: 48px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-mockup__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.phone-mockup__logo {
  width: 24px;
  height: 24px;
}

.phone-mockup__app-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
}

.phone-mockup__route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.phone-mockup__stop {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: -4px;
}

.phone-mockup__bus-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bus-slide-in 0.6s ease-out both;
}

.phone-mockup__bus-card:nth-child(2) { animation-delay: 0.15s; }
.phone-mockup__bus-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes bus-slide-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.phone-mockup__bus-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-weak);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.phone-mockup__bus-info {
  flex: 1;
  min-width: 0;
}

.phone-mockup__bus-line {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
}

.phone-mockup__bus-eta {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.phone-mockup__bus-stops {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--live);
  white-space: nowrap;
}

.phone-mockup__notification {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  background: var(--surface-solid);
  border: 1px solid color-mix(in srgb, var(--live) 25%, var(--border));
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: notif-bounce 3s ease-in-out infinite;
}

@keyframes notif-bounce {
  0%, 70%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  75% { transform: translateX(-50%) translateY(-6px); }
  80% { transform: translateX(-50%) translateY(0); }
  85% { transform: translateX(-50%) translateY(-3px); }
  90% { transform: translateX(-50%) translateY(0); }
}

.phone-mockup__notif-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary-grad);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.phone-mockup__notif-icon svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.phone-mockup__notif-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.phone-mockup__notif-body {
  font-size: 0.62rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
  }
}

/* Mobil: Syne başlıklar üstten basık kalmasın */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 0px) + 28px);
    padding-bottom: 48px;
    min-height: auto;
    align-items: flex-start;
  }

  .hero__badge {
    margin-bottom: 14px;
  }

  .hero__title {
    font-size: clamp(1.95rem, 8.5vw, 2.45rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    padding-top: 0.12em;
  }

  .hero__title-accent {
    display: inline;
    line-height: inherit;
  }

  .hero__subtitle {
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .section__title {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    padding-top: 0.08em;
  }

  .section__eyebrow {
    letter-spacing: 0.08em;
    margin-bottom: 10px;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .feature-card__title,
  .step-card__title {
    line-height: 1.3;
    letter-spacing: -0.015em;
    padding-top: 0.06em;
  }

  .cta-banner__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    padding-top: 0.1em;
  }

  .cta-banner__inner {
    padding-top: clamp(40px, 8vw, 56px);
  }

  .landing-nav__brand {
    letter-spacing: -0.015em;
    line-height: 1.25;
  }
}

/* ─── Trust strip ─── */

.trust-strip {
  padding: 24px 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-strip__icon {
  width: 18px;
  height: 18px;
  color: var(--live);
}

/* ─── Sections common ─── */

.section {
  padding-block: var(--section-gap);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--live);
  margin-bottom: 12px;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section__subtitle {
  margin: 0 0 48px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header .section__subtitle {
  margin-inline: auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.features-bento .reveal:nth-child(1) { transition-delay: 0.04s; }
.features-bento .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-bento .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-bento .reveal:nth-child(4) { transition-delay: 0.22s; }
.features-bento .reveal:nth-child(5) { transition-delay: 0.28s; }
.steps .reveal:nth-child(1) { transition-delay: 0.05s; }
.steps .reveal:nth-child(2) { transition-delay: 0.14s; }
.steps .reveal:nth-child(3) { transition-delay: 0.23s; }

/* ─── Features bento grid ─── */

.features-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "hero hero hero hero sideA sideA"
    "hero hero hero hero sideB sideB"
    "foot  foot  accent accent accent accent";
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.feature-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(22px, 3vw, 28px) clamp(20px, 2.5vw, 26px);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    120% 80% at 100% 0%,
    color-mix(in srgb, var(--primary) 8%, transparent),
    transparent 55%
  );
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--text) 8%, transparent) 20%,
    color-mix(in srgb, var(--text) 8%, transparent) 80%,
    transparent
  );
  opacity: 0.65;
}

.feature-card--bento-hero {
  grid-area: hero;
  min-height: 280px;
  padding-bottom: clamp(24px, 3vw, 30px);
}

.feature-card--bento-side {
  min-height: 168px;
}

.feature-card--bento-side-a {
  grid-area: sideA;
}

.feature-card--bento-side-b {
  grid-area: sideB;
}

.feature-card--bento-foot {
  grid-area: foot;
  min-height: 168px;
}

.feature-card--bento-accent {
  grid-area: accent;
  min-height: 168px;
}

.feature-card--live::before {
  background: radial-gradient(
    90% 70% at 100% 0%,
    color-mix(in srgb, var(--live) 14%, transparent),
    transparent 60%
  );
  opacity: 1;
}

.feature-card--accent::before {
  background: radial-gradient(
    85% 65% at 0% 100%,
    color-mix(in srgb, var(--primary) 12%, transparent),
    transparent 58%
  );
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--live) 28%, var(--border));
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--live) 6%, transparent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card--live:hover {
  border-color: color-mix(in srgb, var(--live) 42%, var(--border));
  box-shadow: var(--shadow), var(--shadow-glow);
}

.feature-card--accent:hover {
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border));
  box-shadow: var(--shadow), 0 12px 40px color-mix(in srgb, var(--primary) 12%, transparent);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-weak);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.feature-card__icon--live {
  background: var(--live-weak);
  border-color: color-mix(in srgb, var(--live) 22%, transparent);
  color: var(--live);
}

.feature-card__icon--accent {
  background: var(--primary-weak);
  color: var(--primary);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.feature-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
  position: relative;
  z-index: 1;
  flex: 1;
}

.feature-card--bento-hero .feature-card__desc {
  max-width: 42em;
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--primary) 14%, var(--surface-solid));
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 1;
}

.feature-card__thresholds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.feature-card__threshold {
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: color-mix(in srgb, var(--live) 10%, var(--surface-solid));
  color: var(--live-hover);
  border: 1px solid color-mix(in srgb, var(--live) 22%, transparent);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-card--live:hover .feature-card__threshold {
  background: color-mix(in srgb, var(--live) 16%, var(--surface-solid));
}

:root[data-theme="dark"] .feature-card__threshold {
  color: var(--live);
}

@media (max-width: 1024px) {
  .features-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "hero hero"
      "sideA sideB"
      "foot accent";
  }

  .feature-card--bento-hero {
    min-height: 240px;
  }

  .feature-card--bento-side,
  .feature-card--bento-foot,
  .feature-card--bento-accent {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .features-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "sideA"
      "sideB"
      "foot"
      "accent";
    gap: 12px;
  }

  .feature-card--bento-hero {
    min-height: 0;
  }

  .feature-card {
    border-radius: var(--radius);
  }

  .feature-card:hover {
    transform: none;
  }
}

/* ─── How it works ─── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--live) 45%, transparent), transparent);
  z-index: 1;
}

.step-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  background: var(--live-weak);
  border: 1px solid color-mix(in srgb, var(--live) 28%, transparent);
  color: var(--live-hover);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
}

:root[data-theme="dark"] .step-card__num {
  color: var(--live);
}

.step-card__title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-card__visual {
  margin-top: 22px;
  height: 84px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, var(--live-weak), transparent 60%),
    var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--live);
}

.step-card__visual svg {
  width: 34px;
  height: 34px;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 12px;
    border-left: 2px solid color-mix(in srgb, var(--live) 30%, var(--border));
    margin-left: 18px;
  }

  .step-card {
    border: none;
    background: transparent;
    padding: 8px 0 28px 24px;
    border-radius: 0;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .step-card__num {
    position: absolute;
    left: -39px;
    top: 8px;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin: 0;
    background: var(--surface-solid);
  }

  .step-card__visual {
    display: none;
  }
}

/* ─── Install section ─── */

.install {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.install__panel {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  margin-inline: auto;
}

.install__tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.install__tab {
  flex: 1;
  padding: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.install__tab:hover {
  color: var(--text);
  background: var(--live-weak);
}

.install__tab.is-active {
  color: var(--live-hover);
  border-bottom-color: var(--live);
  background: var(--live-weak);
}

:root[data-theme="dark"] .install__tab.is-active {
  color: var(--live);
}

.install__content {
  padding: 32px;
}

.install__panel-body {
  display: none;
}

.install__panel-body.is-active {
  display: block;
}

.install__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.install__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.install__step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-weak);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.install__step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 3px;
}

.install__step-text strong {
  color: var(--text);
}

.install__cta {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.install__cta .btn--primary {
  color: #fff;
  text-decoration: none;
}

.install__cta--secondary {
  margin-top: 16px;
}

.install__cta-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.install__alt-label {
  margin: 28px 0 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.install__desktop-note {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.install__desktop-note a:not(.btn) {
  color: var(--primary);
  font-weight: 600;
}

.install__desktop-note .btn--primary {
  color: #fff;
}

/* ─── FAQ ─── */

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--live) 32%, var(--border));
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__question:hover {
  background: var(--live-weak);
}

.faq-item__answer {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item__answer p {
  margin: 0;
}

/* ─── CTA banner ─── */

.cta-banner {
  padding-block: var(--section-gap);
}

.cta-banner__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 9vw, 80px) clamp(24px, 5vw, 48px);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid color-mix(in srgb, var(--live) 22%, var(--border));
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--live-weak) 80%, var(--surface-solid)) 0%,
      var(--surface-solid) 42%,
      color-mix(in srgb, var(--primary-weak) 55%, var(--surface-solid)) 100%
    );
  box-shadow: var(--shadow);
}

.cta-banner__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, color-mix(in srgb, var(--live) 35%, transparent), transparent 68%);
  pointer-events: none;
  filter: blur(8px);
}

.cta-banner__glow--2 {
  top: auto;
  right: auto;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 28%, transparent), transparent 70%);
}

.cta-banner__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--live) 28%, transparent);
  background: var(--live-weak);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--live-hover);
}

:root[data-theme="dark"] .cta-banner__eyebrow {
  color: var(--live);
}

.cta-banner__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse-dot 2s ease-in-out infinite;
}

.cta-banner__title {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta-banner__title-accent {
  background: linear-gradient(120deg, var(--live) 0%, var(--primary) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-banner__subtitle {
  position: relative;
  margin: 0 auto 30px;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-muted);
}

.cta-banner__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-banner__btn {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 30%, transparent);
}

.cta-banner__btn:hover {
  box-shadow: 0 6px 28px color-mix(in srgb, var(--primary) 40%, transparent);
}

.cta-banner__btn-ghost {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.cta-banner__btn-ghost:hover {
  border-color: color-mix(in srgb, var(--live) 35%, var(--border));
  background: var(--live-weak);
}

/* ─── Footer ─── */

.landing-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.landing-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.landing-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.landing-footer__logo {
  width: 32px;
  height: 32px;
}

.landing-footer__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 320px;
}

.landing-footer__heading {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.landing-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-footer__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.landing-footer__link:hover {
  color: var(--primary);
}

.landing-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

@media (max-width: 768px) {
  .landing-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
