/* ═══════════════════════════════════════════
   NetPulse Pro Website — Premium Dark Theme
   ═══════════════════════════════════════════ */

:root {
  --bg-deep: #050810;
  --bg-base: #0a0e17;
  --bg-surface: #0f1520;
  --bg-card: rgba(15, 22, 36, 0.8);
  --border: rgba(255,255,255,0.06);
  --border-active: rgba(0,212,255,0.25);
  --text: #e8ecf4;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --accent: #00d4ff;
  --accent2: #7b2ffc;
  --gradient: linear-gradient(135deg, #00d4ff, #7b2ffc);
  --gradient-subtle: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(123,47,252,0.06));
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 40px rgba(0,0,0,0.3);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(0,212,255,0.2); color: var(--accent); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Navbar ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5,8,16,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.navbar.scrolled { background: rgba(5,8,16,0.95); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

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

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(0,212,255,0.2);
}

.nav-cta:hover { box-shadow: 0 4px 20px rgba(0,212,255,0.4) !important; transform: translateY(-1px); }

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

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══ Hero ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg-effects { position: absolute; inset: 0; pointer-events: none; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-orb-1 { width: 600px; height: 600px; background: rgba(0,212,255,0.15); top: -200px; right: -100px; }
.hero-orb-2 { width: 500px; height: 500px; background: rgba(123,47,252,0.12); bottom: -100px; left: -150px; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 28px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ═══ Page Hero (inner pages) ═══ */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: var(--text-secondary); max-width: 550px; margin: 0 auto; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

.btn-primary:hover { box-shadow: 0 6px 30px rgba(0,212,255,0.45); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ═══ Sections ═══ */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-base); }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 56px;
}

.section-header.left { text-align: left; max-width: 100%; }

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header p { font-size: 17px; color: var(--text-secondary); }

.section-badge {
  display: inline-block;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ═══ Category Cards ═══ */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.category-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  animation: fadeUp 0.6s ease both;
}

.category-card:hover { border-color: var(--border-active); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,212,255,0.08); }

.category-icon { font-size: 36px; margin-bottom: 16px; }

.category-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.category-card > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

.category-tools {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-tools li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.category-tools li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ Highlights Grid ═══ */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.highlight-card:hover { border-color: var(--border-active); }
.highlight-icon { font-size: 28px; margin-bottom: 14px; }
.highlight-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.highlight-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ Features List ═══ */
.features-list { display: flex; flex-direction: column; gap: 16px; }

.feature-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color 0.3s;
}

.feature-row:hover { border-color: var(--border-active); }

.feature-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* Feature highlight (Packet Capture) */
.feature-row-highlight {
  border-color: var(--border-active);
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(123,47,252,0.04));
  position: relative;
  overflow: hidden;
}

.feature-row-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.feature-new {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-left: 8px;
  vertical-align: middle;
}

.feature-detail-list {
  list-style: none;
  margin: 14px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.feature-detail-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.feature-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.feature-detail-list li strong {
  color: var(--text);
}

/* ═══ CTA Section ═══ */
.cta-section {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-container h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-container p { font-size: 17px; color: var(--text-secondary); margin-bottom: 28px; }

/* ═══ Download Page ═══ */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.download-main { grid-column: 1; grid-row: 1 / 3; }

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.download-main { border-color: var(--border-active); }

.download-card-header { text-align: center; margin-bottom: 28px; }
.download-card-header svg { margin-bottom: 16px; }
.download-card-header h2 { font-size: 24px; font-weight: 800; }
.download-version { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.download-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.download-detail {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.download-detail span:first-child { color: var(--text-secondary); }

.download-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 14px; }

.download-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

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

.req-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.req-icon { font-size: 20px; flex-shrink: 0; padding-top: 2px; }
.req-item strong { font-size: 14px; display: block; margin-bottom: 2px; }
.req-item p { font-size: 13px; color: var(--text-secondary); margin: 0; }

.steps-list { display: flex; flex-direction: column; gap: 18px; }

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

.step-num {
  width: 32px;
  height: 32px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step strong { font-size: 14px; display: block; margin-bottom: 2px; }
.step p { font-size: 13px; color: var(--text-secondary); margin: 0; }

/* ═══ About Page ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.about-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.about-content-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.about-content-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

.about-value {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.about-value:hover { border-color: var(--border-active); }
.about-value h3 { font-size: 15px; margin-bottom: 8px; }
.about-value p { font-size: 13px; margin-bottom: 0; }

.about-sidebar { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 18px; }

.contact-info { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }

.contact-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.contact-info strong { font-size: 16px; display: block; }
.contact-info p { font-size: 13px; color: var(--text-secondary); margin: 0; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
}

.contact-link:hover { background: rgba(0,212,255,0.06); border-color: var(--border-active); }

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.info-box h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }

.info-box-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.info-box-row:last-child { border-bottom: none; }
.info-box-row span:first-child { color: var(--text-secondary); }
.info-box-row span:last-child { font-weight: 600; }

/* ═══ Footer ═══ */
.footer { background: var(--bg-base); border-top: 1px solid var(--border); padding: 60px 0 0; }

.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }

.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 10px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 6px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
  .mobile-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5,8,16,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-stats { gap: 24px; }
  .categories-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .download-main { grid-row: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 24px; }
}
