/* ==========================================================================
   Slyde Website Concept - Flagship Stylesheet
   Strict adherence to SPEC.md and brand tokens
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  --blue: #006FFF;        /* brand: rings, @usuario, live state, focus. Never as a button fill with white text */
  --action: #0066F0;      /* every filled button (white text passes AA) */
  --action-deep: #005BD6; /* button hover */
  --sky: #8DB8FF;         /* blue as small text on night */
  --ink: #0B0B0F;
  --night: #050507;
  --white: #fff;
  --mist: #F2F5FB;
  --cloud: #E3ECFC;
  --muted: #555E6C;
  --muted-2: #7D8593;
  --muted-night: rgba(255, 255, 255, .68);
  --line: rgba(11, 11, 15, .1);
  --line-night: rgba(255, 255, 255, .14);
  --green: #0A8A4B;
  --red: #C4271B;         /* money direction only */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  overflow-x: hidden;
  font-size: 16px;
  background-color: var(--white);
  color: var(--ink);
  scroll-behavior: auto;
}

body {
  overflow-x: clip;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

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

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

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

/* Accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

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

/* Typography styles */
.display-title {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}

.section-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink);
}

.two-tone .muted {
  color: var(--muted-2);
}

.two-tone .at {
  color: var(--blue);
}

.body-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. iPhone Frame (From iphone-frame.css)
   -------------------------------------------------------------------------- */
.iphone {
  position: relative;
  padding: 1.35%;
  border-radius: 17.6% / 8.1%;
  background: linear-gradient(145deg, #5d6f8f 0%, #2a3650 22%, #1b2438 48%, #33415e 74%, #6b7b99 100%);
  box-shadow: inset 0 0 0 0.6px rgba(255, 255, 255, 0.45),
              inset 0 0 1.5px 1px rgba(0, 0, 0, 0.5),
              0 30px 60px -20px rgba(11, 20, 40, 0.45);
}

.iphone-bezel {
  padding: 2.9%;
  border-radius: 16.6% / 7.64%;
  background: #000;
  box-shadow: inset 0 0 0 1px #111;
}

.iphone-display {
  position: relative;
  aspect-ratio: 900 / 1956;
  overflow: hidden;
  border-radius: 13.4% / 6.17%;
  background: var(--mist);
  isolation: isolate;
}

.iphone-display img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.iphone-display img[data-active="true"] {
  opacity: 1;
}

.iphone-display::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
  z-index: 1;
}

.iphone-btn-l, .iphone-btn-r {
  position: absolute;
  width: 1.2%;
  min-width: 2px;
  border-radius: 2px;
}

.iphone-btn-l {
  left: -0.9%;
  top: 16.5%;
  height: 22%;
  background: linear-gradient(to bottom, #3b4964 0 16%, transparent 16% 28%, #3b4964 28% 60%, transparent 60% 68%, #3b4964 68% 100%);
}

.iphone-btn-r {
  right: -0.9%;
  top: 24%;
  height: 42%;
  background: linear-gradient(to bottom, #3b4964 0 27%, transparent 27% 72%, #2f3b53 72% 90%, transparent 90%);
}

/* Avatar with Close Friends Ring */
.avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A90E2, #006FFF);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Section 0: Tubelight Navbar
   -------------------------------------------------------------------------- */
.nav-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 900;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  position: relative;
  width: calc(100% - 40px);
  max-width: 1080px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid #fff;
  box-shadow: 0 12px 32px -12px rgba(11, 11, 15, .22), 0 1px 2px rgba(11, 11, 15, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 24px;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.nav-pill.nav-night {
  background: rgba(5, 5, 7, .6);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .5);
}

.nav-brand {
  display: flex;
  align-items: center;
  height: 24px;
}

.nav-brand img {
  height: 24px;
  width: auto;
}

.nav-brand .logo-white {
  display: none;
}

.nav-pill.nav-night .nav-brand .logo-color {
  display: none;
}

.nav-pill.nav-night .nav-brand .logo-white {
  display: block;
}

.nav-links-desktop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.nav-link {
  position: relative;
  padding: 8px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color .2s var(--ease);
  z-index: 2;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink);
}

.nav-pill.nav-night .nav-link {
  color: var(--muted-night);
}

.nav-pill.nav-night .nav-link:hover,
.nav-pill.nav-night .nav-link.active {
  color: var(--white);
}

/* Sliding Lamp Indicator */
.nav-lamp-indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 0;
  background: rgba(0, 111, 255, .06);
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: left .55s var(--spring), width .55s var(--spring), opacity .3s;
}

