/* ---------------------------------------------------------------------
   SHREE JI TELECOM & SECURITY - DESIGN SYSTEM
   --------------------------------------------------------------------- */

:root {
    /* Color Palette */
    --bg-dark: #080c14;
    --bg-surface: rgba(255, 255, 255, 0.02);
    --bg-surface-hover: rgba(255, 255, 255, 0.04);
    
    --primary-cyan: #00e5ff;
    --primary-cyan-rgb: 0, 229, 255;
    --primary-blue: #2979ff;
    --primary-blue-rgb: 41, 121, 255;
    
    --text-main: #ffffff;
    --text-muted: #90a4ae;
    --text-light: #cfd8dc;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 229, 255, 0.15);
    --alert-red: #ff3d00;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Constants */
    --nav-height: 80px;
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

/* ---------------------------------------------------------------------
   BASE RESET & TYPOGRAPHY
   --------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

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

/* ---------------------------------------------------------------------
   UTILITIES
   --------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 50%, var(--primary-cyan) 100%);
    background-size: 200% auto;
    animation: gradientShimmer 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-cyan { color: var(--primary-cyan); }
.text-blue { color: var(--primary-blue); }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: #04060b;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(var(--primary-cyan-rgb), 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    background: rgba(var(--primary-cyan-rgb), 0.05);
    transform: translateY(-2px);
}

.w-full {
    width: 100%;
}

/* Button Shine Animation */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
}

.btn-shine:hover::after {
    left: 130%;
    transition: all 0.7s ease-in-out;
}

/* Glassmorphism Card Glow */
.card-glow {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-glow:hover {
    border-color: rgba(var(--primary-cyan-rgb), 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--primary-cyan-rgb), 0.08);
    transform: translateY(-5px);
}

/* Section Common Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.2);
    background: rgba(var(--primary-cyan-rgb), 0.04);
    color: var(--primary-cyan);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

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

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

/* ---------------------------------------------------------------------
   NAVIGATION BAR
   --------------------------------------------------------------------- */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--container-width);
    height: 72px;
    background: rgba(8, 12, 20, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.01);
}

.navbar.scrolled {
    top: 10px;
    height: 64px;
    background: rgba(8, 12, 20, 0.85);
    border-color: rgba(var(--primary-cyan-rgb), 0.2);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.65), 0 0 20px rgba(var(--primary-cyan-rgb), 0.05);
}

.nav-container {
    height: 100%;
    width: 100%;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(var(--primary-cyan-rgb), 0.03);
    border: 1px solid var(--primary-cyan);
    border-radius: 50%;
    color: var(--primary-cyan);
    font-size: 18px;
    box-shadow: 0 0 15px rgba(var(--primary-cyan-rgb), 0.2);
    transition: all 0.4s ease;
    animation: rotateLogoGlow 5s infinite ease-in-out;
}

@keyframes rotateLogoGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.2); transform: rotate(0deg); }
    50% { box-shadow: 0 0 22px rgba(var(--primary-cyan-rgb), 0.6); transform: rotate(180deg); }
}

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

.logo-main {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: 50px;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 8px 14px; /* Reduced padding to fit smaller desktop screens */
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-radius: 50px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent navigation links from wrapping */
}

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

.nav-link.active {
    color: #04060b;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-cta {
    display: none;
}

/* ---------------------------------------------------------------------
   HERO SECTION
   --------------------------------------------------------------------- */

.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background-color: #06090e;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(var(--primary-blue-rgb), 0.05) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(var(--primary-cyan-rgb), 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

.glow-blue {
    top: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    background-color: var(--primary-blue);
}

.glow-cyan {
    bottom: 10%;
    left: -5%;
    width: 350px;
    height: 350px;
    background-color: var(--primary-cyan);
}

.matrix-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.25);
    background: rgba(var(--primary-cyan-rgb), 0.05);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: blink 2s infinite;
}

.badge-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* Interactive CCTV visual panel */
.hero-visual {
    position: relative;
    z-index: 10;
}

.interactive-panel {
    background: rgba(8, 14, 25, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.panel-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

.panel-title {
    font-size: 10px;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 12px;
}

.panel-body {
    padding: 16px;
    position: relative;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feed-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 16 / 10;
}

.feed-item img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    filter: saturate(0.75) contrast(1.1) brightness(0.9);
}

.feed-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 229, 255, 0.02) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    pointer-events: none;
}

.feed-item.active {
    border-color: rgba(var(--primary-cyan-rgb), 0.4);
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.15);
}

.rec-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

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

.feed-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 8px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.tech-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-family: monospace;
    font-size: 9px;
    color: var(--text-muted);
}

.tech-stats .val {
    color: var(--text-light);
}

/* ---------------------------------------------------------------------
   WHY CHOOSE US
   --------------------------------------------------------------------- */

.why-section {
    background: linear-gradient(to bottom, #06090e 0%, #080c14 100%);
    border-top: 1px solid var(--border-color);
}

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

.why-card {
    padding: 40px 32px;
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: rgba(var(--primary-cyan-rgb), 0.05);
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    margin-bottom: 24px;
    font-size: 22px;
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.05);
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.why-card p {
    font-size: 13.5px;
    line-height: 1.6;
}

/* ---------------------------------------------------------------------
   ABOUT US SECTION
   --------------------------------------------------------------------- */

.about-section {
    border-top: 1px solid var(--border-color);
    background-color: #080c14;
}

.about-visual {
    position: relative;
}

.img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.img-wrapper img {
    border-radius: 8px;
    width: 100%;
    filter: saturate(0.85) contrast(1.05);
}

.border-glow {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.25);
    border-radius: 8px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(var(--primary-cyan-rgb), 0.05);
}

.floating-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(8, 14, 25, 0.9);
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.floating-badge .count {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-cyan);
    line-height: 1;
}

.floating-badge .lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-top: 4px;
}

.about-content .about-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 6px;
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mv-header h4 {
    font-size: 16px;
    font-weight: 600;
}

.mv-card p {
    font-size: 12.5px;
    line-height: 1.6;
}

/* ---------------------------------------------------------------------
   SERVICES SECTION
   --------------------------------------------------------------------- */

.services-section {
    background-color: #06090e;
    border-top: 1px solid var(--border-color);
}

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

.service-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-cyan-rgb), 0.05);
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.15);
    border-radius: 4px;
    color: var(--primary-cyan);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-light);
}

.service-list li i {
    width: 14px;
    height: 14px;
    color: var(--primary-cyan);
}

