/* ===========================
   BloomOS Theme — Floral Heritage
   =========================== */

:root {
  --cream: #FFF8F0;
  --cream-mid: #F5EDE0;
  --forest: #1A3A2A;
  --forest-light: #2D5A42;
  --terracotta: #C4653B;
  --terracotta-light: #D4795A;
  --gold: #D4A853;
  --gold-light: #E8C97A;
  --ink: #1C1C1A;
  --ink-mid: #3D3D38;
  --ink-light: #6B6B62;
  --white: #FFFFFF;

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

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--forest);
  letter-spacing: 0.03em;
}
.nav-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-light);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  padding: 120px 80px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,168,83,0.08) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(196,101,59,0.06) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,58,42,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-content {
  position: relative;
  max-width: 640px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-mid);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
}
.hero-stat:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 6px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(26,58,42,0.15);
}
.hero-flower {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-flower svg {
  width: 260px;
  height: auto;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── SECTION SHARED ── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 17px;
  color: var(--ink-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ── DASHBOARD SECTION ── */
.dashboard-section {
  padding: var(--space-2xl) 80px;
  background: var(--cream-mid);
}
.dashboard-mockup {
  margin-top: 56px;
  max-width: 900px;
}
.mockup-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(26,58,42,0.12), 0 4px 16px rgba(26,58,42,0.06);
  border: 1px solid rgba(26,58,42,0.08);
}
.mockup-bar {
  background: var(--forest);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mockup-title {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
}
.mockup-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--white);
}
.mockup-sidebar {
  background: var(--cream);
  padding: 20px 0;
  border-right: 1px solid rgba(26,58,42,0.08);
}
.sidebar-item {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--ink-light);
  font-family: var(--font-body);
  cursor: default;
}
.sidebar-item.active {
  background: rgba(196,101,59,0.08);
  color: var(--terracotta);
  font-weight: 500;
  border-left: 3px solid var(--terracotta);
}
.mockup-content {
  padding: 24px;
}
.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
}
.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
}
.kpi-delta {
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}
.kpi-delta.up { color: #2D7A4F; }
.kpi-delta.neutral { color: var(--ink-light); }
.mockup-chart {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
}
.chart-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 16px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 8px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--forest), var(--forest-light));
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  min-height: 20%;
}
.chart-days {
  font-size: 10px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

/* ── FEATURES ── */
.features-section {
  padding: var(--space-2xl) 80px;
  background: var(--cream);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: rgba(26,58,42,0.08);
  border: 1px solid rgba(26,58,42,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--cream);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--white);
}
.feature-icon {
  color: var(--terracotta);
  margin-bottom: 20px;
  opacity: 0.8;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ── PHILOSOPHY ── */
.philosophy-section {
  padding: var(--space-2xl) 80px;
  background: var(--forest);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.philosophy-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  border-left: 3px solid var(--terracotta);
  padding-left: 28px;
  margin-bottom: 20px;
}
.philosophy-quote cite {
  display: block;
  font-size: 13px;
  color: rgba(255,248,240,0.45);
  font-style: normal;
  letter-spacing: 0.06em;
  padding-left: 28px;
}
.philosophy-text p {
  font-size: 17px;
  color: rgba(255,248,240,0.75);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ── MANIFESTO ── */
.manifesto-section {
  padding: var(--space-2xl) 80px;
  background: var(--cream-mid);
  text-align: center;
}
.manifesto-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}
.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 36px;
}
.manifesto-body {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 20px;
}
.manifesto-bold {
  font-weight: 500;
  color: var(--forest);
  font-size: 18px;
}

/* ── CLOSING ── */
.closing-section {
  padding: var(--space-2xl) 80px;
  background: var(--forest);
  text-align: center;
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}
.closing-year {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255,248,240,0.4);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.35;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 80px;
  background: var(--cream);
  border-top: 1px solid rgba(26,58,42,0.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--forest);
}
.footer-for {
  font-size: 13px;
  color: var(--ink-light);
  font-weight: 300;
}
.footer-built {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    min-height: auto;
  }
  .hero-flower { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat-divider { display: none; }
  .dashboard-section,
  .features-section,
  .philosophy-section,
  .manifesto-section,
  .closing-section,
  .footer {
    padding: 80px 24px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .philosophy-section { grid-template-columns: 1fr; gap: 40px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .mockup-kpi-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav { padding: 16px 20px; }
  .hero-headline { font-size: 42px; }
  .section-title { font-size: 32px; }
}