.nav-pill.nav-night .nav-lamp-indicator {
  background: rgba(0, 111, 255, .18);
}

.nav-lamp-bar {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--blue);
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
}

.nav-lamp-glow-1 {
  position: absolute;
  width: 48px;
  height: 24px;
  background: rgba(0, 111, 255, .25);
  border-radius: 999px;
  filter: blur(12px);
  top: -8px;
  left: -8px;
  pointer-events: none;
}

.nav-lamp-glow-2 {
  position: absolute;
  width: 32px;
  height: 24px;
  background: rgba(0, 111, 255, .25);
  border-radius: 999px;
  filter: blur(8px);
  top: -4px;
  left: 0;
  pointer-events: none;
}

.nav-lamp-glow-3 {
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(0, 111, 255, .35);
  border-radius: 999px;
  filter: blur(4px);
  top: 0;
  left: 8px;
  pointer-events: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
}

.lang-toggle:hover {
  background: #fff;
  border-color: rgba(11, 11, 15, .25);
}

.nav-pill.nav-night .lang-toggle {
  background: rgba(255, 255, 255, .1);
  border-color: var(--line-night);
  color: #fff;
}

.nav-pill.nav-night .lang-toggle:hover {
  background: rgba(255, 255, 255, .18);
}

.nav-cta-btn {
  height: 44px;
  padding: 0 20px;
  background: var(--action);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: var(--action-deep);
  transform: translateY(-1px);
}

/* Mobile Bottom Pill (<820px) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid #fff;
  box-shadow: 0 12px 32px -12px rgba(11, 11, 15, .22), 0 1px 2px rgba(11, 11, 15, .06);
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.mobile-bottom-nav.nav-night {
  background: rgba(5, 5, 7, .8);
  border-color: rgba(255, 255, 255, .14);
}

.mobile-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  z-index: 2;
  gap: 3px;
  white-space: nowrap;
  min-width: 62px;
}
.mobile-bottom-nav .nav-lamp-indicator { opacity: 0; transition: opacity .3s ease; }
.mobile-bottom-nav:has(.mobile-nav-link.active) .nav-lamp-indicator { opacity: 1; }

.mobile-nav-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.mobile-nav-link.active {
  color: var(--ink);
}

.mobile-bottom-nav.nav-night .mobile-nav-link {
  color: var(--muted-night);
}

.mobile-bottom-nav.nav-night .mobile-nav-link.active {
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Section 1: Hero
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: clamp(88px, min(9vw, 13vh), 116px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 50% 32%, var(--cloud), transparent 70%);
}

.hero-launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 111, 255, .08);
  color: var(--action);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 14px;
  transition: background .2s, transform .2s;
}

.hero-launch-pill:hover {
  background: rgba(0, 111, 255, .14);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: dot-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

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

.hero-canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: clamp(130px, min(24vw, 27vh), 290px);
  margin: 0 auto 8px;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}
.hero-section h1.display-title {
  max-width: min(20ch, 100%);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(36px, min(5.4vw, 8.4vh), 76px);
}

.hero-static-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
}

.hero-fallback-clabe {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through 3px var(--red);
}

.hero-fallback-handle {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--blue);
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-sub {
  max-width: 54ch;
  margin: 16px auto 24px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-story-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color .2s, transform .2s;
}

.hero-story-link:hover {
  color: var(--blue);
  transform: translateY(1px);
}

.hero-proofs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.proof-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(10, 138, 75, .12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proof-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

/* --------------------------------------------------------------------------
   6. Shiny Button (Used for primary CTAs)
   -------------------------------------------------------------------------- */
