:root {
  --color-bg: #0b1020;
  --color-bg-alt: #111731;
  --color-surface: #151c3d;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f2f4ff;
  --color-text-muted: #9aa3c7;
  --color-accent: #00b88f;
  --color-accent-light: #3ddbae;
  --color-light: #ffffff;
  --radius: 14px;
  --max-width: 1120px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.partner-bar {
  background: linear-gradient(135deg, var(--color-accent), #00896b);
  color: #ffffff;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 0;
}

.partner-bar p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.partner-bar svg {
  height: 16px;
  width: 16px;
}

.partner-bar strong {
  color: #eafff9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-note {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-accent), #00896b);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.partner-bar strong {
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.45);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.925rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: #fff;
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 26px rgba(108, 92, 231, 0.55);
}

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

.btn-ghost:hover {
  background: var(--color-surface);
}

.btn-light {
  background: var(--color-light);
  color: var(--color-bg);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero */
.hero {
  padding: 96px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(108, 92, 231, 0.25), transparent 70%),
    radial-gradient(400px 200px at 85% 20%, rgba(143, 123, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::first-letter {
  color: var(--color-accent-light);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.accent {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 580px;
  margin: 0 auto 36px;
  color: var(--color-text-muted);
  font-size: 1.15rem;
}

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

.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Hero visual */
.hero-visual {
  margin-top: 64px;
  text-align: left;
}

.window {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--color-border);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.window-body {
  padding: 28px;
  display: grid;
  gap: 12px;
}

.scan-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 184, 143, 0.15), rgba(0, 184, 143, 0.05));
  border: 1px solid rgba(0, 184, 143, 0.4);
  margin-bottom: 14px;
}

.scan-status {
  color: #3ddbae;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.scan-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.scan-info strong {
  font-size: 1rem;
}

.scan-info small {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.threat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.clear {
  color: #3ddbae;
  font-weight: 700;
}

.watch {
  color: #ffd166;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Logos */
.logos {
  padding: 48px 0 72px;
  text-align: center;
}

.logos p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.logo-row {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item svg {
  height: 24px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s, opacity 0.2s;
}

.logo-item svg.ledger {
  height: 20px;
}

.logo-item:hover svg {
  filter: grayscale(0);
  opacity: 1;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 44px;
  text-align: center;
}

.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 12px;
}

/* Features */
.features {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.5);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
}

/* How it works */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  font-weight: 800;
  margin-bottom: 16px;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.steps p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
}

/* Pricing */
.pricing {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.price-card.featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.3);
}

.tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 26px;
  display: grid;
  gap: 10px;
}

.price-card li {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  padding-left: 26px;
  position: relative;
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  margin-bottom: 14px;
  overflow: hidden;
}

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

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent-light);
  transition: transform 0.25s;
}

.faq-q[aria-expanded='true']::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.925rem;
}

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent), #4a3ecb);
  border-radius: 0;
}

.cta h2 {
  margin-bottom: 12px;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.footer-note {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    padding: 64px 0 32px;
  }

  .section {
    padding: 60px 0;
  }
}