:root {
  --bg-dark: #0a0a0f;
  --bg-alt: #12121a;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-cyan: #00f5ff;
  --accent-purple: #7c3aed;
  --accent-pink: #ec4899;
  --card-bg: rgba(25, 25, 35, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(10, 10, 15, 0.8);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mono { font-family: 'JetBrains Mono', monospace; }

/* Canvas Background */
#particles-canvas {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Glass Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}
.btn-ghost { background: transparent; border: 1px solid var(--card-border); color: var(--text-main); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 800; }
.logo-accent { color: var(--accent-cyan); }
.nav-links { display: flex; gap: 2rem; }
.nav-link { font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--accent-cyan); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: #fff; transition: 0.3s; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(0, 245, 255, 0.1);
  color: var(--accent-cyan);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.125rem; }

/* Hero */
.hero, .page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  text-align: center;
}
.page-hero { min-height: 60vh; }
.hero-content, .page-hero-content { z-index: 2; position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.badge-dot { width: 8px; height: 8px; background: var(--accent-cyan); border-radius: 50%; box-shadow: 0 0 10px var(--accent-cyan); }
.hero-title, .page-hero-title { font-size: 4rem; margin-bottom: 1.5rem; }
.hero-subtitle, .page-hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; margin-bottom: 4rem; }

/* Orbs */
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); z-index: 1; opacity: 0.5;
}
.hero-orb-1 { top: 20%; left: 10%; width: 300px; height: 300px; background: var(--accent-cyan); }
.hero-orb-2 { bottom: 10%; right: 10%; width: 400px; height: 400px; background: var(--accent-purple); }
.hero-orb-3 { top: 40%; left: 50%; width: 250px; height: 250px; background: var(--accent-pink); }

/* Stats */
.hero-stats { display: flex; justify-content: center; gap: 2rem; align-items: center; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: #fff; }
.stat-suffix { font-size: 1.5rem; color: var(--accent-cyan); }
.stat-label { display: block; font-size: 0.875rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--card-border); }

/* Ticker */
.threat-ticker {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: rgba(0,0,0,0.8); border-top: 1px solid var(--card-border);
  display: flex; align-items: center; height: 50px;
}
.ticker-label {
  padding: 0 2rem; font-weight: 700; font-size: 0.875rem; color: #ef4444;
  display: flex; align-items: center; gap: 0.5rem; background: #000; height: 100%; z-index: 2;
}
.ticker-dot { width: 8px; height: 8px; background: #ef4444; border-radius: 50%; animation: blink 1s infinite; }
.ticker-track { flex: 1; overflow: hidden; position: relative; }
.ticker-content { display: flex; white-space: nowrap; animation: scroll 20s linear infinite; }
.ticker-item { padding: 0 2rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 0.875rem; }
.ticker-item span { color: var(--text-main); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-icon-wrap { margin-bottom: 1.5rem; color: var(--accent-cyan); }
.service-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.service-card p { color: var(--text-muted); margin-bottom: 1.5rem; }
.service-tags { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.service-tags span { background: rgba(255,255,255,0.05); padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; }
.service-link { color: var(--accent-cyan); font-weight: 600; }
.service-card.featured { border-color: var(--accent-cyan); position: relative; }
.featured-badge { position: absolute; top: -12px; right: 20px; background: var(--accent-cyan); color: #000; padding: 0.25rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }

/* Details Grid */
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-num { font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.05); line-height: 1; margin-bottom: -1rem; }
.detail-list { margin: 2rem 0; }
.detail-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.check-icon { color: var(--accent-cyan); font-weight: bold; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.875rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; background: rgba(0,0,0,0.2); border: 1px solid var(--card-border);
  border-radius: 8px; color: #fff; font-family: inherit; transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-cyan); background: rgba(0,245,255,0.05);
}
.btn-full { width: 100%; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.emergency-card { border-color: #ef4444; background: rgba(239, 68, 68, 0.1); }
.emergency-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.emergency-icon { font-size: 2rem; animation: blink 1s infinite; }
.emergency-number { display: block; font-size: 2rem; font-weight: 700; color: #ef4444; margin-bottom: 0.5rem; }

/* Industry Tabs */
.industry-tabs { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.industry-tab {
  background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-main);
  padding: 0.75rem 1.5rem; border-radius: 8px; cursor: pointer; transition: 0.3s; font-weight: 600;
}
.industry-tab.active { background: var(--accent-cyan); color: #000; border-color: var(--accent-cyan); }
.industry-content.hidden { display: none; }
.industry-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

/* Footer */
.footer { background: #050508; padding: 4rem 0 2rem; border-top: 1px solid var(--card-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1.125rem; }
.footer-col ul li { margin-bottom: 0.75rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--accent-cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: #fff; }

/* Responsive */
@media (max-width: 992px) {
  .hero-title, .page-hero-title { font-size: 3rem; }
  .service-detail-grid, .contact-grid, .industry-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 100%; height: 1px; }
  .footer-grid { grid-template-columns: 1fr; }
}
