/* ==========================================
   BLOOM — Theme CSS
   Clean Beauty AI Brand Manager
   ========================================== */

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

:root {
  --cream: #FDF9F3;
  --cream-dark: #F5EFE4;
  --sage: #3D6B54;
  --sage-dark: #2d503e;
  --sage-light: #4a8062;
  --terracotta: #C4725B;
  --terracotta-light: #d4897a;
  --gold: #B8924A;
  --gold-light: #D4B06A;
  --text: #1a1a14;
  --text-muted: #6b6458;
  --text-light: #9e9689;
  --white: #ffffff;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-tagline {
  margin-top: auto;
}

.tagline-text {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1.5px solid var(--sage);
  padding: 6px 14px;
  border-radius: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  background: linear-gradient(135deg, #EEF4F0 0%, #F5EFE4 60%, #F9F3EA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.botanical-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.blob-sage {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #3D6B5440 0%, transparent 70%);
  top: 10%;
  right: -5%;
}

.blob-terracotta {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #C4725B30 0%, transparent 70%);
  bottom: 15%;
  left: 10%;
}

.botanical-illustration {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 380px;
  margin-right: 40px;
  margin-top: 40px;
}

.botanical-illustration svg {
  width: 100%;
  height: 100%;
}

/* AI Card */
.ai-card {
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 260px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  z-index: 3;
}

.ai-card-header {
  background: var(--sage);
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  background: #6effa0;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.ai-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.task-icon {
  width: 18px;
  height: 18px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ai-card-footer {
  padding: 10px 16px;
  background: var(--cream);
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-light);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ==========================================
   MANIFESTO
   ========================================== */
.manifesto {
  background: var(--sage);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.manifesto::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.manifesto-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.manifesto-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ==========================================
   FEATURES
   ========================================== */
.features {
  padding: 100px 80px;
  background: var(--cream);
}

.features-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.features-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 16px;
}

.features-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
}

.feature-card {
  padding: 36px 32px;
  border: 1.5px solid #e8e2d8;
  border-radius: 4px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.feature-card--center {
  background: var(--cream-dark);
  border-color: #ddd6c8;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ==========================================
   STATS
   ========================================== */
.stats {
  background: linear-gradient(135deg, var(--cream-dark) 0%, #EDE5D8 100%);
  padding: 80px;
  border-top: 1px solid #e0d8cc;
  border-bottom: 1px solid #e0d8cc;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: #d4cbb8;
  flex-shrink: 0;
}

/* ==========================================
   QUOTE
   ========================================== */
.quote-section {
  padding: 100px 80px;
  background: var(--cream);
}

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

.quote-mark {
  margin-bottom: 32px;
}

.quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 40px;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.attribution-line {
  width: 40px;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: 4px;
}

.attribution-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.attribution-role {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ==========================================
   CLOSING
   ========================================== */
.closing {
  background: var(--text);
  padding: 100px 80px;
}

.closing-inner {
  max-width: 840px;
}

.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.25;
}

.closing-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 680px;
}

.closing-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.value-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.closing-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 1.8vw, 1.375rem);
  font-style: italic;
  color: var(--terracotta-light);
  line-height: 1.5;
  max-width: 560px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #141410;
  padding: 48px 80px;
}

.footer-inner {
  max-width: 1200px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

.footer-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content {
    padding: 60px 48px 48px;
    order: 1;
  }
  .hero-visual {
    min-height: 400px;
    order: 2;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .stats {
    padding: 60px 48px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content { padding: 48px 32px 40px; }
  .hero-headline { font-size: 3rem; }
  .manifesto { padding: 56px 32px; }
  .features { padding: 72px 32px; }
  .stats { padding: 56px 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quote-section { padding: 72px 32px; }
  .closing { padding: 72px 32px; }
  .site-footer { padding: 40px 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-content { padding: 40px 24px 36px; }
  .hero-headline { font-size: 2.5rem; }
  .manifesto { padding: 48px 24px; }
  .manifesto-text { font-size: 1.25rem; }
  .features { padding: 60px 24px; }
  .feature-card { padding: 28px 24px; }
  .stats { padding: 48px 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item { padding: 0; }
  .quote-section { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
}