/* ==========================================
   SecureGuard Ultra – Website Styles
   Military Dark Theme
   ========================================== */

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1428;
  --bg-card: #131836;
  --bg-card-hover: #1a2045;
  --border: #1e2a4a;
  --border-glow: #00ff8830;
  --text-primary: #e8ecf4;
  --text-secondary: #8892b0;
  --text-muted: #5a6580;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --accent-glow: #00ff8840;
  --blue: #00d4ff;
  --blue-dim: #00a8cc;
  --red: #ff3b5c;
  --yellow: #ffb800;
  --purple: #a855f7;
  --gradient: linear-gradient(135deg, #00ff88, #00d4ff);
  --gradient-text: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #a855f7 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(0,255,136,0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  background: rgba(10, 14, 26, 0.8);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-ultra {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 8px;
}

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

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

.nav-link.active {
  color: var(--accent);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.particle-field {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-20px); }
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
  0% { top: 0; }
  100% { top: 100%; }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  margin: 0 auto 0 calc((100vw - 1200px) / 2 + 24px);
}

@media (max-width: 1248px) {
  .hero-content { margin-left: 24px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.title-line {
  display: block;
}

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

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-hero-outline:hover {
  border-color: var(--accent);
  background: rgba(0,255,136,0.05);
}

.btn-arrow { transition: transform 0.3s; }
.btn-hero-outline:hover .btn-arrow { transform: translateX(4px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--accent);
}

.stat-row {
  display: flex;
  align-items: baseline;
}

.stat-plus, .stat-slash, .stat-ms {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  z-index: 1;
  position: absolute;
  right: calc((100vw - 1200px) / 2 + 48px);
  animation: fadeInUp 1s ease 0.5s both;
}

@media (max-width: 1248px) {
  .hero-visual { right: 48px; }
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--bg-secondary);
  border-radius: 36px;
  border: 3px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow), var(--shadow-glow);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--bg-primary);
  border-radius: 12px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 40px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.mock-shield-img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: cover;
}

.mock-shield { font-size: 20px; }

.mock-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mock-ring {
  position: relative;
  width: 100px;
  height: 100px;
}

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

.progress-ring {
  animation: ringDraw 2s ease-in-out infinite alternate;
}

@keyframes ringDraw {
  0% { stroke-dashoffset: 339; }
  100% { stroke-dashoffset: 0; }
}

.mock-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--accent);
}

.mock-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
}

.mock-threats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-threat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,255,136,0.05);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid rgba(0,255,136,0.1);
}

.mock-threat-item.safe span {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.mock-threat-item.safe span svg {
  width: 14px;
  height: 14px;
}

/* ========== THREAT TICKER ========== */
.threat-ticker {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-flex;
  gap: 48px;
  animation: tickerScroll 30s linear infinite;
}

.ticker-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  padding: 6px 16px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== FEATURES ========== */
.features {
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(0,255,136,0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-card), rgba(0,255,136,0.05));
  border-color: rgba(0,255,136,0.2);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,255,136,0.08);
  border-radius: 14px;
  margin-bottom: 16px;
}

.feature-card.featured .feature-icon-wrap {
  margin-bottom: 0;
}

.feature-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.feature-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
}

/* ========== SCANNER DEMO ========== */
.scanner-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.scanner-demo {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.terminal {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
  font-size: 12px;
  color: #8b949e;
  font-family: var(--mono);
}

.terminal-body {
  padding: 20px;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}

.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }

