/* =============================================
   POCKETMARKET — Design System
   Vibe: Ethereal Glass (Dark OLED + Amber accent)
   Fonts: Outfit (display) + Plus Jakarta Sans (body)
   ============================================= */

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

:root {
  --bg:            #050505;
  --bg-raised:     #0d0d0d;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text:          #F5F0E8;
  --text-muted:    rgba(245, 240, 232, 0.5);
  --text-faint:    rgba(245, 240, 232, 0.28);
  --accent:        #E8A838;
  --accent-dim:    rgba(232, 168, 56, 0.15);
  --accent-glow:   rgba(232, 168, 56, 0.08);
  --green:         #4ADE80;
  --green-dim:     rgba(74, 222, 128, 0.12);

  --radius-sm:   0.75rem;
  --radius-md:   1.25rem;
  --radius-lg:   2rem;
  --radius-inner: calc(2rem - 4px);
  --radius-full: 9999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-back:  cubic-bezier(0.36, 0, 0.66, -0.56);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 5rem;
  --section-py: 5rem;
  --container: 1320px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p { max-width: 65ch; }

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-dim);
  background: var(--accent-glow);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

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

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  filter: blur(4px);
  transition:
    opacity 600ms var(--ease-out-expo),
    transform 600ms var(--ease-out-expo),
    filter 600ms var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }
.reveal-delay-4 { transition-delay: 480ms; }
.reveal-delay-5 { transition-delay: 600ms; }


/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 3rem);
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 20px 60px rgba(0,0,0,0.5);
  transition: transform 500ms var(--ease-spring),
              opacity 500ms var(--ease-spring);
}

.nav.hidden {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  transition: color 250ms var(--ease-out-expo),
              background 250ms var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 300ms var(--ease-out-back),
              box-shadow 300ms var(--ease-out-expo),
              background 250ms var(--ease-out-expo);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: #0d0900;
}

.btn-primary:hover {
  background: #f0b94a;
  box-shadow: 0 0 0 6px var(--accent-glow), 0 8px 24px rgba(232,168,56,0.3);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 350ms var(--ease-out-back),
              background 250ms var(--ease-out-expo);
}

.btn-primary:hover .btn-icon,
.btn-ghost:hover .btn-icon {
  transform: translateX(3px) translateY(-3px) rotate(12deg) scale(1.1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
}

/* ─── HERO ─── */
.hero-outer {
  /* height set by JS after video loads, or default 500vh */
  height: 500vh;
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  transition: opacity 400ms ease;
  will-change: opacity;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: contents;
}

/* Multi-directional gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* bottom fade — text area */
    linear-gradient(to top, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.7) 30%, transparent 60%),
    /* left fade */
    linear-gradient(to right, rgba(5,5,5,0.7) 0%, transparent 55%),
    /* top fade — nav area */
    linear-gradient(to bottom, rgba(5,5,5,0.5) 0%, transparent 25%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  line-height: 1.02;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.scroll-line {
  width: 2px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Video progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 3;
  transition: width 50ms linear;
  box-shadow: 0 0 8px var(--accent);
}


/* ─── SECTION BASE ─── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}


/* ─── HOW IT WORKS ─── */
.section-como {
  background: var(--bg);
  overflow: hidden;
  padding-top: 0.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: 5fr 6fr 5fr;
    gap: 2rem;
  }

  .step-card:nth-child(2) .card-core {
    padding: 2.75rem;
  }
}

/* Z-Axis Cascade: slight rotation and offset */
.step-card:nth-child(1) { transform: translateY(0) rotate(0deg); }
.step-card:nth-child(2) { transform: translateY(1.5rem) rotate(0.4deg); }
.step-card:nth-child(3) { transform: translateY(3rem) rotate(-0.3deg); }

@media (max-width: 767px) {
  .step-card:nth-child(n) { transform: none; }
}

/* Double-Bezel card */
.card-shell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 40px 80px -20px rgba(0,0,0,0.5);
  transition: transform 400ms var(--ease-out-back),
              box-shadow 400ms var(--ease-out-expo),
              border-color 300ms;
}

.card-shell:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 60px 120px -30px rgba(0,0,0,0.6),
    0 0 20px -4px rgba(232,168,56,0.12);
}

.step-card:nth-child(1):hover,
.step-card:nth-child(2):hover,
.step-card:nth-child(3):hover {
  transform: translateY(-4px) rotate(0deg);
}

.card-core {
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-inner);
  padding: 2.25rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  height: 100%;
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,56,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: none;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-dim);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74,222,128,0.15);
}


/* ─── BENEFÍCIOS SÍNDICO ─── */
.section-sindico {
  background: linear-gradient(180deg, var(--bg) 0%, #080805 100%);
}

.bento-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
  }

  .bento-item:nth-child(1) { grid-column: span 7; }
  .bento-item:nth-child(2) { grid-column: span 5; }
  .bento-item:nth-child(3) { grid-column: span 5; }
  .bento-item:nth-child(4) { grid-column: span 7; }
}

