/* HetrixTools-inspired tokens — MEGA landing */
:root {
  --primary: #50a1ff;
  --accent-hover: #3a8ae6;
  --accent-soft: #96c7ff;
  --accent-wash: #eaf0ff;
  --ink: #191919;
  --body: #323d47;
  --muted: #757575;
  --muted-soft: #868e96;
  --canvas: #f8f9fa;
  --surface: #ffffff;
  --surface-alt: #f1f2f3;
  --surface-soft: #eaeff4;
  --border: #dee2e6;
  --border-strong: #c9ccce;
  --success: #3cd458;
  --warning: #ffba00;
  --error: #ff4954;
  --on-primary: #ffffff;
  --on-dark: #f8f9fa;
  --footer-bg: #262a37;
  --dark-navy: #09203f;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-pill: 10rem;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 64px;
  --section: 88px;
  --hero-pad: 96px;
  --container: 1140px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-sm);
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: var(--space-sm);
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--space-sm);
}

.logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.logo span {
  color: var(--muted);
  font-weight: 400;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-cta {
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-primary);
}

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

.btn-secondary:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: var(--hero-pad) 0 var(--section);
  background: linear-gradient(180deg, var(--surface) 0%, var(--canvas) 70%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--on-primary);
  background: var(--success);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-primary);
}

.hero-title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title .brand {
  display: block;
  font-size: clamp(3rem, 10vw, 4rem);
  color: var(--dark-navy);
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 var(--space-md);
  max-width: 36ch;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
}

.hero-bullets svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 4px 24px rgba(9, 32, 63, 0.06);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.encryption-bar {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.encryption-bar span {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-sm);
  background: var(--success);
}

.encryption-bar span.warn {
  background: var(--warning);
}

.encryption-bar span.off {
  background: var(--surface-soft);
}

.panel-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.panel-row .label {
  color: var(--muted);
}

.badge-up {
  color: var(--success);
  font-weight: 600;
  font-size: 12px;
}

/* Sections */
.section {
  padding: var(--section) 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin: 0 0 var(--space-sm);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}

.section-intro {
  margin: 0 auto var(--space-xl);
  max-width: 640px;
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  height: 100%;
}

.product-card h3 {
  margin: var(--space-sm) 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.product-card p {
  margin: 0 0 var(--space-sm);
  font-size: 16px;
}

.product-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

/* Trust */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.trust-metric {
  text-align: center;
  padding: var(--space-md);
  min-width: 140px;
}

.trust-metric strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.trust-metric span {
  font-size: 14px;
  color: var(--muted);
}

.testimonial {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  max-width: 720px;
  margin: var(--space-xl) auto 0;
}

.testimonial blockquote {
  margin: 0 0 var(--space-sm);
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  font-style: normal;
}

.testimonial cite {
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

/* Feature tiles */
.feature-tile {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

.feature-tile h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.feature-tile p {
  margin: 0;
  font-size: 15px;
  color: var(--body);
}

/* Pricing */
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.pricing-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 22px;
  color: var(--ink);
}

.pricing-highlight {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-navy);
  margin: var(--space-sm) 0;
}

.pricing-note {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

/* CTA band */
.cta-band {
  background: var(--dark-navy);
  color: var(--on-dark);
  padding: var(--section) 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 var(--space-sm);
  font-size: 32px;
  font-weight: 700;
  color: var(--on-dark);
}

.cta-band p {
  margin: 0 auto var(--space-lg);
  max-width: 560px;
  font-size: 18px;
  opacity: 0.92;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.faq-question:hover {
  background: var(--surface-alt);
}

.faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 15px;
  color: var(--body);
}

.faq-answer[hidden] {
  display: none;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 48px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-inner a {
  color: var(--accent-soft);
}

.footer-disclaimer {
  color: var(--muted-soft);
  font-size: 13px;
  line-height: 1.45;
  max-width: 560px;
}