:root {
    /* Color Palette - Premium Corporate (Light Theme) */
    --bg-main: #FFFFFF; /* Blanco Crudo / Puro */
    --bg-secondary: #F5F5F5; /* Gris Muy Claro */
    
    --text-main: #333333; /* Gris Muy Oscuro para cuerpo (alta accesibilidad) */
    --text-muted: #666666; /* Gris Medio - neutralidad */
    
    --primary: #003366; /* Azul Profundo - confianza, principal */
    --accent-primary: #663399; /* Violeta Tecnológico - CTA y acentos modernos */
    --accent-secondary: #1A9A1A; /* Verde Datos - éxito, datos, acento secundario */
    
    /* Glassmorphism for Light Theme */
    --glass-bg: rgba(255, 255, 255, 0.85); /* Fondo blanco semitransparente */
    --glass-border: rgba(0, 51, 102, 0.08); /* Borde sutil del color principal */
    --glass-blur: blur(20px);
    
    /* Typography */
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Montserrat', -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --max-width: 1280px;
    --section-spacing: 120px;
    --border-radius: 16px;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Abstract Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.05) 0%, transparent 70%); /* Subtle primary */
}

.shape-2 {
    top: 40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 51, 153, 0.04) 0%, transparent 70%); /* Subtle accent 1 */
    animation-delay: -5s;
}

.shape-3 {
    bottom: -10%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(26, 154, 26, 0.03) 0%, transparent 70%); /* Subtle accent 2 */
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography Utilities */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--primary); /* Azul Profundo para todos los títulos */
}

.text-gradient {
    color: var(--accent-primary); /* Violeta Tecnológico para destacar */
}

/* Base Components to be reused */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.05); /* Sombra suave corporativa */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-short);
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary); /* Violeta Tecnológico */
    color: white;
    box-shadow: 0 4px 15px rgba(102, 51, 153, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary:hover {
    background: #52297a; /* Violeta ligeramente más oscuro */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 51, 153, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary); /* Azul profundo */
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 51, 102, 0.05);
}

.btn-block {
    width: 100%;
}

.section-padding {
    padding: var(--section-spacing) 5%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
    padding: 24px 5%;
}

.navbar.scrolled {
    padding: 16px 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.05); /* Sombra corporativa */
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

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

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

.btn-contact {
    padding: 10px 20px;
    background: var(--primary); /* Deep Blue */
    border: none;
    border-radius: 6px;
    color: white !important;
    transition: background var(--transition-fast);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: #002244;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary); /* Cambio Color Homburguesa a Azul */
    transition: var(--transition-fast);
    left: 0;
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { bottom: 0; }

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 5% 60px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 51, 102, 0.05);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

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

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: absolute;
    padding: 24px;
    border-radius: 16px;
    animation: floatingCard 6s ease-in-out infinite;
}

.main-card {
    width: 100%;
    max-width: 320px;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

.dots {
    display: flex;
    gap: 4px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
}

.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.chart-bar {
    height: 8px;
    background: rgba(0, 51, 102, 0.05); /* Gris claro */
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
}

.chart-bar .fill {
    height: 100%;
    background: var(--primary); /* Azul profundo */
    border-radius: 4px;
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--accent-secondary); /* Verde Datos */
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: pulseAnim 2s infinite;
}

