:root {
  --bg: #05070a;
  --bg-2: #0b1016;
  --line: #1b2a33;
  --text: #c9d6df;
  --muted: #6f8594;
  --green: #00ff9c;
  --cyan: #00d9ff;
  --red: #ff3860;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --sans: "Heebo", "JetBrains Mono", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.6;
  overflow-x: hidden;
}

html[lang="he"] body {
  font-family: var(--sans);
}

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

::selection {
  background: var(--green);
  color: var(--bg);
}

/* Background effects */
#rain {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 12px rgba(0, 255, 156, 0.6);
}

.cursor {
  animation: blink 1s steps(1) infinite;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.nav nav a {
  color: var(--muted);
  transition: color 0.2s;
}

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

.lang-btn {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green);
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  background: var(--green);
  color: var(--bg);
}

/* Hero */
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 6vw;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
}

.lead {
  font-size: 1.2rem;
  margin-bottom: 18px;
  max-width: 560px;
}

.lead strong {
  color: var(--green);
}

.sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--green);
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(0, 255, 156, 0.35);
}

.btn-primary:hover {
  background: transparent;
  color: var(--green);
  box-shadow: 0 0 36px rgba(0, 255, 156, 0.6);
}

.btn-ghost {
  color: var(--green);
}

.btn-ghost:hover {
  background: rgba(0, 255, 156, 0.08);
}

.btn-big {
  font-size: 1.3rem;
  padding: 20px 44px;
  font-family: var(--mono);
}

/* Glitch */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.glitch:hover::before,
.glitch.glitching::before {
  opacity: 0.8;
  color: var(--cyan);
  transform: translate(-3px, 1px);
  clip-path: polygon(0 20%, 100% 20%, 100% 45%, 0 45%);
}

.glitch:hover::after,
.glitch.glitching::after {
  opacity: 0.8;
  color: var(--red);
  transform: translate(3px, -1px);
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

/* Terminal */
.terminal {
  background: rgba(11, 16, 22, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(0, 255, 156, 0.08), 0 30px 60px rgba(0, 0, 0, 0.6);
  font-family: var(--mono);
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3a44;
}

.terminal-bar span:first-child {
  background: var(--red);
}

.terminal-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}

#term {
  padding: 20px;
  min-height: 340px;
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
}

#term .p { color: var(--green); }
#term .ok { color: var(--cyan); }
#term .bad { color: var(--red); font-weight: 700; }
#term .dim { color: var(--muted); }
#term .caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

/* Sections */
.section {
  padding: 110px 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.num {
  font-family: var(--mono);
  color: var(--green);
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 50px;
}

.section-lead em {
  color: var(--text);
}

.creds {
  font-family: var(--mono);
  color: var(--green);
  margin-bottom: 16px;
}

.creds a {
  color: var(--cyan);
  border-bottom: 1px solid currentColor;
}

/* Why now + news */
.threat-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.why-now,
.news {
  padding: 28px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.why-now {
  border-color: var(--red);
  border-inline-start-width: 4px;
  background: rgba(255, 56, 96, 0.06);
  font-size: 1.05rem;
}

.why-now-tag,
.news-tag {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  margin-bottom: 14px;
}

.why-now-tag {
  color: var(--red);
}

.news-tag {
  color: var(--cyan);
}

.why-now p + p {
  margin-top: 14px;
}

.why-now strong {
  color: #fff;
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 10px 0;
}

.news-list li + li {
  border-top: 1px solid var(--line);
}

.news-src {
  display: block;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.news-head {
  color: #fff;
}

a.news-head:hover {
  color: var(--cyan);
  text-decoration: underline;
}

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

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 30px 26px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

.card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.card:hover::before {
  width: 100%;
}

.card-icon {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 14px;
}

.card h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

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

/* Targets */
.targets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.targets li {
  padding: 18px 22px;
  border: 1px dashed var(--line);
  background: rgba(0, 217, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.targets li::before {
  content: "> ";
  color: var(--cyan);
  font-family: var(--mono);
}

html[dir="rtl"] .targets li::before {
  content: "< ";
}

.targets li:hover {
  border-color: var(--cyan);
  background: rgba(0, 217, 255, 0.07);
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step {
  border-inline-start: 2px solid var(--line);
  padding-inline-start: 22px;
  transition: border-color 0.25s;
}

.step:hover {
  border-color: var(--green);
}

.step-n {
  font-family: var(--mono);
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  color: #fff;
  margin: 8px 0;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Price */
.price-box {
  border: 1px solid var(--green);
  background: linear-gradient(160deg, rgba(0, 255, 156, 0.07), transparent 60%), var(--bg-2);
  padding: 50px;
  max-width: 760px;
  box-shadow: 0 0 60px rgba(0, 255, 156, 0.1);
}

.price-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.price-from {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.price-amount {
  font-family: var(--mono);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(0, 255, 156, 0.45);
  direction: ltr;
  align-self: flex-start;
}

.price-amount::after {
  content: "+";
  color: var(--cyan);
}

.price-note {
  color: var(--muted);
  margin-top: 8px;
}

.price-list {
  list-style: none;
  margin-bottom: 28px;
}

.price-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.price-list li::before {
  content: "[✓] ";
  color: var(--green);
  font-family: var(--mono);
}

.price-compare {
  color: var(--red);
  font-weight: 700;
  margin-bottom: 28px;
}

/* Contact */
.contact {
  text-align: center;
}

.contact .section-lead {
  margin-inline: auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 6vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }

  .nav nav a {
    display: none;
  }

  .threat-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 6vw;
  }

  .price-box {
    padding: 30px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #rain { display: none; }
}
