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

:root {
  /* Palette */
  --bg-body: #F9F8F4;
  --bg-surface: #FFFFFF;
  --bg-accent: #E9EDF0;
  
  --text-main: #2D3436;
  --text-muted: #636E72;
  --text-inverse: #FFFFFF;
  
  --color-primary: #769696; /* Sage */
  --color-primary-light: #DCE6E6;
  --color-secondary: #D8C3A5; /* Sand */
  --color-accent: #D4A5A5; /* Muted Terracotta */
  --color-highlight: #9B8EAD; /* Muted Lavender */
  
  /* Spacing & Layout */
  --space-xs: clamp(0.5rem, 0.8rem, 0.8rem);
  --space-sm: clamp(1rem, 1.5rem, 1.5rem);
  --space-md: clamp(2rem, 4rem, 4rem);
  --space-lg: clamp(4rem, 6rem, 8rem);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --shadow-soft: 0 10px 40px -10px rgba(118, 150, 150, 0.15);
  --shadow-hover: 0 20px 40px -10px rgba(118, 150, 150, 0.25);
  
  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-head: 'Manrope', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin-bottom: 1.5em;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Utility: Container */
.cx-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* Header & Nav */
.cx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(118, 150, 150, 0.1);
  padding: var(--space-sm) 0;
}

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

.cx-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cx-brand span {
  color: var(--color-primary);
}

.cx-nav-list {
  display: flex;
  gap: var(--space-sm);
}

.cx-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cx-nav-link:hover {
  color: var(--color-primary);
  background: var(--bg-accent);
}

/* Mobile Nav Toggle (Hidden on Desktop) */
.cx-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .cx-nav-toggle {
    display: block;
  }
  
  .cx-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: var(--space-sm);
    box-shadow: var(--shadow-soft);
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
  }
  
  .cx-nav-list.is-open {
    display: flex;
  }
}

/* Hero Section */
.cx-hero {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, #F9F8F4 0%, #E9EDF0 100%);
  overflow: hidden;
  position: relative;
}

/* Decorative blobs */
.cx-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
  opacity: 0.2;
  filter: blur(80px);
  border-radius: 50%;
  z-index: 0;
}

.cx-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-md);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cx-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.cx-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-sm);
  color: var(--text-main);
}

.cx-hero__subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.cx-btn-group {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.cx-btn--primary {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(118, 150, 150, 0.3);
}

.cx-btn--primary:hover {
  background-color: #668585;
  transform: translateY(-2px);
}

.cx-btn--secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--bg-accent);
}

.cx-btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cx-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}

.cx-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .cx-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cx-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cx-btn-group {
    justify-content: center;
  }
}

/* Generic Section */
.cx-section {
  padding: var(--space-lg) 0;
}

.cx-section--alt {
  background-color: var(--bg-surface);
}

.cx-section__head {
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.cx-section__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: var(--space-xs);
}

.cx-lead {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: var(--space-sm);
}

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

.cx-card {
  background: var(--bg-surface);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cx-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cx-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-highlight);
  width: 60px;
  height: 60px;
  background: #F0EEF4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cx-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.cx-card__text {
  font-size: 0.95rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Stats Row */
.cx-stats {
  background-color: var(--text-main);
  color: var(--text-inverse);
  padding: var(--space-md) 0;
  border-radius: var(--radius-lg);
}

.cx-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.cx-stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cx-stat__label {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

/* CTA Band */
.cx-cta {
  background: linear-gradient(120deg, var(--color-primary) 0%, #88A6A6 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.cx-cta__title {
  color: var(--text-inverse);
  margin-bottom: var(--space-xs);
}

.cx-cta p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto var(--space-sm);
}

.cx-btn--white {
  background: var(--bg-surface);
  color: var(--color-primary);
}

.cx-btn--white:hover {
  background: #F0F0F0;
  transform: translateY(-2px);
}

/* FAQ */
.cx-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.cx-faq-item {
  border-bottom: 1px solid var(--bg-accent);
}

.cx-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-sm) 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cx-faq-question::after {
  content: '+';
  font-weight: 400;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.cx-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cx-faq-answer p {
  padding-bottom: var(--space-sm);
  margin-bottom: 0;
}

.cx-faq-item.is-active .cx-faq-question::after {
  content: '−';
}

.cx-faq-item.is-active .cx-faq-answer {
  max-height: 200px; /* Approximate max height */
}

/* Footer */
.cx-footer {
  background-color: #2D3436;
  color: rgba(255,255,255,0.6);
  padding: var(--space-lg) 0 var(--space-sm);
  font-size: 0.9rem;
}

.cx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.cx-footer__brand {
  font-family: var(--font-head);
  color: var(--text-inverse);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.cx-footer__col-title {
  color: var(--text-inverse);
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: block;
}

.cx-footer__link {
  display: block;
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}

.cx-footer__link:hover {
  color: var(--color-secondary);
}

.cx-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .cx-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cx-footer__brand-col {
    grid-column: span 2;
  }
  .cx-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .cx-footer__grid {
    grid-template-columns: 1fr;
  }
  .cx-footer__brand-col {
    grid-column: span 1;
  }
}
body{margin:0}
img,svg,video{max-width:100%;height:auto}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