/* ---------------------------------------------------------------------
   PRODUCTS SECTION
   --------------------------------------------------------------------- */

.products-section {
    background-color: #080c14;
    border-top: 1px solid var(--border-color);
}

.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.product-tabs {
    display: inline-flex;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 50px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: #04060b;
}

/* Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn var(--transition-speed) ease;
}

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

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

.product-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 28px;
    margin: 0 auto 24px auto;
    transition: all var(--transition-speed);
}

.product-card:hover .product-img {
    background: rgba(var(--primary-cyan-rgb), 0.05);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(var(--primary-cyan-rgb), 0.2);
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-card p {
    font-size: 12px;
    line-height: 1.5;
}

/* ---------------------------------------------------------------------
   TERMS & CONDITIONS SECTION (ACCORDION)
   --------------------------------------------------------------------- */

.terms-section {
    background-color: #06090e;
    border-top: 1px solid var(--border-color);
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color var(--transition-speed);
}

.accordion-item:hover, .accordion-item.active {
    border-color: rgba(var(--primary-cyan-rgb), 0.25);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.acc-icon {
    font-size: 18px;
    color: var(--primary-cyan);
    transition: transform var(--transition-speed);
}

.accordion-item.active .acc-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 24px 24px 24px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ---------------------------------------------------------------------
   CONTACT US SECTION
   --------------------------------------------------------------------- */

.contact-section {
    background-color: #080c14;
    border-top: 1px solid var(--border-color);
}

.contact-info .contact-intro {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: rgba(var(--primary-cyan-rgb), 0.05);
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 20px;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

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

.info-text .value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 4px;
}

.info-text .subval {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.contact-form p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
    transition: all var(--transition-speed);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.form-group select option {
    background-color: #080c14;
    color: var(--text-main);
}

.form-message {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: var(--primary-cyan);
}

.form-message.error {
    color: var(--alert-red);
}

/* ---------------------------------------------------------------------
   FOOTER SECTION
   --------------------------------------------------------------------- */

.footer {
    position: relative;
    background-color: #04060a;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
    overflow: hidden;
}

/* Ambient glow orb for footer */
.footer-orb {
    position: absolute;
    bottom: -150px;
    left: 8%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--primary-cyan);
    filter: blur(140px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

/* Footer Scanline matrix grid overlay */
.footer-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.003) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.003) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Footer top brand console bar */
.footer-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-telemetry-hud {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--text-light);
}

.hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.hud-dot.pulsing-cyan {
    background-color: var(--primary-cyan);
    box-shadow: 0 0 8px var(--primary-cyan);
    animation: blink 2.2s infinite;
}

.hud-dot.pulsing-green {
    background-color: var(--success-green);
    box-shadow: 0 0 8px var(--success-green);
    animation: blink 1.6s infinite;
}

/* Footer columns */
.footer-columns-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr 1.1fr;
    gap: 36px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    border-left: 2px solid var(--primary-cyan);
    padding-left: 10px;
}

.brand-col .brand-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-tech-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: monospace;
    font-size: 10.5px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 12px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
    padding-bottom: 6px;
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-row .key {
    color: var(--text-muted);
}

