:root {
  --bg: #0b1020;
  --bg-soft: #111936;
  --panel: #151f3f;
  --panel-2: #0f1730;
  --text: #eef3ff;
  --muted: #aeb9d6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #73e0a9;
  --accent-2: #74a7ff;
  --danger: #ffcc70;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(116, 167, 255, 0.22), transparent 30rem),
    radial-gradient(circle at top right, rgba(115, 224, 169, 0.18), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
code {
  padding: 0.12rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.06);
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06101c;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.brand strong { display: block; line-height: 1.1; }
.brand small { color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }
.nav-cta {
  color: #06101c !important;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 800;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.section.compact { padding-top: 2rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
}
.hero-copy h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.hero-text {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 1.5rem 0;
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}
.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: #06101c; border-color: transparent; }
.button.ghost { background: rgba(255,255,255,0.04); color: var(--text); }
.button.small { padding: 0.55rem 0.8rem; font-size: 0.9rem; }
.button.large { padding: 1rem 1.4rem; }
.affiliate-note,
.small-print {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-card,
.panel,
.result-card,
.product-card,
.service-card,
.pricing-card,
.howto {
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: clamp(1.3rem, 3vw, 2rem);
}
.hero-card h2,
.section-heading h2,
.split h2,
.contact h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.6rem 0;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 1.7rem;
}
.section-heading p:not(.eyebrow),
.split p,
.contact p { color: var(--muted); }

.wizard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.panel { padding: 1.2rem; }
.panel h3 { margin: 0 0 1rem; }
.panel.wide { grid-column: 1 / -1; }
.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.segmented label,
.service-grid label {
  display: block;
  cursor: pointer;
}
.segmented input,
.service-grid input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span,
.service-grid span {
  display: grid;
  place-items: center;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  padding: 0.75rem;
  color: var(--muted);
  text-align: center;
  font-weight: 750;
}
.segmented input:checked + span,
.service-grid input:checked + span {
  color: #06101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.result-card {
  margin-top: 1rem;
  padding: 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(115, 224, 169, 0.12), rgba(116, 167, 255, 0.1));
}
.result-main h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}
.result-products {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}
.result-products h4 { margin-top: 0; }
.mini-product {
  display: block;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin-bottom: 0.65rem;
  background: rgba(0,0,0,0.14);
}
.mini-product strong,
.mini-product span { display: block; }
.mini-product span { color: var(--muted); font-size: 0.9rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.filter {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-weight: 800;
}
.filter.active {
  background: var(--text);
  color: #06101c;
  border-color: transparent;
}
.product-grid,
.cards.three,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.product-card,
.service-card,
.pricing-card { padding: 1.2rem; }
.product-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.product-meta span,
.tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  background: rgba(255,255,255,0.04);
}
.product-card h3,
.service-card h3,
.pricing-card h3 {
  margin: 0;
  line-height: 1.15;
  font-size: 1.25rem;
}
.brand-name { color: var(--accent); font-weight: 850; margin: 0.25rem 0 0; }
.product-card p,
.service-card p:not(.price),
.pricing-card li { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  margin: 0.8rem 0;
}
summary { cursor: pointer; font-weight: 800; }

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.price {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0.75rem 0;
}
.pricing-card.featured {
  outline: 2px solid rgba(115, 224, 169, 0.35);
  background: linear-gradient(180deg, rgba(115, 224, 169, 0.14), rgba(255,255,255,0.04));
}
.pricing-card ul { padding-left: 1.1rem; }
.muted {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(255,255,255,0.035);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.howto { padding: 1.2rem; }
.howto li { margin: 0.65rem 0; color: var(--muted); }
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.contact > div { max-width: 720px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero,
  .result-card,
  .split,
  .contact { grid-template-columns: 1fr; }
  .result-products { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid,
  .cards.three,
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .section { width: min(var(--max), calc(100% - 1rem)); }
  .wizard,
  .segmented,
  .service-grid,
  .product-grid,
  .cards.three,
  .pricing-grid { grid-template-columns: 1fr; }
  .site-footer,
  .contact { flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; padding-top: 3rem; }
}
