/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --black:          #0A0A0A;
  --black-soft:     #111111;
  --eggshell:       #F2EDE3;
  --eggshell-dim:   #E5DFD4;
  --eggshell-muted: rgba(242, 237, 227, 0.5);
  --on-light-muted: rgba(10, 10, 10, 0.45);

  --nav-height:     64px;
  --max-width:      1200px;
  --section-v-pad:  clamp(80px, 13vw, 160px);
  --section-h-pad:  clamp(24px, 6vw, 80px);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--eggshell);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

p {
  line-height: 1.75;
}

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

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


/* ============================================================
   NAV
   ============================================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);

  /* Hidden on load — revealed by JS after scrolling past hero */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;

  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(242, 237, 227, 0.07);
}

#main-nav.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-h-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--eggshell);
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
  border: 1px solid rgba(242, 237, 227, 0.28);
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--eggshell-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

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

.nav-cta {
  color: var(--eggshell) !important;
  border: 1px solid rgba(242, 237, 227, 0.28);
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  background: #05CE78;
  color: var(--black) !important;
  border-color: var(--eggshell);
  box-shadow: 0 0 12px rgba(242, 237, 227, 0.5);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--eggshell);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  background: var(--black);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0 var(--section-h-pad);
}

/* Top-of-screen wordmark */
.hero-wordmark {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--eggshell);
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
  border: 1px solid rgba(242, 237, 227, 0.28);
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
}

.hero-logo-img {
  width: clamp(221px, 36.8vw, 478px);
  height: auto;
}

/* Hero tagline — subheading beneath logo */
.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eggshell);
  opacity: 0.82;
}

.hero-sub {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  color: var(--eggshell-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 0.25rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: scrollHintFadeIn 0.8s ease forwards 2.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--eggshell-muted);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

@keyframes scrollHintFadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.9) translateY(-4px); }
  50%       { opacity: 0.7;  transform: scaleY(1)   translateY(4px);  }
}




/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.animate--delay  { transition-delay: 0.12s; }
.animate--delay-2 { transition-delay: 0.24s; }


/* ============================================================
   FEATURE BLOCKS
   ============================================================ */
.feature-block {
  padding: var(--section-v-pad) var(--section-h-pad);
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
}

.feature-block--light {
  background: var(--eggshell);
  color: var(--black);
}

.feature-block--dark {
  background: var(--black-soft);
  color: var(--eggshell);
}

.feature-block-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

/* Reverse layout: swap column order */
.feature-block--reverse .feature-text { order: 2; }
.feature-block--reverse .feature-media { order: 1; }

.feature-text {
  max-width: 460px;
}

.feature-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 1.1rem;
}

.feature-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.feature-text p {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  opacity: 0.65;
  line-height: 1.78;
  max-width: 380px;
}

.feature-media {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* Image placeholder — remove when adding real <img> tags */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.07);
  border: 1px solid rgba(128, 128, 128, 0.13);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder::after {
  content: 'IMAGE';
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  opacity: 0.18;
  font-weight: 700;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--black);
  color: var(--eggshell);
  padding: var(--section-v-pad) var(--section-h-pad);
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
}

.step {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(242, 237, 227, 0.1);
}

.step-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--eggshell-muted);
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: clamp(1.2rem, 2vw, 1.625rem);
  font-weight: 700;
  margin-bottom: 0.875rem;
  line-height: 1.2;
}

.step p {
  font-size: 0.9375rem;
  opacity: 0.55;
  line-height: 1.75;
}


/* ============================================================
   SPECS
   ============================================================ */
#specs {
  background: var(--eggshell);
  color: var(--black);
  padding: var(--section-v-pad) var(--section-h-pad);
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
}

#specs .section-heading {
  color: var(--black);
}

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

.specs-image img {
  width: 100%;
  height: auto;
  display: block;
}

.specs-list {
  width: 100%;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.spec-row:first-child {
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.spec-row dt {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-light-muted);
  min-width: 160px;
  font-style: normal;
}

.spec-row dd {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--black);
  text-align: right;
}


/* ============================================================
   CTA
   ============================================================ */
#cta {
  background: var(--black);
  color: var(--eggshell);
  padding: var(--section-v-pad) var(--section-h-pad);
  text-align: center;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cta .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#cta h2 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  max-width: 640px;
}

.cta-sub {
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  color: var(--eggshell-muted);
  max-width: 440px;
  line-height: 1.7;
}

.email-form {
  display: flex;
  max-width: 440px;
  width: 100%;
  border: 1px solid rgba(242, 237, 227, 0.18);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(242, 237, 227, 0.04);
  margin-top: 0.5rem;
}

.email-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.9rem 1.5rem;
  color: var(--eggshell);
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  min-width: 0;
}

.email-form input::placeholder {
  color: rgba(242, 237, 227, 0.3);
}

.email-form button {
  background: var(--eggshell);
  color: var(--black);
  border: none;
  margin: 4px;
  padding: 0.75rem 1.4rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.email-form button:hover {
  background: #fff;
}

.ks-divider {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 227, 0.25);
  text-transform: uppercase;
  margin: 0.25rem 0;
}

.btn-kickstarter {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(242, 237, 227, 0.22);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--eggshell);
  letter-spacing: 0.02em;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.btn-kickstarter:hover {
  background: #05CE78;
  color: var(--black);
  border-color: var(--eggshell);
  box-shadow: 0 0 12px rgba(242, 237, 227, 0.5);
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #070707;
  padding: 2.5rem var(--section-h-pad);
  border-top: 1px solid rgba(242, 237, 227, 0.06);
}

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

.footer-logo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(242, 237, 227, 0.4);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(242, 237, 227, 0.25);
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(242, 237, 227, 0.07);
    padding: 0.5rem 0 1.5rem;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem var(--section-h-pad);
    font-size: 1rem;
  }

  .nav-cta {
    border: none !important;
    border-radius: 0 !important;
    padding: 0.9rem var(--section-h-pad) !important;
  }

  /* Features */
  .feature-block-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Always: text above image on mobile */
  .feature-block--reverse .feature-text  { order: unset; }
  .feature-block--reverse .feature-media { order: unset; }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 1.75rem 0;
    border-top: 1px solid rgba(242, 237, 227, 0.1);
    border-bottom: none;
  }

  /* Email form */
  .email-form {
    flex-direction: column;
    border-radius: 16px;
    max-width: 320px;
  }

  .email-form input {
    text-align: center;
    padding: 0.9rem 1rem;
  }

  .email-form button {
    margin: 0 4px 4px;
    border-radius: 12px;
    padding: 0.85rem 1rem;
  }

  /* Specs */
  .specs-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
