:root {
  --color-accent: #4f8ef7;
  --color-accent-dark: #3a7de8;
  --color-bg: #f8fafc;
  --color-bg-secondary: #f1f5f9;
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-success: #34c77b;
  --color-border: #e2e8f0;
  --color-hero-bg: #0f1117;
  --color-hero-text: #e8eaf0;
  --font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
}

/* ── Nav ── */
header {
  background: var(--color-hero-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #2e3347;
}

header nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
}

header nav a {
  color: #8890a8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

header nav a:hover {
  color: var(--color-hero-text);
}

.nav-logo {
  color: var(--color-hero-text);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-accent);
}

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

.btn-nav {
  background: var(--color-accent);
  color: #fff;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s;
}

.btn-nav:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

/* ── Hero ── */
.hero {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  text-align: center;
  padding: 80px 24px 90px;
}

.hero .badge {
  display: inline-block;
  background: #1a1d27;
  color: #a8c4fb;
  border: 1px solid #4f8ef744;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 auto 20px;
  max-width: 820px;
  color: #fff;
}

.hero h1 span {
  color: #a8c4fb;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #8890a8;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #8890a8;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid #2e3347;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover {
  border-color: #8890a8;
  color: var(--color-hero-text);
}

.hero-proof {
  margin-top: 52px;
  color: #8890a8;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.compat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.compat-pill {
  background: #1a1d27;
  border: 1px solid #2e3347;
  color: #8890a8;
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
}

/* ── Sections ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

section.alt {
  background: var(--color-bg-secondary);
  max-width: 100%;
}

section.alt > .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 14px;
  line-height: 1.25;
}

.section-sub {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.6;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border-color: #b3cffd;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #eef4ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.feature-badge {
  display: inline-block;
  background: #e8fdf2;
  color: #1a9e5c;
  border: 1px solid #86efb9;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Comparison Matrix ── */
.compare-table-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--color-border);
}

.compare-table th:first-child {
  text-align: left;
  color: var(--color-text-secondary);
  width: 55%;
}

.compare-table th.th-qonda {
  color: var(--color-accent);
  background: #eef4ff;
}

.compare-table th.th-other {
  color: var(--color-text-secondary);
}

.compare-table td {
  padding: 11px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  line-height: 1.5;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  color: var(--color-text);
}

.compare-table td.td-qonda {
  text-align: center;
  background: #f5f9ff;
}

.compare-table td.td-other {
  text-align: center;
}

.ct-yes {
  color: var(--color-success);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.ct-no {
  color: #e05252;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.ct-note {
  display: block;
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 3px;
  font-weight: 500;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.pricing-card .plan-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.pricing-card .plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card .plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 14px 0 24px;
  line-height: 1.55;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.pricing-card .plan-features li {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--color-text);
}

.pricing-card .plan-features li:last-child {
  border-bottom: none;
}

.pricing-card a.btn-primary {
  display: block;
  text-align: center;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ── Callout ── */
.callout {
  background: var(--color-hero-bg);
  color: #fff;
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  margin: 0 24px;
}

.callout h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 14px;
}

.callout p {
  color: #8890a8;
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 520px;
  line-height: 1.6;
}

.callout .hero-actions {
  justify-content: center;
}

/* ── Contact ── */
.contact-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
}

.contact-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.contact-wrap input,
.contact-wrap textarea,
.contact-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font-size: 14px;
  font-family: var(--font-family);
  background: #fff;
  color: var(--color-text);
  margin-bottom: 18px;
  transition: border-color 0.15s;
}

.contact-wrap input:focus,
.contact-wrap textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px #4f8ef722;
}

.contact-wrap textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-wrap button {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-family);
  transition: background 0.15s;
}

.contact-wrap button:hover {
  background: var(--color-accent-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-error {
  color: #e53e3e;
  font-size: 13px;
  margin-bottom: 12px;
  min-height: 1.2em;
}

.form-consent {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-thanks-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: white;
}

/* ── Footer ── */
footer {
  background: var(--color-hero-bg);
  color: #8890a8;
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

footer h4 {
  color: var(--color-hero-text);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

footer p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

footer a {
  color: #8890a8;
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}

footer a:hover {
  color: var(--color-hero-text);
}

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #2e3347;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  color: #8890a8;
  text-decoration: none;
  display: inline;
  margin: 0 0 0 16px;
}

.footer-bottom a:hover {
  color: var(--color-hero-text);
}

/* ── Utility ── */
.tag-free {
  display: inline-block;
  background: #e8fdf2;
  color: #1a9e5c;
  border: 1px solid #86efb9;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Policy pages ── */
.policy-hero {
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
  padding: 60px 24px 52px;
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.policy-hero p {
  color: #8890a8;
  font-size: 14px;
  margin: 0;
}

.policy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.policy-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 36px 0 10px;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 14px;
}

.policy-body ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.policy-body ul li {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.policy-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 40px 0;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .nav-links a:not(.btn-nav) {
    display: none;
  }

  .hero {
    padding: 60px 24px 70px;
  }

  section {
    padding: 52px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .callout {
    padding: 40px 24px;
    margin: 0 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
  }

  .compare-table th:first-child {
    width: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
