/* ==========================================================================
   SMART VIEW CCTV - Futuristic & Cyberpunk Design System
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@500;600;700&display=swap');

/* --- Root CSS Variables --- */
:root {
  --bg-dark: #04070d;
  --bg-card: rgba(13, 20, 36, 0.7);
  --bg-card-hover: rgba(20, 32, 58, 0.85);
  --bg-glass: rgba(10, 16, 30, 0.65);
  --bg-glass-border: rgba(0, 243, 255, 0.18);
  
  --primary-cyan: #00f3ff;
  --primary-cyan-glow: rgba(0, 243, 255, 0.4);
  --secondary-emerald: #00ff9d;
  --secondary-emerald-glow: rgba(0, 255, 157, 0.35);
  --accent-violet: #8b5cf6;
  --accent-amber: #ffb703;
  --accent-danger: #ff0055;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Orbitron', sans-serif;
  --font-sub: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-neon-cyan: 0 0 25px rgba(0, 243, 255, 0.3);
  --shadow-neon-emerald: 0 0 25px rgba(0, 255, 157, 0.3);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* --- Light Theme Variables --- */
[data-theme="light"] {
  --bg-dark: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.78);
  --bg-glass-border: rgba(0, 120, 160, 0.25);
  
  --primary-cyan: #007799;
  --primary-cyan-glow: rgba(0, 119, 153, 0.25);
  --secondary-emerald: #008855;
  --secondary-emerald-glow: rgba(0, 136, 85, 0.25);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --shadow-neon-cyan: 0 4px 20px rgba(0, 119, 153, 0.15);
  --shadow-neon-emerald: 0 4px 20px rgba(0, 136, 85, 0.15);
  --shadow-glass: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* --- Light Mode Specific Component Overrides --- */
[data-theme="light"] body::before {
  opacity: 0.15;
}

[data-theme="light"] .site-header {
  background: rgba(240, 244, 248, 0.85);
  border-bottom: 1px solid rgba(0, 119, 153, 0.15);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(240, 244, 248, 0.96);
}

[data-theme="light"] .brand-name,
[data-theme="light"] .hero-title,
[data-theme="light"] .section-title,
[data-theme="light"] .service-title,
[data-theme="light"] .product-name,
[data-theme="light"] .summary-title,
[data-theme="light"] .footer-col-title {
  color: #0f172a;
}

[data-theme="light"] .text-gradient-cyan {
  background: linear-gradient(135deg, #006688, #0f172a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .glass-panel {
  background: var(--bg-card);
  border-color: rgba(0, 119, 153, 0.2);
}

[data-theme="light"] .config-opt-card {
  background: rgba(0, 119, 153, 0.05);
  border-color: rgba(0, 119, 153, 0.18);
}

[data-theme="light"] .config-opt-card .opt-title {
  color: #0f172a;
}

[data-theme="light"] .summary-card {
  background: #ffffff;
  border-color: var(--primary-cyan);
}

[data-theme="light"] .form-control {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(0, 119, 153, 0.3);
}

[data-theme="light"] .site-footer {
  background: #e2e8f0;
  border-top: 1px solid rgba(0, 119, 153, 0.2);
}

[data-theme="light"] .nav-menu {
  background: rgba(240, 244, 248, 0.98);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--bg-glass-border);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(0, 243, 255, 0.2);
  transform: scale(1.08) rotate(15deg);
  box-shadow: var(--shadow-neon-cyan);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
  color: #d97706;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Futuristic Scanline Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 243, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
  box-shadow: var(--shadow-neon-cyan);
}

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

/* --- Container & Utilities --- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--primary-cyan), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, var(--secondary-emerald), var(--primary-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: 12px;
  box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-cyan);
  animation: pulse-dot 1.5s infinite alternate;
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 1; }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 40px;
}

/* Glass Card */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 243, 255, 0.08),
    transparent
  );
  transition: 0.6s;
  pointer-events: none;
}

.glass-panel:hover::after {
  left: 100%;
}

.glass-panel:hover {
  border-color: rgba(0, 243, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 243, 255, 0.15);
}

/* Cyber Corner Accents */
.cyber-corner {
  position: relative;
}

.cyber-corner::before, .cyber-corner::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--primary-cyan);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}

.cyber-corner::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.cyber-corner::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan), #00a8ff);
  color: #030712;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(0, 243, 255, 0.7);
  transform: translateY(-2px);
  color: #000;
}

.btn-secondary {
  background: rgba(0, 243, 255, 0.06);
  color: var(--primary-cyan);
  border-color: var(--bg-glass-border);
}

.btn-secondary:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-neon-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--secondary-emerald), #00b894);
  color: #030712;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
}

