/* -------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES - TWINPROTECT STYLE SHEET
------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-deep: #050608;
    --color-bg-card: #0b0e14;
    --color-bg-card-hover: #121721;
    
    /* Cyber Accents */
    --color-accent-cyan: #00f2fe;
    --color-accent-cyan-rgb: 0, 242, 254;
    
    --color-accent-orange: #ff8c00;
    --color-accent-orange-rgb: 255, 140, 0;
    
    --color-accent-green: #00e676;
    --color-accent-green-rgb: 0, 230, 118;
    
    --color-text-white: #ffffff;
    --color-text-muted: #8fa0b5;
    --color-text-dark: #4f5f73;
    
    /* Gradients */
    --gradient-cyber: linear-gradient(135deg, var(--color-accent-cyan) 0%, #4facfe 100%);
    --gradient-alert: linear-gradient(135deg, var(--color-accent-orange) 0%, #ff3d00 100%);
    --gradient-glass: linear-gradient(135deg, rgba(11, 14, 20, 0.7) 0%, rgba(5, 6, 8, 0.8) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Borders */
    --border-glass: 1px solid rgba(0, 242, 254, 0.1);
    --border-glass-hover: 1px solid rgba(0, 242, 254, 0.3);
    --border-glass-alert: 1px solid rgba(255, 140, 0, 0.3);
    --radius-lg: 16px;
    --radius-md: 8px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
   GLOBAL & RESET STYLES
------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------------------
   FUTURISTIC CYBERNETIC BACKGROUNDS & ORBS
------------------------------------------------------------- */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    background-color: var(--color-bg-deep);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

#orb-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-cyan) 0%, transparent 80%);
    animation: floatOrb 20s infinite alternate;
}

#orb-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8a2be2 0%, transparent 80%);
    animation: floatOrb 25s infinite alternate-reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.1); }
}

/* -------------------------------------------------------------
   REUSABLE PREMIUM STYLES & LAYOUT CONTAINERS
------------------------------------------------------------- */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

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

/* Glassmorphism Panel */
.glass-panel {
    background: var(--gradient-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border: var(--border-glass-hover);
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.08);
}

/* Cybernetic badges */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tech-badge.success {
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.2);
    color: var(--color-accent-green);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-cyber);
    color: var(--color-bg-deep);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-primary-glow {
    position: relative;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-accent-cyan);
    border: 1px solid var(--color-accent-cyan);
    background: transparent;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.05);
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.w-full {
    width: 100%;
}

/* -------------------------------------------------------------
   MAIN HEADER & GLASSMOBILE NAVIGATION
------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(5, 6, 8, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--color-text-white);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--color-accent-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
}

.logo-accent {
    color: var(--color-accent-cyan);
    font-weight: 300;
}

/* Nav Menu */
.main-nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--color-text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: var(--transition-smooth);
}

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

/* Live connection pulse */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.system-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-green);
    letter-spacing: 0.05em;
}

.system-status-indicator.alarm-triggered {
    background: rgba(255, 140, 0, 0.08);
    border-color: rgba(255, 140, 0, 0.25);
    color: var(--color-accent-orange);
}

.status-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent-green);
    animation: statusPulseAnimation 1.5s infinite;
}

.system-status-indicator.alarm-triggered .status-pulse {
    background-color: var(--color-accent-orange);
    box-shadow: 0 0 10px var(--color-accent-orange);
}

@keyframes statusPulseAnimation {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    z-index: 110;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    transition: var(--transition-smooth);
}

/* -------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------- */
.hero-section {
    padding-top: 160px;
    position: relative;
    overflow: hidden;
}

.hero-section .section-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Cybernetic Shield Frame */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-shield-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.shield-svg {
    width: 100%;
    height: 100%;
    color: var(--color-accent-cyan);
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.4));
}

.shield-path {
    stroke: var(--color-accent-cyan);
    stroke-width: 2px;
    fill: rgba(0, 242, 254, 0.05);
    stroke-dasharray: 400;
    stroke-dashoffset: 0;
    animation: drawShield 8s linear infinite;
}

@keyframes drawShield {
    0% { stroke-dashoffset: 800; }
    100% { stroke-dashoffset: 0; }
}

