/* ============================================================
   HEY CAMERAMAN — styles.css
   Mobile-first design system. Dark, premium, Apple-dark-mode inspired.
   ============================================================ */

/* ── Google Font Import ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties (Design Tokens) ───────────────────── */
:root {
  --bg-base:        #0a0a0a;
  --bg-surface:     #141414;
  --bg-elevated:    #1e1e1e;
  --accent-gold:    #ff9f00;
  --accent-gold-lt: #ffcf5c;
  --accent-purple:  #8b5cf6;
  --accent-green:   #22c55e;
  --text-primary:   #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted:     #525252;
  --border:         rgba(255,255,255,0.07);

  /* Gradient shortcuts */
  --grad-gold: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-lt));

  /* Shadows */
  --shadow-card: 0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 24px rgba(255,159,0,0.35);

  /* Radii */
  --radius-card:   12px;
  --radius-btn:    8px;
  --radius-pill:   999px;

  /* Spacing scale (4px base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  80px;
  --sp-10: 96px;

  /* Layout */
  --max-w: 1120px;
  --px:    20px;
}

/* ── Body splash-active lock ─────────────────────────────────── */
body.splash-active {
  overflow: hidden;
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  /* Ensure it covers everything above all other content */
  pointer-events: all;
}

.splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* App icon */
.splash__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,159,0,0.25),
    0 8px 48px rgba(255,159,0,0.30),
    0 32px 80px rgba(0,0,0,0.7);
  animation: splash-icon-in 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.splash__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes splash-icon-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Wordmark */
.splash__wordmark {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  animation: splash-wordmark-in 0.5s ease 0.7s both;
}

@keyframes splash-wordmark-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading bar */
.splash__bar-wrap {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.10);
  border-radius: 99px;
  overflow: hidden;
  animation: splash-barwrap-in 0.3s ease 1.0s both;
}

@keyframes splash-barwrap-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.splash__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff9f00, #ffcf5c);
  border-radius: 99px;
  animation: splash-bar-fill 1.4s cubic-bezier(0.4, 0, 0.2, 1) 1.1s both;
}

@keyframes splash-bar-fill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Exit fade */
.splash--hidden {
  animation: splash-fade-out 0.6s ease forwards;
  pointer-events: none;
}

@keyframes splash-fade-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ── Focus Visible (Accessibility) ──────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

/* ── Utility ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--sp-3);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section-header h2 {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--sp-3);
}

.section-header p {
  color: var(--text-secondary);
  font-size: clamp(15px, 3vw, 17px);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Gradient text utility */
.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 0 var(--sp-6);
  height: 52px;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover  { transform: scale(1.02); }
  .btn:active { transform: scale(0.98); }
}

.btn-primary {
  background: var(--grad-gold);
  color: #0a0a0a;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 32px rgba(255,159,0,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

/* ── PRO badge pill ──────────────────────────────────────────── */
.badge-pro {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-purple);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.6;
}

/* ============================================================
   1. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: background 300ms ease, backdrop-filter 300ms ease, box-shadow 300ms ease;
}

.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Desktop nav links */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-7);
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--radius-btn);
  width: 40px;
  height: 40px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__mobile-menu.open {
  max-height: 400px;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) var(--px) var(--sp-5);
  gap: var(--sp-1);
  border-top: 1px solid var(--border);
}

.nav__mobile-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color 150ms ease;
}

.nav__mobile-links a:last-child {
  border-bottom: none;
  color: var(--accent-gold);
  font-weight: 700;
}

.nav__mobile-links a:hover {
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__cta    { display: inline-flex; height: 38px; font-size: 13px; padding: 0 var(--sp-4); }
  .nav__hamburger { display: none; }
  .nav__mobile-menu { display: none; }
}

/* Nav App Store Badge */
.nav__download-link {
  display: none; /* hidden mobile, shown desktop below */
  flex-shrink: 0;
  transition: transform 150ms ease;
}

.nav__download-link:hover {
  transform: scale(1.05);
}

.nav__badge {
  height: 38px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .nav__download-link { display: block; }
}

.nav__mobile-download {
  color: var(--accent-gold) !important;
  font-weight: 700 !important;
}

/* ============================================================
   2. HERO SECTION (Carousel-first layout)
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 72px; /* nav height */
  padding-bottom: var(--sp-9);
  overflow: hidden;
}

