/* ============================================================
   DashVision Group – Cybersecurity Website Styles
   Theme: Quantum-Safe · Cyber Blue · Professional Dark
   ============================================================ */

/* ── ROOT VARIABLES ─────────────────────────────────────── */
:root {
    --primary:      #27A9E1;
    --primary-dark: #1a8abf;
    --cyan:         #00d4ff;
    --cyan-dim:     rgba(0, 212, 255, 0.15);
    --navy:         #0a1628;
    --navy-light:   #0f1f3d;
    --navy-card:    #111c35;
    --navy-border:  rgba(39, 169, 225, 0.2);
    --white:        #ffffff;
    --light:        #f0f4f8;
    --text-muted:   #6c757d;
    --text-blue:    #8eabc5;
    --shadow-sm:    0 4px 12px rgba(0,0,0,.15);
    --shadow-md:    0 8px 30px rgba(0,0,0,.25);
    --shadow-glow:  0 0 30px rgba(39, 169, 225, 0.25);
    --transition:   all 0.35s cubic-bezier(.4,0,.2,1);
    --radius:       14px;
    --radius-sm:    8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: #0d1b2e;
    color: #e0e6ed;
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* ── SECTION SPACING ─────────────────────────────────────── */
.py-section { padding: 90px 0; }

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────── */
.section-label {
    display: inline-block;
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--cyan);
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #1a2d3e;
    margin-bottom: 0.75rem;
}

.bg-dark-navy .section-title,
.bg-dark-navy .section-title,
.hero-section .section-title { color: #ffffff; }

.title-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    margin: 0 auto 1.5rem;
    border-radius: 3px;
}

.text-muted-blue { color: var(--text-blue) !important; }
.text-cyan       { color: var(--cyan) !important; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── BACKGROUNDS ─────────────────────────────────────────── */
.bg-dark-navy { background: var(--navy) !important; }

/* Light sections remain light */
#services,
#gallery,
.stats-section,
.threat-section,
#contact { background: #f4f8fc; color: #1a2d3e; }
#services .section-title,
#gallery .section-title,
.stats-section .section-title,
.threat-section .section-title,
#contact .section-title { color: #1a2d3e; }
#services .text-muted,
#gallery .text-muted,
.stats-section .text-muted,
.threat-section .text-muted,
#contact .text-muted { color: #6c757d !important; }

/* ── LOGO ────────────────────────────────────────────────── */
.logo-img {
    height: 46px !important;
    width: auto !important;
    border-radius: 4px;
    transition: var(--transition);
    mix-blend-mode: screen;
}
.logo-img:hover { transform: scale(1.04); }
/* Footer logo */
.footer-top .logo-img {
    height: 50px !important;
}

/* Text fallback logo (shown when image fails to load) */
.logo-text-fallback {
    display: none;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.05rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}
.logo-vision { color: var(--cyan); }
.logo-name sup { font-size: 0.55rem; vertical-align: super; color: var(--cyan); }
.logo-tag {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-blue);
    text-transform: uppercase;
}
.logo-lg .logo-name,
.logo-lg { font-size: 1.3rem; }

/* ── NAVBAR ──────────────────────────────────────────────── */
#mainNav {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--navy-border);
    padding: 0.85rem 0;
    transition: var(--transition);
}

#mainNav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
    background: rgba(10, 22, 40, 0.99);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: .5px;
    margin: 0 0.15rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cyan) !important;
    background: rgba(0, 212, 255, 0.08);
}

.navbar-toggler {
    border-color: rgba(255,255,255,.3);
    padding: 4px 8px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO SECTION ────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at 70% 50%, #0d2a4a 0%, #060d1a 55%, #010510 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(39,169,225,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39,169,225,.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 6s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: .6; }
    50%       { opacity: 1; }
}

/* Floating particle dots */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}
.hero-particles::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(39,169,225,.12), transparent 70%);
    top: -200px; right: -100px;
}
.hero-particles::after {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,.08), transparent 70%);
    bottom: -150px; left: -100px;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 15px) scale(.95); }
}

.hero-content { position: relative; z-index: 2; }

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: badgePulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,.7); }
    50%       { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

.hero-tagline {
    font-size: 1rem;
    color: rgba(255,255,255,.55);
}

/* Hero stat chips */
.hero-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.85);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.hero-stat-chip:hover {
    background: rgba(39,169,225,.2);
    border-color: var(--primary);
    color: white;
}

/* Hero buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
    border: none;
    padding: 0.85rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(39, 169, 225, 0.4);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(39, 169, 225, 0.55);
    color: white;
}
.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,.4);
    padding: 0.85rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ── ABOUT SECTION ───────────────────────────────────────── */