.btn-emerald:hover {
  box-shadow: 0 0 35px rgba(0, 255, 157, 0.7);
  transform: translateY(-2px);
  color: #000;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* --- Header Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(4, 7, 13, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(0, 243, 255, 0.2);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-neon-cyan);
}

.logo-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: var(--primary-cyan);
  animation: logo-lens-rotate 10s linear infinite;
}

@keyframes logo-lens-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #fff;
}

.brand-tagline {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  box-shadow: 0 0 8px var(--primary-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-call-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--secondary-emerald);
  text-decoration: none;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.header-call-pill:hover {
  background: rgba(0, 255, 157, 0.2);
  box-shadow: var(--shadow-neon-emerald);
  transform: scale(1.03);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bg-glass-border);
  color: var(--primary-cyan);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 243, 255, 0.07);
  border: 1px solid var(--bg-glass-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pulse-beacon {
  width: 10px;
  height: 10px;
  background: var(--secondary-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary-emerald);
  animation: beacon-blink 1.2s infinite;
}

@keyframes beacon-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #fff;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 90%;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-cyan);
}

/* --- Holographic CCTV Simulator Box --- */
.surveillance-sim-box {
  background: #02050b;
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neon-cyan), inset 0 0 20px rgba(0, 243, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.sim-header {
  background: rgba(0, 243, 255, 0.1);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.sim-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-cyan);
}

.sim-controls {
  display: flex;
  gap: 8px;
}

.sim-mode-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.sim-mode-btn.active, .sim-mode-btn:hover {
  background: var(--primary-cyan);
  color: #000;
  font-weight: bold;
}

.sim-viewscreen {
  position: relative;
  height: 320px;
  background: #050b14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Camera Stream Visual Canvas/Overlay */
.cam-grid-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: #000;
}

.cam-feed {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.15);
  transition: filter 0.3s ease;
}

.cam-feed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

/* Simulated feeds styles */
.cam-1 { background-image: radial-gradient(circle at 50% 50%, #0d233a, #030914); }
.cam-2 { background-image: radial-gradient(circle at 50% 50%, #172a1e, #031409); }
.cam-3 { background-image: radial-gradient(circle at 50% 50%, #2b1d38, #0b0314); }
.cam-4 { background-image: radial-gradient(circle at 50% 50%, #302619, #140d03); }

/* Modes: Night Vision & Thermal */
.surveillance-sim-box.night-vision .cam-feed {
  filter: sepia(1) hue-rotate(80deg) saturate(4) contrast(1.3) brightness(0.9);
}

.surveillance-sim-box.thermal .cam-feed {
  filter: invert(0.8) hue-rotate(180deg) saturate(5);
}

/* Motion Detection Box Animation */
.sim-target-box {
  position: absolute;
  border: 2px solid var(--secondary-emerald);
  box-shadow: 0 0 12px var(--secondary-emerald);
  width: 60px;
  height: 60px;
  top: 30%;
  left: 25%;
  animation: move-target 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.sim-target-box::before {
  content: 'TARGET [AI DETECT: HUMAN]';
  position: absolute;
  top: -18px;
  left: -2px;
  background: var(--secondary-emerald);
  color: #000;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 1px 4px;
  white-space: nowrap;
}

@keyframes move-target {
  0% { top: 25%; left: 20%; width: 50px; height: 50px; }
  50% { top: 55%; left: 60%; width: 70px; height: 70px; }
  100% { top: 35%; left: 75%; width: 55px; height: 55px; }
}

.feed-hud-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--primary-cyan);
  z-index: 2;
  border-left: 2px solid var(--primary-cyan);
}

.feed-rec-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--accent-danger);
  font-weight: bold;
  z-index: 2;
}

.rec-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-danger);
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.1; }
}

.sim-footer {
  background: #030712;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(0, 243, 255, 0.15);
}

/* --- Live Telemetry Banner / Stats --- */
.telemetry-banner {
  padding: 30px 0;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

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

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

.telemetry-val {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-cyan);
  text-shadow: var(--shadow-neon-cyan);
  margin-bottom: 4px;
}

.telemetry-label {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Services Grid Section --- */
.services-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.1);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-neon-cyan);
  transform: scale(1.08) rotate(3deg);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  color: var(--primary-cyan);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.service-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-emerald);
  flex-shrink: 0;
}

/* --- Interactive Package Configurator --- */
.configurator-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.04), transparent 70%);
}

.configurator-panel {
  padding: 40px;
  border-color: rgba(0, 243, 255, 0.25);
}

.config-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.config-step {
  margin-bottom: 28px;
}

