/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080c10;
  --bg2: #0d1117;
  --bg3: #111820;
  --border: rgba(255,255,255,0.07);
  --accent: #00e5ff;
  --accent2: #0097a7;
  --text: #e8edf2;
  --muted: #6b7a8d;
  --danger: #ff4d4d;
  --success: #00e676;
  --warning: #ffd740;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--accent);
  color: #000 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 500;
  transition: opacity 0.2s !important;
}
.btn-nav:hover { opacity: 0.85; }
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 50%, rgba(0,229,255,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 80% 20%, rgba(0,151,167,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 640px; }
.badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-cta {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.stat-label { font-size: 0.72rem; color: var(--muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* TERMINAL */
.hero-terminal {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: fadeLeft 0.8s 0.5s ease both;
}
.terminal {
  width: 360px;
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,255,0.05);
}
.terminal-bar {
  background: #161b22;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title { margin-left: auto; font-size: 0.7rem; color: var(--muted); }
.terminal-body {
  padding: 1.2rem 1.4rem;
  font-size: 0.78rem;
  line-height: 1.9;
}
.t-dim { color: var(--muted); }
.t-gap { margin-top: 0.6rem; }
.t-ok { color: var(--success); }
.t-val { color: var(--accent); }
.t-success { color: var(--success); margin-top: 0.8rem; font-weight: 500; }
.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

/* ===== THREATS ===== */
.threats {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.threats h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 3rem;
}
.threat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.threat-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.threat-card:hover { background: var(--bg3); }
.threat-icon { font-size: 2rem; margin-bottom: 1rem; }
.threat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--danger);
}
.threat-card p { color: var(--muted); font-size: 0.88rem; }

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.features h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 3.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.feature-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  position: relative;
}
.feature-item:hover { background: rgba(0,229,255,0.03); }
.feature-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.feature-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-item p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.how h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 4rem;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content { padding-bottom: 1rem; }
.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step-content p { color: var(--muted); font-size: 0.88rem; max-width: 520px; }
.step-line {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-left: 21px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,229,255,0.05) 0%, transparent 70%);
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1rem;
}
.cta-banner p { color: var(--muted); margin-bottom: 2.5rem; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.contact h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 3rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 620px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

/* ===== SECTION EYEBROW ===== */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { color: var(--muted); font-size: 0.78rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--muted); font-size: 0.78rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translate(30px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-terminal { display: none; }
  .threat-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { max-width: 100%; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
}
