:root {
  --bg-white: #FFFFFF;
  --ink-black: #0F0F0F;
  --ink-soft: #26221B;
  --gold-vivid: #FFD43B;
  --gold-bright: #F4C430;
  --gold-rich: #C69000;
  --gold-text: #8A6200;
  --gold-line: #E6BE3A;
  --radius-card: 24px;
  --radius-pill: 999px;
  --container-max: 760px;
}

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

html {
  background-color: var(--bg-white);
  color: var(--ink-black);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-white);
  color: var(--ink-black);
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Intro Fullscreen (100dvh, opaque white, safe area) */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.intro-overlay[hidden] {
  display: none;
}

.intro-skip {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  min-width: 44px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-rich);
  background-color: var(--bg-white);
  color: var(--ink-black);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-skip:active {
  transform: scale(0.97);
}

.intro-skip:focus-visible {
  outline: 2px solid var(--ink-black);
  outline-offset: 3px;
}

.intro-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.intro-logo {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  object-fit: cover;
}

.intro-title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-black);
}

.intro-subtitle {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.intro-line {
  width: 96px;
  height: 2px;
  background-color: var(--gold-bright);
  transform-origin: center;
}

/* Floating Minimalist Navbar */
.floating-nav {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-white);
  border: 1.5px solid var(--gold-line);
  max-width: calc(100vw - 24px);
}

.nav-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  object-fit: cover;
}

.nav-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background-color: var(--bg-white);
  color: var(--ink-black);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-btn:focus-visible,
.btn-gold:focus-visible,
.fab-whatsapp:focus-visible,
.faq-trigger:focus-visible {
  outline: 2px solid var(--ink-black);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold-rich);
  }
  .intro-skip:hover {
    transform: scale(1.02);
  }
}

/* Layering Sections (slide cleanly over each other on linear scroll) */
.page-section {
  position: relative;
  background-color: var(--bg-white);
}

.hero-section {
  z-index: 1;
  padding-top: calc(92px + env(safe-area-inset-top));
  padding-bottom: 16px;
}

.stack-section {
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 24px;
}

.marquee-section {
  z-index: 3;
  padding-top: 24px;
  padding-bottom: 16px;
}

.faq-section {
  z-index: 4;
  padding-top: 24px;
  padding-bottom: 16px;
}

.footer-section {
  z-index: 5;
  padding-top: 24px;
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

/* Breathing room >= 64px with centered gold hairline divider */
.section-spacer {
  position: relative;
  z-index: 6;
  background-color: var(--bg-white);
  padding-block: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-divider {
  width: min(86%, 560px);
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 50%, transparent 100%);
}

/* Hero Section */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-bubble-wrap {
  padding: 5px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  margin-bottom: 20px;
}

.logo-bubble {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink-black);
}

.hero-subtitle {
  margin: 8px 0 22px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.hero-phrases {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 44ch;
  margin: 0 0 28px;
}

.hero-phrase {
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.hero-social-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Primary Gold Button with Shiny Sweep Glow (transform-only) */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-rich);
  background: linear-gradient(135deg, var(--gold-vivid) 0%, var(--gold-bright) 58%, #E5AC00 100%);
  color: var(--ink-black);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.shiny-btn::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 42%;
  height: 140%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  transform: translate3d(-180%, 0, 0) skewX(-18deg);
  pointer-events: none;
  animation: shinySweep 4.2s ease-in-out infinite;
}

@keyframes shinySweep {
  0%, 55% {
    transform: translate3d(-180%, 0, 0) skewX(-18deg);
  }
  85%, 100% {
    transform: translate3d(340%, 0, 0) skewX(-18deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    transform: scale(1.015);
  }
}

.btn-gold:active {
  transform: scale(0.985);
}

/* Centered Section Headers */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--gold-text);
}

.section-sub {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* Stacked Cards (100% opaque white, opacity 1 always, no blur, overflow hidden, isolate) */
.stack-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 20px;
}

.stack-counter {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
}

.stack-pips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stack-pip {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--bg-white);
  border: 1px solid var(--gold-line);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.stack-pip.is-active {
  background-color: var(--gold-bright);
  border-color: var(--gold-rich);
  transform: scaleX(1.15);
}

.stack-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-white);
}

.stack-stage.is-reduced {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
}

.stack-card {
  position: relative;
  width: 100%;
  background-color: var(--bg-white);
  border: 1.5px solid var(--gold-line);
  border-radius: var(--radius-card);
  padding: 28px 24px 26px;
  overflow: hidden;
  opacity: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.stack-card.is-front {
  pointer-events: auto;
}

.card-glow-decor {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 88% 12%, rgba(244, 196, 48, 0.16) 0%, rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
  z-index: 0;
}

.card-top,
.card-body,
.card-footer {
  position: relative;
  z-index: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-index {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-text);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  background-color: var(--bg-white);
}

.card-circle-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-rich);
  background: linear-gradient(135deg, var(--gold-vivid) 0%, var(--gold-bright) 100%);
  color: var(--ink-black);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-circle-cta svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .card-circle-cta:hover {
    transform: scale(1.05);
  }
}

.card-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink-black);
}

.card-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}

.card-btn {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 0.95rem;
}

/* Marquee Showcase (full width, no clipped items on edges, zero page overflow) */
.marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding-block: 10px;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 16px;
  padding-inline: 16px;
}

.marquee-item {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 20px;
  border: 1.5px solid var(--gold-line);
  background-color: var(--bg-white);
  overflow: hidden;
}

.marquee-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 768px) {
  .marquee-track {
    gap: 22px;
    padding-inline: 22px;
  }
  .marquee-item {
    width: 260px;
  }
}

.marquee-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 640px;
  margin-inline: auto;
  border-top: 1px solid var(--gold-line);
}

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

.faq-trigger {
  width: 100%;
  min-height: 54px;
  padding: 16px 4px;
  background-color: var(--bg-white);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-black);
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-rich);
  transition: transform 0.25s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 4px 18px;
}

.faq-panel p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* Footer */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  object-fit: cover;
}

.footer-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-black);
}

.footer-sub {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Floating WhatsApp Button (bottom right, safe area respected) */
.fab-whatsapp {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-rich);
  background: linear-gradient(135deg, var(--gold-vivid) 0%, var(--gold-bright) 100%);
  color: var(--ink-black);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-whatsapp svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .fab-whatsapp:hover {
    transform: scale(1.04);
  }
}

/* 404 */
.not-found {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}

.not-found-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Small screens (320px safety) */
@media (max-width: 360px) {
  .container {
    padding-inline: 14px;
  }
  .stack-card {
    padding: 24px 16px 22px;
  }
  .btn-gold {
    padding: 13px 20px;
    font-size: 0.94rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .shiny-btn::after {
    animation: none;
    display: none;
  }
  .marquee-viewport {
    overflow-x: auto;
  }
  .marquee-track {
    width: max-content;
  }
  .marquee-item[aria-hidden="true"] {
    display: none;
  }
  .icon-btn,
  .btn-gold,
  .card-circle-cta,
  .fab-whatsapp,
  .intro-skip,
  .faq-icon,
  .stack-pip {
    transition: none;
  }
}
