/*
 * ============================================================
 *  CLARAPATH DESIGN SYSTEM  — v1.0
 *  The foundational visual identity for the Clarapath brand.
 *  Reusable across web, mobile, and marketing surfaces.
 * ============================================================
 */

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
  /* Primary palette */
  --cp-teal-50:  #E6F5F5;
  --cp-teal-100: #B3E0E0;
  --cp-teal-200: #80CCCC;
  --cp-teal-300: #4DB8B8;
  --cp-teal-400: #1AA3A3;
  --cp-teal-500: #0A6E6E;   /* ← PRIMARY brand teal */
  --cp-teal-600: #085858;
  --cp-teal-700: #064242;
  --cp-teal-800: #042D2D;
  --cp-teal-900: #021717;

  /* Secondary — warm coral */
  --cp-coral-50:  #FFF0EE;
  --cp-coral-100: #FFD4CF;
  --cp-coral-200: #FFB8B0;
  --cp-coral-300: #FF9C91;
  --cp-coral-400: #FF8072;
  --cp-coral-500: #FF6B5A;   /* ← SECONDARY brand coral */
  --cp-coral-600: #E55A4A;
  --cp-coral-700: #CC4A3B;
  --cp-coral-800: #B23A2C;
  --cp-coral-900: #992A1D;

  /* Accent — soft gold */
  --cp-gold-50:  #FEF9E7;
  --cp-gold-100: #FCEFC0;
  --cp-gold-200: #FAE599;
  --cp-gold-300: #F8DB72;
  --cp-gold-400: #F5C842;   /* ← ACCENT gold */
  --cp-gold-500: #E0B530;
  --cp-gold-600: #C49E20;
  --cp-gold-700: #A88710;
  --cp-gold-800: #8C7000;
  --cp-gold-900: #705900;

  /* Neutrals — slate scale */
  --cp-slate-50:  #F8FAFC;
  --cp-slate-100: #F1F5F9;
  --cp-slate-200: #E2E8F0;
  --cp-slate-300: #CBD5E1;
  --cp-slate-400: #94A3B8;
  --cp-slate-500: #64748B;
  --cp-slate-600: #475569;
  --cp-slate-700: #334155;
  --cp-slate-800: #1E293B;
  --cp-slate-900: #0F172A;

  --cp-white: #FFFFFF;
  --cp-black: #0F172A;

  /* Semantic */
  --cp-success: #10B981;
  --cp-warning: #F59E0B;
  --cp-error:   #EF4444;
  --cp-info:    #3B82F6;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes — fluid type scale */
  --text-xs:   clamp(0.70rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm:   clamp(0.80rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.90rem, 0.85rem + 0.25vw, 1rem);
  --text-lg:   clamp(1.05rem, 0.95rem + 0.5vw, 1.125rem);
  --text-xl:   clamp(1.15rem, 1.0rem + 0.75vw, 1.25rem);
  --text-2xl:  clamp(1.35rem, 1.1rem + 1.25vw, 1.5rem);
  --text-3xl:  clamp(1.6rem, 1.2rem + 2vw, 1.875rem);
  --text-4xl:  clamp(2rem, 1.4rem + 3vw, 2.25rem);
  --text-5xl:  clamp(2.5rem, 1.6rem + 4.5vw, 3rem);
  --text-6xl:  clamp(3rem, 1.8rem + 6vw, 3.75rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --shadow-glow-teal:  0 0 30px rgb(10 110 110 / 0.15);
  --shadow-glow-coral: 0 0 30px rgb(255 107 90 / 0.15);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* Z-index scale */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   1000;
  --z-toast:   2000;

  /* Layout */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--cp-slate-800);
  background-color: var(--cp-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cp-slate-900);
}

h1 { font-size: var(--text-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--text-5xl);  letter-spacing: -0.015em; }
h3 { font-size: var(--text-4xl);  letter-spacing: -0.01em; }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--cp-slate-600);
}

.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-sm { font-size: var(--text-sm); }

.text-gradient {
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: linear-gradient(135deg, var(--cp-coral-500), var(--cp-gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--container-md);
}

.container--wide {
  max-width: var(--container-2xl);
}

.section {
  padding-block: var(--space-24);
}

.section--lg {
  padding-block: var(--space-32);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: var(--space-16);
  }
}

.flex {
  display: flex;
  align-items: center;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }


/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration-fast);
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-400));
  color: var(--cp-white);
  box-shadow: var(--shadow-md), var(--shadow-glow-teal);
}

.btn--primary::after {
  background: linear-gradient(135deg, var(--cp-teal-600), var(--cp-teal-500));
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px rgb(10 110 110 / 0.25);
}

.btn--secondary {
  background: var(--cp-white);
  color: var(--cp-teal-500);
  border: 2px solid var(--cp-teal-200);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--cp-teal-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--coral {
  background: linear-gradient(135deg, var(--cp-coral-500), var(--cp-coral-400));
  color: var(--cp-white);
  box-shadow: var(--shadow-md), var(--shadow-glow-coral);
}

.btn--coral:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px rgb(255 107 90 / 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--cp-slate-700);
}

