/* ============ VARIABLES ============ */
:root {
  --navy: #1D3B58;
  --navy-dark: #152D45;
  --navy-soft: #3D5A7A;
  --mint: #9FFFCB;
  --mint-deep: #6EE0A8;
  --lavender: #A29EE0;
  --lavender-deep: #7D78C9;
  --cream: #F7F8FA;
  --white: #FFFFFF;
  --border: #E8EAF0;
  --text-muted: #6B7280;
  --text-body: #3D4F5F;
  --shadow-md: 0 4px 16px rgba(29, 59, 88, 0.06);
  --shadow-lg: 0 12px 40px rgba(29, 59, 88, 0.08);
}

/* ============ RESET + BODY + TYPOGRAPHY ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ============ NAV ============ */
nav.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
nav.site-nav.scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
nav.site-nav.solid-nav {
  position: fixed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: var(--lavender-deep);
  background: rgba(162, 158, 224, 0.1);
}
.nav-chevron {
  width: 11px; height: 11px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
  margin-top: 1px;
}
.nav-links > li:hover .nav-chevron,
.nav-links > li:focus-within .nav-chevron {
  transform: rotate(180deg);
}
/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(29, 59, 88, 0.12);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.dropdown-item:hover { background: var(--cream); }
.dropdown-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(162, 158, 224, 0.2), rgba(162, 158, 224, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lavender-deep);
}
.dropdown-item:hover .dropdown-icon {
  background: linear-gradient(135deg, rgba(162, 158, 224, 0.32), rgba(162, 158, 224, 0.16));
}
.dropdown-content { flex: 1; min-width: 0; }
.dropdown-name {
  font-family: 'Fraunces', serif;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.005em;
}
.dropdown-name .external-arrow {
  width: 11px; height: 11px;
  opacity: 0.55;
}
.dropdown-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.dropdown-price {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 9px;
  background: rgba(162, 158, 224, 0.16);
  color: var(--lavender-deep);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: auto;
  font-family: 'Inter Tight', sans-serif;
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(29, 59, 88, 0.18);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(255, 255, 255, 0.5);
}
.btn-large { padding: 15px 30px; font-size: 15.5px; }
.btn svg {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
}
.btn:hover svg { transform: translateX(3px); }

/* ============ HAMBURGER MOBILE NAV ============ */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 8px;
}

/* ============ PAGE HEADER (INNER PAGES) ============ */
.page-header {
  padding: 180px 48px 100px;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 158, 224, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.page-header .section-eyebrow { justify-content: center; }
.page-header h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
}
.page-header h1 em { font-style: italic; color: var(--lavender-deep); font-weight: 300; }
.page-header p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 36px;
}
.page-header-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Page tag — small pill that identifies the product/section above the headline */
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(162, 158, 224, 0.15);
  border: 1px solid rgba(162, 158, 224, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lavender-deep);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.page-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lavender-deep);
  box-shadow: 0 0 0 3px rgba(162, 158, 224, 0.2);
}

/* Page intro — the supporting paragraph that accompanies the hero headline */
.page-intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Mint button — primary CTA on dark backgrounds */
.btn-mint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--mint-deep);
  color: var(--navy);
  border: 1px solid var(--mint-deep);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-mint:hover {
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(110, 224, 168, 0.25);
}
.btn-mint svg { width: 16px; height: 16px; }

/* Entrance animation for stacked hero elements */
.fade-up-1 { animation: fadeUp 0.7s ease-out 0.2s backwards; }
.fade-up-2 { animation: fadeUp 0.9s ease-out 0.35s backwards; }
.fade-up-3 { animation: fadeUp 0.9s ease-out 0.5s backwards; }
.fade-up-4 { animation: fadeUp 0.9s ease-out 0.65s backwards; }

/* ============ SECTION BASE ============ */
section.block {
  padding: 140px 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  margin-bottom: 20px;
  font-weight: 600;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--lavender-deep);
}
h2.section-title {
  font-size: clamp(36px, 4.2vw, 56px);
  color: var(--navy);
  margin-bottom: 24px;
  max-width: 820px;
}
h2.section-title em { font-style: italic; color: var(--lavender-deep); font-weight: 300; }
.section-intro {
  font-size: 19px;
  color: var(--text-body);
  max-width: 640px;
  line-height: 1.55;
}