.spec-row .val {
    font-weight: 700;
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-col ul li a {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.links-col ul li a .link-arrow {
    width: 12px;
    height: 12px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
    color: var(--primary-cyan);
}

.links-col ul li a:hover {
    color: var(--primary-cyan);
    transform: translateX(4px);
}

.links-col ul li a:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Column Details */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-details li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-details li i {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-details li div {
    display: flex;
    flex-direction: column;
}

.footer-contact-details .lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    line-height: 1;
    margin-bottom: 4px;
}

.footer-contact-details .val {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s;
}

.footer-contact-details a.val:hover {
    color: var(--primary-cyan);
}

/* Diagnostics console box */
.footer-diagnostics-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diagnostics-terminal {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 14px;
    font-family: monospace;
    font-size: 10.5px;
    height: 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-light);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.terminal-line {
    border-bottom: 1px solid rgba(255,255,255,0.01);
    padding-bottom: 2px;
}

.btn-diagnostics {
    font-size: 11px !important;
    padding: 10px 14px !important;
    text-transform: uppercase;
    width: 100%;
    justify-content: center !important;
    border-color: rgba(var(--primary-cyan-rgb), 0.2) !important;
}

.btn-diagnostics:hover {
    background: rgba(var(--primary-cyan-rgb), 0.08) !important;
    border-color: var(--primary-cyan) !important;
}

/* Footer bottom bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    font-size: 11px;
    position: relative;
    z-index: 2;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-telemetry-clock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-telemetry-clock i {
    width: 13px;
    height: 13px;
}

/* Responsive console adjustments for footer */
@media (max-width: 1024px) {
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-console-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .mobile-hide {
        display: none;
    }
}

/* ---------------------------------------------------------------------
   ANIMATIONS & SCROLL OBSERVER CLASSES
   --------------------------------------------------------------------- */

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    50% { transform: scale(1.05) translate(10px, -15px); opacity: 0.15; }
    100% { transform: scale(0.95) translate(-10px, 15px); opacity: 0.12; }
}

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

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

/* Entrance Animations */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.fade-up {
    transform: translateY(40px);
}

.scroll-animate.fade-left {
    transform: translateX(-40px);
}

.scroll-animate.fade-right {
    transform: translateX(40px);
}

.scroll-animate.scale-up {
    transform: scale(0.95);
}

.scroll-animate.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Hero delays */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.animate-slide-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.animate-slide-up-delayed-more {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* ---------------------------------------------------------------------
   MEDIA QUERIES (RESPONSIVENESS)
   --------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile drawer admin button - hidden on desktop, shown on mobile via media query below */
.mobile-admin {
    display: none;
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }
    
    .navbar {
        top: 15px;
        width: calc(100% - 24px);
        height: 64px;
        border-radius: 50px;
    }
    
    .navbar.scrolled {
        top: 8px;
        height: 58px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 290px;
        height: 100vh;
        background: rgba(6, 8, 12, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none;
        border-left: 1px solid rgba(var(--primary-cyan-rgb), 0.15);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 90px 24px 40px 24px;
        gap: 12px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 16px 0 0 16px;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.7);
        border-top: none;
    }
    
    .nav-menu.active {
        right: 0;
        left: auto;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 12px 18px;
        border-radius: 8px;
        text-align: left;
        background: transparent;
        border: 1px solid transparent;
    }
    
    .nav-link:hover {
        background: rgba(var(--primary-cyan-rgb), 0.03);
        border-color: rgba(var(--primary-cyan-rgb), 0.05);
        color: var(--primary-cyan);
    }
    
    .nav-link.active {
        color: #04060b;
        background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
        box-shadow: 0 0 12px rgba(var(--primary-cyan-rgb), 0.25);
    }
    
    .join-btn,
    .admin-btn {
        display: none;
    }
    
    .mobile-cta {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    
    .mobile-admin {
        display: block !important;
        width: 100%;
        margin-top: 10px;
    }
    
    .mobile-cta .btn {
        width: 100%;
        padding: 14px;
    }
    
    /* Hamburger Active State */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .why-grid, .services-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand .footer-desc {
        max-width: 100%;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .flex-between {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ---------------------------------------------------------------------
   ADDITIONAL UI ENHANCEMENTS & ADMIN ERP STYLES
   --------------------------------------------------------------------- */

/* Scroll progress indicator */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

/* Custom glowing scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(8, 12, 20, 0.85);
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.3);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-cyan);
    color: #04060b;
    box-shadow: 0 0 15px rgba(var(--primary-cyan-rgb), 0.4);
    transform: translateY(-3px);
}

/* Admin ERP Navbar Button (Desktop) */
.admin-btn {
    border-color: rgba(var(--primary-cyan-rgb), 0.4) !important;
    background: rgba(var(--primary-cyan-rgb), 0.03) !important;
    color: var(--primary-cyan) !important;
    gap: 8px !important;
    font-size: 13px !important; /* Compact size to prevent navbar overflow */
    padding: 10px 20px !important; /* Compact size to prevent navbar overflow */
    white-space: nowrap !important;
    flex-shrink: 0;
    animation: admin-pulse 3s infinite ease-in-out;
}
.admin-btn i {
    width: 15px;
    height: 15px;
    color: var(--primary-cyan);
    transition: color 0.3s;
}
.admin-btn:hover {
    border-color: var(--primary-cyan) !important;
    background: rgba(var(--primary-cyan-rgb), 0.08) !important;
    color: var(--primary-cyan) !important;
    box-shadow: 0 0 20px rgba(var(--primary-cyan-rgb), 0.35) !important;
    animation: none; /* stop pulse on hover */
}
.admin-btn:hover i {
    color: var(--primary-cyan);
}

.join-btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
}

@keyframes admin-pulse {
    0% {
        box-shadow: 0 0 6px rgba(0, 229, 255, 0.15);
        border-color: rgba(0, 229, 255, 0.3) !important;
    }
    50% {
        box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
        border-color: rgba(0, 229, 255, 0.7) !important;
    }
    100% {
        box-shadow: 0 0 6px rgba(0, 229, 255, 0.15);
        border-color: rgba(0, 229, 255, 0.3) !important;
    }
}


.admin-mobile-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.4) !important;
    border-radius: 4px !important;
    background: rgba(var(--primary-cyan-rgb), 0.04) !important;
    padding: 14px !important; /* Match mobile-cta .btn height */
    color: var(--primary-cyan) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 100%;
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.1);
}
.admin-mobile-link i {
    width: 18px;
    height: 18px;
    color: var(--primary-cyan);
}
.admin-mobile-link:hover {
    background: rgba(var(--primary-cyan-rgb), 0.08) !important;
    border-color: var(--primary-cyan) !important;
    box-shadow: 0 0 15px rgba(var(--primary-cyan-rgb), 0.25) !important;
}

/* Live feeds interactive visual enhancements */
.feed-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}
.feed-item:hover {
    transform: scale(1.05);
    z-index: 5;
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--primary-cyan-rgb), 0.3);
}

/* Advanced Card Grid Line Scanning Effect */
.card-glow {
    position: relative;
    overflow: hidden;
}
.card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                transparent 50%, 
                rgba(var(--primary-cyan-rgb), 0.015) 50%);
    background-size: 100% 4px;
    pointer-events: none;
}

/* Drawer overlay styling */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 10, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ---------------------------------------------------------------------
   SPLIT SCREEN HERO SECTION STYLING
   --------------------------------------------------------------------- */

.split-hero {
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background-color: #000000; /* Solid Black base */
    align-items: stretch;
}

.hero-left-half {
    flex: 1;
    background-color: #000000; /* Solid Black */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: calc(var(--nav-height) + 60px) 8% 80px 8%;
    position: relative;
    z-index: 10;
}

.hero-left-content {
    max-width: 500px;
    width: 100%;
}

.hero-right-half {
    flex: 1;
    background-color: #fcfaf5; /* Clean Solid Cream background */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 60px) 8% 80px 8%;
    position: relative;
    overflow: hidden; /* Ensure scanner sweep stays in container */
}

/* Sweeping laser scanner line */
.hero-right-half::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    box-shadow: 0 0 12px var(--primary-cyan), 0 0 4px var(--primary-cyan);
    animation: scanSweep 6s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes scanSweep {
    0% { top: 0%; opacity: 0; }
    5% { opacity: 0.8; }
    95% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

.product-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatCamera 6s ease-in-out infinite;
}

@keyframes floatCamera {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
}

.product-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    /* Soft shadow on cream */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.product-photo:hover {
    transform: scale(1.05) translateY(-6px);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.18)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

/* Responsiveness overrides for split-hero layout */
@media (max-width: 1024px) {
    .split-hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-left-half {
        justify-content: center;
        padding: calc(var(--nav-height) + 80px) 24px 60px 24px;
        text-align: center;
    }
    
    .hero-left-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-right-half {
        justify-content: center;
        padding: 80px 24px;
    }
    
    .product-container {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* ---------------------------------------------------------------------
   ADVANCED HERO HUD RETICLE & AMBIENT GLOW EFFECTS
   --------------------------------------------------------------------- */

/* Ambient Glow Orbs (Left Column Background) */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: var(--primary-cyan);
    top: 15%;
    left: 20%;
    animation: orbFloatMovement 18s infinite ease-in-out alternate;
}

.orb-2 {
    width: 340px;
    height: 340px;
    background: var(--primary-blue);
    bottom: 10%;
    right: 25%;
    animation: orbFloatMovement 24s infinite ease-in-out alternate-reverse;
}

@keyframes orbFloatMovement {
    0% { transform: translate(0, 0) scale(1); opacity: 0.12; }
    50% { transform: translate(60px, -50px) scale(1.25); opacity: 0.2; }
    100% { transform: translate(-40px, 30px) scale(0.9); opacity: 0.12; }
}

/* Radar Pulsing concentric circles (Right Column Background) */
.radar-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.radar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.35);
    animation: radarExpandingPulse 7.5s infinite cubic-bezier(0.1, 0.8, 0.25, 1);
}