/* Gold radial glow behind headline */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse at top center, rgba(255,159,0,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grain overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
}

/* Centered variant (used in new hero layout) */
.hero__content--centered {
  padding: var(--sp-7) 0 var(--sp-3);
}

/* Hero App Store Badge */
.hero__download-badge {
  display: flex;
  justify-content: center;
  margin: var(--sp-6) auto 0;
  z-index: 2;
  position: relative;
}

.hero__badge-img {
  height: 52px;
  width: auto;
  transition: transform 150ms ease, box-shadow 150ms ease;
  border-radius: 9px;
}

.hero__badge-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Watch-it CTA (ghost button) in hero */
.hero__watch-btn {
  align-self: center;
}

/* Headline */
.hero__headline {
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Sub-headline */
.hero__sub {
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--text-secondary);
  max-width: 480px;
}

/* CTA buttons */
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
  max-width: 340px;
}

.hero__ctas .btn {
  width: 100%;
  height: 56px;
  font-size: 15px;
}

/* Social proof row */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  font-size: 12px;
  color: var(--text-muted);
}

.hero__proof-sep {
  width: 1px;
  height: 12px;
  background: var(--text-muted);
  opacity: 0.4;
}

/* ── Hero Screenshot Image ────────────────────────────────────── */
.hero__mockup-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: var(--sp-3);
}

/* ============================================================
   SCREENSHOT CAROUSEL
   ============================================================ */
.screenshots {
  padding: var(--sp-10) 0 0;
}

.sc-carousel {
  position: relative;
  overflow: hidden;
  padding: var(--sp-5) 0 var(--sp-8);
  margin-top: var(--sp-6);
  touch-action: pan-y; /* Allow vertical scroll, but let JS handle horizontal */
  /* subtle gradient side-masks */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Track — flex row of slides */
.sc-carousel__track {
  display: flex;
  gap: 20px;
  position: relative;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-carousel__slide {
  flex: 0 0 320px;
  transition: transform 420ms ease, filter 420ms ease;
  cursor: grab;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.07),
    0 24px 64px rgba(0,0,0,0.55);
}

.sc-carousel__slide:active { cursor: grabbing; }

.sc-carousel__slide img {
  width: 100%;
  display: block;
  border-radius: 28px;
  pointer-events: none;
  user-select: none;
}

/* Inactive slides: dim + scale down */
.sc-carousel__slide:not(.sc-slide--active) {
  transform: scale(0.88);
  filter: brightness(0.55) saturate(0.7);
}

.sc-carousel__slide.sc-slide--active {
  transform: scale(1);
  filter: none;
  box-shadow:
    0 0 0 2px rgba(255,159,0,0.4),
    0 0 60px rgba(255,159,0,0.18),
    0 32px 80px rgba(0,0,0,0.65);
}

/* Prev / Next buttons */
.sc-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
  padding: 0;
}

.sc-carousel__btn:hover {
  background: rgba(255,159,0,0.15);
  border-color: rgba(255,159,0,0.5);
}

.sc-carousel__btn--prev { left: 16px; }
.sc-carousel__btn--next { right: 16px; }

/* Dot indicators */
.sc-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-5);
  padding-bottom: var(--sp-7);
}

.sc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease, width 200ms ease;
}

.sc-dot--active {
  background: var(--accent-gold);
  width: 24px;
  border-radius: 4px;
  transform: none;
}

@media (min-width: 768px) {
  .sc-carousel__btn--prev { left: 32px; }
  .sc-carousel__btn--next { right: 32px; }
  .sc-carousel__slide { flex: 0 0 360px; }
}


.phone-mockup {
  width: 220px;
  height: 420px;
  border-radius: 36px;
  background: linear-gradient(170deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid rgba(255,159,0,0.35);
  box-shadow:
    0 0 0 6px rgba(255,159,0,0.08),
    0 32px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Notch */
.phone-mockup__notch {
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Listening indicator */
.phone-mockup__indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--accent-green);
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* Camera viewfinder */
.phone-mockup__screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  position: relative;
  background: #080808;
}

.viewfinder {
  width: 100%;
  flex: 1;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #161616 0%, #080808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Viewfinder corner brackets */
.viewfinder::before,
.viewfinder::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent-gold);
  border-style: solid;
  opacity: 0.6;
}
.viewfinder::before {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}
.viewfinder::after {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

/* Microphone */
.phone-mockup__mic {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,159,0,0.15);
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 16px rgba(255,159,0,0.3);
  animation: mic-glow 2.5s ease-in-out infinite;
}

