/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F0E8;
  --fg: #1A1A18;
  --accent: #C85A2B;
  --olive: #2D4A22;
  --sand-dark: #E8DFD0;
  --muted: #7A756A;
  --surface: #FFFFFF;
  --border: #D8D0C4;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 3.5rem;
}

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--sand-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ===== HERO ===== */
.hero {
  padding: 8rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--fg);
  margin-bottom: 1.75rem;
  line-height: 1.08;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.7;
}

/* ===== DASHBOARD MOCKUP ===== */
.hero-visual {
  perspective: 1200px;
}

.dashboard-frame {
  background: #1C1E21;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.12);
  transform: rotateY(-6deg) rotateX(4deg) scale(1.03);
  transition: transform 0.4s ease;
}

.dashboard-frame:hover {
  transform: rotateY(-2deg) rotateX(1deg) scale(1.01);
}

.dash-topbar {
  background: #2A2D32;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dot.red { background: #FF5F57; }
.dash-dot.yellow { background: #FFBD2E; }
.dash-dot.green { background: #28CA41; }

.dash-title {
  color: #A8ADB5;
  font-size: 0.7rem;
  font-family: 'DM Sans', sans-serif;
  margin-left: 0.5rem;
}

.dash-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 300px;
}

.dash-sidebar {
  background: #22252A;
  padding: 1rem 0.75rem;
  border-right: 1px solid #2E3136;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #6B7078;
  font-size: 0.7rem;
  font-family: 'DM Sans', sans-serif;
  border-radius: 6px;
  margin-bottom: 0.25rem;
  cursor: default;
}

.sidebar-item.active {
  background: rgba(200, 90, 43, 0.2);
  color: #C85A2B;
}

.sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dash-main {
  padding: 1rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.metric-card {
  background: #2A2D32;
  border-radius: 8px;
  padding: 0.75rem;
}

.metric-label {
  display: block;
  font-size: 0.6rem;
  color: #6B7078;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.25rem;
}

.metric-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #E8DFD0;
  font-family: 'DM Sans', sans-serif;
}

.metric-delta {
  display: block;
  font-size: 0.6rem;
  color: #4CAF50;
  font-family: 'DM Sans', sans-serif;
  margin-top: 0.15rem;
}

.activity-block {
  background: #22252A;
  border-radius: 8px;
  padding: 0.75rem;
}

.activity-title {
  font-size: 0.65rem;
  color: #6B7078;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-dot.green { background: #4CAF50; }
.activity-dot.olive { background: #2D4A22; }
.activity-dot.sand { background: #C85A2B; }

.activity-text {
  font-size: 0.65rem;
  color: #A8ADB5;
  font-family: 'DM Sans', sans-serif;
}

/* ===== SECTION INNER ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NICHES ===== */
.niches {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.niche-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.niche-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  margin-bottom: 1.25rem;
}

.niche-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.niche-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.niche-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.niche-tags li {
  font-size: 0.8rem;
  color: var(--olive);
  font-weight: 500;
  padding-left: 1rem;
  position: relative;
}

.niche-tags li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 5rem 0;
  background: var(--olive);
}

.outcomes .section-label { color: #8AB87A; }
.outcomes .section-headline { color: #F5F0E8; }

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.outcome-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.outcome-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(245, 240, 232, 0.2);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.outcome-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F5F0E8;
  margin-bottom: 0.5rem;
}

.outcome-body {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.65;
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feature-item {
  padding: 1.75rem 2rem 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:nth-child(odd) { padding-right: 2rem; }
.feature-item:nth-child(even) { padding-left: 2rem; }

.feature-item:nth-child(odd) { border-right: 1px solid var(--border); }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }

.feature-line {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--olive);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== CLOSING ===== */
.closing {
  padding: 6rem 0 5rem;
  background: var(--fg);
}

.closing-content {
  margin-bottom: 4rem;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--bg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.closing-body {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.55);
  max-width: 55ch;
  line-height: 1.7;
}

.closing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: 3rem;
}

.stat-item {}

.stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.45);
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem 0;
  background: var(--fg);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

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

.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.35);
  margin-top: 0.25rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .niche-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .feature-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .feature-item:nth-child(even) { padding-left: 0; }
  .feature-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
  .closing-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 3rem; }
  .section-inner { padding: 0 1.25rem; }
  .hero-headline { font-size: 2rem; }
  .section-headline { font-size: 1.5rem; }
}