.bento-item .card-shell {
  height: 100%;
}

.bento-item .card-core {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item--accent .card-shell {
  border-color: rgba(232,168,56,0.2);
  background: rgba(232,168,56,0.04);
}

.bento-item--accent .card-core {
  background: rgba(232,168,56,0.05);
}

.bento-highlight {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.bento-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.bento-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

.bento-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.bento-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid rgba(74,222,128,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}


/* ─── BENEFÍCIOS MORADORES ─── */
.section-moradores {
  background: var(--bg-raised);
  overflow: hidden;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.split-text h2 {
  margin-bottom: 1.25rem;
}

.split-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 300ms var(--ease-out-expo),
              border-color 300ms var(--ease-out-expo),
              transform 300ms var(--ease-out-back);
}

.feature-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.feature-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,56,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-item-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.feature-item-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
}

/* Visual mockup side */
.split-visual {
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9/19;
  background: #0f0f0f;
  border-radius: 3rem;
  border: 1.5px solid var(--border-strong);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 80px 160px -40px rgba(0,0,0,0.8),
    0 0 0 6px rgba(255,255,255,0.02);
}

.phone-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #111108, #0d0d08);
  display: flex;
  flex-direction: column;
  padding: 3rem 1.5rem 2rem;
  gap: 0.75rem;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-faint);
  font-weight: 600;
  padding: 0 0.25rem;
}

.phone-product {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-info h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.product-info p {
  font-size: 0.7rem;
  color: var(--text-muted);
  max-width: none;
}

.product-price {
  margin-left: auto;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.phone-pay-btn {
  background: var(--accent);
  color: #0d0900;
  border: none;
  border-radius: 0.75rem;
  padding: 0.9rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  letter-spacing: -0.01em;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.phone-qr {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 90px;
  height: 90px;
}

.qr-cell {
  background: var(--text);
  border-radius: 1px;
  opacity: 0;
  animation: qr-appear 0.05s forwards;
}

.phone-label {
  font-size: 0.7rem;
  color: var(--text-faint);
  text-align: center;
}

/* Floating accent badge on phone */
.phone-badge {
  position: absolute;
  top: -1rem;
  right: -1.5rem;
  background: var(--green);
  color: #020d05;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(74,222,128,0.3);
  animation: badge-float 3s ease-in-out infinite;
}

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


/* ─── NÚMEROS / STATS ─── */
.section-stats {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat-item {
  text-align: left;
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform 400ms var(--ease-out-back),
              border-color 300ms;
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 40%;
  background: linear-gradient(to top, var(--accent), transparent);
  border-radius: 2px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number .stat-accent {
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ─── MARQUEE ─── */
.marquee-section {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(232,168,56,0.03);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}


/* ─── FAQ ─── */
.section-faq {
  background: var(--bg-raised);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
}

.faq-intro h2 {
  margin-bottom: 1rem;
}

.faq-intro p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.faq-list {
  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-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 1.5rem 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 250ms var(--ease-out-expo);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 400ms var(--ease-spring),
              background 300ms,
              border-color 300ms;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-dim);
  border-color: rgba(232,168,56,0.2);
  color: var(--accent);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 500ms var(--ease-out-expo),
              padding 400ms var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  max-width: none;
}


/* ─── CTA FINAL ─── */
.section-cta {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232,168,56,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner h2 {
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}

.cta-inner > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  text-align: center;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.trust-icon {
  color: var(--green);
  display: flex;
}


/* ─── FOOTER ─── */
.footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 32ch;
}

.footer-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 200ms var(--ease-out-expo);
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-faint);
  transition: color 200ms;
}

.footer-bottom a:hover { color: var(--accent); }


/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 450ms var(--ease-spring),
              opacity 300ms var(--ease-out-expo);
}

.mobile-menu.open {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.mobile-menu-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  display: block;
  transition: color 200ms;
}

.mobile-menu-links a:hover {
  color: var(--text);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 200ms;
}

.mobile-menu-close:hover { background: var(--surface-hover); }


/* ─── RESPONSIVE OVERRIDES ─── */
@media (max-width: 767px) {
  :root {
    --section-py: 4.5rem;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .step-card:nth-child(n) {
    transform: none !important;
  }

  .split-layout {
    gap: 3rem;
  }

  .phone-badge {
    right: 0;
  }

  .stat-item {
    padding: 1rem 1rem 1rem 0.75rem;
  }

  .cta-inner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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


/* ─── QW-7: SKIP LINK ─── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.6rem 1.25rem;
  background: var(--accent);
  color: #0d0900;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  transition: top 200ms var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
}

.skip-link:focus {
  top: 1rem;
}


/* ─── QW-8: FOCUS RINGS ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ─── QW-9: CTA GLOW ANIMATED ─── */
@keyframes glow-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

.cta-bg-glow {
  animation: glow-breathe 6s ease-in-out infinite;
}


/* ─── QW-10: MARQUEE SECOND TRACK ─── */
.marquee-section {
  padding: 0.75rem 0;
}

.marquee-track--reverse {
  animation-duration: 35s;
  animation-direction: reverse;
  opacity: 0.45;
  margin-top: 0.5rem;
}


/* ─── HI-1: HERO GRAIN TEXTURE ─── */
.hero-sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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;
}

/* Ensure hero content stays above grain */
.hero-content {
  z-index: 3;
}

.hero-scroll-hint {
  z-index: 3;
  transition: opacity 600ms var(--ease-out-expo);
}


/* ─── HI-3: HERO ASYMMETRIC LAYOUT ─── */
@media (min-width: 900px) {
  .hero-content {
    padding-left: clamp(2rem, 8vw, 8rem);
  }

  .hero-content h1 {
    max-width: 10ch;
  }

  .hero-subtitle {
    max-width: 44ch;
  }
}


/* ─── ME-1: HERO WORD REVEAL ─── */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5rem);
  animation: word-in 500ms var(--ease-out-expo) forwards;
  animation-delay: calc(0.8s + var(--i) * 40ms);
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}


/* ─── ME-2: BENTO CARD MICROANIMATIONS ─── */
.bento-item .card-shell .step-icon {
  transition: transform 400ms var(--ease-out-back);
}

.bento-item .card-shell:hover .step-icon {
  transform: translateY(-4px) scale(1.08);
}

.bento-item .card-shell .bento-highlight {
  transition: transform 400ms var(--ease-out-back),
              color 250ms;
}

.bento-item .card-shell:hover .bento-highlight {
  transform: translateX(3px);
}


/* ─── ME-3: PHONE MOCKUP ANIMATIONS ─── */
.phone-product {
  opacity: 0;
  transform: translateX(-8px);
  animation: product-slide-in 500ms var(--ease-out-expo) forwards;
}

.phone-product:nth-child(2) { animation-delay: 0.2s; }
.phone-product:nth-child(3) { animation-delay: 0.4s; }

@keyframes product-slide-in {
  to { opacity: 1; transform: translateX(0); }
}

.phone-qr {
  position: relative;
  overflow: hidden;
}

.phone-qr::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  animation: scan-line 2.5s ease-in-out infinite;
}