.radar-ring.delay-1 { animation-delay: 0s; }
.radar-ring.delay-2 { animation-delay: 2.5s; }
.radar-ring.delay-3 { animation-delay: 5s; }

@keyframes radarExpandingPulse {
    0% { transform: scale(0.35); opacity: 0; }
    10% { opacity: 0.75; }
    90% { opacity: 0.05; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* Targeting Bracket reticle HUD */
.hud-target {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    pointer-events: none;
    z-index: 2;
    animation: rotateTargetReticle 30s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateTargetReticle {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hud-bracket {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.15);
}

.hud-bracket.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.hud-bracket.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.hud-bracket.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.hud-bracket.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Dynamic Monospace Calibration Tag */
.hud-label {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-family: monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: rgba(var(--primary-cyan-rgb), 0.65);
    text-shadow: 0 0 6px rgba(var(--primary-cyan-rgb), 0.3);
    animation: blinkCalibrationLabel 2s infinite steps(2);
    z-index: 6;
}

@keyframes blinkCalibrationLabel {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}

/* Ensure responsiveness stacks clean */
@media (max-width: 1024px) {
    .radar-container {
        width: 380px;
        height: 380px;
    }
    
    .hud-target {
        width: 330px;
        height: 330px;
    }
    
    .hud-label {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* ---------------------------------------------------------------------
   INTERACTIVE CCTV THREAT SIMULATOR STYLING
   --------------------------------------------------------------------- */

.threat-simulator-section {
    background-color: #06090e;
    border-top: 1px solid var(--border-color);
}

.sim-control-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sim-control-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-control-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.sim-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.sim-tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
}

.sim-tab-btn.active {
    background: rgba(var(--primary-cyan-rgb), 0.06);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(var(--primary-cyan-rgb), 0.1);
}

.sim-tab-btn i {
    width: 18px;
    height: 18px;
}

.sim-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.sim-actions h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-main);
}

.sim-actions p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sim-buttons {
    display: flex;
    gap: 12px;
}

.alert-trigger-btn, .siren-trigger-btn {
    flex: 1;
    font-size: 11.5px !important;
    padding: 10px 14px !important;
    text-transform: uppercase;
}

.alert-trigger-btn.active {
    background: rgba(255, 61, 0, 0.1) !important;
    border-color: var(--alert-red) !important;
    color: var(--alert-red) !important;
    box-shadow: 0 0 10px rgba(255, 61, 0, 0.2);
}

.siren-trigger-btn.active {
    background: rgba(255, 171, 0, 0.1) !important;
    border-color: var(--warning-orange) !important;
    color: var(--warning-orange) !important;
    box-shadow: 0 0 10px rgba(255, 171, 0, 0.2);
}

.sim-logs-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px;
    font-family: monospace;
}

.sim-logs-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.logs-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success-green);
}

.logs-indicator.alert {
    color: var(--alert-red);
}

.logs-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px var(--success-green);
}

.logs-indicator.alert .logs-dot {
    background-color: var(--alert-red);
    box-shadow: 0 0 5px var(--alert-red);
    animation: blinkRecIndicator 1s infinite;
}

.sim-logs-body {
    height: 110px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    color: var(--text-light);
}

.log-line {
    border-bottom: 1px solid rgba(255,255,255,0.01);
    padding-bottom: 3px;
}

.log-line.alert {
    color: var(--alert-red);
    font-weight: bold;
}

/* CCTV Monitor Frame */
.sim-monitor-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-monitor-panel {
    width: 100%;
    background: rgba(8, 14, 25, 0.9);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.4s ease;
}

.sim-monitor-panel.alarm-active {
    border-color: var(--alert-red);
    box-shadow: 0 20px 45px rgba(255, 61, 0, 0.25), 0 0 15px rgba(255, 61, 0, 0.1);
}

.monitor-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.monitor-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mon-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

.mon-dot.active-rec {
    background-color: var(--alert-red);
    box-shadow: 0 0 8px var(--alert-red);
    animation: blinkRecIndicator 1s infinite;
}

@keyframes blinkRecIndicator {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.mon-label {
    font-size: 10px;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text-light);
}

.monitor-timestamp {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.monitor-body {
    position: relative;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: background-image 0.4s ease;
}

.monitor-scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 229, 255, 0.01) 50%, rgba(0, 0, 0, 0.15) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 4;
}

.monitor-alarm-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 61, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.monitor-alarm-overlay.active {
    animation: strobeAlertSweep 1s infinite alternate;
}

@keyframes strobeAlertSweep {
    0% { opacity: 0; }
    100% { opacity: 0.3; }
}

/* AI Detection Boxes styling */
.ai-box {
    position: absolute;
    border: 2px solid var(--success-green);
    border-radius: 4px;
    background: rgba(0, 230, 118, 0.02);
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.15);
}

.ai-box-label {
    position: absolute;
    top: -20px;
    left: -2px;
    background: var(--success-green);
    color: #04060b;
    font-family: monospace;
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.ai-box.alert-active {
    border-color: var(--alert-red) !important;
    background: rgba(255, 61, 0, 0.08) !important;
    box-shadow: 0 0 12px rgba(255, 61, 0, 0.3) !important;
    animation: pulseAlertBoxBorder 1s infinite;
}

.ai-box.alert-active .ai-box-label {
    background-color: var(--alert-red) !important;
    color: #ffffff !important;
}

@keyframes pulseAlertBoxBorder {
    0%, 100% { border-color: var(--alert-red); }
    50% { border-color: #ff8a65; }
}

/* Calibration Cross Grid HUD inside screen */
.monitor-calibration-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 120px, rgba(0, 229, 255, 0.01) 120px, rgba(0, 229, 255, 0.01) 122px, transparent 122px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.015) 1px, transparent 1px),
        linear-gradient(rgba(0, 229, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-position: center;
    pointer-events: none;
    z-index: 2;
}

/* Responsive simulator */
@media (max-width: 768px) {
    .sim-control-card {
        padding: 20px;
    }
    .sim-buttons {
        flex-direction: column;
    }
}

/* ---------------------------------------------------------------------
   CAMERA CONTROL HUB STYLES (NAVBAR / JOYSTICK / ZOOM / SCANNER)
   --------------------------------------------------------------------- */

.camera-control-hub {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(8, 14, 25, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    width: 260px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-main);
}

.camera-control-hub:hover {
    border-color: rgba(var(--primary-cyan-rgb), 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 15px rgba(var(--primary-cyan-rgb), 0.1);
}

/* Tabs Header */
.hub-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    gap: 4px;
}

.hub-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.hub-tab-btn i {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.hub-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.hub-tab-btn.active {
    color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.hub-tab-btn.active i {
    transform: scale(1.1);
}

/* Panels Body */
.hub-panels {
    position: relative;
}

.hub-panel {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.hub-panel.active {
    display: flex;
    animation: hubPanelFadeIn 0.3s ease forwards;
}

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

.panel-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Override console buttons for glass dark look */
.camera-control-hub .console-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-speed) ease;
    width: 100%;
}

.camera-control-hub .console-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(var(--primary-cyan-rgb), 0.25);
}

.camera-control-hub .console-btn.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: #04060b;
    box-shadow: 0 5px 12px rgba(var(--primary-cyan-rgb), 0.35);
}

