/* ================================
   EIGHTHEAVENS — styles.css
================================ */

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

:root {
  --black: #000000;
  --off-black: #080808;
  --deep: #0d0d0d;
  --surface: #111111;
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,255,255,0.18);
  --white: #ffffff;
  --off-white: #e8e4df;
  --gold: #c9a96e;
  --gold-light: #e0c48a;
  --muted: rgba(255,255,255,0.45);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1280px;
}

html {
  scroll-behavior: smooth;
  /* Base size scales the whole site (all rem/em units) — bump for readability */
  font-size: 18px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ================================
   LAYOUT
================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

/* ================================
   TYPOGRAPHY
================================ */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}

/* ================================
   BUTTONS
================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ================================
   NAVBAR
================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(1);
  transition: var(--transition);
}

.nav-logo:hover img {
  filter: brightness(1.2);
}

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

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links .nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border-bright);
  color: var(--white);
}

.nav-links .nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

/* ================================
   HERO
================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Top padding clears the fixed navbar so the eyebrow never tucks under it */
  padding: 110px 1rem 70px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hero-logo {
  width: min(260px, 45vw);
  height: auto;
  margin-bottom: 2rem;
  animation: fadeInDown 1.2s ease forwards;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  animation: fadeIn 1.5s ease 0.3s forwards;
  opacity: 0;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 1.5s ease 0.5s forwards;
  opacity: 0;
}

.diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.line {
  width: 60px;
  height: 1px;
  background: var(--border-bright);
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--off-white);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: fadeIn 1.5s ease 0.7s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeIn 1.5s ease 0.9s forwards;
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  animation: fadeIn 2s ease 1.5s forwards;
  opacity: 0;
}

.scroll-indicator span {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ================================
   MARQUEE
================================ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  background: var(--off-black);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.diamond-sm {
  width: 5px !important;
  height: 5px !important;
  background: var(--gold) !important;
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

/* ================================
   ABOUT
================================ */
#about {
  background: var(--off-black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.octagon-frame {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.octagon-frame img {
  width: 75%;
  height: auto;
  object-fit: contain;
}

.about-accent-line {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.about-text {
  max-width: 540px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.9;
}

.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================
   COLLECTIONS
================================ */
#collections {
  background: var(--deep);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-placeholder::before {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid var(--border);
  clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
}

.lock-icon {
  font-size: 2rem;
  color: var(--border-bright);
  letter-spacing: 0;
}

.product-info {
  padding: 1.5rem;
}

.product-tag {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.15em;
}

/* ================================
   VISION
================================ */
#vision {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.vision-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.vision-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.35;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.vision-title em {
  font-style: italic;
  color: var(--gold-light);
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.pillar {
  background: var(--deep);
  padding: 3rem 2rem;
  text-align: left;
  transition: var(--transition);
}

.pillar:hover {
  background: var(--surface);
}

.pillar-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================
   CONTACT / NEWSLETTER
================================ */
#contact {
  background: var(--off-black);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-desc {
  margin: 0 auto 3rem;
}

.newsletter-form {
  margin-bottom: 2.5rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-row input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color var(--transition);
}

.form-row input::placeholder {
  color: var(--muted);
}

.form-row input:focus {
  border-color: var(--gold);
}

.form-note {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ================================
   URGENCY BAR
================================ */
.urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  /* Hidden until a real launch date is configured (config.js) */
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

body.has-countdown .urgency-bar { display: flex; }

.urgency-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.cd-inline {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cd-inline .cd-unit { display: inline-flex; gap: 2px; align-items: baseline; }
.cd-inline .cd-num { font-weight: 700; }
.cd-inline .cd-label { font-size: 0.55rem; margin-left: 1px; }
.cd-inline .cd-sep { margin: 0 2px; }

/* Reserve space for the urgency bar only when it's shown */
#navbar { top: 0; }
body.has-countdown { padding-top: 36px; }
body.has-countdown #navbar { top: 36px; }

/* ================================
   HERO SOCIAL PROOF
================================ */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  animation: fadeIn 1.5s ease 1.1s forwards;
  opacity: 0;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--gold);
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

/* ================================
   TRUST BADGES
================================ */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(201,169,110,0.03);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--off-white);
}

.trust-icon {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ================================
   SCARCITY BANNER
================================ */
.scarcity-banner {
  background: #0d0b08;
  border-top: 1px solid rgba(201,169,110,0.2);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  padding: 1.8rem 0;
}

.scarcity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.scarcity-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 1s ease-in-out infinite;
  flex-shrink: 0;
}

.scarcity-inner p {
  flex: 1;
  font-size: 0.88rem;
  color: var(--off-white);
  line-height: 1.5;
}

/* ================================
   COLLECTIONS CTA
================================ */
.collections-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.collections-cta p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.collections-cta p em {
  color: var(--gold-light);
  font-style: italic;
}

/* ================================
   PRODUCT OVERLAY
================================ */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.2rem;
}

.lock-label {
  position: absolute;
  bottom: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================
   TESTIMONIALS
================================ */
#testimonials {
  background: var(--off-black);
  padding: 8rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 4rem;
}

.testimonial {
  background: var(--deep);
  padding: 2.5rem;
  transition: var(--transition);
}

.testimonial:hover {
  background: var(--surface);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gold);
  flex-shrink: 0;
}

.t-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white);
}