@keyframes scan-line {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}


/* ─── ME-5: FAQ COUNTER ─── */
.faq-list {
  counter-reset: faq-counter;
}

.faq-item {
  counter-increment: faq-counter;
}

.faq-question::before {
  content: counter(faq-counter, decimal-leading-zero);
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  margin-right: 0.75rem;
  transition: color 250ms;
  flex-shrink: 0;
}

.faq-item.open .faq-question::before {
  color: var(--accent);
}


/* ─── QW-6: FAQ ITEM OPEN HIGHLIGHT ─── */
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 250ms var(--ease-out-expo),
              padding-left 250ms var(--ease-out-expo);
  padding-left: 0;
  margin-left: 0;
  border-radius: 0.5rem;
}

.faq-item.open {
  background: rgba(232,168,56,0.03);
  border-left: 2px solid rgba(232,168,56,0.3);
  padding-left: 1rem;
  margin-left: -1rem;
}


/* ─── ME-6: PHONE BADGE PULSE RING ─── */
.phone-badge {
  position: absolute;
  top: -1rem;
  right: -1.5rem;
  background: var(--green);
  color: #020d05;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(74,222,128,0.3);
  animation: badge-float 3s ease-in-out infinite;
}

.phone-badge::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(74,222,128,0.5);
  animation: badge-ring 2s ease-out infinite;
}

@keyframes badge-ring {
  0%   { transform: scale(1);    opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}


/* ─── HI-4: FOOTER DECORATIVE NUMBER ─── */
.footer-brand {
  position: relative;
  overflow: hidden;
}

.footer-brand::after {
  content: "47+";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}


/* ─── HI-2: TESTIMONIALS SECTION ─── */
.section-testimonials {
  background: var(--bg-raised);
  padding: var(--section-py) 0;
}

.section-testimonials .section-header {
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 4fr 5fr 3fr;
  }
}

.testimonial-card .card-shell {
  height: 100%;
}

.testimonial-card .card-core {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.75rem;
  max-width: none;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* Stat card variant */
.testimonial-card--stat .card-shell {
  border-color: rgba(232,168,56,0.15);
  background: rgba(232,168,56,0.03);
}

.testimonial-card--stat .card-core {
  align-items: flex-start;
  justify-content: flex-end;
}

.testimonial-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-stat-number span {
  font-size: 0.6em;
  opacity: 0.7;
}

.testimonial-stat-label {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
  max-width: none;
  margin-bottom: 0.5rem;
}

.testimonial-stat-sub {
  font-size: 0.8rem;
  color: var(--text-faint);
  display: block;
}
