:root {
  --bg: #0B1220;
  --primary: #2D6BFF;
  --secondary: #21C58B;
  --accent: #FFB020;
  --text: #F5F7FF;
  --surface: #121C2E;
  --border: #22304A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: var(--text);
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-footer {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  font-weight: 500;
}

.nav-toggle, .nav-burger {
  display: none;
}

.nav-header {
  display: none;
}

.hero {
  padding: 80px 0;
  background: linear-gradient(120deg, rgba(45,107,255,0.15), transparent);
}

.hero.small {
  padding: 60px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.stats, .cards-section, .tools, .comparison, .faq, .cta-form, .content-section {
  padding: 70px 0;
}

.stats-grid, .cards-grid, .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.stat-card, .card, .faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 12px;
}

.cards-section.alt, .content-section.alt {
  background: #0F1728;
}

.tools-grid, .two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.list-check {
  list-style: none;
  margin: 20px 0;
}

.list-check li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.list-check li::before {
  content: "•";
  color: var(--secondary);
  position: absolute;
  left: 0;
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 30px;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.comparison-row div {
  padding: 16px;
  background: var(--surface);
}

.comparison-head {
  font-weight: 700;
  background: #0F1728;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.cta-form .form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

input, textarea, button {
  font-family: inherit;
}

input, textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  width: 100%;
}

textarea {
  min-height: 140px;
  margin-top: 16px;
}

button {
  border: none;
  cursor: pointer;
  margin-top: 16px;
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 10px;
}

.cta-slim {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(120deg, rgba(33,197,139,0.2), transparent);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer ul {
  list-style: none;
  margin-top: 12px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0F1728;
  border-top: 1px solid var(--border);
  padding: 16px;
  display: none;
  z-index: 200;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  margin-top: 24px;
}

.keywords {
  margin-top: 20px;
  color: var(--accent);
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }
  .nav-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    font-weight: 600;
  }
  .nav-toggle:checked + .nav-burger + .nav {
    transform: translateX(0);
  }
  .nav-burger {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
  }
  .nav-close {
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
  }
  .comparison-row {
    grid-template-columns: 1fr;
  }
  .comparison-row div {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}