.config-step-title {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 24px;
  height: 24px;
  background: var(--primary-cyan);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.config-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.config-opt-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.config-opt-card:hover {
  border-color: rgba(0, 243, 255, 0.4);
  background: rgba(0, 243, 255, 0.05);
}

.config-opt-card.selected {
  border-color: var(--primary-cyan);
  background: rgba(0, 243, 255, 0.15);
  box-shadow: var(--shadow-neon-cyan);
}

.config-opt-card .opt-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: block;
}

.config-opt-card .opt-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.summary-card {
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid var(--primary-cyan);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neon-cyan);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.summary-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.summary-list li span.val {
  color: var(--secondary-emerald);
  font-family: var(--font-sub);
  font-weight: 700;
}

.est-price-box {
  margin-bottom: 24px;
  text-align: center;
  background: rgba(0, 255, 157, 0.06);
  border: 1px solid rgba(0, 255, 157, 0.2);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.est-price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.est-price-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary-emerald);
}

/* --- Products Showcase Section --- */
.products-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  box-shadow: var(--shadow-neon-cyan);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
}

.product-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.product-thumb-wrap {
  width: 100%;
  height: 200px;
  background: #040914;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.1);
}

.product-thumb-wrap svg {
  width: 80px;
  height: 80px;
  color: var(--primary-cyan);
  transition: transform var(--transition-normal);
}

.product-card:hover .product-thumb-wrap svg {
  transform: scale(1.15) rotate(-5deg);
}

.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary-cyan);
  border: 1px solid var(--primary-cyan);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}

.product-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Contact & Emergency Section --- */
.contact-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.contact-method-card:hover {
  background: rgba(0, 243, 255, 0.08);
  border-color: var(--primary-cyan);
  transform: translateX(6px);
}

.method-icon {
  width: 46px;
  height: 46px;
  background: rgba(0, 243, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.method-label {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.method-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.contact-form-panel {
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(4, 9, 20, 0.8);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
  background: rgba(4, 9, 20, 0.95);
}

/* --- Floating Action Bar for Mobile & Desktop --- */
.floating-actions-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
  position: relative;
}

.float-insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 0 20px rgba(220, 39, 67, 0.5);
}

.float-insta:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(220, 39, 67, 0.85);
}

.float-whatsapp {
  background: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
}

.float-call {
  background: var(--primary-cyan);
  color: #000;
  box-shadow: var(--shadow-neon-cyan);
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

/* --- Footer --- */
.site-footer {
  background: #020409;
  border-top: 1px solid rgba(0, 243, 255, 0.15);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.developer-credit {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.developer-credit .dev-brand {
  color: var(--primary-cyan);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .config-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 0;
  }

  .container {
    width: 92%;
    padding: 0 4px;
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .logo-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 1px;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: rgba(4, 7, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--primary-cyan);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-sizing: border-box;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-call-pill {
    display: none;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .surveillance-sim-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
  }

  .services-section,
  .configurator-section,
  .products-section,
  .contact-section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 24px 18px;
  }

  .configurator-panel {
    padding: 24px 16px;
  }

  .config-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .config-opt-card {
    padding: 12px 8px;
  }

  .config-opt-card .opt-title {
    font-size: 0.88rem;
  }

  .config-opt-card .opt-desc {
    font-size: 0.7rem;
  }

  .summary-card {
    padding: 20px 16px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .product-card {
    padding: 18px 14px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 24px 16px;
  }

  .contact-method-card {
    padding: 12px 10px;
    gap: 12px;
  }

  .method-val {
    font-size: 0.95rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .telemetry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .telemetry-card {
    padding: 16px 8px;
  }

  .telemetry-val {
    font-size: 1.8rem;
  }

  .telemetry-label {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .sim-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
  }

  .sim-title {
    font-size: 0.8rem;
  }

  .sim-controls {
    width: 100%;
    display: flex;
    gap: 4px;
  }

  .sim-mode-btn {
    flex: 1;
    text-align: center;
    padding: 6px 2px;
    font-size: 0.7rem;
  }

  .sim-viewscreen {
    height: auto;
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .feed-hud-tag {
    font-size: 0.58rem;
    padding: 1px 4px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .feed-rec-tag {
    font-size: 0.58rem;
  }

  .rec-dot {
    width: 5px;
    height: 5px;
  }

  .sim-target-box {
    width: 42px;
    height: 42px;
  }

  .sim-target-box::before {
    font-size: 0.5rem;
    padding: 1px 3px;
    top: -15px;
  }

  .sim-footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-group .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .configurator-panel {
    padding: 16px 10px;
  }

  .summary-card {
    padding: 16px 12px;
  }

  .est-price-val {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .floating-actions-bar {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .float-btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 360px) {
  .config-options-grid {
    grid-template-columns: 1fr;
  }

  .telemetry-grid {
    grid-template-columns: 1fr;
  }
}