@property --ga { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --go { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gp { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --gs { syntax: "<color>"; initial-value: white; inherits: false; }

.shiny {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(var(--action), var(--action)) padding-box,
              conic-gradient(from calc(var(--ga) - var(--go)), transparent, var(--sky) var(--gp), var(--gs) calc(var(--gp)*2), var(--sky) calc(var(--gp)*3), transparent calc(var(--gp)*4)) border-box;
  animation: ga 3s linear infinite;
  transition: --go .8s cubic-bezier(.25, 1, .5, 1), --gp .8s cubic-bezier(.25, 1, .5, 1), --gs .8s cubic-bezier(.25, 1, .5, 1), transform .2s var(--ease), box-shadow .2s var(--ease);
  color: #fff;
  border-radius: 999px;
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px -8px rgba(0, 102, 240, .45);
}

.shiny:is(:hover, :focus-visible) {
  --gp: 20%;
  --go: 95deg;
  --gs: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(0, 102, 240, .55);
}

@keyframes ga {
  to { --ga: 360deg; }
}

.shiny::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: conic-gradient(from calc(var(--ga) + 45deg), black, transparent 10% 90%, black);
  -webkit-mask-image: conic-gradient(from calc(var(--ga) + 45deg), black, transparent 10% 90%, black);
  pointer-events: none;
  opacity: .7;
}

.shiny::after {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(-50deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%);
  transform: rotate(var(--ga));
  pointer-events: none;
  opacity: .6;
}

.magnetic-wrap {
  display: inline-block;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   7. Section 2: Conversación (Container Scroll)
   -------------------------------------------------------------------------- */
.conversation-section {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 8vw, 112px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-title-wrap {
  will-change: transform;
  margin-bottom: 30px;
  text-align: center;
  z-index: 10;
}

.stage-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.stage-screen { position: relative; }

.stage-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(900px, 110%);
  aspect-ratio: 1.5;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(43, 127, 255, .26), rgba(43, 127, 255, .09) 55%, transparent);
  pointer-events: none;
}

.stage-phones-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
}

.stage-phones-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 72%;
  height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(11, 20, 40, .2), transparent);
  pointer-events: none;
}

.stage-phone { will-change: transform; z-index: 1; }

.stage-phone.centre {
  position: relative;
  width: 38%;
  max-width: 280px;
  z-index: 3;
}

.stage-phone.left,
.stage-phone.right {
  position: absolute;
  bottom: 30px;
  width: 32%;
  max-width: 240px;
}

.stage-phone.left { left: max(2%, calc(50% - 362px)); }
.stage-phone.right { right: max(2%, calc(50% - 362px)); }

.stage-sticker {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  width: clamp(250px, 25vw, 310px);
  padding: 12px 16px 12px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 28px 50px -22px rgba(6, 46, 115, .5), 0 2px 8px rgba(11, 11, 15, .06);
  text-align: left;
  pointer-events: none;
  will-change: transform;
}

.stage-sticker.sticker-luna { top: 13%; left: -5%; }
.stage-sticker.sticker-noor { bottom: 17%; right: -5%; }

.nb-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.nb-body { min-width: 0; flex: 1; }

.nb-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.nb-app { font-weight: 600; color: var(--ink); }

.nb-title {
  margin-top: 1px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: pretty;
}

.nb-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.35;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   8. Section 3: The CLABE Problem (Scramble Text)
   -------------------------------------------------------------------------- */
.scramble-section {
  position: relative;
  background: var(--mist);
  padding: clamp(60px, 10vw, 120px) 0;
  margin: 60px 0;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.scramble-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
}