.camera-control-hub .console-btn i {
    width: 14px;
    height: 14px;
}

/* Day/Night Backdrop switch UI */
.console-switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
}

.switch-label {
    color: var(--text-muted);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 3px;
    background-color: var(--text-light);
    transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
}

.toggle-switch input:checked + .slider-round {
    background-color: var(--primary-cyan);
}

.toggle-switch input:checked + .slider-round:before {
    transform: translateX(16px);
    background-color: #04060b;
}

/* PTZ & Zoom Panel Styles */
.ptz-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

/* D-Pad Grid */
.ptz-joystick {
    position: relative;
    width: 96px;
    height: 96px;
    display: grid;
    grid-template-areas: 
        ". up ."
        "left center right"
        ". down .";
    grid-template-columns: repeat(3, 32px);
    grid-template-rows: repeat(3, 32px);
    gap: 2px;
    background: rgba(0, 0, 0, 0.15);
    padding: 4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.joystick-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

.joystick-btn i {
    width: 16px;
    height: 16px;
}

.joystick-btn:hover {
    background: rgba(var(--primary-cyan-rgb), 0.12);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 8px rgba(var(--primary-cyan-rgb), 0.2);
}

.joystick-btn:active {
    transform: scale(0.92);
}

.joystick-btn.up { grid-area: up; border-radius: 8px 8px 0 0; }
.joystick-btn.down { grid-area: down; border-radius: 0 0 8px 8px; }
.joystick-btn.left { grid-area: left; border-radius: 8px 0 0 8px; }
.joystick-btn.right { grid-area: right; border-radius: 0 8px 8px 0; }
.joystick-btn.center { 
    grid-area: center; 
    border-radius: 50%; 
    background: rgba(var(--primary-blue-rgb), 0.1);
    border-color: rgba(var(--primary-blue-rgb), 0.25);
    color: var(--primary-blue);
}

.joystick-btn.center:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(var(--primary-blue-rgb), 0.4);
}

/* Zoom Slider */
.zoom-slider-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

#zoom-value-label {
    color: var(--primary-cyan);
    font-weight: bold;
}

.neon-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background 0.3s;
}

.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-cyan);
    cursor: pointer;
    box-shadow: 0 0 8px var(--primary-cyan);
    transition: transform 0.1s;
}

.neon-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Stats Footer */
.ptz-hud-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 8px 10px;
    font-family: monospace;
    font-size: 9px;
    color: var(--text-muted);
}

.hud-stat-item span {
    color: var(--primary-cyan);
    font-weight: bold;
}

/* Scanner Info Description */
.scanner-desc {
    font-size: 10.5px;
    line-height: 1.5;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

/* ---------------------------------------------------------------------
   3D CAMERA PTZ TRANSFORM CONTAINER
   --------------------------------------------------------------------- */

.product-container {
    position: relative;
    perspective: 1000px;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-ptz-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: rotateX(var(--ptz-rot-x, 0deg)) rotateY(var(--ptz-rot-y, 0deg)) scale(var(--ptz-scale, 1));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------------------
   DAY/NIGHT BACKDROP GLOWS & SPOTLIGHT BEAM
   --------------------------------------------------------------------- */

.hero-right-half {
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ambient dark theme in night mode */
.hero-right-half.night-mode {
    background-color: #080c14 !important;
}

.hero-right-half.night-mode .radar-ring {
    border-color: rgba(0, 229, 255, 0.22);
}

.hero-right-half.night-mode .hud-bracket {
    border-color: rgba(0, 229, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.hero-right-half.night-mode .hud-label {
    color: rgba(var(--primary-cyan-rgb), 0.95);
    text-shadow: 0 0 8px rgba(var(--primary-cyan-rgb), 0.5);
}

/* Spotlight Cone Beam */
.lens-spotlight {
    position: absolute;
    top: 35%; /* Center near lens */
    left: 49%;
    width: 0px;
    height: 0px;
    background: radial-gradient(circle at top left, rgba(var(--primary-cyan-rgb), 0.2) 0%, rgba(var(--primary-cyan-rgb), 0.05) 50%, transparent 80%);
    clip-path: polygon(0 0, 100% 30%, 30% 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top left;
}

.hero-right-half.night-mode .lens-spotlight {
    width: 500px;
    height: 500px;
    opacity: 1;
}

/* ---------------------------------------------------------------------
   AI SCANNER INTERACTIVE HOTSPOTS
   --------------------------------------------------------------------- */

.ai-hotspots-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Only display and enable hotspots when diagnostic scanner is active */
.product-container.scanner-active .ai-hotspots-overlay {
    opacity: 1;
    pointer-events: auto;
}

.ai-hotspot {
    position: absolute;
    width: 22px;
    height: 22px;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.hotspot-dot {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-cyan);
    color: #04060b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px var(--primary-cyan);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s;
}

.hotspot-dot i {
    width: 10px;
    height: 10px;
    pointer-events: none;
}

.ai-hotspot:hover .hotspot-dot {
    transform: scale(1.35);
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 18px #ffffff;
}

.hotspot-pulse {
    position: absolute;
    inset: -8px;
    border: 1px solid var(--primary-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: hotspotPulseLoop 2.2s infinite ease-out;
    pointer-events: none;
}

@keyframes hotspotPulseLoop {
    0% { transform: scale(0.6); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip popover styling */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 200px;
    background: rgba(8, 14, 25, 0.96);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 0 12px rgba(var(--primary-cyan-rgb), 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    z-index: 200;
}

.hotspot-tooltip h5 {
    color: var(--primary-cyan);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hotspot-tooltip p {
    font-size: 10px;
    line-height: 1.45;
    color: var(--text-light);
    margin: 0;
}

/* Tooltip Arrow */
.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 229, 255, 0.3) transparent transparent transparent;
}

.ai-hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ---------------------------------------------------------------------
   CAMERA FILTER CLASSES
   --------------------------------------------------------------------- */

.product-photo.ir-mode {
    filter: sepia(1) hue-rotate(90deg) saturate(2.5) brightness(0.85) contrast(1.1) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.product-photo.thermal-mode {
    filter: invert(0.9) hue-rotate(180deg) saturate(3) brightness(0.9) contrast(1.2) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.product-photo.focusing {
    animation: focusSweepAnim 1s ease-in-out forwards;
}

@keyframes focusSweepAnim {
    0% { filter: blur(0px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12)); }
    50% { filter: blur(6px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12)); }
    100% { filter: blur(0px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12)); }
}

/* ---------------------------------------------------------------------
   MEDIA RESPONSIVENESS OVERRIDES
   --------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .camera-control-hub {
        position: relative;
        top: auto;
        right: auto;
        margin: 30px auto 0 auto;
        width: 100%;
        max-width: 420px;
        background: rgba(8, 14, 25, 0.9);
    }
    
    .night-mode .lens-spotlight {
        width: 350px;
        height: 350px;
        left: 50%;
        top: 30%;
    }
}

/* ---------------------------------------------------------------------
   INTERACTIVE SECURITY PLANNER & ESTIMATOR STYLES
   --------------------------------------------------------------------- */

.planner-wrapper {
    margin-top: 50px;
    width: 100%;
}

.planner-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.planner-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.planner-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.planner-header i {
    width: 24px;
    height: 24px;
}

.planner-intro {
    font-size: 14px;
    color: var(--text-muted);
}

.planner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 24px;
}

.planner-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.planner-control label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    font-weight: 500;
}

.planner-control select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
    transition: all var(--transition-speed);
}

.planner-control select:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.15);
}

.planner-control select option {
    background-color: #080c14;
    color: var(--text-main);
}

.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-val {
    color: var(--primary-cyan);
    font-weight: bold;
    font-family: monospace;
    font-size: 13px;
}

/* Planner Summary & Cost box */
.planner-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 24px;
    gap: 24px;
}

.summary-specs h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-cyan);
    margin-bottom: 12px;
}