.btn--ghost:hover {
  background: var(--cp-slate-100);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn--icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-lg);
}


/* ─── Cards ─── */
.card {
  background: var(--cp-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cp-slate-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--cp-teal-100);
}

.card--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card--teal {
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-600));
  color: var(--cp-white);
  border: none;
}

.card--teal p {
  color: var(--cp-teal-100);
}

.card--teal h3, .card--teal h4, .card--teal h5 {
  color: var(--cp-white);
}

.card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}

.card__icon--teal {
  background: var(--cp-teal-50);
  color: var(--cp-teal-500);
}

.card__icon--coral {
  background: var(--cp-coral-50);
  color: var(--cp-coral-500);
}

.card__icon--gold {
  background: var(--cp-gold-50);
  color: var(--cp-gold-600);
}


/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-overlay);
  padding: var(--space-4) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar--scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cp-slate-100);
  padding: var(--space-3) 0;
  box-shadow: var(--shadow-sm);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--cp-teal-500);
}

.navbar__logo-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar__logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: var(--text-lg);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--cp-slate-600);
  transition: all var(--duration-fast);
}

.navbar__link:hover {
  color: var(--cp-teal-500);
  background: var(--cp-teal-50);
}

.navbar__link--active {
  color: var(--cp-teal-500);
  background: var(--cp-teal-50);
}

.navbar__cta {
  margin-left: var(--space-4);
}

/* Mobile menu */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.navbar__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--cp-slate-700);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cp-white);
  z-index: var(--z-modal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.navbar__mobile--open {
  display: flex;
}

.navbar__mobile a {
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  color: var(--cp-slate-800);
}

.navbar__mobile-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--text-2xl);
  color: var(--cp-slate-600);
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }
  .navbar__cta {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
  }
}


/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(10, 110, 110, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255, 107, 90, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(245, 200, 66, 0.03) 0%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(10, 110, 110, 0.08);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 107, 90, 0.06);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(245, 200, 66, 0.06);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -30px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__content {
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4) var(--space-1) var(--space-1);
  border-radius: var(--radius-full);
  background: var(--cp-teal-50);
  border: 1px solid var(--cp-teal-100);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cp-teal-600);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}

.hero__title {
  margin-bottom: var(--space-6);
  line-height: 1.08;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--cp-slate-500);
  margin-bottom: var(--space-8);
  max-width: 560px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle,
  .hero__content {
    max-width: 100%;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    order: -1;
  }
}

/* Hero mockup / illustration */
.hero__mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero__mockup-screen {
  background: var(--cp-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  border: 1px solid var(--cp-slate-100);
}

.hero__mockup-header {
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-400));
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__mockup-dots {
  display: flex;
  gap: 6px;
}

.hero__mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.hero__mockup-dot:first-child { background: rgba(255,255,255,0.6); }

.hero__mockup-title {
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
}

.hero__mockup-body {
  padding: var(--space-6);
}

.hero__mockup-line {
  height: 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.hero__mockup-line--1 { width: 80%; background: var(--cp-teal-100); animation-delay: 0s; }
.hero__mockup-line--2 { width: 60%; background: var(--cp-slate-100); animation-delay: 0.3s; }
.hero__mockup-line--3 { width: 90%; background: var(--cp-slate-100); animation-delay: 0.6s; }
.hero__mockup-line--4 { width: 45%; background: var(--cp-coral-100); animation-delay: 0.9s; }

/* Floating cards around hero */
.hero__float-card {
  position: absolute;
  background: var(--cp-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cp-slate-100);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 2;
}

.hero__float-card--1 {
  top: 15%;
  right: -10%;
  animation-delay: 0s;
}

.hero__float-card--2 {
  bottom: 20%;
  left: -8%;
  animation-delay: -2s;
}

.hero__float-card--3 {
  bottom: 5%;
  right: 5%;
  animation-delay: -4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__float-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero__float-card {
    display: none;
  }
}


/* ─── Social Proof / Logos ─── */
.social-proof {
  padding-block: var(--space-16);
  border-top: 1px solid var(--cp-slate-100);
  border-bottom: 1px solid var(--cp-slate-100);
  background: var(--cp-slate-50);
}

.social-proof__label {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cp-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-8);
}

.social-proof__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  opacity: 0.5;
}

.social-proof__logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--cp-slate-400);
}


/* ─── Features ─── */
.features {
  background: var(--cp-white);
}

.features__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.features__header h2 {
  margin-bottom: var(--space-4);
}

.features__header p {
  font-size: var(--text-lg);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cp-teal-500), var(--cp-coral-500));
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h5 {
  margin-bottom: var(--space-3);
  color: var(--cp-slate-900);
}

.feature-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* ─── How It Works ─── */
.how-it-works {
  background: var(--cp-slate-50);
}

.how-it-works__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--cp-teal-200), var(--cp-coral-200), var(--cp-gold-200));
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--cp-white);
  box-shadow: var(--shadow-lg);
}

.step__number--1 {
  background: linear-gradient(135deg, var(--cp-teal-500), var(--cp-teal-400));
}

.step__number--2 {
  background: linear-gradient(135deg, var(--cp-coral-500), var(--cp-coral-400));
}

