/* ============================================
   HST Innovations LLC - Modern Tech Website
   Sleek, Minimalist, Security-Focused Design
   ============================================ */

/* CSS Variables - Color Scheme */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152a45;
    --primary-light: #4a6582;
    --accent-color: #3182ce;
    --accent-hover: #2c72b5;
    --bg-dark: #1e3a5f;
    --bg-light: #f8fafc;
    --text-primary: #1e3a5f;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    
    --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #3182ce;
    --primary-dark: #2c5282;
    --primary-light: #63b3ed;
    --accent-color: #4299e1;
    --accent-hover: #3182ce;
    --bg-dark: #0f1419;
    --bg-light: #1a202c;
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-light: #718096;
    --white: #171923;
    --border-color: #2d3748;
    --footer-bg: #161b22;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

a:hover {
    color: var(--accent-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 140px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    justify-content: center;
    flex: 1;
}

.mobile-theme-toggle-item {
    display: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234299e1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

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

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(66, 153, 225, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

[data-theme="dark"] .hero .btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-weight: 700;
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

/* ============================================
   Section Styles
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.visual-card:nth-child(2) {
    background: var(--white);
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.visual-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.visual-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.product-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.product-card.featured .product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-card.featured .product-icon {
    margin-bottom: 20px;
}

.product-card.featured .product-icon img {
    width: 120px;
    height: 120px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-header {
    position: relative;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    flex-shrink: 0;
}

.product-card.featured .product-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.product-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-cta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: auto;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.product-tagline {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.product-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.product-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.app-links {
    display: flex;
    gap: 12px;
}

.app-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.app-link:hover {
    background: var(--accent-color);
}

.app-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.app-link:hover svg {
    color: var(--white);
}

/* ============================================
   Security Section
   ============================================ */
.security {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234299e1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.security-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.security-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.security-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.security-item svg {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
}

.security-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   Contact Section - See above for updated centered styles
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 48px 0 24px;
    color: #4a5568;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-brand {
    max-width: 300px;
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.footer-column h4 {
    color: #1e3a5f;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #4a5568;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #1e3a5f;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
}

.footer-location {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .nav-brand {
        left: 20px;
    }
    
    .about-visual {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        flex-direction: column;
        gap: 48px;
    }
    
    .product-card.featured {
        grid-template-columns: 1fr;
    }
    
    .product-card.featured .product-header {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .about-visual {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    [data-theme="dark"] .nav-links {
        background: var(--bg-light);
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .theme-toggle {
        display: none !important;
    }
    
    .mobile-theme-toggle-item {
        display: block;
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .theme-toggle-mobile {
        background: transparent;
        border: 1px solid var(--border-color);
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        margin: 0;
        position: relative;
    }
    
    /* Sun icon - visible in light mode */
    .theme-toggle-mobile .sun-icon {
        width: 16px;
        height: 16px;
        position: relative;
        display: block;
    }
    
    .theme-toggle-mobile .sun-icon::before {
        content: '';
        position: absolute;
        width: 14px;
        height: 14px;
        background: var(--primary-color);
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* Moon icon - hidden by default (light mode) */
    .theme-toggle-mobile .moon-icon {
        width: 16px;
        height: 16px;
        position: relative;
        display: none;
    }
    
    .theme-toggle-mobile .moon-icon::before {
        content: '';
        position: absolute;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: transparent;
        top: 50%;
        left: 50%;
        transform: translate(20%, -50%);
        box-shadow: -4px 0 0 var(--accent-color);
    }
    
    /* Dark mode - hide sun, show moon */
    [data-theme="dark"] .theme-toggle-mobile .sun-icon {
        display: none;
    }
    
    [data-theme="dark"] .theme-toggle-mobile .moon-icon {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .security-features {
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ============================================
   Dark Mode Toggle - Themed CSS Icons
   ============================================ */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 12px;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-color);
    background: rgba(49, 130, 206, 0.1);
    transform: scale(1.05);
}

/* Sun Icon (Light Mode) - Pure CSS */
.theme-toggle .sun-icon {
    width: 14px;
    height: 14px;
    position: relative;
    display: block;
    transition: var(--transition);
}

.theme-toggle .sun-icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.theme-toggle .sun-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

/* Moon Icon (Dark Mode) - Pure CSS */
.theme-toggle .moon-icon {
    width: 22px;
    height: 22px;
    position: relative;
    display: none;
    transition: var(--transition);
}

.theme-toggle .moon-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset -7px -2px 0 0 var(--primary-color);
    top: 1px;
    left: 1px;
    transition: var(--transition);
}

/* Dark Mode Toggle State */
[data-theme="dark"] .theme-toggle {
    border-color: var(--primary-light);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon::before {
    box-shadow: inset -7px -2px 0 0 var(--primary-light);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(99, 179, 237, 0.15);
    border-color: #90cdf4;
}

[data-theme="dark"] .theme-toggle:hover .moon-icon::before {
    box-shadow: inset -7px -2px 0 0 #90cdf4;
}

/* ============================================
   Dark Mode Section Overrides - High Contrast
   ============================================ */

/* Navbar Dark Mode */
[data-theme="dark"] .navbar {
    background: rgba(13, 17, 23, 0.98);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .nav-logo .company-name {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-logo .tagline {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .nav-links a::after {
    background: var(--primary-light);
}

[data-theme="dark"] .nav-brand .logo {
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

[data-theme="dark"] .nav-brand .brand-text {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

[data-theme="dark"] .nav-toggle span {
    background: var(--text-secondary);
}

[data-theme="dark"] .nav-toggle:hover span {
    background: var(--primary-light);
}

[data-theme="dark"] .nav-links.active {
    background: var(--white);
    border: 1px solid var(--border-color);
}

/* Hero Dark Mode */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
}

[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-description {
    color: var(--text-light);
}

/* Products Dark Mode */
[data-theme="dark"] .products {
    background: #0d1117;
}

[data-theme="dark"] .product-card {
    background: #161b22;
    border-color: #30363d;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    border-color: #484f58;
    transform: translateY(-8px);
}

[data-theme="dark"] .product-icon {
    background: transparent;
    border: none;
}

[data-theme="dark"] .product-icon img {
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

[data-theme="dark"] .product-card:hover .product-icon {
    background: transparent;
    border: none;
}

[data-theme="dark"] .product-name {
    color: var(--text-primary);
}

[data-theme="dark"] .product-description {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-link {
    color: var(--primary-light);
}

[data-theme="dark"] .product-link:hover {
    color: #90cdf4;
}

/* About Dark Mode */
[data-theme="dark"] .about {
    background: #0d1117;
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .about-text {
    color: var(--text-secondary);
}

/* Visual Cards - Different backgrounds in dark mode to avoid identical blocks */
[data-theme="dark"] .visual-card {
    background: #1a202c;
    border-color: #4a5568;
}

[data-theme="dark"] .visual-card:nth-child(2) {
    background: #0d1117;
    border-color: #30363d;
}

[data-theme="dark"] .visual-card:hover {
    border-color: #63b3ed;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Stats Dark Mode */
[data-theme="dark"] .stats {
    background: #161b22;
    border-color: #30363d;
}

[data-theme="dark"] .stat-number {
    color: var(--primary-light);
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

/* Security Section Dark Mode - FIXED for readability */
[data-theme="dark"] .security {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f1419 100%);
}

[data-theme="dark"] .security-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-theme="dark"] .security-text {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

[data-theme="dark"] .security-item span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

[data-theme="dark"] .security-item svg {
    color: #63b3ed;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Contact Section */
.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    text-align: center;
}

.contact-info {
    max-width: 500px;
}

.contact-info .section-header {
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
    line-height: 1.7;
}

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

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

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item a {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item span {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Dark Mode - Distinct from Security section */
[data-theme="dark"] .contact {
    background: #0d1117;
    border-top: 1px solid #30363d;
}

[data-theme="dark"] .contact-title {
    color: #f0f6fc;
}

[data-theme="dark"] .contact-description {
    color: #c9d1d9;
}

[data-theme="dark"] .contact-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-item svg {
    color: #63b3ed;
}

[data-theme="dark"] .cta-card {
    background: linear-gradient(135deg, #1a202c 0%, #0d1117 100%);
    border-color: #30363d;
}

[data-theme="dark"] .cta-card h3 {
    color: #f0f6fc;
}

[data-theme="dark"] .cta-card p {
    color: #a0aec0;
}

[data-theme="dark"] .contact-email {
    color: #63b3ed;
    border-color: rgba(99, 179, 237, 0.3);
}

[data-theme="dark"] .contact-email:hover {
    background: rgba(99, 179, 237, 0.15);
    border-color: #63b3ed;
}

@media (max-width: 1024px) {
    .contact-grid {
        flex-direction: column;
        gap: 48px;
    }
}

/* Footer Dark Mode - DARK with white logo */
[data-theme="dark"] .footer {
    background: #0d1117;
    border-top: 1px solid #30363d;
    color: #a0aec0;
}

[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
    height: 80px;
}

[data-theme="dark"] .footer-tagline {
    color: #a0aec0;
}

[data-theme="dark"] .footer-bottom {
    color: #718096;
    border-top-color: #30363d;
}

[data-theme="dark"] .footer-column h4 {
    color: #e2e8f0;
}

[data-theme="dark"] .footer-column a {
    color: #a0aec0;
}

[data-theme="dark"] .footer-column a:hover {
    color: #63b3ed;
}

/* ============================================
   Video Background Styles
   ============================================ */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 95, 0.7);
    z-index: 1;
}

[data-theme="dark"] .hero-video-overlay {
    background: rgba(13, 17, 23, 0.85);
}
