/* ─── Design Tokens & CSS Variables ─── */
:root {
  --font-serif: 'Bitter', Georgia, serif;
  --font-sans: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Palette */
  --bg-main: #07090e;
  --bg-surface-1: #0d121c;
  --bg-surface-2: #141b29;
  --bg-surface-3: #1c263a;
  --bg-glass: rgba(13, 18, 28, 0.72);
  --bg-glass-bright: rgba(20, 27, 41, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-edge: #1e293b;
  --border-edge-bright: #334155;
  --border-accent: rgba(56, 189, 248, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #38bdf8;

  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-indigo: #6366f1;

  --status-success: #10b981;
  --status-success-bg: rgba(16, 185, 129, 0.12);
  --status-warning: #f59e0b;
  --status-warning-bg: rgba(245, 158, 11, 0.12);
  --status-danger: #f43f5e;
  --status-danger-bg: rgba(244, 63, 94, 0.12);

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.15);
  --shadow-glow-lg: 0 0 80px rgba(37, 99, 235, 0.25);

  --container-max: 1240px;
  --header-height: 72px;
}

/* ─── Global Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

button, input {
  font: inherit;
}

/* ─── Typography Utility ─── */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-edge);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  white-space: nowrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 48px;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.brand-logo svg {
  height: 44px;
  width: auto;
  color: currentColor;
}

.brand-logo:hover {
  color: var(--accent-sky);
  transform: translateY(-1px);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.55);
  filter: brightness(1.08);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-edge);
  color: var(--text-primary);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ─── Hero Section (Numbers-First + WebGL Shader) ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-shader-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#shader-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.85;
}

.hero-raster-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-image: url('images/hero_scene.webp');
  background-size: cover;
  background-position: center top;
  opacity: 0.18;
  filter: saturate(0.9) brightness(1.1);
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 30%, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.85) 75%, var(--bg-main) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-sky);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 960px;
}

.hero-description {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 36px;
}

/* ─── Hero Domain Form ─── */
.checker-form-box {
  background: var(--bg-glass-bright);
  border: 1px solid var(--border-edge-bright);
  border-radius: 16px;
  padding: 8px;
  max-width: 680px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 24px;
}

.checker-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.checker-input-wrapper {
  position: relative;
  flex: 1 1 300px;
  display: flex;
  align-items: center;
}

.checker-input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  pointer-events: none;
}

.checker-input {
  width: 100%;
  height: 52px;
  padding-left: 48px;
  padding-right: 16px;
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-edge);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checker-input:focus {
  outline: none;
  border-color: var(--accent-sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.checker-input::placeholder {
  color: var(--text-dim);
}

.checker-btn-submit {
  height: 52px;
  padding: 0 28px;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.checker-btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
  filter: brightness(1.08);
}

.checker-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checker-status-notice {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 10px;
}

.checker-status-notice.error {
  display: flex;
  background-color: var(--status-danger-bg);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fecdd3;
}

.checker-status-notice.loading {
  display: flex;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-sky);
}


/* ─── Numbers-First Metrics Grid (Signature Technique) ─── */
.numbers-first-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.metric-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-edge);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-sky), transparent);
  opacity: 0.6;
}

.metric-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.metric-huge-number {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.metric-suffix {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-sky);
}

.metric-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ─── Section Base ─── */
.section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
  max-width: 760px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sky);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Visual 1: Interactive Domain Report ─── */
.report-interactive-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-edge-bright);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-subtle), 0 0 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.report-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-edge);
  padding-bottom: 24px;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.report-target-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.score-dial-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  flex-shrink: 0;
}

.score-dial-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-dial-bg {
  stroke: var(--border-edge);
  stroke-width: 8;
  fill: none;
}

.score-dial-bar {
  stroke: var(--status-success);
  stroke-width: 8;
  stroke-linecap: round;
  fill: none;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s;
}

.score-dial-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-dial-val {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--status-success);
}

.score-dial-unit {
  font-size: 11px;
  color: var(--text-dim);
}

.report-verdict-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--status-success);
}

.report-verdict-sub {
  font-size: 14px;
  color: var(--text-secondary);
}


.report-checks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-edge);
  transition: border-color 0.2s;
}

.check-row:hover {
  border-color: var(--border-edge-bright);
}

.check-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.check-row.pass .check-icon-badge {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.check-row.warn .check-icon-badge {
  background: var(--status-warning-bg);
  color: var(--status-warning);
}

.check-row.fail .check-icon-badge {
  background: var(--status-danger-bg);
  color: var(--status-danger);
}

.check-content {
  flex: 1;
  min-width: 0;
}

.check-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.check-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.check-status-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.check-status-pill.pass {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.check-status-pill.warn {
  background: var(--status-warning-bg);
  color: var(--status-warning);
}

.check-status-pill.fail {
  background: var(--status-danger-bg);
  color: var(--status-danger);
}

.check-code-view {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-surface-3);
  padding: 6px 10px;
  border-radius: 6px;
  word-break: break-all;
  display: block;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.check-issue-note {
  font-size: 13px;
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.check-issue-note.warn { color: var(--status-warning); }
.check-issue-note.fail { color: var(--status-danger); }

/* ─── Visual 2: Problem & Spoofing Threat ─── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.card-media-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-edge-bright);
  box-shadow: var(--shadow-subtle), 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
  background: var(--bg-surface-2);
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card-media-box:hover .card-media-img {
  transform: scale(1.02);
}

.threat-points-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.threat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.threat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: var(--status-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.threat-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.threat-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── Visual 3 & 4: DMARC rua Monitoring & DNS Setup ─── */
.dmarc-stream-diagram {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-edge-bright);
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
  position: relative;
}

.stream-node-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.stream-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-edge);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.stream-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.stream-provider-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prov-tag {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-surface-3);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stream-arrow {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-card {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), var(--bg-surface-2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.2);
}

.dns-snippet-box {
  background: #05070a;
  border: 1px solid var(--border-edge);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  position: relative;
}

.dns-snippet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--text-dim);
}