@keyframes mic-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(255,159,0,0.3); }
  50%       { box-shadow: 0 0 28px rgba(255,159,0,0.55); }
}

/* Voice command bubble */
.voice-bubble {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,30,30,0.95);
  border: 1px solid rgba(255,159,0,0.3);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  font-family: 'Courier New', monospace;
  text-align: center;
  min-width: 140px;
}

.voice-bubble.show {
  animation: bubble-cycle 3.1s ease forwards;
}

@keyframes bubble-cycle {
  0%   { opacity: 0; transform: translateX(-50%) translateY(4px); }
  10%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

/* Bottom controls bar */
.phone-controls {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: var(--sp-3);
  width: 100%;
}

.phone-ctrl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.phone-shutter {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-shutter::after {
  content: '';
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .hero__content {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: var(--sp-8);
    justify-content: center;
  }

  .hero__text {
    flex: 1;
    max-width: 520px;
  }

  .hero__ctas {
    flex-direction: row;
    max-width: none;
  }

  .hero__ctas .btn {
    width: auto;
  }

  .hero__proof {
    justify-content: flex-start;
  }

  .hero__badge {
    align-self: flex-start;
  }

  .hero__mockup-wrap {
    flex: 0 0 auto;
    margin-top: 0;
  }

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

/* ============================================================
   3. STATS / TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-7) 0;
}

.trust-bar__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.trust-item {
  text-align: center;
}

.trust-item__icon {
  font-size: 32px;
  margin-bottom: var(--sp-2);
}

.trust-item__value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.trust-item__label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (min-width: 768px) {
  .trust-bar__grid {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .trust-item {
    flex: 1;
    border-right: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-right: none;
  }
}

/* ============================================================
   4. FEATURES SECTION
   ============================================================ */
.features {
  padding: var(--sp-10) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(255,159,0,0.15), 0 16px 48px rgba(0,0,0,0.5);
  }
}

.feature-card__icon {
  font-size: 28px;
  margin-bottom: var(--sp-3);
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

@media (min-width: 1100px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   5. HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--sp-10) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

/* Connecting vertical line — desktop only */
@media (min-width: 768px) {
  .steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 54px;
    bottom: 54px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    opacity: 0.35;
  }
}

.step {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #0a0a0a;
  box-shadow: var(--shadow-glow);
}

.step__body {
  padding-top: 10px;
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.step__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
}

.step__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  color: var(--text-secondary);
}

/* ============================================================
   6. USE CASES
   ============================================================ */
.use-cases {
  padding: var(--sp-10) 0;
}

.use-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.use-case-item {
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .use-case-item:hover {
    transform: translateY(-3px);
  }
}

.use-case-item__icon {
  font-size: 36px;
  margin-bottom: var(--sp-3);
}

.use-case-item__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.use-case-item__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

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

@media (min-width: 1100px) {
  .use-cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   7. COMMAND MARQUEE SHOWCASE
   ============================================================ */
.commands {
  padding: var(--sp-10) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--sp-3);
}

.marquee-track--left  { animation: marquee-left  28s linear infinite; }
.marquee-track--right { animation: marquee-right 22s linear infinite; }

@keyframes marquee-left  { from { transform: translateX(0); }  to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Pause on hover */
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

.cmd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ============================================================
   8. GESTURES SECTION
   ============================================================ */
.gestures {
  padding: var(--sp-10) 0;
  background-color: var(--bg-surface);
  position: relative;
}

.gestures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.gesture-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-6);
  text-align: center;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.gesture-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,159,0,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.gesture-card__icon {
  font-size: 48px;
  margin-bottom: var(--sp-4);
  display: inline-block;
}

.gesture-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.gesture-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   9. PRICING
   ============================================================ */
.pricing {
  padding: var(--sp-10) 0;
}

.pricing__cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .pricing-card:hover {
    transform: translateY(-4px);
  }
}

/* Featured card */
.pricing-card--featured {
  border-color: rgba(255,159,0,0.4);
  box-shadow: 0 0 0 1px rgba(255,159,0,0.25), 0 0 40px rgba(255,159,0,0.1), 0 8px 32px rgba(0,0,0,0.4);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px rgba(255,159,0,0.45), 0 0 60px rgba(255,159,0,0.18), 0 16px 48px rgba(0,0,0,0.5);
}