.shield-halo {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(0, 242, 254, 0.15);
    border-radius: 50%;
    animation: spinRotate 20s linear infinite;
}

.shield-scanner {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent-cyan), transparent);
    box-shadow: 0 0 10px var(--color-accent-cyan);
    top: 0;
    animation: scanVertical 4s ease-in-out infinite alternate;
}

@keyframes scanVertical {
    0% { top: 10%; opacity: 0.1; }
    50% { opacity: 1; }
    100% { top: 90%; opacity: 0.1; }
}

.shield-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-accent-cyan);
    animation: pulseGlow 3s infinite alternate;
}

@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0% { opacity: 0.6; filter: drop-shadow(0 0 2px var(--color-accent-cyan)); }
    100% { opacity: 1; filter: drop-shadow(0 0 12px var(--color-accent-cyan)); }
}

.data-stream {
    position: absolute;
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(0, 242, 254, 0.4);
    white-space: nowrap;
}

#stream-1 {
    top: 10%;
    left: -20%;
}

#stream-2 {
    bottom: 10%;
    right: -20%;
}

.interactive-hologram-card {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border: var(--border-glass-hover);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: hoverFloating 6s ease-in-out infinite;
}

@keyframes hoverFloating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.card-metric {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-accent-cyan);
}

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

/* -------------------------------------------------------------
   CONCEPT SECTION & PILLARS
------------------------------------------------------------- */
.concept-section {
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

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

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 0.3fr 1fr;
    align-items: center;
    gap: 20px;
}

.concept-card {
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.concept-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-cyan);
    margin-bottom: 28px;
    box-shadow: 0 0 15px rgba(0,242,254,0.1);
}

.concept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.concept-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.concept-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 4px;
    background: var(--gradient-cyber);
    border-radius: 0 4px 4px 0;
}

.concept-accent-line.secondary {
    background: linear-gradient(135deg, #8a2be2 0%, var(--color-accent-cyan) 100%);
    width: 45%;
}

/* Connecting Line */
.concept-middle-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.connection-line {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 242, 254, 0.5), rgba(138, 43, 226, 0.5));
    position: relative;
}

.pulse-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-cyan);
    border-radius: 50%;
    left: -3px;
    box-shadow: 0 0 10px var(--color-accent-cyan);
    animation: flowDot 4s infinite linear;
}

@keyframes flowDot {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.sync-badge {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-align: center;
}

/* -------------------------------------------------------------
   CORE TECHNOLOGIES SECTION
------------------------------------------------------------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

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

.tech-icon-container {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-cyan);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon-container {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.tech-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* -------------------------------------------------------------
   INTERACTIVE SECURE-OS CONSOLE / SIMULATOR
------------------------------------------------------------- */
.dashboard-wrapper {
    overflow: hidden;
}

.db-header {
    background: rgba(5, 6, 8, 0.9);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
}

.db-title-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.db-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.db-dot.red { background-color: #ff5f56; }
.db-dot.yellow { background-color: #ffbd2e; }
.db-dot.green { background-color: #27c93f; }

.db-title {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: bold;
    margin-left: 8px;
    letter-spacing: 0.05em;
}

.db-status-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
}

.db-time {
    color: var(--color-accent-cyan);
    font-weight: bold;
}

.db-pulse-net {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-cyan);
    border-radius: 50%;
    animation: statusPulseAnimation 1s infinite alternate;
}

.db-net-text {
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

/* Grid splits: Cam on Left, Controls on Right */
.db-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
}

/* Video viewport */
.db-viewport-area {
    padding: 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.viewport-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.viewport-container.alert-active {
    border: 2px solid var(--color-accent-orange);
    animation: borderAlertPulse 1s infinite alternate;
}

@keyframes borderAlertPulse {
    0% { border-color: rgba(255, 140, 0, 0.4); box-shadow: 0 0 5px rgba(255, 140, 0, 0.2); }
    100% { border-color: rgba(255, 140, 0, 1); box-shadow: 0 0 20px rgba(255, 140, 0, 0.5); }
}

.feed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    font-family: monospace;
    font-size: 0.8rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
}

.cam-indicator {
    background: rgba(0,0,0,0.6);
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.red-record-dot {
    width: 8px;
    height: 8px;
    background-color: #ff5f56;
    border-radius: 50%;
    animation: blinkRecord 1s infinite alternate;
}

@keyframes blinkRecord {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.cam-name {
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.cam-timestamp {
    color: rgba(255,255,255,0.7);
}

/* Video simulation layers */
.simulated-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 0.5s ease;
}

/* Grid aesthetic on camera */
.video-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.video-grid-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Horizontal Scanning Laser line */
.scan-laser-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent-cyan);
    box-shadow: 0 0 8px var(--color-accent-cyan);
    top: 0;
    animation: camLaserScan 6s infinite linear;
    z-index: 5;
    pointer-events: none;
}

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

/* Thermal Filter Style (Applied by Class) */
.simulated-video.thermal-mode {
    filter: saturate(2) hue-rotate(180deg) contrast(1.5) brightness(1.2);
}

.simulated-video.thermal-mode::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(255, 0, 128, 0.2), rgba(0, 0, 255, 0.2));
    mix-blend-mode: color;
    pointer-events: none;
}