.summary-specs ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.summary-specs ul li {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-specs ul li::before {
    content: '▶';
    font-size: 8px;
    color: var(--primary-blue);
}

.summary-cost-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.summary-cost-panel .cost-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.summary-cost-panel .cost-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------------
   HARDWARE COMPARE DRAWER & TOGGLE SYSTEM
   --------------------------------------------------------------------- */

.compare-toggle {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.2s;
    user-select: none;
    width: 100%;
    justify-content: center;
}

.compare-checkbox {
    cursor: pointer;
    accent-color: var(--primary-cyan);
}

.compare-toggle:hover {
    color: var(--primary-cyan);
}

/* Comparison Drawer Fixed at Bottom */
.comparison-drawer {
    position: fixed;
    bottom: -320px;
    left: 0;
    width: 100%;
    background: rgba(8, 14, 25, 0.96);
    border-top: 2px solid var(--primary-cyan);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px 0;
}

.comparison-drawer.active {
    bottom: 0;
}

.comparison-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.comparison-header h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-comp-btn {
    background: transparent;
    border: 1px solid rgba(255, 61, 0, 0.4);
    color: var(--alert-red);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.close-comp-btn:hover {
    background: rgba(255, 61, 0, 0.1);
    border-color: var(--alert-red);
}

.comparison-body {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    min-height: 120px;
    align-items: stretch;
}

.comp-placeholder-text {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

/* Specs comparison card */
.comp-card {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.3s ease;
    position: relative;
}

.comp-card h5 {
    color: var(--primary-cyan);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.comp-spec-item {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}

.comp-spec-item .lbl {
    color: var(--text-muted);
}

.comp-spec-item .val {
    color: var(--text-light);
    font-weight: 500;
}

.comp-card-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

.comp-card-remove:hover {
    color: var(--alert-red);
}

/* ---------------------------------------------------------------------
   CONTACT FORM SECURITY CONSOLE REFINEMENTS
   --------------------------------------------------------------------- */

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.planner-applied-alert {
    display: none;
    align-items: center;
    gap: 12px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease;
}

.planner-applied-alert.active {
    display: flex;
}

.planner-applied-alert .alert-icon {
    color: var(--primary-cyan);
    width: 18px;
    height: 18px;
}

.planner-applied-alert .alert-content {
    font-size: 11.5px;
    color: var(--text-light);
}

.planner-applied-alert strong {
    color: var(--primary-cyan);
    display: block;
    margin-bottom: 2px;
}

/* Valid icon indicator */
.field-valid-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 14px;
    height: 14px;
    color: var(--success-green);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form-group.valid .field-valid-icon {
    opacity: 1;
}

.form-group.relative {
    position: relative;
}

/* Captcha validation */
.captcha-validation-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.captcha-badge {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.captcha-badge .lbl {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.captcha-code {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-cyan);
    letter-spacing: 3px;
    text-shadow: 0 0 6px rgba(var(--primary-cyan-rgb), 0.5);
    background: rgba(255, 255, 255, 0.02);
    padding: 2px 6px;
    border-radius: 2px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.captcha-input-group {
    flex: 1;
    margin-bottom: 0;
}

.captcha-input-group label {
    display: none;
}

/* Accordion highlight indicator */
.accordion-item {
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-item.active::before {
    opacity: 1;
}

/* ---------------------------------------------------------------------
   RESPONSIVENESS REFINEMENTS
   --------------------------------------------------------------------- */

@media (max-width: 768px) {
    .planner-grid {
        grid-template-columns: 1fr;
    }
    
    .planner-summary-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .summary-cost-panel {
        align-items: center;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .captcha-validation-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-badge {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px;
    }
}

/* =====================================================================
   TACTICAL BLUEPRINT SURVEILLANCE PLANNER STYLES
   ===================================================================== */

.planner-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 24px;
}

.planner-left-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.planner-right-blueprint {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blueprint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    font-family: monospace;
    font-size: 10.5px;
}

.blueprint-hud-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-light);
}

.blueprint-hud-title i {
    width: 14px;
    height: 14px;
    color: var(--primary-cyan);
}

.blueprint-hud-status {
    color: var(--success-green);
    text-shadow: 0 0 6px rgba(var(--success-green-rgb), 0.5);
    font-weight: bold;
}

.tactical-blueprint {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    flex-grow: 1;
    min-height: 280px;
}

.blueprint-zone {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 130px;
}

.blueprint-zone:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.02);
}

.blueprint-zone[data-active-cam="dome"] {
    border-color: rgba(0, 229, 255, 0.35);
    background: rgba(0, 229, 255, 0.03);
    box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.03);
}

.blueprint-zone[data-active-cam="bullet"] {
    border-color: rgba(0, 110, 255, 0.35);
    background: rgba(0, 110, 255, 0.03);
    box-shadow: inset 0 0 12px rgba(0, 110, 255, 0.03);
}

.blueprint-zone[data-active-cam="ptz"] {
    border-color: rgba(255, 0, 229, 0.35);
    background: rgba(255, 0, 229, 0.03);
    box-shadow: inset 0 0 12px rgba(255, 0, 229, 0.03);
}

.zone-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    pointer-events: none;
}

.zone-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.zone-badge {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--success-green);
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.15);
    padding: 2px 6px;
    border-radius: 2px;
    align-self: flex-start;
}