.float-card-1 {
    top: 10%;
    right: 0;
    z-index: 1;
    animation-delay: -2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.float-card-2 {
    bottom: 5%;
    left: -10%;
    z-index: 3;
    animation-delay: -4s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

.card-info strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.card-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes pulseAnim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

@keyframes floatingCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Services Section */
.services {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    padding: 40px;
    background: #FFFFFF; /* Tarjetas blancas */
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: var(--border-radius);
    transition: transform var(--transition-short), box-shadow var(--transition-short);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(102, 51, 153, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.08); /* Sombra más fuerte al hover */
    border-color: rgba(102, 51, 153, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(0, 51, 102, 0.03);
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.ai-icon { color: var(--accent-primary); } /* Violeta */
.erp-icon { color: var(--primary); }       /* Azul Profundo */
.crm-icon { color: var(--accent-secondary); } /* Verde Datos */
.cctv-icon { color: var(--primary); }     /* Azul Profundo para equilibrar gris/blanco */
.web-icon { color: var(--accent-primary); } /* Violeta Tecnológico */
.shop-icon { color: var(--accent-secondary); } /* Verde Datos */
.seo-icon { color: var(--primary); } /* Azul Profundo */
.bot-icon { color: var(--accent-primary); } /* Violeta Tecnológico */

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Dedicated CCTV AI Section */
.cctv-featured {
    background-color: var(--bg-secondary); /* Gris muy claro para destacar de los servicios blancos */
    border-top: 1px solid rgba(0, 51, 102, 0.05);
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
}

.cctv-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.cctv-content {
    flex: 1;
}

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

.cctv-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary); /* Violeta Tecnológico */
    box-shadow: 0 4px 15px rgba(0,51,102,0.05);
    border: 1px solid rgba(0,51,102,0.05);
    flex-shrink: 0;
}

.benefit-text h4 {
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

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

.cctv-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Dashboard Mockup */
.cctv-dashboard {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.dashboard-header {
    background: rgba(0, 51, 102, 0.02);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header .dots {
    display: flex;
    gap: 6px;
}

.dashboard-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.live-feed {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-video {
    height: 250px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    position: relative;
    overflow: hidden;
}

.detection-box {
    position: absolute;
    border: 2px solid var(--accent-secondary); /* Verde Datos */
    border-radius: 4px;
    background: rgba(26, 154, 26, 0.1);
}

.detection-box::before {
    content: 'Person 98%';
    position: absolute;
    top: -18px;
    left: -2px;
    background: var(--accent-secondary);
    color: white;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 2px;
    font-family: var(--font-sans);
}

.heatmap-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 100px;
    background: radial-gradient(ellipse at bottom, rgba(255, 0, 0, 0.4) 0%, rgba(255, 165, 0, 0.2) 40%, transparent 70%);
}

.dashboard-stats {
    display: flex;
    padding: 20px;
    gap: 20px;
    background: #FFFFFF;
}

.dash-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* About Section */
.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-visual {
    flex: 1;
}

.glass-image-container {
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
}

.abstract-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: #111;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 8s infinite alternate;
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}

@keyframes orbFloat {
    0% { transform: scale(0.8) translate(-30px, -30px); }
    100% { transform: scale(1.2) translate(30px, 30px); }
}

.about-content {
    flex: 1;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 51, 102, 0.04);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 51, 102, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.feature-icon {
    color: var(--accent-secondary); /* Verde Datos */
    font-weight: bold;
}

/* Contact Section */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 60px;
    background: #FFFFFF;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.05);
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.contact-info {
    flex: 1;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 51, 102, 0.05);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item a, .contact-item span {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary); /* Labels in Primary Blue */
}

/* Accessibility Critical Fix: High Contrast Inputs */
.form-group input, 
.form-group select, 
.form-group textarea {
    background: #FFFFFF; /* Fondo blanco puro */
    border: 1px solid #CCCCCC; /* Borde Gris Medio visible */
    padding: 14px 16px;
    border-radius: 8px;
    color: #333333; /* Texto Gris Muy Oscuro / alta legibilidad */
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary); /* Foco en Azul Profundo */
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 51, 102, 0.1);
    padding: 80px 5% 40px;
    margin-top: 60px;
    background: var(--primary); /* Fondo Azul Profundo */
    color: white;
}

.footer .logo-text, .footer p, .footer h4 {
    color: white;
}

.footer .logo-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    margin-bottom: 16px;
    display: flex;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    max-width: 300px;
}

.footer h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    width: fit-content;
}

.footer-links a:hover {
    color: var(--accent-secondary); /* Hover Verde Datos */
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--accent-primary); /* Violeta al hover */
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .hero-visual {
        width: 100%;
        margin-top: 60px;
        height: 400px;
    }
    
    .about-container,
    .cctv-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
        padding: 40px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary);
}

/* Base Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .section-padding {
        padding: 80px 5%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