.scramble-card {
  background: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px -12px rgba(11, 11, 15, .1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.clabe-box {
  position: relative;
  padding: 18px 22px;
  background: #FAFAFC;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.clabe-display-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.clabe-text {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
  display: block;
  white-space: nowrap;
  transition: opacity .4s ease;
}

.clabe-digit-bad {
  display: inline-block;
  color: inherit;
}

.clabe-digit-bad.shaking {
  color: var(--red);
  animation: digitShake .4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes digitShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.clabe-strike-bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}

.scramble-arrow-row {
  display: flex;
  justify-content: center;
  color: var(--muted-2);
}

.scramble-arrow-row svg {
  width: 28px;
  height: 28px;
  transition: transform .4s var(--spring);
}

.slyde-handle-box {
  padding: 18px 22px;
  background: rgba(0, 111, 255, .04);
  border-radius: 18px;
  border: 1px solid rgba(0, 111, 255, .15);
}

.slyde-handle-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.handle-text-wrap {
  display: flex;
  flex-direction: column;
}

.handle-text {
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.handle-name {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.handle-check-icon {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform .4s var(--spring);
}

.handle-check-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}

/* --------------------------------------------------------------------------
   9. Section 4: La Noche (Live Payment Feed)
   -------------------------------------------------------------------------- */
.noche-section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
  overflow: hidden;
}

.noche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
}

.sample-notice {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 16px;
}

.notif-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.notif-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px -12px rgba(11, 11, 15, .16);
  z-index: 2;
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.notif-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notif-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.bell-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bell-icon {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  transform-origin: top center;
}

.unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.notif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FAFAFC;
  border-radius: 18px;
  border: 1px solid var(--line);
  transform-origin: top center;
  will-change: transform, opacity;
}

.notif-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #CFE0FF, #8DB8FF);
  color: var(--action);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--blue);
  flex-shrink: 0;
}

.notif-details {
  flex: 1;
  min-width: 0;
}

.notif-msg {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-sub {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.notif-amount-col {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.notif-amount-col.green { color: var(--green); }
.notif-amount-col.red { color: var(--red); }
.notif-amount-col.ink { color: var(--ink); }

.pay-pill-small {
  padding: 4px 10px;
  background: var(--action);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Odometer rolling digits */
.odometer {
  display: inline-flex;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
}

.odometer-digit {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
}

.odometer-col {
  display: flex;
  flex-direction: column;
}

.odometer-num {
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stacked cards behind the feed, like iOS grouped notifications */
.notif-depth {
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 92%;
  height: 80px;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 36px -18px rgba(11, 11, 15, .16);
  z-index: 1;
}

.notif-depth.d2 {
  bottom: -27px;
  width: 84%;
  z-index: 0;
  background: #F7F8FB;
}

/* --------------------------------------------------------------------------
   10. Section 5: La App (Sticky Scroll Reveal)
   -------------------------------------------------------------------------- */
.app-section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
}

.app-sticky-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  align-items: flex-start;
  margin-top: 40px;
}

.app-features-col {
  display: flex;
  flex-direction: column;
}

.app-feature-block {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: .3;
  transition: opacity .4s var(--ease);
}

.app-feature-block.active {
  opacity: 1;
}

.feature-title {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--muted);
  max-width: 44ch;
}

.app-sticky-col {
  position: sticky;
  top: calc(50vh - 280px);
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: .75;
  transition: background .6s ease, transform .6s ease;
  background: radial-gradient(circle, #CFE0FF 0%, #9CC2FF 60%, transparent 100%);
}

.app-sticky-iphone {
  position: relative;
  z-index: 1;
  width: 270px;
}

/* Mobile feature card list (<900px) */
.app-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.app-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.app-mobile-iphone {
  width: 62%;
  max-width: 240px;
}

/* --------------------------------------------------------------------------
   11. Section 6: Grupos & Liquidar (Orbiting Circles)
   -------------------------------------------------------------------------- */
.orbit-section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--mist);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}

.orbit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
  margin-top: 40px;
}