.blueprint-zone[data-active-cam="none"] .zone-badge {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.zone-cam-select {
    display: flex;
    gap: 2px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2px;
    border-radius: 4px;
    background: rgba(8, 12, 20, 0.8);
    align-self: flex-start;
    margin-top: auto;
}

.zone-cam-btn {
    background: transparent;
    border: none;
    border-radius: 2px;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 9px;
    font-weight: bold;
    padding: 4px 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.zone-cam-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.zone-cam-btn.active[data-cam-type="none"] {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.zone-cam-btn.active[data-cam-type="dome"] {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.2);
}

.zone-cam-btn.active[data-cam-type="bullet"] {
    color: #0070ff;
    background: rgba(0, 110, 255, 0.15);
    box-shadow: 0 0 6px rgba(0, 110, 255, 0.2);
}

.zone-cam-btn.active[data-cam-type="ptz"] {
    color: #ff00e5;
    background: rgba(255, 0, 229, 0.15);
    box-shadow: 0 0 6px rgba(255, 0, 229, 0.2);
}

.zone-icon {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    opacity: 0.25;
    transition: all 0.3s;
    z-index: 2;
    pointer-events: none;
}

.blueprint-zone[data-active-cam="dome"] .zone-icon {
    color: #00e5ff;
    opacity: 0.8;
    transform: scale(1.1);
}

.blueprint-zone[data-active-cam="bullet"] .zone-icon {
    color: #0070ff;
    opacity: 0.8;
    transform: scale(1.1);
}

.blueprint-zone[data-active-cam="ptz"] .zone-icon {
    color: #ff00e5;
    opacity: 0.8;
    transform: scale(1.1);
}

.fov-cone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.blueprint-zone[data-active-cam="dome"] .fov-cone {
    opacity: 0.1;
    background: radial-gradient(circle at 100% 0%, #00e5ff 0%, transparent 60%);
    animation: radar-pulse 3s infinite alternate;
}

.blueprint-zone[data-active-cam="bullet"] .fov-cone {
    opacity: 0.1;
    background: radial-gradient(circle at 50% 100%, #0070ff 0%, transparent 60%);
    animation: bullet-beam-strobe 4s infinite ease-in-out alternate;
}

.blueprint-zone[data-active-cam="ptz"] .fov-cone {
    opacity: 0.1;
    background: radial-gradient(circle at 0% 0%, #ff00e5 0%, transparent 60%);
    animation: ptz-sweep-cone 6s infinite ease-in-out alternate;
}

@keyframes radar-pulse {
    0% { opacity: 0.06; }
    100% { opacity: 0.14; }
}

@keyframes ptz-sweep-cone {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(40deg); }
}

@keyframes bullet-beam-strobe {
    0% { opacity: 0.05; transform: scaleY(0.95); }
    100% { opacity: 0.15; transform: scaleY(1.05); }
}

/* =====================================================================
   CCTV LIVE FEED DIAGNOSTICS MODAL STYLES
   ===================================================================== */

.prod-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 8px;
    width: 100%;
}

.prod-card-actions .compare-toggle {
    margin-top: 0;
    width: auto;
}

.btn-test-feed {
    background: rgba(var(--primary-cyan-rgb), 0.05);
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.2);
    border-radius: 4px;
    color: var(--primary-cyan);
    font-size: 11px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-test-feed:hover {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: 0 0 10px rgba(var(--primary-cyan-rgb), 0.3);
}

.btn-test-feed i {
    width: 13px;
    height: 13px;
}

.cctv-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 6, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cctv-modal-overlay.active {
    display: flex;
}

.cctv-modal-box {
    width: 100%;
    max-width: 1000px;
    background: #06090e;
    border: 1px solid rgba(var(--primary-cyan-rgb), 0.15);
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.cctv-modal-overlay.active .cctv-modal-box {
    transform: scale(1);
    opacity: 1;
}

.cctv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.01);
}

.cctv-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rec-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--alert-red);
    animation: pulse-blink 1.5s infinite;
}

.cctv-modal-title h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    color: var(--text-light);
}

.cctv-modal-close {
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.cctv-modal-close:hover {
    color: var(--alert-red);
}

.cctv-modal-body {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    padding: 24px;
}

.cctv-modal-screen-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cctv-modal-screen {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: background-image 0.3s;
}

.hud-center-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.35;
}

.hud-center-cross::before,
.hud-center-cross::after {
    content: '';
    position: absolute;
    background: var(--primary-cyan);
}