/* ============ PROBLEM ============ */
.problem {
  background: var(--navy);
  color: var(--white);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 158, 224, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.problem-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.problem .section-eyebrow { color: var(--mint); }
.problem .section-eyebrow::before { background: var(--mint); }
.problem h2.section-title { color: var(--white); }
.problem h2.section-title em { color: var(--mint); font-style: italic; font-weight: 300; }
.problem-quote {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 28px;
  border-left: 2px solid var(--lavender);
}
.problem-quote-attr {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-size: 13px;
  color: var(--lavender);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 18px;
  display: block;
  font-weight: 500;
}

/* ============ PILLARS ============ */
.pillars { background: var(--white); }
.pillars-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lavender);
}
.pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--lavender-deep);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  display: block;
}
.pillar-icon {
  width: 48px; height: 48px;
  margin-bottom: 28px;
  color: var(--lavender-deep);
}
.pillar-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.pillar-body {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============ PRODUCT FEATURES ============ */
.product { background: var(--cream); }
.product-header { text-align: center; margin-bottom: 72px; }
.product-header .section-eyebrow { justify-content: center; }
.product-header h2, .product-header .section-intro { margin-left: auto; margin-right: auto; }
.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  margin-bottom: 96px;
  align-items: center;
}
.feature-grid.reverse { grid-template-columns: 1fr 1.2fr; }
.feature-grid.reverse .feature-visual { order: -1; }
.feature-grid:last-child { margin-bottom: 0; }
.feature-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(162, 158, 224, 0.15);
  color: var(--lavender-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.feature-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.feature-body {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 28px;
}
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-body);
}
.feature-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-visual {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 158, 224, 0.2) 0%, transparent 70%);
}

/* ============ RESEARCH UPSELL ============ */
.research-upsell {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2640 100%);
  color: var(--white);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}
.research-upsell::before {
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 158, 224, 0.18) 0%, transparent 65%);
}
.research-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.research-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(162, 158, 224, 0.18);
  border: 1px solid rgba(162, 158, 224, 0.3);
  color: var(--lavender);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.research-upsell h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.research-upsell h2 em { font-style: italic; color: var(--mint); font-weight: 300; }
.research-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 500px;
}
.research-btn { background: var(--mint); color: var(--navy); }
.research-btn:hover { background: var(--mint-deep); transform: translateY(-1px); }
.research-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.chat-msg { margin-bottom: 16px; font-size: 14.5px; line-height: 1.55; }
.chat-msg-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender);
  font-weight: 600;
  margin-bottom: 6px;
}
.chat-msg-user {
  color: rgba(255, 255, 255, 0.9);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
}
.chat-msg-ai {
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 18px;
  background: rgba(162, 158, 224, 0.1);
  border: 1px solid rgba(162, 158, 224, 0.2);
  border-radius: 12px;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 160px 48px;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 158, 224, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
}
.final-cta h2 em { font-style: italic; color: var(--lavender-deep); font-weight: 300; }
.final-cta p {
  font-size: 19px;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.final-cta-actions {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 48px 40px;
}
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {
  margin-bottom: 20px;
  display: block;
}
.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-tagline {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(29, 59, 88, 0.08);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a, .nav-links > li > button {
    width: 100%;
    padding: 12px 16px;
    justify-content: flex-start;
  }
  .nav-dropdown {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, visibility 0s 0.3s;
  }
  .nav-links > li.dropdown-open .nav-dropdown {
    visibility: visible;
    max-height: 500px;
    transition: max-height 0.3s ease, visibility 0s;
  }
  .nav-links > li:hover .nav-dropdown {
    opacity: 1;
    visibility: hidden;
    transform: none;
  }
  .nav-cta { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-header, .feature-grid, .feature-grid.reverse, .research-inner, .problem-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .feature-grid.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-header { padding: 140px 24px 80px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 16px 24px; }
  section.block { padding: 80px 24px; }
  .problem, .research-upsell, .final-cta { padding: 100px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-header { padding: 120px 24px 60px; }
}

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