@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Manrope:wght@500;700;800&display=swap');

:root {
  /* Palette: Calm Wellness Dark */
  --bg-base: #141415;
  --bg-surface: #1e1f21;
  --bg-surface-hover: #26272a;
  --border-subtle: rgba(255, 255, 255, 0.06);
  
  /* Typography Colors */
  --text-main: #e3e4e6;
  --text-muted: #9ca3af;
  
  /* Brand Accents */
  --c-sage: #84a98c;
  --c-sage-glow: rgba(132, 169, 140, 0.25);
  --c-lavender: #b8b5d6;
  --c-lavender-glow: rgba(184, 181, 214, 0.2);
  --c-warm-white: #f5f5f0;
  
  /* Spacing Scale (8pt grid base) */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 8rem;
  
  /* Layout */
  --container-width: 1200px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', sans-serif;
  color: var(--c-warm-white);
  line-height: 1.1;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; display: block; border-radius: var(--radius-md); }

/* Utility: Container */
/* MANDATORY: This class handles max-width and padding. Never put layout on section directly. */
.cx-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: var(--container-pad);
  width: 100%;
}

/* Header / Nav */
.cx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1rem;
}

.cx-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cx-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--c-sage);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cx-logo svg { width: 28px; height: 28px; }

.cx-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.cx-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cx-links a:hover, .cx-links a.active {
  color: var(--c-warm-white);
}

/* Mobile Nav Toggle (Visual only for design) */
.cx-mobile-toggle { display: none; color: var(--c-warm-white); font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cx-btn-primary {
  background: var(--c-sage);
  color: #141415;
}
.cx-btn-primary:hover {
  background: #9bc4a5;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--c-sage-glow);
}

.cx-btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--c-warm-white);
}
.cx-btn-outline:hover {
  border-color: var(--c-sage);
  color: var(--c-sage);
}

/* Sections */
section { padding-block: var(--sp-lg); }

/* Hero */
.cx-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.cx-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cx-eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--c-lavender);
  font-weight: 700;
}

.cx-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--c-warm-white) 0%, #a8a8a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cx-hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 500px;
}

.cx-hero-actions { display: flex; gap: 1rem; margin-top: 1rem; }

.cx-hero-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(132, 169, 140, 0.1) 0%, rgba(20, 20, 21, 0) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Abstract UI Representation */
.cx-ui-mock {
  width: 80%;
  height: 70%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Content & Text */
.cx-lead {
  font-size: 1.25rem;
  color: var(--c-sage);
  margin-bottom: 1.5rem;
}
.cx-body-text { color: var(--text-muted); margin-bottom: 1rem; }

/* Grid Cards */
.cx-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cx-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cx-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-lavender);
}
.cx-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.cx-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Stats */
.cx-stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}
.cx-stat-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-sage);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cx-stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* FAQ */
.cx-faq-list { max-width: 800px; margin: 0 auto; }
.cx-faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}
.cx-faq-q { font-weight: 600; color: var(--c-warm-white); margin-bottom: 0.5rem; display: block; }
.cx-faq-a { color: var(--text-muted); }

/* CTA Band */
.cx-cta-band {
  background: linear-gradient(120deg, #1e221f 0%, #25222d 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 4rem 2rem;
}
.cx-cta-band h2 { margin-bottom: 1rem; }
.cx-cta-band p { margin-bottom: 2rem; color: var(--text-muted); }

/* Footer */
.cx-footer {
  background: var(--bg-surface);
  padding-block: var(--sp-lg);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--sp-xl);
}
.cx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}
.cx-footer-brand p { color: var(--text-muted); margin-top: 1rem; font-size: 0.9rem; }
.cx-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; color: var(--text-muted); }
.cx-col ul { list-style: none; }
.cx-col li { margin-bottom: 0.75rem; }
.cx-col a:hover { color: var(--c-sage); }
.cx-copyright {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .cx-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .cx-hero-actions { justify-content: center; }
  .cx-links { display: none; } /* Simplified for demo */
  .cx-mobile-toggle { display: block; }
  .cx-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cx-stats-row { flex-direction: column; gap: 3rem; }
}img,svg,video{max-width:100%;height:auto}body{margin:0}*{box-sizing:border-box}