.step__number--3 {
  background: linear-gradient(135deg, var(--cp-gold-500), var(--cp-gold-400));
}

.step h5 {
  margin-bottom: var(--space-3);
}


/* ─── Stats ─── */
.stats {
  background: linear-gradient(135deg, var(--cp-teal-600), var(--cp-teal-500));
  color: var(--cp-white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--cp-white);
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--cp-teal-200);
  font-weight: 500;
}


/* ─── Testimonials ─── */
.testimonials {
  background: var(--cp-white);
}

.testimonials__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.testimonial-card {
  padding: var(--space-8);
}

.testimonial__stars {
  color: var(--cp-gold-400);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.testimonial__text {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--cp-slate-700);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cp-teal-300), var(--cp-coral-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
}

.testimonial__name {
  font-weight: 600;
  color: var(--cp-slate-800);
  font-size: var(--text-sm);
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--cp-slate-400);
}


/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--cp-teal-600) 0%, var(--cp-teal-500) 50%, var(--cp-teal-400) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 107, 90, 0.1);
  filter: blur(80px);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.1);
  filter: blur(60px);
}

.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--cp-white);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: var(--cp-teal-100);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta-section .btn--primary {
  background: var(--cp-white);
  color: var(--cp-teal-600);
  box-shadow: var(--shadow-lg);
}

.cta-section .btn--primary:hover {
  background: var(--cp-slate-50);
}


/* ─── Footer ─── */
.footer {
  background: var(--cp-slate-900);
  color: var(--cp-slate-200);
  padding-block: var(--space-16);
}

.footer p,
.footer__description,
.footer__bottom p {
  color: var(--cp-slate-200);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--cp-white);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__description {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--cp-white);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--cp-slate-200);
  padding-block: var(--space-1);
  transition: color var(--duration-fast);
}

.footer__link:hover {
  color: var(--cp-teal-300);
}

.footer__bottom {
  border-top: 1px solid var(--cp-slate-800);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}

@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

.footer__socials {
  display: flex;
  gap: var(--space-4);
}

.footer__social {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--cp-slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  font-size: var(--text-sm);
}

.footer__social:hover {
  background: var(--cp-teal-500);
  color: var(--cp-white);
}


/* ─── FAQ Accordion ─── */
.faq-item {
  border: 1px solid var(--cp-slate-200);
  border-radius: var(--radius-xl);
  background: var(--cp-white);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: box-shadow var(--duration-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--cp-slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: color var(--duration-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--cp-teal-500);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  color: var(--cp-teal-600);
}

.faq-item__body {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--cp-slate-600);
}


/* ─── Form Elements ─── */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--cp-slate-700);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--cp-slate-200);
  border-radius: var(--radius-lg);
  background: var(--cp-white);
  color: var(--cp-slate-800);
  transition: all var(--duration-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--cp-teal-400);
  box-shadow: 0 0 0 3px rgba(10, 110, 110, 0.1);
}

.form-input::placeholder {
  color: var(--cp-slate-300);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}


/* ─── Animations (scroll-triggered via JS) ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.reveal--visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.reveal--visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.reveal--visible {
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out);
}

.stagger--visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
.stagger--visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: none; }
.stagger--visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: none; }
.stagger--visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: none; }
.stagger--visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: none; }
.stagger--visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: none; }


/* ─── About Page ─── */
.page-header {
  padding-top: 8rem;
  padding-bottom: var(--space-16);
  background: var(--cp-slate-50);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-4);
}

.page-header p {
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.value-card {
  text-align: center;
  padding: var(--space-8);
}

.value-card .card__icon {
  margin: 0 auto var(--space-4);
}


/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: var(--cp-teal-50);
  color: var(--cp-teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}


/* ─── Voice Wave Animation ─── */
.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 2rem;
}

.voice-wave__bar {
  width: 3px;
  border-radius: var(--radius-full);
  background: var(--cp-teal-400);
  animation: wave 1.2s ease-in-out infinite;
}

.voice-wave__bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.voice-wave__bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.voice-wave__bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.voice-wave__bar:nth-child(4) { height: 70%; animation-delay: 0.3s; }
.voice-wave__bar:nth-child(5) { height: 40%; animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50%      { transform: scaleY(1); }
}


/* ─── Pulse Dot ─── */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cp-success);
  position: relative;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--cp-success);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

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


/* ─── Accessibility ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--cp-teal-500);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─── Features Page ─── */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.feature-showcase--reverse {
  direction: rtl;
}

.feature-showcase--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .feature-showcase--reverse {
    direction: ltr;
  }
}

.feature-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.feature-visual__placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--cp-teal-50), var(--cp-teal-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--cp-slate-600);
}

.feature-list__check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--cp-teal-50);
  color: var(--cp-teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 2px;
}


/* ─── Toast / Notification ─── */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--cp-slate-900);
  color: var(--cp-white);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-2xl);
  z-index: var(--z-toast);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-spring);
}

.toast--visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  border-left: 4px solid var(--cp-success);
}

.toast--error {
  border-left: 4px solid var(--cp-error);
}