/* AI Detection Overlay Boxes */
.ai-bounding-box {
    position: absolute;
    border: 2px solid var(--color-accent-green);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: none;
    z-index: 8;
    pointer-events: none;
}

.ai-bounding-box.active {
    display: block;
}

.ai-bounding-box.alert-state {
    border-color: var(--color-accent-orange);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.6);
}

.box-corners {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.box-corners::before, .box-corners::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: currentColor;
    border-style: solid;
}

.box-corners::before {
    top: -2px;
    left: -2px;
    border-width: 2px 0 0 2px;
}

.box-corners::after {
    bottom: -2px;
    right: -2px;
    border-width: 0 2px 2px 0;
}

.box-label {
    position: absolute;
    top: -22px;
    left: -2px;
    background-color: var(--color-accent-green);
    color: #000;
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
    text-transform: uppercase;
}

.ai-bounding-box.alert-state .box-label {
    background-color: var(--color-accent-orange);
}

/* Critical Siren Alarm Overlay */
.siren-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 61, 0, 0.25);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.siren-overlay.active {
    opacity: 1;
    animation: flashSirenBackground 1s infinite alternate;
}

@keyframes flashSirenBackground {
    0% { background: rgba(255, 61, 0, 0.15); }
    100% { background: rgba(255, 61, 0, 0.4); }
}

.siren-content {
    background: rgba(5, 6, 8, 0.95);
    border: 2px solid var(--color-accent-orange);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    text-align: center;
    max-width: 80%;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.siren-overlay.active .siren-content {
    transform: translateY(0);
}

.siren-alert-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    animation: rotateSirenIcon 1s infinite linear;
    display: inline-block;
}

@keyframes rotateSirenIcon {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.siren-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-accent-orange);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.siren-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Switch cameras buttons styling */
.viewport-controls {
    display: flex;
    gap: 12px;
}

.btn-db-cam {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--color-text-muted);
    font-family: monospace;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-db-cam:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.btn-db-cam.active {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Right sidebar block console */
.db-sidebar {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(5,6,8,0.4);
}

.sidebar-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.block-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-white);
    border-left: 2px solid var(--color-accent-cyan);
    padding-left: 10px;
}

.control-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--color-text-white);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-align: left;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-control:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
}

.btn-control.toggle-active.enabled {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--color-accent-cyan);
}

.btn-control.trigger-alarm-btn {
    background: rgba(255, 140, 0, 0.08);
    border-color: rgba(255, 140, 0, 0.2);
    color: var(--color-accent-orange);
    font-weight: bold;
    justify-content: center;
    margin-top: 10px;
}

.btn-control.trigger-alarm-btn:hover {
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.btn-control.reset-alarm-btn {
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.2);
    color: var(--color-accent-green);
    font-weight: bold;
    justify-content: center;
    margin-top: 10px;
}