.term-line {
  white-space: nowrap;
  overflow: hidden;
  animation: typeIn 0.3s ease;
}

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.term-prompt { color: var(--accent); font-weight: 700; }
.term-cmd { color: #c9d1d9; }
.term-info { color: var(--blue); }
.term-success { color: var(--accent); }
.term-warning { color: var(--yellow); }
.term-error { color: var(--red); }
.term-muted { color: #6e7681; }

.terminal-footer {
  padding: 16px;
  border-top: 1px solid #30363d;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-scan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font);
  white-space: nowrap;
}

.btn-scan:hover { transform: scale(1.05); }
.btn-scan:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.scan-progress {
  flex: 1;
  height: 6px;
  background: #21262d;
  border-radius: 3px;
  overflow: hidden;
}

.scan-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.scanner-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scan-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.scan-stat-value {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--text-primary);
}

.scan-stat-value.green { color: var(--accent); }

.scan-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ========== THREAT CATEGORIES ========== */
.threats-section {
  padding: 120px 0;
}

.threat-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.threat-cat:hover {
  border-color: rgba(0,255,136,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.cat-icon {
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.cat-icon svg {
  width: 36px;
  height: 36px;
}

.threat-cat h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-count {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.cat-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-list li {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* ========== COMPARISON ========== */
.comparison-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comp-row:last-child { border-bottom: none; }

.comp-row.header {
  background: var(--bg-card);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comp-feature, .comp-us, .comp-other {
  padding: 16px 20px;
  font-size: 14px;
}

.comp-feature {
  color: var(--text-secondary);
  font-weight: 500;
}

.comp-us {
  background: rgba(0,255,136,0.03);
  color: var(--text-primary);
  font-weight: 600;
}

.comp-check { color: var(--accent); font-weight: 700; margin-right: 6px; display: inline-flex; align-items: center; vertical-align: middle; }
.comp-x { color: var(--red); font-weight: 700; margin-right: 6px; display: inline-flex; align-items: center; vertical-align: middle; }
.comp-partial { color: var(--yellow); font-weight: 700; margin-right: 6px; }

/* ========== PRICING ========== */
.pricing-section {
  padding: 120px 0;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid rgba(0,255,136,0.3);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient);
  color: var(--bg-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 100px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 24px 0 8px;
}

.price-currency {
  font-size: 24px;
  color: var(--text-secondary);
  font-weight: 600;
}

.price-amount {
  font-size: 72px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li span {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.pricing-features li span svg {
  width: 18px;
  height: 18px;
}

.btn-pricing {
  display: inline-block;
  width: 100%;
  padding: 16px;
  background: var(--gradient);
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.pricing-guarantee {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ========== DOWNLOAD ========== */
.download-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.download-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 60px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}

.download-card.coming-soon { opacity: 0.6; }

.dl-icon {
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.dl-icon svg {
  width: 48px;
  height: 48px;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient);
  color: var(--bg-primary);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  font-family: var(--font);
}

.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--accent-glow); }
.btn-download.disabled { background: var(--border); cursor: not-allowed; }
.btn-download.disabled:hover { transform: none; box-shadow: none; }

.btn-play-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px 14px 24px;
  background: #000;
  border: 1.5px solid #555;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-play-store:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,255,136,0.2);
  transform: translateY(-2px);
}

.btn-play-store svg {
  color: var(--accent);
  flex-shrink: 0;
}

.play-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.play-btn-small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #aaa;
  font-weight: 500;
}

.play-btn-big {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.dl-info {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.install-steps {
  max-width: 800px;
  margin: 0 auto;
}

.install-steps h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--bg-primary);
  font-size: 20px;
  font-weight: 900;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========== FAQ ========== */
.faq-section {
  padding: 120px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(0,255,136,0.3);
}

.faq-item.open {
  border-color: rgba(0,255,136,0.4);
  background: var(--bg-card);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
}

.faq-arrow {
  color: var(--accent);
  transition: transform 0.3s;
  line-height: 1;
  display: flex;
  align-items: center;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

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

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

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

.footer-brand { max-width: 300px; }

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-tagline {
  margin-top: 4px;
  font-size: 12px;
}

/* Footer Google Play Button */
.footer-cta {
  margin-bottom: 24px;
}

.footer-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px 12px 20px;
  background: #000;
  border: 1px solid #555;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-play-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0,255,136,0.15);
  transform: translateY(-2px);
}

.footer-play-btn svg {
  color: var(--accent);
}

.footer-play-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.play-small {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}

.play-big {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

/* ========== AI CHATBOT ========== */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 84px;
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: var(--bg-primary);
  cursor: pointer;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: all 0.3s;
}

.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px var(--accent-glow);
}

.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--purple);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.chat-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  z-index: 901;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}

.chat-window.open {
  display: flex;
  animation: chatSlideUp 0.3s ease;
}

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

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(0,255,136,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.chat-name {
  font-size: 14px;
  font-weight: 700;
}

.chat-status-text {
  font-size: 11px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
}

.chat-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg {
  display: flex;
}

.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: var(--gradient);
  color: var(--bg-primary);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-suggestions button {
  padding: 6px 12px;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.chat-suggestions button:hover {
  background: rgba(0,255,136,0.12);
  border-color: rgba(0,255,136,0.3);
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--accent);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border: none;
  border-radius: 10px;
  color: var(--bg-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-send:hover {
  transform: scale(1.05);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

@media (max-width: 480px) {
  .chat-window {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: 80px;
  }
  .chat-fab { right: 16px; bottom: 16px; }
}

/* ========== LEGAL MODAL ========== */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal.open {
  display: flex;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.legal-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.legal-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 16px;
  margin: 20px 0 8px;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* ========== SVG ICON UTILITIES ========== */
.btn-icon svg,
.btn-arrow svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.scan-icon {
  display: inline-flex;
  align-items: center;
}

.scan-icon svg {
  width: 16px;
  height: 16px;
}

.ticker-item svg {
  vertical-align: middle;
  flex-shrink: 0;
}

.pricing-guarantee span {
  display: inline-flex;
  align-items: center;
}

.pricing-guarantee span svg {
  width: 16px;
  height: 16px;
}

.faq-arrow svg {
  width: 18px;
  height: 18px;
}

.footer-tagline svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  color: var(--accent);
}

.legal-close svg {
  width: 20px;
  height: 20px;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.icon-spin {
  animation: iconSpin 1s linear infinite;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 120px 24px 60px; }
  .hero-content { margin: 0; max-width: 100%; }
  .hero-visual { position: static; margin-top: 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.featured { grid-column: 1 / -1; grid-template-columns: 1fr; text-align: center; }
  .threat-categories { grid-template-columns: repeat(2, 1fr); }
  .scanner-demo { grid-template-columns: 1fr; }
  .scanner-stats { flex-direction: row; flex-wrap: wrap; }
  .scan-stat { flex: 1; min-width: 120px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .threat-categories { grid-template-columns: 1fr; }
  .download-options { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .comp-feature, .comp-us, .comp-other { padding: 12px; font-size: 12px; }
  .footer-main { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .phone-mockup { width: 220px; height: 440px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .pricing-card { padding: 36px 24px; }
  .price-amount { font-size: 56px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-hero, .btn-hero-outline { width: 100%; justify-content: center; }
  .btn-play-store { padding: 12px 24px 12px 18px; }
  .btn-play-store svg { width: 26px; height: 26px; }
  .play-btn-big { font-size: 17px; }
  .section-title { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════ */
/* HOW IT WORKS - ANIMATED TERMINAL DEMO                  */
/* ═══════════════════════════════════════════════════════ */
.how-section { padding: 80px 0; }
.how-tabs { display: flex; gap: 12px; margin-top: 40px; overflow-x: auto; padding-bottom: 8px; }
.how-tab { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; cursor: pointer; transition: all 0.3s; color: rgba(255,255,255,0.5); font-size: 0.85rem; white-space: nowrap; }
.how-tab:hover { border-color: rgba(0,255,136,0.2); color: #fff; }
.how-tab.active { border-color: #00ff88; background: rgba(0,255,136,0.06); color: #fff; box-shadow: 0 0 20px rgba(0,255,136,0.1); }
.how-tab-num { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 0.7rem; color: rgba(0,255,136,0.4); }
.how-tab.active .how-tab-num { color: #00ff88; }
.how-tab-icon { font-size: 1.3rem; }
.how-tab-label { font-weight: 600; }

.how-display { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; margin-top: 24px; min-height: 420px; }
.how-info { display: flex; flex-direction: column; justify-content: center; }
.how-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; background: linear-gradient(135deg, #00ff88, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.how-info p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }
.how-stats-row { display: flex; gap: 20px; margin-bottom: 24px; }
.how-mini-stat { text-align: center; }
.hms-val { display: block; font-size: 1.3rem; font-weight: 800; color: #00ff88; font-family: 'JetBrains Mono', monospace; }
.hms-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }

.btn-how-demo { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: linear-gradient(135deg, #00ff88, #00d4ff); color: #0a0e1a; border: none; border-radius: 10px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; }
.btn-how-demo:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,255,136,0.3); }
.btn-how-demo.running { background: rgba(255,255,255,0.1); color: #fff; cursor: default; }
.bhd-icon { font-size: 1rem; }

.how-terminal { background: #0d1117; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.how-term-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.3); }
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots .dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27c93f; }
.how-term-title { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.4); }
.how-term-live { margin-left: auto; color: #00ff88; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; opacity: 0; transition: opacity 0.3s; }
.how-term-live.active { opacity: 1; animation: dotPulse 1.2s infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.how-term-body { flex: 1; padding: 16px; font-family: 'JetBrains Mono', monospace; font-size: 0.73rem; overflow-y: auto; min-height: 300px; max-height: 350px; line-height: 1.8; color: rgba(255,255,255,0.8); }
.htb-line { padding: 2px 0; opacity: 0; animation: lineAppear 0.4s forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htb-line.dim { opacity: 0.4; animation: none; }
.htb-line .ok { color: #00ff88; }
.htb-line .warn { color: #ffb800; }
.htb-line .red { color: #ff3b5c; font-weight: 700; }
.htb-line .cyan { color: #00d4ff; }
.htb-line .time { color: rgba(255,255,255,0.25); }
.htb-line .cat { color: #a855f7; font-weight: 700; font-size: 0.8rem; }
.htb-line .path { color: rgba(255,255,255,0.7); }
.htb-line .cmd { color: #00ff88; font-weight: 700; }
@keyframes lineAppear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.how-term-footer { padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 12px; }
.how-progress-wrap { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.how-progress-bar { height: 100%; background: linear-gradient(90deg, #00ff88, #00d4ff); border-radius: 4px; transition: width 0.3s; }
.how-progress-text { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: rgba(255,255,255,0.4); min-width: 35px; text-align: right; }

.how-auto { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 20px; font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.how-auto-dot { width: 6px; height: 6px; border-radius: 50%; background: #00ff88; animation: dotPulse 1.5s infinite; }

/* Responsive */
@media (max-width: 900px) {
  .how-display { grid-template-columns: 1fr; }
  .how-tabs { gap: 8px; }
  .how-tab { padding: 10px 14px; font-size: 0.78rem; }
  .how-tab-label { display: none; }
  .how-term-body { min-height: 250px; max-height: 300px; font-size: 0.65rem; }
  .how-info h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .how-tab { padding: 8px 10px; }
  .how-tab-icon { font-size: 1.1rem; }
  .how-stats-row { gap: 12px; }
  .hms-val { font-size: 1rem; }
  .how-term-body { min-height: 200px; font-size: 0.6rem; }
}

/* ═══════════════════════════════════════════════════════ */
/* LIVE MONITOR SECTION                                    */
/* ═══════════════════════════════════════════════════════ */
.live-section { padding: 80px 0; }
.live-monitor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.live-card { background: #0d1117; border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; }
.live-card.full-width { grid-column: 1 / -1; }
.live-card-header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.2); font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.live-dot.green { background: #00ff88; box-shadow: 0 0 8px rgba(0,255,136,0.5); }
.live-dot.cyan { background: #00d4ff; box-shadow: 0 0 8px rgba(0,212,255,0.5); }
.live-dot.red { background: #ff3b5c; box-shadow: 0 0 8px rgba(255,59,92,0.5); }
.live-dot.pulse { animation: dotPulse 1.2s infinite; }
.live-badge { margin-left: auto; background: rgba(255,59,92,0.15); color: #ff3b5c; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: 1px; animation: dotPulse 1.5s infinite; }
.live-card-body { padding: 14px 18px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; min-height: 180px; max-height: 240px; overflow-y: hidden; line-height: 1.9; color: rgba(255,255,255,0.75); }
.live-line { padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.3s; }
.live-time { color: rgba(255,255,255,0.2); margin-right: 6px; }
.live-ok { color: #00ff88; margin-right: 4px; }
.live-block { color: #ff3b5c; margin-right: 4px; }
.live-alert { margin-right: 4px; }

@media (max-width: 768px) {
  .live-monitor-grid { grid-template-columns: 1fr; }
  .live-card-body { min-height: 140px; max-height: 200px; font-size: 0.65rem; }
}