.hud-center-cross::before {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.hud-center-cross::after {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.hud-bracketing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hud-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: rgba(0, 229, 255, 0.35);
    border-style: solid;
}

.hud-corner.top-left { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.hud-corner.top-right { top: 16px; right: 16px; border-width: 2px 2px 0 0; }
.hud-corner.bottom-left { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; }
.hud-corner.bottom-right { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

.hud-meta-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    background: rgba(3, 7, 14, 0.7);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-meta-left, .hud-meta-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cctv-static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.3s;
}

.cctv-static-overlay.active {
    opacity: 0.12;
    animation: noise-shimmer 0.15s infinite;
}

@keyframes noise-shimmer {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    30% { transform: translate(1%, 2%); }
    50% { transform: translate(-2%, 1%); }
    70% { transform: translate(2%, -2%); }
    90% { transform: translate(-1%, 3%); }
    100% { transform: translate(0, 0); }
}

.cctv-thermal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cctv-thermal-overlay.active {
    opacity: 1;
    background: radial-gradient(circle, rgba(255,0,0,0.3) 0%, rgba(255,235,59,0.2) 40%, rgba(0,188,212,0.15) 75%, rgba(63,81,181,0.2) 100%);
    mix-blend-mode: difference;
}

.cctv-modal-screen.ir-active {
    filter: sepia(100%) saturate(140%) hue-rotate(75deg) contrast(125%) brightness(115%);
}

.cctv-modal-screen.thermal-active {
    filter: invert(1) hue-rotate(185deg) saturate(2.2) contrast(110%);
}

.modal-ai-box {
    position: absolute;
    border: 1px dashed var(--success-green);
    pointer-events: none;
    border-radius: 2px;
    animation: box-pulse 1s infinite alternate;
    transition: opacity 0.3s;
}

@keyframes box-pulse {
    0% { border-color: rgba(0, 230, 118, 0.4); box-shadow: 0 0 2px rgba(0,230,118,0.2); }
    100% { border-color: rgba(0, 230, 118, 1); box-shadow: 0 0 8px rgba(0,230,118,0.4); }
}

.cctv-modal-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 24px;
}

.cctv-modal-controls h3 {
    font-size: 16px;
    margin: 0;
}

.cctv-modal-controls .desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.control-group-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.15);
}

.control-group-box h4 {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-cyan);
    margin-bottom: 10px;
    font-weight: 700;
}

.control-buttons-row {
    display: flex;
    gap: 8px;
}

.control-buttons-row .console-btn {
    flex: 1;
    padding: 8px 6px;
    font-size: 9.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.control-buttons-row .console-btn i {
    width: 14px;
    height: 14px;
}

.control-switches-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sliders-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slider-lbl-row {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: var(--text-light);
}

.slider-lbl-row span:last-child {
    font-family: monospace;
    color: var(--primary-cyan);
    font-weight: bold;
}

/* =====================================================================
   TACTICAL COMPLIANCE & SLA TERMINAL (TERMS)
   ===================================================================== */

.sla-terminal-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    width: 100%;
}

.sla-tabs-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sla-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sla-tab-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-cyan);
    opacity: 0;
    transition: opacity 0.3s;
}

.sla-tab-btn:hover {
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--text-light);
}

.sla-tab-btn.active {
    color: var(--primary-cyan);
    border-color: rgba(0, 229, 255, 0.25);
    background: rgba(0, 229, 255, 0.03);
}

.sla-tab-btn.active::before {
    opacity: 1;
}

.sla-tab-btn i {
    width: 14px;
    height: 14px;
    opacity: 0.4;
    transition: opacity 0.3s, color 0.3s;
}

.sla-tab-btn.active i {
    opacity: 1;
    color: var(--primary-cyan);
}

.btn-num {
    font-family: monospace;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-right: 8px;
}

.sla-tab-btn.active .btn-num {
    color: var(--primary-cyan);
}

.sla-screen-column {
    display: flex;
    flex-direction: column;
}

.sla-terminal-screen {
    background: #03060c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.05), 0 5px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.terminal-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 229, 255, 0.04);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    padding: 10px 16px;
    font-family: monospace;
    font-size: 9.5px;
    color: var(--primary-cyan);
}

.screen-indicator-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-cyan);
    animation: pulse-blink 1.2s infinite;
}

.screen-title-text {
    font-weight: 700;
    letter-spacing: 1px;
}

.screen-status-green {
    color: var(--success-green);
    font-weight: bold;
}

.terminal-screen-body {
    flex-grow: 1;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
}

.screen-content-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.typewriter-output {
    font-family: monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-main);
    white-space: pre-wrap;
    font-weight: 500;
}

.typewriter-output::after {
    content: '█';
    animation: cursor-blink 1s infinite;
    margin-left: 2px;
    color: var(--primary-cyan);
}

@keyframes cursor-blink {
    0%, 49% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

.terminal-screen-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.02) 0%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.terminal-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 3;
}

.terminal-screen-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 16px;
    font-family: monospace;
    font-size: 9px;
    color: var(--text-muted);
}

.verification-stamp-glowing {
    color: var(--success-green);
    border: 1px solid rgba(0, 230, 118, 0.4);
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(var(--success-green-rgb), 0.35);
    background: rgba(0, 230, 118, 0.03);
}

/* =====================================================================
   LIVE DISPATCH HUD & SECURE FORM UPLINK STYLES
   ===================================================================== */

.live-dispatch-hud {
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.live-dispatch-hud .hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
    margin-bottom: 10px;
    font-family: monospace;
    font-size: 9.5px;
    color: var(--text-muted);
}

.live-dispatch-hud .hud-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-light);
}

.live-dispatch-hud .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-cyan);
    animation: pulse-blink 1.2s infinite;
}

.live-dispatch-hud .hud-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 70px;
    max-height: 95px;
    overflow: hidden;
}

.ticker-line {
    font-family: monospace;
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: slideInUp 0.3s ease;
}

.ticker-line.text-cyan {
    color: var(--primary-cyan);
}

.ticker-line.alert {
    color: var(--alert-red);
}

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

/* Submission Uplink screen in form */
.uplink-loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080c14;
    z-index: 100;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0, 229, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.uplink-loading-screen.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.uplink-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.uplink-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-cyan);
    animation: pulse-blink 1s infinite;
}

.uplink-header h4 {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
    margin: 0;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

.uplink-progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 8px;
    max-width: 280px;
}

.uplink-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    border-radius: 3px;
}

.uplink-progress-pct {
    font-family: monospace;
    font-size: 11px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 20px;
}

.uplink-terminal-logs {
    width: 100%;
    max-width: 340px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    font-size: 9.5px;
    color: var(--text-muted);
    text-align: left;
    height: 90px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scrollbar-width: none;
}

.uplink-terminal-logs::-webkit-scrollbar {
    display: none;
}

.log-row {
    line-height: 1.4;
}

.log-row.success {
    color: var(--success-green);
}

/* =====================================================================
   ADDITIONAL RESPONSIVENESS ADJUSTMENTS
   ===================================================================== */

@media (max-width: 992px) {
    .planner-main-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cctv-modal-body {
        grid-template-columns: 1fr;
    }
    
    .cctv-modal-controls {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 24px;
    }
    
    .sla-terminal-container {
        grid-template-columns: 1fr;
    }
}