.orbit-stage-wrap {
  position: relative;
  width: 460px;
  height: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring-faint {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}

.orbit-ring-inner {
  width: 240px;
  height: 240px;
}

.orbit-ring-outer {
  width: 420px;
  height: 420px;
}

.orbit-center-chip {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 22px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -8px rgba(11, 11, 15, .15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chip-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.chip-members {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* Orbit math & keyframes */
@keyframes orbitMotion {
  from {
    transform: rotate(calc(var(--angle)*1deg)) translateY(calc(var(--radius)*var(--rs,1)*1px)) rotate(calc(var(--angle)*-1deg));
  }
  to {
    transform: rotate(calc(var(--angle)*1deg + 360deg)) translateY(calc(var(--radius)*var(--rs,1)*1px)) rotate(calc((var(--angle)*-1deg) - 360deg));
  }
}

.orbit-item {
  position: absolute;
  animation: orbitMotion calc(var(--duration)*1s) linear infinite;
  will-change: transform;
}

.orbit-item.reverse {
  animation-direction: reverse;
}

.orbit-chip-tag {
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px -6px rgba(11, 11, 15, .12);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Liquidar Right Card */
.liquidar-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px -12px rgba(11, 11, 15, .12);
}

.liquidar-header {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.messy-graph-wrap {
  position: relative;
  height: 180px;
  border-radius: 18px;
  background: #FAFAFC;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
  transition: opacity .5s, height .5s;
}

.messy-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clean-rows-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clean-settle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(0, 111, 255, .04);
  border-radius: 18px;
  border: 1px solid rgba(0, 111, 255, .12);
}

.settle-who {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.remind-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s var(--spring);
}

.remind-pill.pulse {
  animation: pillPulse 1s var(--spring) 2;
}

@keyframes pillPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); background: var(--blue); }
}

/* --------------------------------------------------------------------------
   12. Section 7: Gallery (Curved Carousel)
   -------------------------------------------------------------------------- */
.gallery-section {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.gallery-stage {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-title-wrap {
  position: relative;
  margin-bottom: 24px;
  z-index: 1;
  text-align: center;
}
.gallery-cylinder { z-index: 2; }

.gallery-cylinder {
  position: relative;
  width: 100%;
  height: 65vh;
  max-height: 580px;
  perspective: 1400px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card {
  position: absolute;
  aspect-ratio: 900 / 1956;
  width: 17%;
  min-width: 200px;
  border-radius: 28px;
  transform-origin: center center;
  will-change: transform, opacity;
  user-select: none;
}

.card-intro-poster {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--action);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 20px 50px -15px rgba(0, 102, 240, .5);
}

.card-intro-poster img {
  width: 80%;
  height: auto;
}

.gallery-card .card-shade {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 10;
}

.gallery-caption-wrap {
  margin-top: 24px;
  height: 32px;
  z-index: 20;
}

.gallery-caption {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* Reduced motion horizontal snap row */
.gallery-reduced-row {
  display: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 30px 20px;
}

.gallery-reduced-item {
  scroll-snap-align: center;
  flex: 0 0 240px;
}

/* --------------------------------------------------------------------------
   13. Section 8: Into The Night (Inversion Circle)
   -------------------------------------------------------------------------- */
.inversion-section {
  position: relative;
  height: 300vh;
  background: var(--white);
}

.inversion-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layer 1: Normal dark text on daylight */
.inversion-text-layer-light {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.inversion-heading {
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}

.inversion-sub {
  font-size: clamp(20px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--muted-2);
  margin-top: 16px;
}

/* The night circle */
.inversion-ball {
  position: absolute;
  border-radius: 50%;
  background: var(--night);
  z-index: 2;
  will-change: transform, width, height;
  pointer-events: none;
}

/* Layer 2: White text clipped to the expanding ball */
.inversion-text-layer-dark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 3;
  pointer-events: none;
}

.inversion-text-layer-dark .inversion-heading {
  color: #fff;
}

.inversion-text-layer-dark .inversion-sub {
  color: var(--muted-night);
}

/* --------------------------------------------------------------------------
   14. Section 9: Anti CLABE Social Club
   -------------------------------------------------------------------------- */
.club-section {
  position: relative;
  background: var(--night);
  color: #fff;
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
}

/* Lamp Effect */
.lamp-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 280px;
  overflow: hidden;
  pointer-events: none;
}

.lamp-beam-left {
  position: absolute;
  top: 0;
  right: 50%;
  width: 30rem;
  height: 18rem;
  background: conic-gradient(from 70deg at center top, var(--blue), transparent, transparent);
  mask-image: radial-gradient(circle at 100% 0%, black 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 100% 0%, black 50%, transparent 80%);
  opacity: .7;
  transform-origin: right top;
  transition: width .8s ease-in-out, opacity .8s;
}

.lamp-beam-right {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30rem;
  height: 18rem;
  background: conic-gradient(from 290deg at center top, var(--blue), transparent, transparent);
  mask-image: radial-gradient(circle at 0% 0%, black 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 0% 0%, black 50%, transparent 80%);
  opacity: .7;
  transform-origin: left top;
  transition: width .8s ease-in-out, opacity .8s;
}

.lamp-glow-core {
  position: absolute;
  top: 0;
  width: 16rem;
  height: 8rem;
  border-radius: 50%;
  background: #3D8BFF;
  filter: blur(48px);
  opacity: .6;
  transition: width .8s ease-in-out;
}

.lamp-glow-outer {
  position: absolute;
  top: 0;
  width: 30rem;
  height: 12rem;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(54px);
  opacity: .4;
}

.lamp-line {
  position: absolute;
  top: 0;
  width: 30rem;
  height: 2px;
  background: #5AA0FF;
  box-shadow: 0 0 20px #5AA0FF;
  transition: width .8s ease-in-out;
}

/* Club Header & Wordmark */
.club-content {
  position: relative;
  z-index: 5;
  margin-top: -120px;
}

.club-eyebrow {
  color: var(--sky);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 24px;
}

.club-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.club-wordmark-stack {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .9;
  letter-spacing: -0.03em;
}

.club-word-social {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}

/* Spinning Badge */
.spinning-badge-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spinning-badge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.club-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

.club-body {
  max-width: 54ch;
  color: var(--muted-night);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  margin: 36px 0 44px;
}

/* Handle preview interaction */
.handle-preview-box {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-night);
  border-radius: 28px;
  padding: 32px;
  max-width: 680px;
  backdrop-filter: blur(12px);
}

.handle-input-wrap {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 14px;
  margin-bottom: 20px;
}

.input-at-prefix {
  position: absolute;
  left: 20px;
  color: var(--sky);
  font-weight: 700;
  font-size: 18px;
  pointer-events: none;
}

.handle-pill-input {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-night);
  padding: 0 20px 0 42px;
  color: #fff;
  font-size: 18px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.handle-pill-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.member-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-night);
  margin-bottom: 24px;
}

