* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f7f7fb;
  --text: #1d1c25;
  --muted: #5b5a66;
  --primary: #3b5cff;
  --primary-dark: #2436a4;
  --accent: #ff8d3b;
  --surface: #ffffff;
  --border: #e5e7f1;
  --shadow: 0 16px 40px rgba(23, 26, 44, 0.08);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface);
}

.section.slim {
  padding: 40px 0;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.headline {
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(59, 92, 255, 0.2);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-link {
  background: transparent;
  color: var(--primary-dark);
  padding: 8px 12px;
  box-shadow: none;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
}

.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  top: 70px;
  right: 5vw;
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 600;
}

.primary-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-toggle {
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--surface);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 92, 255, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--primary);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: var(--surface);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-weight: 700;
  color: var(--primary-dark);
}

.testimonial {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote {
  font-style: italic;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  background: rgba(255, 141, 59, 0.15);
  color: #7a3f13;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-panel {
  background: linear-gradient(120deg, rgba(59, 92, 255, 0.08), rgba(255, 141, 59, 0.08));
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-item {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.faq-item .faq-content {
  padding: 0 18px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.is-open .faq-content {
  display: block;
}

.cta {
  background: var(--primary-dark);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta .btn {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(23, 26, 44, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 12px;
}

.cookie-toggle button {
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
}

.cookie-toggle button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

@media (min-width: 840px) {
  .primary-nav {
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-grid {
    flex-direction: row;
  }

  .feature-list,
  .stats,
  .service-cards,
  .case-list,
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item,
  .stat-card,
  .service-card,
  .case-item,
  .step {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1 1 calc(50% - 16px);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
