/* Base */
:root {
  --bg: #0b1220;
  --bg2: #0f1a33;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.52);
  --border: rgba(255, 255, 255, 0.14);
  --primary: #22c55e;
  --primary2: #16a34a;
  --accent: #60a5fa;
  --danger: #ef4444;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  background: radial-gradient(900px 380px at 25% 0%, rgba(34, 197, 94, 0.22), transparent 60%), radial-gradient(900px 380px at 80% 20%, rgba(96, 165, 250, 0.18), transparent 55%), linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

main {
  flex: 1 0 auto; /* Push footer to bottom on short pages */
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.skip-link:focus {
  left: 20px;
  z-index: 9999;
}

/* Header / Footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 16, 30, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 60px;
  height: 60px;
}
.footer-logo {
  width: 45px;
  height: 45px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover {
  color: var(--text);
}
.nav-cta {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: var(--text) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0px);
}
.btn-primary {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.18));
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.45), rgba(34, 197, 94, 0.22));
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
}
.btn-small {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}
.btn-wide {
  width: 100%;
}

/* Sections */
.hero {
  padding: 56px 0 26px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}
.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.24);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 0 0 12px;
  line-height: 1.08;
}
h2 {
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fineprint {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12.5px;
}
.hero-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-card-title {
  font-weight: 800;
  margin-bottom: 10px;
}
.checklist {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12.5px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: rgba(255, 255, 255, 0.88);
}
.section {
  padding: 40px 0;
}
.images-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.image-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.image-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.3;
}
.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.cards-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.2px;
}

/* Comparison */
.comparison-wrap {
  margin-top: 18px;
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.comparison {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.comparison th,
.comparison td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}
.comparison thead th:last-child {
  background-color: #308b51;
}
.comparison td:last-child {
  background-color: #245f3a;
}
.comparison thead th {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
}
.comparison tbody tr:last-child td {
  border-bottom: none;
}
.comparison td {
  color: var(--muted);
  line-height: 1.55;
}
.comparison-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.comparison-foot p {
  margin: 0;
  color: var(--muted2);
  font-size: 13px;
  flex: 1 1 360px;
}

/* Quiz */
.quiz {
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}
.quiz-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 14px;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.55), rgba(96, 165, 250, 0.45));
  border-radius: 999px;
  transition: width 0.35s ease;
}
.quiz-step {
  font-weight: 800;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border: none;
  padding: 0;
  margin: 0;
}
.quiz-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.quiz-option input {
  accent-color: var(--primary);
}
.quiz-option span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}
.quiz-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.quiz-result {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.quiz-result-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}
.quiz-result-body {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.quiz-result-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted2);
  line-height: 1.55;
}

.quiz-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(34, 197, 94, 0.85);
  animation: spin 900ms linear infinite;
}

.quiz-loading-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  font-weight: 650;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* FAQ */
.faq {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  cursor: pointer;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}
.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Legal pages */
.legal-page {
  padding: 28px 0 40px;
}
.legal-page h1 {
  font-size: 30px;
  margin: 6px 0 10px;
}
.legal-block {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-block h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.legal-block p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}

/* Footer */
.site-footer {
  padding: 34px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-title {
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 12px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  font-size: 14px;
  margin-top: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}
.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cookie-title {
  font-weight: 900;
  margin: 0;
}
.cookie-desc {
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}
.cookie-settings-link {
  color: rgba(96, 165, 250, 0.95);
  font-weight: 750;
  font-size: 13px;
  margin-top: 6px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .images-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-primary {
    margin: 0 auto;
  }
  .btn {
    width: 100%;
  }
  .nav {
    gap: 12px;
  }
  .nav a:not(.nav-cta) {
    display: none;
  }
  .comparison-foot {
    align-items: flex-start;
  }
}