.dns-record-line {
  color: var(--accent-sky);
  word-break: break-all;
  line-height: 1.6;
}

.copy-btn {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-edge);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
}

/* ─── Visual 5: Russian Sovereign Jurisdiction ─── */
.jurisdiction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.feature-box {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-edge);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-edge-bright);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* ─── Pricing Section (No invented prices!) ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-edge);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-edge-bright);
}

.pricing-card.featured {
  background: linear-gradient(180deg, var(--bg-surface-2) 0%, var(--bg-surface-1) 100%);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.15);
}

.pricing-tier-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.pricing-tier-desc {
  font-size: 14px;
  color: var(--text-dim);
  min-height: 42px;
  margin-bottom: 24px;
}

.pricing-price-box {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-edge);
}

.pricing-price-placeholder {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.pricing-price-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  color: var(--status-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-pricing {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-edge);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.btn-pricing:hover {
  background: var(--bg-surface-3);
  border-color: var(--border-edge-bright);
}

.pricing-card.featured .btn-pricing {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pricing-card.featured .btn-pricing:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* ─── FAQ Accordion ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
}

.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-edge);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-edge-bright);
}

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

.faq-chevron {
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-sky);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ─── Final CTA ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surface-2) 0%, #0e1726 100%);
  border: 1px solid var(--border-edge-bright);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(37, 99, 235, 0.15);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-form-wrap {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border-edge);
  background: #040609;
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand-col {
  max-width: 360px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.5;
}

.footer-nav-col {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

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

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

/* ─── Back to Top Interactive Element ─── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-edge-bright);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--bg-surface-3);
  border-color: var(--border-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px) scale(1.05);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  stroke: var(--accent-sky);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  transition: stroke-dashoffset 0.1s linear;
}

/* ─── Scroll Reveal Animations (IntersectionObserver) ─── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 1024px) {
  .numbers-first-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .jurisdiction-grid {
    grid-template-columns: 1fr;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stream-node-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stream-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .brand-logo svg {
    height: 36px;
  }
  .numbers-first-grid {
    grid-template-columns: 1fr;
  }
  .report-interactive-card {
    padding: 20px;
  }
  .report-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner {
    padding: 40px 20px;
  }
  .site-header {
    height: 64px;
  }
  .hero-section {
    padding-top: calc(64px + 24px);
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }
  .progress-ring {
    width: 46px;
    height: 46px;
  }
}

/* Логотип + CTA с подписью + гамбургер не влезают в 375 px: гамбургер уезжал за край (B-14) */
@media (max-width: 480px) {
  .site-header .btn-header-cta span {
    display: none;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-logo svg {
    height: 32px;
  }
  .btn-header-cta {
    padding: 6px 10px;
    font-size: 13px;
  }
  .checker-btn-submit {
    width: 100%;
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  #shader-canvas {
    display: none;
  }
  .hero-raster-bg {
    opacity: 0.3;
  }
}

/* Бывшие атрибуты style= из index.html: CSP запрещает встроенные стили (B-13) */
.is-hidden { display: none; }
.text-success { color: var(--status-success); }
.bg-surface-1 { background-color: var(--bg-surface-1); }
.text-secondary { color: var(--text-secondary); }
.text-sky { color: var(--accent-sky); }
.threat-icon-box--sky { background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.25); color: var(--accent-sky); }
.report-domain-name { font-size: 14px; color: var(--text-dim); }
.report-rua-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-edge); font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.report-rua-note-icon { color: var(--accent-sky); flex-shrink: 0; }
.mb-32 { margin-bottom: 32px; }
.stream-headline { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #ffffff; }
.stream-text { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.text-success-strong { color: var(--status-success); font-weight: 600; }
.text-danger-strong { color: var(--status-danger); font-weight: 600; }
.mb-28 { margin-bottom: 28px; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; }
.justify-center { justify-content: center; }
.section-desc--narrow { max-width: 640px; margin: 0 auto; }
.section--final-cta { padding-top: 40px; padding-bottom: 96px; }
.btn-header-cta--lg { height: 52px; padding: 0 32px; font-size: 16px; border-radius: 12px; display: inline-flex; }
.brand-logo--footer { height: 38px; }
.brand-logo-svg--footer { height: 36px; }
.text-dim { color: var(--text-dim); }