.t-detail {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ================================
   CTA URGENCY BLOCK
================================ */
.cta-urgency {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(201,169,110,0.2);
  background: rgba(201,169,110,0.03);
  flex-wrap: wrap;
}

.cta-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cu-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-block {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cd-block .cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-block .cd-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}

.cd-block .cd-label {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-block .cd-sep {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: -0.5rem;
}

.cta-spots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.cu-spots-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: #e04545;
  line-height: 1;
}

/* ================================
   FORM GUARANTEES
================================ */
.form-guarantees {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ================================
   CONTACT SOCIAL PROOF
================================ */
.contact-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================================
   FORM SUCCESS STATE
================================ */
.form-success {
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(201,169,110,0.3);
  background: rgba(201,169,110,0.05);
}

.success-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: var(--off-white);
}

.success-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ================================
   ADDITIONAL ANIMATIONS
================================ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.contact-link {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--gold);
}

.contact-sep {
  color: var(--border-bright);
  font-size: 0.7rem;
}

/* ================================
   FOOTER
================================ */
#footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  height: 64px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
}

.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .about-visual {
    justify-content: center;
  }

  .stat-row {
    justify-content: center;
  }

  .trust-badges {
    max-width: 400px;
    margin: 1.5rem auto 2rem;
  }

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

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

@media (max-width: 768px) {
  body.has-countdown { padding-top: 52px; }
  body.has-countdown #navbar { top: 52px; }

  .urgency-bar {
    font-size: 0.62rem;
    padding: 0.5rem 0.75rem;
    gap: 0.25rem;
    line-height: 1.4;
  }

  section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .stat-row {
    gap: 1.75rem;
    flex-wrap: wrap;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 2rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input,
  .form-row .btn-primary {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .contact-links {
    flex-direction: column;
  }

  .scarcity-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-urgency {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Trim the urgency bar so it stays a clean single line on phones */
@media (max-width: 600px) {
  .ub-lead,
  .ub-spots { display: none; }
}

@media (max-width: 480px) {
  html { font-size: 17px; }

  .container {
    padding: 0 1.25rem;
  }

  #hero {
    padding: 90px 1rem 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-social-proof {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .hero-eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-align: center;
    line-height: 1.6;
  }

  .stat-row {
    gap: 1.25rem 2rem;
  }

  .testimonial {
    padding: 1.75rem;
  }

  .trust-badges {
    padding: 1.25rem;
  }

  .cta-urgency {
    padding: 1.5rem 1rem;
  }
}

/* ================================
   UTILITIES & ACCESSIBILITY
================================ */
.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;
}

/* Netlify honeypot field — hidden from real users */
.hidden-field {
  display: none;
}

/* ================================
   REVEAL STAGGER
   (per-element delay set inline via --reveal-delay)
================================ */
.reveal {
  transition-delay: var(--reveal-delay, 0s);
}

/* ================================
   HONEST-MODE TOGGLES (driven by config.js)
   Elements degrade gracefully when a real value isn't set.
================================ */

/* Waitlist number: show real count OR honest copy, never both */
.sp-no-count { display: none; }
body.no-count .sp-with-count { display: none; }
body.no-count .sp-no-count { display: inline; }

/* No real founding cap configured -> hide all "spots remaining" UI */
body.no-spots .js-spots,
body.no-spots .cta-spots { display: none; }

/* Countdown block in the CTA is hidden until a real launch date is set */
.cta-countdown { display: none; }
body.has-countdown .cta-countdown { display: flex; }

/* ================================
   HERO OVERLAP FIX (short viewports)
   Hide the scroll cue when the hero can't fit it cleanly.
================================ */
@media (max-height: 820px) {
  .scroll-indicator { display: none; }
  .hero-social-proof { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
