/* Base */
:root {
  --bg: #0f172a;
  --bg-soft: #111b36;
  --surface: #ffffff;
  --surface-muted: #f5f7fb;
  --text: #101827;
  --text-muted: #4b5563;
  --brand: #2f5cff;
  --brand-dark: #1e3a8a;
  --accent: #ff7a59;
  --line: #e5e7eb;
  --success: #0f766e;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--surface-muted);
}

.section.dark {
  background: var(--bg);
  color: #eef2ff;
}

.section.dark .muted,
.section.dark p {
  color: #c7d2fe;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.muted {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 18px rgba(47, 92, 255, 0.28);
}

.btn.secondary {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card.compact {
  box-shadow: none;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row.wrap {
  flex-wrap: wrap;
}

.row.center {
  align-items: center;
}

.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 92, 255, 0.12);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-links {
  position: fixed;
  inset: 0 0 0 30%;
  background: #fff;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 24px rgba(0, 0, 0, 0.12);
}

.nav-links a {
  font-weight: 600;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.is-open .nav-links {
  transform: translateX(0);
}

.site-header.is-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}

.hero .card {
  background: linear-gradient(120deg, rgba(47, 92, 255, 0.1), rgba(255, 122, 89, 0.12));
  border-color: transparent;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Feature blocks */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature svg {
  width: 42px;
  height: 42px;
  flex: none;
}

.feature h3 {
  margin: 0 0 6px;
}

/* Testimonials */
.testimonial {
  background: #0b1226;
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 24px;
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(47, 92, 255, 0.08);
}

.stat strong {
  font-size: 1.6rem;
  display: block;
}

/* Services */
.service-card h3 {
  margin-top: 0;
}

.price {
  font-weight: 700;
  color: var(--brand-dark);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison .row {
  align-items: stretch;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.faq-item button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}

.faq-content {
  margin-top: 10px;
}

/* Footer */
footer {
  padding: 40px 0 50px;
  background: #0b1226;
  color: #dbeafe;
}

footer .row {
  gap: 28px;
}

footer a {
  color: #bfdbfe;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 80;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.modal {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  max-height: 80vh;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(16px);
  z-index: 100;
}

.modal.open,
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal .row {
  gap: 12px;
}

/* Responsive */
@media (min-width: 768px) {
  .row {
    flex-direction: row;
  }

  .grid-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid-cards .card {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1;
  }

  .nav-toggle,
  .nav-backdrop {
    display: none;
  }

  .nav-links {
    position: static;
    transform: none;
    padding: 0;
    flex-direction: row;
    background: none;
    box-shadow: none;
    inset: auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 96px 0 80px;
  }

  .hero .row {
    align-items: center;
  }
}