/* Best value badge */
.best-value-badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: var(--grad-gold);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.pricing-card__tier {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
}

.pricing-card--featured .pricing-card__tier {
  color: var(--accent-gold);
}

.pricing-card__price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.pricing-card__price sup {
  font-size: 22px;
  vertical-align: super;
  font-weight: 700;
}

.pricing-card__subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card__features li .check {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card__cta {
  width: 100%;
}

/* Coming-soon label inside pricing cards */
.pricing-card__coming {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  margin-top: var(--sp-4);
  letter-spacing: 0.2px;
}

.pricing-card__coming--featured {
  color: var(--accent-gold-lt);
  background: rgba(255,159,0,0.08);
  border-color: rgba(255,159,0,0.35);
}

.final-cta__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.final-cta__badge {
  height: 56px;
  width: auto;
  transition: transform 150ms ease;
  border-radius: 10px;
}

.final-cta__badge:hover {
  transform: scale(1.03);
}

.pricing-card__fine {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: var(--sp-3);
}

.pricing__trust-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--sp-6);
}

@media (min-width: 640px) {
  .pricing__cards {
    flex-direction: row;
    align-items: stretch;
  }

  .pricing-card {
    flex: 1;
  }
}

/* ============================================================
   9. FAQ
   ============================================================ */
.faq {
  padding: var(--sp-10) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.faq__list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color 150ms ease;
}

.faq-item__question:hover {
  color: var(--accent-gold-lt);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 300ms ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}

/* no-JS fallback: always show */
.no-js .faq-item__answer {
  max-height: none;
}

.faq-item__answer-inner {
  padding-bottom: var(--sp-4);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   10. FINAL CTA
   ============================================================ */
.final-cta {
  padding: var(--sp-10) 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,159,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.final-cta h2 {
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.final-cta__sub {
  font-size: clamp(14px, 3vw, 17px);
  color: var(--text-secondary);
}

.final-cta .btn-primary {
  height: 60px;
  min-width: 240px;
  font-size: 16px;
}

.final-cta__note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-6) 0 var(--sp-5);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}

.footer__brand-name {
  font-size: 15px;
  font-weight: 700;
}

.footer__brand-tag {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-5);
}

.footer__links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 150ms ease;
}

.footer__links a:hover {
  color: var(--text-secondary);
}

.footer__bottom {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 640px) {
  .footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ============================================================
   SCROLL REVEAL (managed by IntersectionObserver in script.js)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

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

/* Stagger delays */
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ============================================================
   LEGAL PAGES (privacypolicy.html & termsofuse.html)
   ============================================================ */

/* White-background override — applied to <body> on legal pages */
body.legal-body {
  background: #ffffff;
  color: #111111;
}

body.legal-body .nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e0e0e0;
}

body.legal-body .nav__logo span,
body.legal-body .nav__logo {
  color: #111111;
}

body.legal-body .footer {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

body.legal-body .footer__brand-name,
body.legal-body .footer__brand-tag,
body.legal-body .footer__links a,
body.legal-body .footer__bottom p {
  color: #444444;
}

body.legal-body .footer__links a:hover {
  color: #111111;
}

body.legal-body .footer__bottom {
  border-top: 1px solid #e0e0e0;
}

.legal-page {
  padding-top: 100px;
  padding-bottom: var(--sp-10);
}

body.legal-body .legal-page h1 {
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--sp-2);
  color: #111111;
}

body.legal-body .legal-page .legal-date {
  font-size: 13px;
  color: #666666;
  margin-bottom: var(--sp-8);
}

body.legal-body .eyebrow {
  color: #888888;
}

.legal-page h1 {
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--sp-2);
}

.legal-page .legal-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}

body.legal-body .legal-content h2 {
  color: #111111;
}

.legal-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
  color: var(--text-secondary);
}

body.legal-body .legal-content h3 {
  color: #333333;
}

.legal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}

body.legal-body .legal-content p {
  color: #333333;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-3);
}

.legal-content ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}

body.legal-body .legal-content ul li {
  color: #333333;
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

body.legal-body .legal-content strong {
  color: #111111;
}

body.legal-body .legal-content a[style] {
  color: #b07a00 !important;
}

/* ── Apple SVG icon helper ───────────────────────────────────── */
.apple-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
