/* =====================
   BLOOMOS — Design System
   ===================== */

:root {
  --bg: #FFF8F4;
  --bg-warm: #FAF4EE;
  --bg-dark: #1A1614;
  --bg-section: #F4EDE5;
  --fg: #1A1614;
  --fg-light: #6B5D53;
  --fg-muted: #9E8E82;
  --accent: #8B2252;
  --accent-light: #C45C7A;
  --accent-pale: #F5E4EA;
  --sage: #4A7C59;
  --sage-light: #6B9E7A;
  --ivory: #FFF8F4;
  --charcoal: #1A1614;
  --border: #E8DDD4;
  --border-dark: rgba(255,255,255,0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =====================
   NAVIGATION
   ===================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(26,22,20,0.7) 0%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.05em;
}

.nav-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,248,244,0.5);
}

/* =====================
   HERO
   ===================== */

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(139,34,82,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(74,124,89,0.2) 0%, transparent 50%),
    linear-gradient(135deg, #1A1614 0%, #2A1E1A 50%, #1A1614 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 4rem 5rem 4rem;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,248,244,0.4);
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: #E8A0B8;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,248,244,0.65);
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-light);
  border: 1px solid rgba(74,124,89,0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
}

/* Bloom Rings */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  z-index: 1;
}

.bloom-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.r1 {
  width: 100%;
  height: 100%;
  border-color: rgba(139,34,82,0.3);
  animation: bloomPulse 6s ease-in-out infinite;
}

.r2 {
  width: 75%;
  height: 75%;
  border-color: rgba(139,34,82,0.2);
  animation: bloomPulse 6s ease-in-out infinite 0.8s;
}

.r3 {
  width: 50%;
  height: 50%;
  border-color: rgba(74,124,89,0.3);
  animation: bloomPulse 6s ease-in-out infinite 1.6s;
}

.r4 {
  width: 25%;
  height: 25%;
  background: radial-gradient(circle, rgba(139,34,82,0.4) 0%, transparent 70%);
  border-color: rgba(139,34,82,0.5);
  animation: bloomPulse 6s ease-in-out infinite 2.4s;
}

@keyframes bloomPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

/* =====================
   MANIFESTO / STATS
   ===================== */

.manifesto {
  padding: var(--space-xl) 4rem;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 5rem;
}

.manifesto-stat {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.manifesto-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

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

.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.manifesto-quote cite {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* =====================
   FEATURES
   ===================== */

.features {
  padding: var(--space-xl) 4rem;
  background: var(--charcoal);
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(74,124,89,0.3);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-card {
  padding: 2.5rem 2rem;
  background: rgba(26,22,20,0.9);
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: rgba(139,34,82,0.1);
}

.feature-icon {
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  width: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,248,244,0.55);
  font-weight: 300;
}

/* =====================
   PHILOSOPHY
   ===================== */

.philosophy {
  padding: var(--space-xl) 4rem;
  background: var(--accent-pale);
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,34,82,0.08) 0%, transparent 70%);
}

.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.philosophy-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.philosophy-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.philosophy-headline em {
  font-style: italic;
  color: var(--accent);
}

.philosophy-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--fg-light);
  margin-bottom: 1.5rem;
}

.philosophy-tags {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.philosophy-tags span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(139,34,82,0.25);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
}

/* =====================
   CLOSING
   ===================== */

.closing {
  padding: var(--space-xl) 4rem;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,248,244,0.35);
  margin-bottom: 2rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 1rem;
  color: rgba(255,248,244,0.45);
  max-width: 500px;
  margin: 0 auto 4rem;
}

.closing-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.cr1 {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(139,34,82,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cr2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(74,124,89,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cr3 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(139,34,82,0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =====================
   FOOTER
   ===================== */

.footer {
  padding: 3rem 4rem;
  background: #110E0C;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,248,244,0.3);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: rgba(255,248,244,0.25);
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .manifesto-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .hero-content {
    padding: 7rem 1.5rem 4rem;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .hero-visual {
    width: 90vw;
    height: 90vw;
    right: -20%;
    opacity: 0.4;
  }

  .manifesto,
  .features,
  .philosophy,
  .closing,
  .footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .manifesto-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  .footer-meta {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .manifesto-inner {
    grid-template-columns: 1fr;
  }
}