.btn-control.reset-alarm-btn:hover {
    background: rgba(0, 230, 118, 0.2);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.hidden {
    display: none !important;
}

.flex-grow-1 {
    flex-grow: 1;
}

/* Console logs system */
.console-logs {
    background: #030406;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: monospace;
    font-size: 0.75rem;
    height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.log-entry {
    line-height: 1.4;
    color: var(--color-text-muted);
}

.log-time {
    color: rgba(255,255,255,0.3);
    margin-right: 6px;
}

.log-entry.system { color: #879ab3; }
.log-entry.ok { color: var(--color-accent-cyan); }
.log-entry.warning { color: var(--color-accent-orange); }
.log-entry.danger { color: #ff5f56; animation: textBlinkRed 0.8s infinite alternate; }

@keyframes textBlinkRed {
    0% { color: rgba(255, 95, 86, 0.5); }
    100% { color: rgba(255, 95, 86, 1); }
}

/* -------------------------------------------------------------
   DYNAMIC SECURE ESTIMATOR (CONFIGURATOR)
------------------------------------------------------------- */
.configurator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 850px;
    margin: 0 auto;
}

.configurator-card {
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.config-step {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.config-step.active {
    display: flex;
}

.step-num {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--color-accent-cyan);
    letter-spacing: 0.05em;
    font-weight: bold;
}

.step-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Configulator grid options cards */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.options-grid.horizontal {
    grid-template-columns: 1fr;
}

.config-option {
    cursor: pointer;
    position: relative;
}

.config-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    text-align: center;
    height: 100%;
}

.options-grid.horizontal .option-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 20px;
}

.option-icon {
    font-size: 2.2rem;
}

.option-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-white);
}

.option-detail {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Radio buttons active state hover */
.config-option:hover .option-content {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.15);
}

.config-option input[type="radio"]:checked + .option-content {
    background: rgba(0, 242, 254, 0.05);
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.config-option input[type="radio"]:checked + .option-content .option-name {
    color: var(--color-accent-cyan);
}

/* Range input group design styling */
.inputs-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0;
}

.range-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

.range-value {
    color: var(--color-accent-cyan);
    font-weight: bold;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-accent-cyan);
    transition: 0.15s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* step footer navigations */
.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

/* Results panel showing recommendations */
.results-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: zoomInSmooth 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomInSmooth {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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

.results-pack {
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.1);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent-cyan);
}

.results-pack h4 {
    font-size: 1.25rem;
    color: var(--color-accent-cyan);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.results-pack p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.results-specs-list h5 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 12px;
}

.results-specs-list ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 6px;
}

.results-specs-list li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 20px;
}

.results-specs-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-green);
    font-weight: bold;
}

.results-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

/* -------------------------------------------------------------
   CONTACT & SECURE INQUIRY FORM
------------------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-info-panel p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-feature-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #fff;
}

.info-feature-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Contact form panel glassmorphism */
.contact-form-panel {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    background: rgba(255,255,255,0.04);
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Submit premium button glow styled */
#btn-submit-form {
    padding: 16px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Success Card Message CSS */
.form-success-card {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: zoomInSmooth 0.5s ease-out;
}

.success-icon-badge {
    width: 64px;
    height: 64px;
    background: rgba(0, 230, 118, 0.08);
    border: 2px solid var(--color-accent-green);
    color: var(--color-accent-green);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.form-success-card h3 {
    font-size: 1.5rem;
}

.form-success-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.success-ticket-id {
    color: var(--color-accent-cyan);
}

.success-desc {
    font-size: 0.85rem !important;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 10px;
}

/* -------------------------------------------------------------
   FOOTER DESIGN
------------------------------------------------------------- */
.main-footer {
    background: rgba(3, 4, 6, 0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links h5, .footer-legal h5, .footer-status-panel h5 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-legal a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--color-accent-cyan);
    padding-left: 4px;
}

/* Network System Status Block in footer */
.footer-status-card {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

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

.designed-by {
    color: var(--color-accent-cyan);
    opacity: 0.6;
    font-family: var(--font-heading);
    font-weight: 500;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-section .section-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .concept-middle-connection {
        display: none;
    }
    
    .db-grid {
        grid-template-columns: 1fr;
    }
    
    .db-viewport-area {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(5, 6, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: var(--border-glass);
        z-index: 105;
        padding: 100px 40px;
        transition: var(--transition-smooth);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 30px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Toggle active animation icons */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .header-actions .btn-primary-glow {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .configurator-card {
        padding: 24px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
