/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #06080d;
  --bg-card: #0d1117;
  --bg-card-hover: #121a26;
  --border: #1a2332;
  --text: #e2e8f0;
  --text-muted: #8892a4;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --success: #22c55e;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.3);
  --max-w: 1200px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(99,102,241,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.45); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary-light); }
.btn--ghost { background: transparent; color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); }
.btn--full { width: 100%; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }

/* ===== Badge ===== */
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(99,102,241,.12); color: var(--primary-light);
  font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
}

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6,8,13,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header__logo { font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.5rem; }
.logo-img {
  height: 32px;
  width: auto;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.header__nav { display: flex; gap: 32px; }
.header__link { font-size: .9rem; color: var(--text-muted); transition: color .2s; }
.header__link:hover { color: var(--text); }
.header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.header__burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { padding: 140px 0 80px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__content h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin: 20px 0; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 40px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.5rem; font-weight: 800; }
.trust-item span { font-size: .8rem; color: var(--text-muted); }

/* Dashboard Preview */
.dashboard-preview {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow), 0 0 80px rgba(99,102,241,.08);
}
.dash-header {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--border); font-size: .85rem; color: var(--text-muted);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #eab308; }
.dash-dots span:nth-child(3) { background: #22c55e; }
.dash-body { padding: 20px; }
.dash-stat { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.dash-stat__label { font-size: .75rem; color: var(--text-muted); }
.dash-stat__value { font-size: 1.6rem; font-weight: 800; }
.dash-stat__value.danger { color: var(--danger); }
.dash-stat__change { font-size: .75rem; font-weight: 600; }
.dash-stat__change.up { color: var(--success); }
.dash-stat__change.down { color: var(--danger); }
.dash-chart { display: flex; gap: 4px; height: 80px; margin-bottom: 16px; align-items: flex-end; }
.chart-bar { flex: 1; background: var(--primary); border-radius: 4px 4px 0 0; opacity: .4; transition: .3s; }
.chart-bar.active { opacity: 1; background: var(--gradient); }
.dash-logs { border-top: 1px solid var(--border); padding-top: 12px; }
.log-item { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--text-muted); padding: 4px 0; }
.log-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.log-dot--blocked { background: var(--danger); }
.log-dot--safe { background: var(--success); }

/* ===== Section ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.4rem; font-weight: 800; margin-top: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; margin-top: 8px; }

/* ===== Features ===== */
.features { padding: 100px 0; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all .3s ease;
}
.feature-card:hover { border-color: var(--primary); background: var(--bg-card-hover); transform: translateY(-4px); }
.feature-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== How it works ===== */
.how-it-works { padding: 100px 0; background: rgba(99,102,241,.03); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; }
.step__number {
  font-size: 4rem; font-weight: 900; background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 16px; opacity: .6;
}
.step__content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.step__content p { color: var(--text-muted); font-size: .95rem; }

/* ===== Stats ===== */
.stats-section { padding: 100px 0; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px;
}
.stat-card--wide { grid-column: 1 / -1; }
.stat-card h3 { font-size: 1rem; color: var(--text-muted); margin-bottom: 16px; font-weight: 600; }
.stat-big { font-size: 3rem; font-weight: 900; }
.stat-big--danger { color: var(--danger); }
.stat-desc { color: var(--text-muted); font-size: .85rem; margin-top: 4px; }
.mini-chart { display: flex; gap: 3px; height: 60px; margin-bottom: 20px; align-items: flex-end; }
.mini-bar { flex: 1; background: var(--primary); border-radius: 3px 3px 0 0; opacity: .5; }
.stat-row { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-row__value { display: block; font-size: 1.4rem; font-weight: 800; }
.stat-row__value.success { color: var(--success); }
.stat-row__value.danger { color: var(--danger); }
.stat-row__label { display: block; font-size: .75rem; color: var(--text-muted); }
.block-reasons { display: flex; flex-direction: column; gap: 12px; }
.block-reason { display: flex; align-items: center; gap: 12px; }
.reason-bar { height: 8px; border-radius: 4px; background: var(--gradient); flex-shrink: 0; }
.block-reason span { font-size: .85rem; white-space: nowrap; }

/* ===== Pricing ===== */
.pricing { padding: 100px 0; background: rgba(99,102,241,.03); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; position: relative; transition: .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card:hover {
  border-color: var(--primary);
}
.price-card .price-features {
  flex-grow: 1;
}
.price-card .btn {
  margin-top: auto;
}
.price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-card .price {
  margin-bottom: 4px;
}
.price-card .price-desc {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 20px;
}
.price-card:hover { border-color: var(--primary); }
.price-card--popular { border-color: var(--primary); box-shadow: 0 0 40px rgba(99,102,241,.15); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; padding: 4px 20px; border-radius: 50px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
}
.price-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price__amount { font-size: 2.8rem; font-weight: 900; }
.price__period { color: var(--text-muted); font-size: 1rem; }
.price-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li { padding: 8px 0; font-size: .9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.price-features li:last-child { border: none; }

/* ===== CTA ===== */
.cta { padding: 100px 0; }
.cta__inner { text-align: center; }
.cta__content h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.cta__content > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta__form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto 12px; flex-wrap: wrap; justify-content: center; }
.cta__form input {
  flex: 1; min-width: 200px; padding: 14px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  font-size: .95rem; font-family: inherit; outline: none; transition: .2s;
}
.cta__form input:focus { border-color: var(--primary); }
.cta__note { font-size: .8rem; color: var(--text-muted); }

/* ===== Footer ===== */
.footer { padding: 60px 0 24px; border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer__col p { font-size: .85rem; color: var(--text-muted); }
.footer__col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer__col a { display: block; font-size: .9rem; color: var(--text-muted); padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__bottom p { font-size: .8rem; color: var(--text-muted); }

/* ===== Protection Stages ===== */
.protection-stages { padding: 100px 0; }
.stages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stage-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .3s ease;
}
.stage-card:hover { border-color: var(--primary); transform: translateY(-4px); background: var(--bg-card-hover); }
.stage-card__icon { font-size: 2.4rem; margin-bottom: 12px; }
.stage-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.stage-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Benefits ===== */
.benefits { padding: 100px 0; background: rgba(99,102,241,.03); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all .3s ease;
}
.benefit-card:hover { border-color: var(--primary); transform: translateY(-4px); background: var(--bg-card-hover); }
.benefit-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Scanner page sections ===== */
.scanner-hero { padding: 140px 0 80px; }
.scanner-features { padding: 100px 0; }
.scanner-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scanner-feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: all .3s ease;
}
.scanner-feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.scanner-feature-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.scanner-feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.scanner-feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.scanner-results { padding: 100px 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content p { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { max-width: 500px; margin: 0 auto; }
  .features__grid, .steps, .stages-grid, .benefits__grid, .scanner-features__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .header__nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--bg-card);
    border-bottom: 1px solid var(--border); padding: 24px; gap: 16px;
  }
  .hero__content h1 { font-size: 2.2rem; }
  .section-header h2 { font-size: 1.8rem; }
  .features__grid, .steps, .stats-grid, .stages-grid, .benefits__grid, .scanner-features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .stat-card--wide { grid-column: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: 16px; align-items: center; }
}