.member-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006FFF, #005BD6);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--blue);
}

.member-card-handle {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.socio-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(141, 184, 255, .15);
  color: var(--sky);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.handle-note {
  font-size: 13px;
  color: var(--muted-night);
  margin-top: 14px;
}

/* Scroll Velocity Marquee */
.club-marquee-wrap {
  margin-top: 80px;
  border-top: 1px solid var(--line-night);
  border-bottom: 1px solid var(--line-night);
  padding: 24px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.marquee-inner {
  display: flex;
  align-items: center;
  will-change: transform;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
}

.marquee-text {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 34px);
  color: #fff;
  letter-spacing: .02em;
  padding: 0 10px;
}

.marquee-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin: 0 20px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   15. Section 10: Cinco Pasos
   -------------------------------------------------------------------------- */
.pasos-section {
  position: relative;
  background: var(--white);
  padding: clamp(60px, 10vw, 120px) 0;
}

.pasos-track-wrap {
  position: relative;
  margin-top: 60px;
}

.pasos-progress-line-bg {
  position: absolute;
  top: 25px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.pasos-progress-line-fill {
  position: absolute;
  top: 25px;
  left: 5%;
  height: 2px;
  background: var(--blue);
  width: 0%;
  z-index: 2;
  transition: width .1s linear;
}

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

.paso-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.paso-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--muted-2);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--spring);
}

.paso-col.active .paso-badge {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(0, 111, 255, .2);
}

.paso-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.paso-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   16. Section 11: Preguntas (FAQ)
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
  background: var(--mist);
  padding: clamp(60px, 10vw, 120px) 0;
  mask-image: linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
}

.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 8px 24px -10px rgba(11, 11, 15, .06);
  transition: border-color .2s;
}

.faq-item.active {
  border-color: rgba(0, 111, 255, .3);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  transition: transform .3s var(--ease);
}

.faq-item.active .faq-icon {
  background: var(--cloud);
  transform: rotate(45deg);
}

.faq-item.active .faq-icon svg {
  stroke: var(--blue);
}

/* CSS Grid Transition for accordion */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}