.about-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-glow-ring {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 2px solid var(--navy-border);
    box-shadow: 0 0 60px rgba(39,169,225,.15), inset 0 0 60px rgba(39,169,225,.05);
    animation: glow-rotate 12s linear infinite;
}
@keyframes glow-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.about-shield-icon {
    position: absolute;
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--navy-card), var(--navy-light));
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--cyan);
    box-shadow: 0 0 40px rgba(39,169,225,.3);
    z-index: 2;
}

.about-stats-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    pointer-events: none;
}

.about-stat-box {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    text-align: center;
    transition: var(--transition);
    pointer-events: all;
}
.about-stat-box:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.stat-number { font-family: 'Orbitron', monospace; font-size: 1.15rem; font-weight: 700; color: var(--cyan); line-height: 1.2; }
.stat-label  { font-size: 0.72rem; color: var(--text-blue); margin-top: 3px; line-height: 1.3; }

/* Mission cards */
.mission-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}
.mission-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}
.mission-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}
.mission-card h5 { color: #e0e6ed; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }

/* Reason cards */
.reason-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    height: 100%;
}
.reason-card:hover {
    border-color: var(--cyan);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}
.reason-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
    transition: var(--transition);
}
.reason-card:hover .reason-icon { transform: rotateY(360deg); }
.reason-card h5 { color: #e0e6ed; font-weight: 600; margin-bottom: 0.5rem; }
.reason-card p  { color: var(--text-blue); font-size: 0.88rem; margin: 0; }

/* ── SERVICES SECTION ────────────────────────────────────── */
.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(39,169,225,.04), transparent);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(39,169,225,.15); border-top-color: var(--cyan); }
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: white;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.service-card h4 { color: #1a2d3e; font-weight: 600; margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-card p  { color: #6c757d; font-size: 0.88rem; margin-bottom: 1rem; }

.service-tag {
    display: inline-block;
    background: rgba(39,169,225,.1);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: .5px;
}

/* ── PRODUCTS SECTION ────────────────────────────────────── */
.product-hero-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.product-hero-card::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(39,169,225,.08), transparent 70%);
    pointer-events: none;
}

/* Device schematic */
.product-device-wrapper {
    position: relative;
    padding: 20px;
    text-align: center;
}
.product-device-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(39,169,225,.12) 0%, transparent 70%);
}
.product-model-badge {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0,212,255,.5);
}
.product-badges-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 1.5rem; }
.product-badge {
    background: rgba(0,212,255,.12);
    border: 1px solid rgba(0,212,255,.3);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

/* Real product image */
.product-device-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}
.product-device-image img {
    max-height: 260px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(39,169,225,.45));
    transition: var(--transition);
}
.product-device-image img:hover {
    filter: drop-shadow(0 0 40px rgba(0,212,255,.65));
    transform: scale(1.03);
}

