/* ==============================
   VOYAGEMELD — BRAND STYLESHEET
   ============================== */

/* --- TOKENS --- */
:root {
  --midnight: #0a1628;
  --deep-navy: #0d1b2a;
  --navy-mid: #142136;
  --slate: #1e3352;
  --muted-steel: #6b8499;
  --soft-steel: #a8bfcf;
  --ivory: #f5f0e6;
  --warm-white: #faf8f3;
  --gold: #c9a84c;
  --gold-light: #dfc07a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep-navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,22,40,0.9) 0%, transparent 100%);
}
.navbar-inner { display: flex; align-items: baseline; gap: 1rem; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
.nav-tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep-navy);
}

/* Atmosphere: starfield + horizon */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star-field {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 8%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 20%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 30%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 35%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 5%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 33% 12%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 18%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 25%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 28%, rgba(255,255,255,0.2) 0%, transparent 100%);
}
.star { display: none; }

.horizon-line {
  position: absolute;
  bottom: 38%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(201, 168, 76, 0.12) 20%,
    rgba(201, 168, 76, 0.25) 50%,
    rgba(201, 168, 76, 0.12) 80%,
    transparent 100%
  );
}
.horizon-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(
    to top,
    rgba(30, 51, 82, 0.6) 0%,
    rgba(20, 33, 54, 0.3) 40%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 2.5rem 5rem;
  max-width: 860px;
}
.hero-overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 2rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--soft-steel);
  max-width: 520px;
}

/* --- MANIFESTO --- */
.manifesto {
  background: var(--midnight);
  padding: 7rem 2.5rem;
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  border-left: 1px solid rgba(201,168,76,0.2);
  padding-left: 2.5rem;
}
.manifesto-body {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--soft-steel);
  margin-bottom: 2rem;
}
.manifesto-body:last-of-type { margin-bottom: 3rem; }
.manifesto-emphasis {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.5;
}

/* --- FEATURES --- */
.features {
  background: var(--deep-navy);
  padding: 7rem 2.5rem;
}
.features-header {
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.08);
}
.feature-card {
  background: var(--deep-navy);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--navy-mid); }
.feature-icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.feature-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted-steel);
}

/* --- HOW IT WORKS --- */
.how-it-works {
  background: var(--midnight);
  padding: 7rem 2.5rem;
}
.hiw-header {
  max-width: 600px;
  margin-bottom: 5rem;
}
.hiw-intro {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--soft-steel);
  margin-top: 1rem;
  line-height: 1.5;
}
.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.hiw-step {
  flex: 1;
  padding: 0 2.5rem 0 0;
}
.hiw-step:first-child { padding-left: 0; }
.hiw-step:last-child { padding-right: 0; }
.hiw-divider {
  width: 40px;
  flex-shrink: 0;
  height: 1px;
  align-self: center;
  background: linear-gradient(to right, rgba(201,168,76,0.3), rgba(201,168,76,0.1));
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.step-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-steel);
}

/* --- TESTIMONIAL --- */
.testimonial {
  background: var(--deep-navy);
  padding: 7rem 2.5rem;
}
.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(201,168,76,0.12);
  line-height: 0.5;
  margin-bottom: -1rem;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--soft-steel);
  margin-bottom: 2.5rem;
}
.testimonial-attribution {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
  opacity: 0.65;
}

/* --- CLOSING --- */
.closing {
  background: var(--midnight);
  padding: 8rem 2.5rem;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 1.75rem;
}
.closing-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted-steel);
  line-height: 1.7;
}

/* --- LEAD CAPTURE --- */
.lead-capture {
  margin-top: 4rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.lead-capture-inner {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 3rem 2.5rem;
  text-align: center;
}
.lead-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.lead-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.lead-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-steel);
  margin-bottom: 2rem;
}
.lead-form { display: flex; flex-direction: column; gap: 0; }
.lead-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.lead-fields input {
  width: 100%;
  background: var(--deep-navy);
  border: 1px solid rgba(168,191,207,0.15);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.2s;
}
.lead-fields input::placeholder { color: var(--muted-steel); opacity: 0.7; }
.lead-fields input:focus { border-color: rgba(201,168,76,0.5); }
.lead-submit {
  width: 100%;
  background: var(--gold);
  color: var(--midnight);
  border: none;
  border-radius: 2px;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s;
}
.lead-submit:hover:not(:disabled) { background: var(--gold-light); }
.lead-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.lead-error {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #e07070;
  margin-top: 0.75rem;
  text-align: left;
}
.lead-privacy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--muted-steel);
  opacity: 0.55;
  margin-top: 1rem;
}
.lead-btn-loading { font-style: italic; }
.lead-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}
.lead-success-icon { margin-bottom: 0.5rem; }
.lead-success-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ivory);
}
.lead-success-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted-steel);
  line-height: 1.6;
}
.lead-success-desc a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- FOOTER --- */
.footer {
  background: var(--midnight);
  border-top: 1px solid rgba(201,168,76,0.08);
  padding: 3rem 2.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-brand .wordmark {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted-steel);
  opacity: 0.6;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted-steel);
  opacity: 0.45;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-content { padding: 7rem 1.5rem 4rem; }
  .hero-headline { font-size: 3rem; }
  .hero-sub { font-size: 1rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .manifesto-inner { padding-left: 1.5rem; }
  .manifesto-body { font-size: 1.1rem; }
  .features { padding: 5rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 5rem 1.5rem; }
  .hiw-steps { flex-direction: column; gap: 3rem; }
  .hiw-divider { width: 40px; height: 1px; align-self: auto; }
  .testimonial { padding: 5rem 1.5rem; }
  .testimonial-quote { font-size: 1.25rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .navbar { padding: 1rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .manifesto-body { font-size: 1rem; }
  .closing-headline { font-size: 1.75rem; }
}