*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #6C5CE7;
  --primary-light: #8B7EF0;
  --primary-pale: #F0EEFF;
  --dark: #0D0D2B;
  --dark-light: #1A1A40;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --max-w: 1100px;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo span { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
.main-nav a {
  color: var(--gray-200);
  font-size: .9375rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 80px 0 96px;
  text-align: center;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.15rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-badge {
  display: inline-block;
  background: rgba(108,92,231,.15);
  color: var(--primary-light);
  font-size: .875rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* ─── Page Hero ─── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--gray-200);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Sections ─── */
.section { padding: 72px 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--dark); color: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.section--dark .section-header h2 { color: var(--white); }
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  margin: 0 auto;
}
.section--dark .section-header p { color: var(--gray-200); }

/* ─── Cards ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.card p {
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── Stats ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-item p {
  font-size: .9375rem;
  color: var(--gray-200);
}

/* ─── Story Cards ─── */
.story-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.story-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.story-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}
.story-card p:last-child { margin-bottom: 0; }

/* ─── Steps ─── */
.steps { max-width: 720px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}
.step p {
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ─── Values Grid ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-item {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--primary);
}
.value-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.value-item p {
  font-size: .9375rem;
  color: var(--gray-600);
}

/* ─── FAQ ─── */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 8px;
}
.faq-item[open] summary::before { content: "−"; }
.faq-a {
  padding: 0 24px 18px 52px;
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── Content Block ─── */
.content-block { max-width: 740px; margin: 0 auto; }
.content-block h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 14px;
}
.content-block h2:first-child { margin-top: 0; }
.content-block p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ─── CTA ─── */
.cta-section {
  text-align: center;
  padding: 64px 0;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s, box-shadow .2s;
}
.btn:hover {
  background: var(--primary-light);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(108,92,231,.25);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 48px 0 28px;
  border-top: 1px solid var(--dark-light);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 28px;
}
.footer-brand p {
  font-size: .875rem;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}
.footer-nav h4 {
  color: var(--white);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 7px; }
.footer-nav a { color: var(--gray-400); font-size: .875rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: 20px;
  text-align: center;
  font-size: .8125rem;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--dark);
    border-top: 1px solid var(--dark-light);
    padding: 16px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .section { padding: 48px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
