/* === BASE === */
:root {
  --bg: #1C1830;
  --bg-ivory: #F7F3ED;
  --text-dark: #1C1830;
  --text-light: #F7F3ED;
  --text-muted: rgba(247, 243, 237, 0.6);
  --text-muted-dark: rgba(28, 24, 48, 0.6);
  --accent: #E85A3C;
  --accent-warm: #F4A26B;
  --sage: #7B9E87;
  --ink: #2D2348;
  --border-light: rgba(247, 243, 237, 0.12);
  --border-dark: rgba(28, 24, 48, 0.12);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(28, 24, 48, 0.4);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

/* === SECTION LABELS === */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #E85A3C 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #F4A26B 0%, transparent 70%);
  bottom: 100px;
  left: 10%;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #7B9E87 0%, transparent 70%);
  top: 40%;
  left: 60%;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text-light);
}

.hero-lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* === PROBLEM === */
.problem {
  background: var(--bg-ivory);
  color: var(--text-dark);
  padding: 100px 40px;
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem-header {
  margin-bottom: 64px;
}

.problem-header .section-label {
  color: var(--accent);
}

.problem-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

.problem-gap {
  max-width: 700px;
}

.gap-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}

.gap-text-accent {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
}

/* === COMPANIONS === */
.companions {
  background: var(--bg);
  color: var(--text-light);
  padding: 100px 40px;
}

.companions-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.companions-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.companions-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

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

.companion-card {
  background: rgba(247, 243, 237, 0.04);
  border: 1px solid var(--border-light);
  padding: 36px 32px;
}

.companion-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.companion-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.companion-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === COMMUNITY === */
.community {
  background: var(--bg-ivory);
  color: var(--text-dark);
  padding: 100px 40px;
}

.community-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.community-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.community-sub {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.community-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-dark);
}

.community-feature {
  display: flex;
  gap: 24px;
  padding: 36px 32px;
  border-bottom: 1px solid var(--border-dark);
  border-right: 1px solid var(--border-dark);
}

.community-feature:nth-child(2n) {
  border-right: none;
}

.community-feature-number {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 2px;
}

.community-feature-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.community-feature-content p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
}

/* === SAFETY === */
.safety {
  background: var(--bg);
  color: var(--text-light);
  padding: 100px 40px;
}

.safety-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.safety-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 8px 20px;
  margin-bottom: 32px;
}

.safety-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.safety-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.safety-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.safety-item {
  padding: 40px 32px;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.safety-item:nth-child(2n) {
  border-right: none;
}

.safety-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.safety-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === PRINCIPLES === */
.principles {
  background: var(--ink);
  color: var(--text-light);
  padding: 100px 40px;
}

.principles-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.principle-pull {
  text-align: center;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.principle-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--text-light);
}

.principle-source {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.principle {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.principle:nth-child(2n) {
  border-right: none;
}

.principle h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.principle p {
  font-size: 0.9rem;
  color: rgba(247, 243, 237, 0.65);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  background: var(--bg);
  color: var(--text-light);
  padding: 100px 40px;
}

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

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 48px;
}

.closing-vision {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--border-light);
}

.closing-vision-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: var(--text-light);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-note p {
  font-size: 0.8rem;
  color: rgba(247,243,237,0.4);
  line-height: 1.5;
  text-align: right;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .problem, .companions, .community, .safety, .principles, .closing { padding: 72px 24px; }

  .problem-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .companion-cards,
  .community-features,
  .safety-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .community-feature,
  .safety-item,
  .principle {
    border-right: none;
  }

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

  .footer-note p {
    text-align: center;
  }
}

/* === AMBIENT ANIMATION === */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-orb-1 { animation: float 8s ease-in-out infinite; }
.hero-orb-2 { animation: float 11s ease-in-out infinite 2s; }
.hero-orb-3 { animation: float 9s ease-in-out infinite 4s; }