/* CSS device schematic visual (kept for reference, now unused) */
.product-device-schematic {
    background: linear-gradient(180deg, #1c2a40 0%, #0f1a2d 100%);
    border: 2px solid var(--navy-border);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.product-device-schematic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(39,169,225,.05) 59px, rgba(39,169,225,.05) 60px);
}
.device-front {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.device-led { display: flex; flex-direction: column; gap: 5px; }
.led {
    width: 8px; height: 8px;
    border-radius: 50%;
}
.led.green  { background: #00ff88; box-shadow: 0 0 6px #00ff88; animation: ledBlink 2s ease-in-out infinite; }
.led.amber  { background: #ffa500; box-shadow: 0 0 6px #ffa500; animation: ledBlink 3s ease-in-out infinite; }
@keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

.device-ports { display: flex; gap: 14px; align-items: center; }
.port-group { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.port-label { font-size: 0.6rem; color: var(--text-blue); text-transform: uppercase; letter-spacing: .5px; }
.port { border-radius: 3px; }
.port.rj45 {
    width: 20px; height: 14px;
    background: #1e3a5f;
    border: 1px solid rgba(39,169,225,.4);
}
.port.sfp {
    width: 28px; height: 12px;
    background: linear-gradient(135deg, #00d4ff22, #00d4ff44);
    border: 1px solid var(--cyan);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(0,212,255,.3);
}
.device-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.device-label span { font-size: 0.75rem; color: white; font-weight: 600; letter-spacing: 1px; }
.device-sublabel   { font-size: 0.6rem; color: var(--text-blue); }
.device-expansion  {
    width: 60px; height: 40px;
    background: linear-gradient(135deg, #1a2a3a, #0f1d2e);
    border: 1px dashed rgba(39,169,225,.2);
    border-radius: 4px;
}

/* Spec pills */
.spec-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: var(--transition);
}
.spec-pill:hover { border-color: var(--primary); background: rgba(39,169,225,.06); }
.spec-pill i { font-size: 1.4rem; flex-shrink: 0; }
.spec-value { display: block; font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 700; color: white; }
.spec-key   { display: block; font-size: 0.72rem; color: var(--text-blue); margin-top: 1px; }

/* CTA buttons */
.btn-cyan {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(39,169,225,.4); color: white; }
.btn-outline-cyan {
    background: transparent;
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-outline-cyan:hover { background: var(--cyan); color: var(--navy); transform: translateY(-2px); }

/* Feature cards */
.feature-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-5px); }

.feature-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
}
.feature-icon-wrap.sovereign { background: linear-gradient(135deg, #1565c0, #27A9E1); }
.feature-icon-wrap.quantum   { background: linear-gradient(135deg, #6a0572, #00d4ff); }
.feature-icon-wrap.certified { background: linear-gradient(135deg, #b71c1c, #e53935); }
.feature-icon-wrap.speed     { background: linear-gradient(135deg, #e65100, #ff9800); }

.feature-card h5 { color: #e0e6ed; font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
    color: var(--text-blue);
    font-size: 0.83rem;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}
.feature-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

/* Algorithm matrix */
.algo-matrix {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 20px;
    padding: 2rem 2.5rem;
}
.algo-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.algo-card:hover { border-color: var(--cyan); background: rgba(0,212,255,.05); }
.algo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}
.algo-card h6 { color: var(--cyan); font-weight: 600; margin-bottom: 0.5rem; font-size: 0.85rem; }
.algo-card p  { color: var(--text-blue); font-size: 0.8rem; margin: 0; }

/* ── PERFORMANCE STATS ───────────────────────────────────── */
.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--primary);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(39,169,225,.2);
    border-bottom-color: var(--cyan);
}
.stat-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 1.25rem;
}
.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.stat-unit { font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-top: 0.25rem; }
.stat-desc { color: #6c757d; font-size: 0.82rem; margin-top: 0.75rem; }

/* ── CERTIFICATIONS ──────────────────────────────────────── */
.pillar-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}
.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.pillar-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-5px); }
.pillar-card:hover::after { transform: scaleX(1); }

.pillar-number {
    position: absolute;
    top: 16px; left: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(39,169,225,.12);
    line-height: 1;
    user-select: none;
}
.pillar-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.25rem;
}
.pillar-card h4 { color: #e0e6ed; font-weight: 700; margin-bottom: 0.75rem; }
.pillar-card p  { color: var(--text-blue); font-size: 0.88rem; margin-bottom: 1rem; }
.pillar-cert-tag {
    display: inline-block;
    background: var(--cyan-dim);
    border: 1px solid rgba(0,212,255,.3);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: .5px;
}

/* Cert cards */
.cert-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.cert-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-5px); }
.cert-shield {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}
.cert-card h5 { color: #e0e6ed; font-weight: 600; margin-bottom: 0.75rem; font-size: 0.95rem; }
.cert-card p  { color: var(--text-blue); font-size: 0.82rem; margin: 0; }

/* Competitive matrix table */
.competitive-matrix {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 20px;
    padding: 2.5rem;
}
.comp-table {
    --bs-table-bg: transparent;
    color: var(--text-blue);
    border-color: var(--navy-border);
    margin: 0;
}
.comp-table thead th {
    background: rgba(39,169,225,.1);
    color: white;
    font-weight: 600;
    border-bottom: 2px solid var(--navy-border);
    padding: 14px 18px;
    white-space: nowrap;
}
.comp-table thead th.highlight-col { color: var(--cyan); background: rgba(0,212,255,.12); }
.comp-table tbody td {
    border-color: var(--navy-border);
    padding: 12px 18px;
    vertical-align: middle;
}
.comp-table tbody tr:hover td { background: rgba(39,169,225,.04); }
.comp-table .highlight-col.winner { color: white; font-weight: 600; background: rgba(0,212,255,.06); }

/* ── THREAT SECTION ──────────────────────────────────────── */
.threat-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border-top: 3px solid #e53935;
    overflow: hidden;
}
.threat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(229,57,53,.1); }
.threat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(229,57,53,.08);
    position: absolute;
    top: 10px; right: 20px;
    line-height: 1;
    user-select: none;
}
.threat-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #b71c1c, #e53935);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.25rem;
}
.threat-card h5 { color: #1a2d3e; font-weight: 600; margin-bottom: 0.75rem; }
.threat-card p  { color: #6c757d; font-size: 0.88rem; margin: 0; }

.threat-banner {
    background: linear-gradient(135deg, #b71c1c22, #e5393522);
    border: 1px solid rgba(229,57,53,.3);
    border-radius: var(--radius);
    color: #1a2d3e;
    padding: 1.25rem 2rem;
    font-size: 0.95rem;
    text-align: center;
}
.threat-banner strong { color: #c62828; }
.threat-banner i { color: #e53935; }

/* ── CUSTOMERS SECTION ───────────────────────────────────── */
.customers-banner {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--navy-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}
.customers-banner:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }

/* ── GALLERY SECTION ─────────────────────────────────────── */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
    background: white;
    color: #6c757d;
    border: 1.5px solid #dee2e6;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(39,169,225,.3);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(39,169,225,.8), rgba(0,212,255,.7));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item-wrap { transition: opacity .4s, transform .4s; }
.gallery-item-wrap.hidden { opacity: 0; transform: scale(0.9); pointer-events: none; display: none; }

/* ── CAREERS SECTION ─────────────────────────────────────── */
.career-card {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}
.career-card:hover {
    border-left-color: var(--cyan);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}
.career-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.25rem;
}
.career-card h5 { color: #e0e6ed; font-weight: 600; margin-bottom: 0.25rem; }
.career-requirements { list-style: none; padding: 0; margin: 0; }
.career-requirements li {
    color: var(--text-blue);
    font-size: 0.83rem;
    padding: 4px 0 4px 18px;
    position: relative;
}
.career-requirements li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-size: 0.7rem;
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f4f8;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}
.contact-item h6 { color: #1a2d3e; font-weight: 600; margin-bottom: 0.2rem; }
.contact-item p  { color: #6c757d; font-size: 0.9rem; }
.contact-item a  { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--cyan); }

.form-label { font-weight: 500; color: #1a2d3e; font-size: 0.88rem; }
.form-control {
    border: 1.5px solid #dee2e6;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
    color: #1a2d3e;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(39,169,225,.15);
    outline: none;
}
.form-control::placeholder { color: #adb5bd; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(39,169,225,.4); color: white; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.btn-secondary {
    background: #6c757d;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    color: white;
}
.btn-secondary:hover { background: #5a6268; transform: translateY(-2px); color: white; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: #060c18; }
.footer-top { padding: 60px 0; border-bottom: 1px solid var(--navy-border); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { color: var(--text-blue); font-size: 0.85rem; margin: 0; }

.footer-heading { color: white; font-weight: 600; margin-bottom: 1.25rem; font-size: 0.9rem; letter-spacing: .5px; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-blue); text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }

.footer-social { display: flex; gap: 10px; }
.social-icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--navy-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-blue);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-3px); }

.footer-cert-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cert-badge {
    background: rgba(39,169,225,.1);
    border: 1px solid var(--navy-border);
    color: var(--text-blue);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

/* ── SCROLL TO TOP ───────────────────────────────────────── */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(39,169,225,.4);
}
.scroll-to-top.show { opacity: 1; transform: translateY(0); }
.scroll-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(39,169,225,.5); }

/* ── TOAST ───────────────────────────────────────────────── */
.toast-msg {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    animation: toastIn .3s ease;
    min-width: 280px;
}
.toast-msg.success { border-left: 3px solid #00d084; }
.toast-msg.error   { border-left: 3px solid #e53935; }
@keyframes toastIn {
    from { transform: translateX(20px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ── PAGE LOAD ───────────────────────────────────────────── */
body { opacity: 0; transition: opacity 0.5s ease; }
body.loaded { opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
    .py-section { padding: 70px 0; }
    .hero-title  { font-size: 2.8rem; }
    .about-image-wrapper { min-height: 300px; }
    .about-glow-ring { width: 260px; height: 260px; }
    .about-shield-icon { width: 90px; height: 90px; font-size: 2.5rem; }
    .product-hero-card { padding: 1.5rem; }
    .product-device-schematic { display: none; }
}

@media (max-width: 768px) {
    .py-section { padding: 55px 0; }
    .hero-title  { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .stat-number { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .footer-top  { padding: 40px 0; }
    .scroll-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 0.9rem; }
    .about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-outline { margin-right: 0 !important; width: 240px; }
}

@media (max-width: 480px) {
    .hero-stat-chip { font-size: 0.72rem; padding: 6px 12px; }
    .competitive-matrix { padding: 1.5rem 1rem; }
    .comp-table thead th,
    .comp-table tbody td { padding: 10px 10px; font-size: 0.82rem; }
}
