/* ================================================================
   Landing page — premium with neon accents
   ================================================================ */

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-24);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.hero-title {
  font-size: var(--fs-display-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-display-hero);
  color: var(--fg-primary);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
}

.hero-highlight {
  background: var(--ink-900);
  color: var(--neon);
  padding: 4px 14px;
  font-style: italic;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-body {
  font-size: var(--fs-body-large);
  line-height: var(--lh-body-large);
  color: var(--fg-body);
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-mockup {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-float-1 {
  position: absolute;
  top: 12%;
  right: -2%;
  padding: var(--space-3) var(--space-4);
  margin-top: 0;
  background: var(--ink-900);
  border: 1px solid rgba(204, 255, 0, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(10, 14, 20, 0.15), 0 0 16px var(--neon-glow);
  font-size: var(--fs-body-small);
  font-weight: var(--fw-bold);
  color: var(--neon);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.hero-float-2 {
  position: absolute;
  bottom: 18%;
  left: -4%;
  padding: var(--space-3) var(--space-5);
  margin-top: 0;
  background: var(--ink-900);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(10, 14, 20, 0.15), 0 0 20px var(--neon-glow-strong);
  font-size: var(--fs-body);
  font-weight: var(--fw-extrabold);
  animation: float 6s ease-in-out infinite 1.5s;
  z-index: 2;
}

.neon-text {
  color: var(--neon);
  text-shadow: 0 0 12px var(--neon-glow);
}

/* ---------- Social proof bar ---------- */
.social-proof {
  padding-block: var(--space-12);
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
  position: relative;
  z-index: 1;
}

.social-proof-item strong {
  display: block;
  font-size: var(--fs-display-large);
  font-weight: var(--fw-extrabold);
  color: var(--neon);
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px var(--neon-glow);
}

.social-proof-item span {
  font-size: var(--fs-body);
  color: var(--fg-on-dark-2);
  margin-top: var(--space-2);
  display: block;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.feature-card h3 {
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: var(--fs-body);
  color: var(--fg-body);
  line-height: var(--lh-body);
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--neon);
}

.step-card::before {
  counter-increment: step;
  content: '0' counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  color: var(--neon);
  font-size: var(--fs-body-small);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-5);
  box-shadow: 0 0 12px var(--neon-glow);
}

.step-card h3 {
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: var(--fs-body);
  color: var(--fg-body);
  line-height: var(--lh-body);
}

/* ---------- Phone Showcase ---------- */
.phone-showcase {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

/* --- Tab pills --- */
.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.showcase-tab {
  height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body-small);
  font-weight: var(--fw-semibold);
  color: var(--fg-body);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  transition: all 200ms var(--ease-standard);
  cursor: pointer;
}

.showcase-tab:hover {
  border-color: var(--neon);
}

.showcase-tab.is-active {
  background: var(--ink-900);
  color: var(--neon);
  border-color: rgba(204, 255, 0, 0.3);
  box-shadow: 0 0 16px var(--neon-glow);
}

/* --- Phone frame --- */
.phone-frame {
  position: relative;
  max-width: 280px;
  width: 100%;
  border-radius: 36px;
  background: var(--ink-900);
  padding: 10px;
  box-shadow: 0 50px 120px rgba(10, 14, 20, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 400ms var(--ease-decel), box-shadow 400ms ease;
}

.phone-frame:hover {
  box-shadow: 0 60px 140px rgba(10, 14, 20, 0.35), 0 0 40px var(--neon-glow);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 26px;
  background: var(--ink-900);
  border-radius: 13px;
  z-index: 10;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-page);
  aspect-ratio: 9 / 19.5;
  position: relative;
  cursor: grab;
}

.phone-screen:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 500ms var(--ease-decel);
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* --- Carousel arrows --- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  color: var(--ink-900);
  cursor: pointer;
  border: none;
  transition: all 200ms var(--ease-standard);
  z-index: 5;
}

.carousel-arrow:hover {
  background: #fff;
  box-shadow: 0 0 24px var(--neon-glow);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: -64px; }
.carousel-arrow.next { right: -64px; }

/* --- Dot indicators --- */
.carousel-dots {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--ink-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms, width 300ms var(--ease-decel);
}

.carousel-dot.is-active {
  background: var(--neon);
  width: 28px;
  box-shadow: 0 0 8px var(--neon-glow);
}

/* --- Info text --- */
.showcase-info {
  text-align: center;
  max-width: 480px;
}

.showcase-info h3 {
  font-size: var(--fs-heading);
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.showcase-info p {
  font-size: var(--fs-body);
  color: var(--fg-body);
  line-height: var(--lh-body);
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.stat-card {
  padding: var(--space-8);
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--neon-glow);
  border-color: rgba(204, 255, 0, 0.3);
}

.stat-card strong {
  display: block;
  font-size: var(--fs-display-large);
  font-weight: var(--fw-extrabold);
  color: var(--neon);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
  text-shadow: 0 0 16px var(--neon-glow);
}

.stat-card span {
  font-size: var(--fs-body);
  color: var(--fg-on-dark-2);
}

/* ---------- Testimonials ---------- */
.testimonials-track {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-12);
  overflow-x: auto;
  padding-bottom: var(--space-6);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 320px;
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-base) var(--ease-standard);
}

.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-card .stars svg {
  width: 16px;
  height: 16px;
  fill: var(--amber);
}

.testimonial-card p {
  font-size: var(--fs-body);
  color: var(--fg-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  display: grid;
  place-items: center;
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  color: var(--neon);
}

.testimonial-author .name {
  font-size: var(--fs-body-small);
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
}

.testimonial-author .role {
  font-size: var(--fs-caption);
  color: var(--fg-caption);
}

/* ---------- Download CTA ---------- */
.download-cta {
  padding-block: var(--space-32);
  text-align: center;
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}

.download-cta .container {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.download-cta h2 {
  font-size: var(--fs-display-large);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-display-large);
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.download-cta p {
  font-size: var(--fs-body-large);
  color: var(--fg-on-dark-2);
  margin-bottom: var(--space-10);
}

.download-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* ---------- Dark section ---------- */
.section-dark {
  background: var(--ink-900);
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--fg-on-dark-2);
}

.section-dark .eyebrow::before {
  background: var(--neon);
}

.section-dark h2 {
  color: #fff;
}

.section-dark p {
  color: var(--fg-on-dark-2);
}

/* ================================================================
   Responsive
   ================================================================ */

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-20);
  }

  .social-proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-panel {
    grid-template-columns: 0.9fr 1fr;
    padding: var(--space-10);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