.faq-item.active .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-text {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.faq-contact {
  text-align: center;
  margin-top: 36px;
  font-size: 15px;
  color: var(--muted);
}

.faq-contact a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   17. Section 12: Close & Shiny CTA
   -------------------------------------------------------------------------- */
.close-section {
  position: relative;
  background: var(--white);
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  overflow: hidden;
}

.close-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 60vw, 700px);
  height: clamp(300px, 60vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--cloud) 0%, rgba(227, 236, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.close-content {
  position: relative;
  z-index: 1;
}

.close-title {
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   18. Section 13: Footer
   -------------------------------------------------------------------------- */
.footer-section {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  height: 24px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   19. Responsive Breakpoints (320px, 390px, 768px, 820px, 900px, 1024px)
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .app-sticky-layout { display: none; }
  .app-mobile-cards { display: flex; }
  .scramble-grid { grid-template-columns: 1fr; }
  .noche-grid { grid-template-columns: 1fr; }
  .orbit-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 820px) {
  .nav-links-desktop { display: none; }
  .mobile-bottom-nav { display: flex; }
  .nav-pill { padding: 0 12px 0 18px; }
  .pasos-progress-line-bg, .pasos-progress-line-fill { display: none; }
  .pasos-grid { grid-template-columns: 1fr; gap: 32px; }
  .paso-col { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
  .paso-badge { margin-bottom: 0; flex-shrink: 0; }
  .club-wordmark-row { justify-content: center; text-align: center; }
  .spinning-badge-wrap { margin-top: 20px; }
}

@media (max-width: 600px) {
  .stage-phone.left, .stage-phone.right { display: none; }
  .stage-phone.centre { width: 70%; max-width: 260px; }
  .stage-sticker { width: min(250px, 74vw); gap: 9px; padding: 9px 12px 9px 9px; border-radius: 18px; }
  .stage-sticker.sticker-luna { top: -3%; left: -2%; }
  .stage-sticker.sticker-noor { bottom: 3%; right: -2%; }
  .nb-icon { width: 30px; height: 30px; border-radius: 8px; }
  .nb-meta { font-size: 10.5px; }
  .nb-title { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nb-text { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gallery-card { width: 52%; }
  .orbit-stage-wrap { width: 320px; height: 320px; }
  .orbit-ring-inner { width: 180px; height: 180px; }
  .orbit-ring-outer { width: 300px; height: 300px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

.noche-grid > * { min-width: 0; }
@media (max-width: 360px) { .stage-sticker .nb-title { white-space: normal; } }
.notif-stage, .notif-card { min-width: 0; max-width: 100%; }
@media (max-width: 600px) {
  .notif-card { padding: 16px; }
  .notif-item { padding: 10px 12px; gap: 10px; }
  /* The request already says the amount; on phones keep just the Pagar pill so the text fits */
  .notif-amount-col.ink .odometer { display: none; }
  .orbit-stage-wrap { --rs: .7; }
}

@media (max-width: 390px) {
  .orbit-ring-inner { width: 160px; height: 160px; }
  .orbit-ring-outer { width: 260px; height: 260px; }
  .orbit-stage-wrap { --rs: .62; }
  .container { padding: 0 16px; }
  .nav-pill { width: calc(100% - 24px); height: 58px; }
  .nav-cta-btn { height: 40px; padding: 0 14px; font-size: 13px; }
  .shiny { height: 50px; padding: 0 20px; font-size: 14.5px; }
  .orbit-stage-wrap { width: 280px; height: 280px; }
}

/* --------------------------------------------------------------------------
   20. Prefers Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #hero-canvas { display: none !important; }
  .hero-static-fallback { display: flex !important; }
  .gallery-cylinder { display: none !important; }
  .gallery-reduced-row { display: flex !important; }
  .orbit-item { animation: none !important; position: static !important; }
  .orbit-stage-wrap { display: flex; flex-wrap: wrap; gap: 10px; height: auto; width: 100%; }
  .orbit-ring-faint { display: none !important; }
  .spinning-badge-svg { animation: none !important; }
  .inversion-section { height: auto !important; }
  .inversion-sticky-stage { position: relative !important; height: auto !important; padding: 100px 0 !important; }
  .inversion-ball { display: none !important; }
  .inversion-text-layer-dark { display: none !important; }
}

/* No-JS fallback helper */
.no-js .hero-static-fallback { display: flex; }
.no-js #hero-canvas { display: none; }
.no-js .app-feature-block { opacity: 1; }
.no-js .gallery-reduced-row { display: flex; }
.no-js .gallery-cylinder { display: none; }


/* --------------------------------------------------------------------------
   Waitlist sign-up window (ported from the previous theslyde.app; posts to /api/waitlist)
   -------------------------------------------------------------------------- */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wl-modal[hidden] { display: none; }
.wl-card .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wl-card h2 { font-weight: 700; color: var(--ink); }
.wl-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; background: var(--action); color: #fff; font: inherit; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease); }
.wl-submit:hover { background: var(--action-deep); }
.wl-submit:active { transform: scale(.98); }
.wl-submit:disabled { opacity: .7; cursor: default; }
.wl-close { border: 0; cursor: pointer; color: var(--ink); }
@keyframes wl-fade { from { opacity: 0; } }
@keyframes wl-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .wl-card, .wl-backdrop { animation: none; } }
.wl-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.wl-backdrop { position: absolute; inset: 0; background: rgba(15, 25, 45, 0.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: wl-fade .25s ease; }
.wl-card { position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 36px 32px 28px; border-radius: 36px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(10, 30, 70, 0.45); animation: wl-pop .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.wl-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #F1F2F4; }
.wl-close { transition: transform .3s var(--ease), background .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .wl-close:hover { background: #E6E8EC; } }
.wl-close:active { transform: scale(0.92); background: #E6E8EC; transition-duration: 0.12s; }
.wl-close .i { width: 18px; height: 18px; stroke-width: 2.4; }
.wl-logo { width: 52px; height: 52px; margin-bottom: 22px; border-radius: 14px; }
.wl-card h2 { font-size: clamp(26px, 4vw, 32px); letter-spacing: -0.04em; line-height: 1.1; }
.wl-sub { margin-top: 6px; font-size: 1.02rem; line-height: 1.45; color: #3a3f4a; letter-spacing: -0.02em; }
.wl-form { display: flex; flex-direction: column; margin-top: 24px; }
.wl-form label { margin: 14px 0 8px; font-size: 0.92rem; font-weight: 600; letter-spacing: -0.02em; }
.wl-form label:first-child { margin-top: 0; }
.wl-form input:not(.hp):not([type="hidden"]) { width: 100%; height: 56px; padding: 0 18px; border-radius: 18px; border: 1.5px solid #DCE0E6; background: #fff; color: var(--ink); font: inherit; font-size: 1.02rem; outline: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.wl-form input::placeholder { color: #737A86; }
.wl-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 111, 255, 0.12); }
.wl-form input[aria-invalid="true"] { border-color: var(--red); }
.wl-phone { display: flex; align-items: center; }
/* Country code: shows flag + code; an invisible native <select> on top opens the phone's own picker */
.wl-cc { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; height: 56px; padding: 0 10px 0 14px; border: 1.5px solid #DCE0E6; border-right: 0; border-radius: 18px 0 0 18px; background: #F6F7F9; font-weight: 600; font-size: 0.98rem; white-space: nowrap; transition: background .3s var(--ease); }
.wl-cc .i { width: 15px; height: 15px; stroke-width: 2.4; color: var(--muted); }
.wl-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: 16px; cursor: pointer; }
.wl-cc:focus-within { z-index: 1; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 111, 255, 0.12); }
.wl-cc:active { background: #ECEEF2; }
.wl-phone input { border-radius: 0 18px 18px 0 !important; }
.form-msg { margin-top: 14px; font-size: 0.92rem; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg.error { color: var(--red); }
.wl-submit { width: 100%; height: 58px; margin-top: 24px; font-size: 1.05rem; }
.wl-done { text-align: center; padding-top: 4px; }
.wl-done-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--action); color: #fff; }
.wl-done-check .i { width: 30px; height: 30px; stroke-width: 2.6; }
.wl-card:has(.wl-done:not([hidden])) .wl-logo { display: none; }
@media (max-width: 600px) { .wl-card { padding: 30px 22px 22px; border-radius: 30px; } }
