/* Zoom Analytics Redesign - Core Stylesheet */

:root {
    /* Color Palette - Default (Dark) */
    --color-bg-primary: #030712;
    --color-bg-secondary: #0b1329;
    --color-bg-card: rgba(15, 23, 42, 0.55);
    --color-bg-card-hover: rgba(30, 41, 59, 0.7);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-focus: rgba(6, 182, 212, 0.5);
    
    --color-text-primary: #0284c7;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    
    --color-teal: #06b6d4;
    --color-teal-glow: rgba(6, 182, 212, 0.25);
    --color-green: #10b981;
    --color-green-glow: rgba(16, 185, 129, 0.2);
    --color-amber: #f59e0b;
    --color-amber-glow: rgba(245, 158, 11, 0.25);
    --color-red: #ef4444;
    --color-red-glow: rgba(239, 68, 68, 0.2);
    
    /* Typography & Transitions */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* Light Theme Variables */
[data-theme="light"] {
    --color-bg-primary: #f8fafc;
    --color-bg-secondary: #f1f5f9;
    --color-bg-card: rgba(255, 255, 255, 0.9);
    --color-bg-card-hover: rgba(255, 255, 255, 0.98);
    --color-border: rgba(15, 23, 42, 0.1);
    --color-border-focus: rgba(2, 132, 199, 0.5);
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    
    --color-teal: #0284c7;
    --color-teal-glow: rgba(2, 132, 199, 0.12);
    --color-green: #059669;
    --color-green-glow: rgba(5, 150, 105, 0.12);
    --color-amber: #d97706;
    --color-amber-glow: rgba(217, 119, 6, 0.12);
    --color-red: #dc2626;
    --color-red-glow: rgba(220, 38, 38, 0.12);
}

/* Light Theme High Contrast & Visibility Overrides */
[data-theme="light"] .text-white { color: #0f172a !important; }
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4, [data-theme="light"] h5 { color: #0f172a !important; }
[data-theme="light"] .hero-title { color: #0f172a !important; }
[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .logo-zoom { color: #0f172a !important; font-weight: 800 !important; }
[data-theme="light"] .logo-subtext { color: #0284c7 !important; font-weight: 800 !important; }
[data-theme="light"] .logo-ltd { background: rgba(2, 132, 199, 0.1) !important; color: #0284c7 !important; border-color: rgba(2, 132, 199, 0.25) !important; }
[data-theme="light"] .nav-link { color: #0f172a !important; font-weight: 600 !important; }
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active { color: #0284c7 !important; }
[data-theme="light"] .mobile-nav-link { color: #0f172a !important; font-weight: 600 !important; }
[data-theme="light"] .mobile-nav-link:hover, [data-theme="light"] .mobile-nav-link.active { color: #0284c7 !important; }

[data-theme="light"] .stat-num { color: #0f172a !important; }
[data-theme="light"] .stat-label { color: #475569 !important; }
[data-theme="light"] .service-card { background: #ffffff !important; border-color: rgba(15, 23, 42, 0.12) !important; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05); }
[data-theme="light"] .service-card:hover { background: #ffffff !important; border-color: #0284c7 !important; box-shadow: 0 12px 35px rgba(2, 132, 199, 0.16) !important; }
[data-theme="light"] .service-card h3 { color: #0f172a !important; }
[data-theme="light"] .service-desc { color: #334155 !important; }
[data-theme="light"] .service-bullets li { color: #334155 !important; }
[data-theme="light"] .service-bullets li strong { color: #0f172a !important; }
[data-theme="light"] .client-card { background: #ffffff !important; border-color: rgba(15, 23, 42, 0.12) !important; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05); }
[data-theme="light"] .client-card-content h3 { color: #0f172a !important; }
[data-theme="light"] .client-desc { color: #334155 !important; }
[data-theme="light"] .c-tag { background: rgba(15, 23, 42, 0.06) !important; color: #0f172a !important; border-color: rgba(15, 23, 42, 0.12) !important; }
[data-theme="light"] .footprint-card { background: #ffffff !important; border-color: rgba(15, 23, 42, 0.12) !important; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05); }
[data-theme="light"] .footprint-card h4 { color: #0f172a !important; }
[data-theme="light"] .fp-desc { color: #334155 !important; }
[data-theme="light"] .fp-type { color: #0f172a !important; }
[data-theme="light"] .fp-meta { color: #64748b !important; border-top-color: rgba(15, 23, 42, 0.08) !important; }

/* What We Do Timeline Light Mode Hover Fix */
[data-theme="light"] .timeline-item { background: #ffffff !important; border-color: rgba(15, 23, 42, 0.12) !important; box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05); }
[data-theme="light"] .timeline-item:hover { background: #ffffff !important; border-color: #0284c7 !important; transform: translateY(-4px); box-shadow: 0 14px 35px rgba(2, 132, 199, 0.18) !important; }
[data-theme="light"] .timeline-num { background: #ffffff !important; border-color: #0284c7 !important; color: #0284c7 !important; }
[data-theme="light"] .timeline-content h4 { color: #0f172a !important; font-weight: 700 !important; }
[data-theme="light"] .timeline-content p { color: #334155 !important; }

/* Dashboard & Threat Items Light Mode */
[data-theme="light"] .db-tab-btn { color: #475569 !important; background: rgba(15, 23, 42, 0.03) !important; }
[data-theme="light"] .db-tab-btn.active { background: #ffffff !important; color: #0284c7 !important; border-color: rgba(2, 132, 199, 0.3) !important; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12) !important; }
[data-theme="light"] .tab-btn-title { color: #0f172a !important; }
[data-theme="light"] .tab-btn-desc { color: #64748b !important; }
[data-theme="light"] .gauge-val { color: #0f172a !important; }
[data-theme="light"] .fw-name { color: #0f172a !important; }
[data-theme="light"] .threat-name { color: #0f172a !important; }
[data-theme="light"] .threat-target { color: #64748b !important; }
[data-theme="light"] .threat-eta { color: #0f172a !important; }
[data-theme="light"] .card-title { color: #0f172a !important; font-weight: 700 !important; }

/* Download Items Hover Fix */
[data-theme="light"] .download-item { background: #ffffff !important; border-color: rgba(15, 23, 42, 0.12) !important; }
[data-theme="light"] .download-item:hover { background: #ffffff !important; border-color: #0284c7 !important; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15) !important; }
[data-theme="light"] .download-item:hover .download-name { color: #0284c7 !important; }
[data-theme="light"] .download-item:hover .download-action { color: #0284c7 !important; }

/* Contact Methods & Links Hover Fix (info@zald.org, Phone, Email) */
[data-theme="light"] .contact-method strong { color: #0f172a !important; }
[data-theme="light"] .contact-method a { color: #0f172a !important; font-weight: 600 !important; }
[data-theme="light"] .contact-method a:hover { color: #0284c7 !important; text-decoration: underline !important; font-weight: 700 !important; }
[data-theme="light"] .mobile-contact-info a { color: #0f172a !important; }
[data-theme="light"] .mobile-contact-info a:hover { color: #0284c7 !important; font-weight: 700 !important; }

[data-theme="light"] .form-header h4 { color: #0f172a !important; }
[data-theme="light"] .form-header p { color: #475569 !important; }
[data-theme="light"] .form-group label { color: #0f172a !important; font-weight: 600 !important; }
[data-theme="light"] .form-input { background: #ffffff !important; color: #0f172a !important; border-color: rgba(15, 23, 42, 0.18) !important; }
[data-theme="light"] .form-input::placeholder { color: #94a3b8 !important; }

/* Footer Links & info@zald.org Hover Fix */
[data-theme="light"] .site-footer { background: #f1f5f9 !important; border-top: 1px solid rgba(15, 23, 42, 0.1) !important; color: #0f172a !important; }
[data-theme="light"] .footer-brand p { color: #334155 !important; }
[data-theme="light"] .footer-links-col a { color: #334155 !important; font-weight: 500 !important; }
[data-theme="light"] .footer-links-col a:hover { color: #0284c7 !important; font-weight: 700 !important; text-decoration: underline !important; }
[data-theme="light"] .footer-links-col h5 { color: #0f172a !important; font-weight: 700 !important; }
[data-theme="light"] .copyright { color: #64748b !important; }

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

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal);
}

/* Typography elements */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-padding {
    padding: 7rem 0;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.text-green { color: var(--color-green); }
.text-teal { color: var(--color-teal); }
.text-amber { color: var(--color-amber); }
.text-white { color: #ffffff; }
.text-sm { font-size: 0.875rem; }
.text-secondary { color: var(--color-text-secondary); }
.font-bold { font-weight: 600; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-teal), #0284c7);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, #0891b2, #0369a1);
}

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Glassmorphism Styles */
.glass {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    background: var(--color-teal-glow);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--color-teal);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.badge-green {
    background: var(--color-green-glow);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--color-green);
}

.badge-yellow {
    background: var(--color-amber-glow);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--color-amber);
}

.badge-red {
    background: var(--color-red-glow);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--color-red);
}

.badge-teal {
    background: var(--color-teal-glow);
    border-color: rgba(6, 182, 212, 0.2);
    color: var(--color-teal);
}

/* Background Gradients */
.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.mesh-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.25;
}

.sphere-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-teal), rgba(0,0,0,0));
}

.sphere-2 {
    top: 600px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-bg-secondary), rgba(0,0,0,0));
    opacity: 0.45;
}

.sphere-3 {
    top: 1400px;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), rgba(0,0,0,0));
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 1.25rem;
    left: 2rem;
    right: 2rem;
    height: 4.8rem;
    z-index: 100;
    transition: var(--transition-smooth);
    border-radius: 0.75rem;
}

.site-header.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(3, 7, 18, 0.85);
    height: 4.4rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-icon-wrapper {
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    color: var(--color-teal);
}

[data-theme="dark"] .logo-icon-wrapper {
    --logo-hub-bg: #0f172a;
    color: #38bdf8;
}

[data-theme="light"] .logo-icon-wrapper {
    --logo-hub-bg: #ffffff;
    color: #0284c7;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.brand-logo-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.logo-gear {
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-area:hover .logo-icon-wrapper {
    border-color: var(--color-teal);
    box-shadow: 0 0 24px var(--color-teal-glow);
    transform: translateY(-1px);
}

.logo-area:hover .gear-left {
    transform: translate(85px, 130px) scale(0.92) rotate(-60deg);
}

.logo-area:hover .gear-right {
    transform: translate(158px, 92px) scale(0.82) rotate(75deg);
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.logo-zoom {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color:  #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

.logo-subtext {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-teal);
}

.logo-ltd {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-teal);
    border: 1px solid rgba(6, 182, 212, 0.25);
    margin-left: 0.2rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-teal);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--color-teal);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-teal);
}

.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    cursor: pointer;
    border-radius: 0.5rem;
}

/* Mobile Nav Backdrop Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85vw;
    max-width: 20rem;
    height: 100vh;
    height: 100dvh;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 2.5rem 1.5rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: none;
    border-bottom: none;
    border-right: none;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(11, 19, 41, 0.96);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.open {
    transform: translateX(-100%);
    right: 0;
}

.mobile-close {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    cursor: pointer;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-bottom: 2rem;
}

.mobile-nav-link {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    font-weight: 600;
    padding: 0.3rem 0;
    display: block;
    transition: var(--transition-fast);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    color: var(--color-teal);
    transform: translateX(4px);
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
}

.mobile-contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.mobile-loc-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Light Theme Overrides for Mobile Drawer */
[data-theme="light"] .mobile-nav-toggle {
    color: #0f172a !important;
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .mobile-nav-drawer {
    background: #ffffff !important;
    border-left: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .mobile-close {
    background: rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .mobile-nav-link {
    color: #334155 !important;
}

[data-theme="light"] .mobile-nav-link.active, 
[data-theme="light"] .mobile-nav-link:hover {
    color: #0284c7 !important;
}

[data-theme="light"] .mobile-contact-info a {
    color: #0f172a !important;
}


/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem 0;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--color-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-suffix {
    color: var(--color-teal);
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual & Image */
.hero-visual {
    position: relative;
}

.visual-wrapper {
    width: 100%;
    overflow: hidden;
}

.visual-header {
    height: 2.25rem;
    border-bottom: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    justify-content: space-between;
}

.dots {
    display: flex;
    gap: 0.35rem;
}

.dots span {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.dot-red { background: var(--color-red); }
.dot-yellow { background: var(--color-amber); }
.dot-green { background: var(--color-green); }

.visual-title {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.visual-body-hero-img {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.hero-banner-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
}

.visual-panel-row {
    display: flex;
    gap: 1rem;
}

.visual-mini-panel {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mini-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mini-val {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Section Headers */
.section-header {
    max-width: 700px;
    margin-bottom: 4rem;
}

.section-header.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.75rem;
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.section-desc-light {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.service-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
    border-radius: 1rem;
    justify-content: space-between;
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-badge-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 0.35rem;
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-focus);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15);
}

.service-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.75rem;
    background: var(--color-teal-glow);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--color-teal);
    color: #ffffff;
    box-shadow: 0 0 20px var(--color-teal-glow);
    transform: rotate(5deg);
}

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

.service-desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Service Visual Box & Graphs */
.service-visual-box {
    padding: 0.85rem;
    border-radius: 0.65rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--color-border);
    margin: 0.5rem 0;
}

[data-theme="light"] .service-visual-box {
    background: rgba(241, 245, 249, 0.75);
    border-color: rgba(15, 23, 42, 0.1);
}

.sv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.4rem;
}

.sv-header i {
    width: 0.85rem;
    height: 0.85rem;
    vertical-align: middle;
}

.sv-svg {
    width: 100%;
    height: 70px;
    overflow: visible;
}

.sv-flow-line {
    animation: flowPulse 2s linear infinite;
}

@keyframes flowPulse {
    0% { stroke-dashoffset: 8; }
    100% { stroke-dashoffset: 0; }
}

.service-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.25rem 0 0.75rem 0;
}

.service-bullets li {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}

.service-bullets li i {
    width: 0.9rem;
    height: 0.9rem;
    color: var(--color-teal);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-teal);
    margin-top: 0.5rem;
}

.service-link i {
    transition: transform 0.25s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Why Us Image Frame & Floating Badge */
.why-us-img-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-us-banner-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.why-us-img-frame:hover .why-us-banner-img {
    transform: scale(1.03);
}

.why-us-floating-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

[data-theme="light"] .why-us-floating-badge {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

.service-card:hover .service-link i {
    transform: translateX(3px);
}

/* Client Showcase Grid (Confirmed Business Engagements) */
.client-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.client-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    transition: var(--transition-smooth);
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.client-image-wrapper {
    position: relative;
    width: 100%;
    height: 15rem;
    overflow: hidden;
}

.client-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.client-card:hover .client-img {
    transform: scale(1.05);
}

.client-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.client-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.client-card-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.client-location {
    font-size: 0.85rem;
    color: var(--color-teal);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.client-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    flex: 1;
}

.client-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.c-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 0.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Interactive Dashboard Demo Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 18rem 1fr;
    overflow: hidden;
    min-height: 32rem;
    border-radius: 1rem;
}

.dashboard-controls {
    border-right: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
}

.db-tab-btn {
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--color-text-secondary);
}

.db-tab-btn i {
    font-size: 1.25rem;
    margin-top: 0.15rem;
    transition: var(--transition-fast);
}

.db-tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

.db-tab-btn.active {
    background: rgba(6, 182, 212, 0.08);
    color: #ffffff;
    border-left: 3px solid var(--color-teal);
}

.db-tab-btn.active i {
    color: var(--color-teal);
    filter: drop-shadow(0 0 6px var(--color-teal-glow));
}

.tab-btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tab-btn-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.tab-btn-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.dashboard-screen {
    background: rgba(3, 7, 18, 0.4);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.db-screen-content {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: screenFade 0.4s ease-out forwards;
}

.db-screen-content.active {
    display: flex;
}

.screen-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.screen-header-bar h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.screen-header-bar h3 i {
    color: var(--color-teal);
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-full {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.card-full-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.flex-center-y {
    justify-content: center;
    align-items: center;
}

/* Gauge Chart styling */
.gauge-wrapper {
    position: relative;
    width: 180px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-svg {
    width: 100%;
}

.gauge-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    position: absolute;
    bottom: 25px;
    color: #ffffff;
}

.gauge-val .pct {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
}

.gauge-status {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: absolute;
    bottom: 5px;
}

/* Deviations list in compliance */
.deviations-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deviations-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.fw-name {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Threat queue */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.threat-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.threat-status {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.threat-status.red {
    background: var(--color-red);
    box-shadow: 0 0 8px var(--color-red);
}

.threat-status.yellow {
    background: var(--color-amber);
    box-shadow: 0 0 8px var(--color-amber);
}

.threat-status.green {
    background: var(--color-green);
    box-shadow: 0 0 8px var(--color-green);
}

.threat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.threat-name {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.threat-target {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.threat-eta {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

/* Real-time Uptime Screen */
.pulsing-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.pulse-text {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.kpi-card {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kpi-label {
    font-size: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.kpi-val {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
}

.chart-container {
    width: 100%;
    margin-top: 1rem;
}

.realtime-chart {
    width: 100%;
    height: 10rem;
    overflow: visible;
}

/* Compliance log console style */
.progress-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
}

.progress-track {
    width: 100%;
    height: 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-teal), var(--color-green));
    border-radius: 1rem;
    box-shadow: 0 0 10px var(--color-teal-glow);
    transition: width 1s ease-in-out;
}

.progress-stats {
    display: flex;
    gap: 2rem;
}

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

.prog-num {
    font-size: 1.25rem;
    font-weight: 700;
}

.prog-lbl {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.activity-log {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 1rem;
    height: 7.5rem;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.75rem;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.log-entry {
    display: flex;
    gap: 0.5rem;
}

.log-time {
    color: var(--color-teal);
    font-weight: bold;
}

.log-msg {
    color: var(--color-text-secondary);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.download-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.download-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.download-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon.red {
    background: var(--color-red-glow);
    color: var(--color-red);
}

.download-icon.teal {
    background: var(--color-teal-glow);
    color: var(--color-teal);
}

.download-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.download-size {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.download-action {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.download-item:hover .download-action {
    color: #ffffff;
}

/* Timeline/Engagement Model Section */
.timeline-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 2.25rem;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--color-border) 0%, var(--color-teal) 50%, var(--color-border) 100%);
    z-index: 1;
}

.timeline-item {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    transition: var(--transition-smooth);
}

.timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.7);
    transform: translateY(-2px);
}

.timeline-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-bg-primary);
    border: 2px solid var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-teal);
    position: absolute;
    top: -2.25rem;
    left: 1.75rem;
    box-shadow: 0 0 10px var(--color-teal-glow);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
}

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

/* Why Us Section */
.why-us-visual {
    position: relative;
    height: 100%;
    min-height: 25rem;
}

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

.badge-ring-wrapper {
    position: relative;
    width: 20rem;
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hex-badge {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    border-width: 2px;
}

.badge-lbl {
    font-size: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.badge-val {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.hex-ring {
    position: absolute;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.ring-1 {
    width: 16rem;
    height: 16rem;
    animation: rotate 12s linear infinite;
    border-color: rgba(245, 158, 11, 0.2);
}

.ring-2 {
    width: 19rem;
    height: 19rem;
    animation: rotateBack 18s linear infinite;
    border-color: rgba(6, 182, 212, 0.25);
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.why-us-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-us-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-us-list li i {
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.why-us-list li strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.25rem;
}

.why-us-list li p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Contact Section & Secure Intake Form */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.contact-method i {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-method div span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-method div a, .contact-method div strong {
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-method div a:hover {
    color: var(--color-teal);
}

.contact-form-container {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.form-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-header h4 {
    font-size: 1.25rem;
}

.form-header p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group label {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-input {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-teal);
    box-shadow: 0 0 10px var(--color-teal-glow);
}

select.form-input option {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.dynamic-form-fields {
    overflow: hidden;
    transition: var(--transition-smooth);
}

.dynamic-field-group {
    animation: fieldReveal 0.4s ease-out forwards;
}

.error-msg {
    font-size: 0.7rem;
    color: var(--color-red);
    position: absolute;
    bottom: -1.15rem;
    left: 0.25rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: var(--transition-fast);
}

.form-group.invalid .form-input {
    border-color: var(--color-red);
    box-shadow: 0 0 10px var(--color-red-glow);
}

.form-group.invalid .error-msg {
    opacity: 1;
    transform: translateY(0);
}

.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-message {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-message i {
    width: 4rem;
    height: 4rem;
    stroke-width: 1.5;
}

.success-message h4 {
    font-size: 1.5rem;
}

.success-message p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 90%;
}

/* Footer styling */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 3rem 0;
    background: rgba(3, 7, 18, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    max-width: 85%;
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: auto;
    padding-top: 2rem;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-col h5 {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links-col a:hover {
    color: #ffffff;
}

.footer-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,0.02);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    width: fit-content;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-teal);
}

.footer-email a {
    color: var(--color-teal);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-email a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Broader Client Footprint & Ecosystem Section */
.broader-portfolio-wrapper {
    margin-top: 4rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--color-border);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.portfolio-title-area {
    max-width: 620px;
}

.portfolio-title-area h3 {
    font-size: 1.6rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-desc {
    color: var(--color-text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
}

.portfolio-filter-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.35rem;
    border-radius: 0.6rem;
    border: 1px solid var(--color-border);
}

.port-tab-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.port-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.port-tab-btn.active {
    background: var(--color-teal);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(6, 182, 212, 0.35);
}

.footprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.footprint-card {
    padding: 1.35rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--color-border);
    position: relative;
    background: rgba(15, 23, 42, 0.45);
}

.footprint-card.hide {
    display: none !important;
}

.footprint-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-teal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    background: rgba(30, 41, 59, 0.6);
}

.partner-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border-color: rgba(168, 85, 247, 0.25);
}

.partner-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.15);
}

.fp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.fp-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-icon i {
    width: 1.2rem;
    height: 1.2rem;
}

.partner-card .fp-icon {
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.fp-tag {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 0.25rem;
}

.tag-blue { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.2); }
.tag-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.tag-purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.2); }
.tag-amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.tag-teal { background: rgba(6, 182, 212, 0.12); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.2); }

.footprint-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.fp-role {
    font-size: 0.78rem;
    color: var(--color-teal);
    font-weight: 500;
    margin-bottom: 0.65rem;
    display: block;
}

.partner-card .fp-role {
    color: #c084fc;
}

.fp-desc {
    font-size: 0.835rem;
    color: var(--color-text-secondary);
    line-height: 1.45;
    margin-bottom: 1.1rem;
}

.fp-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.fp-meta i {
    width: 0.85rem;
    height: 0.85rem;
    vertical-align: middle;
    margin-right: 0.2rem;
}

.fp-type {
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Keyframes & Animations */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 10px inherit; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes circlePulse {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
}

@keyframes floatNode {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-5px) translateX(3px); }
    100% { transform: translateY(4px) translateX(-2px); }
}

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

@keyframes fieldReveal {
    from { opacity: 0; transform: translateY(-10px); max-height: 0; }
    to { opacity: 1; transform: translateY(0); max-height: 100px; }
}

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

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

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Finance, Tax & ZRA Compliance Practice Styles */
.finance-section {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(3, 7, 18, 0.8) 100%);
}

.finance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.fin-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-radius: 0.85rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    position: relative;
    background: rgba(15, 23, 42, 0.55);
}

.fin-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(30, 41, 59, 0.75);
}

.fin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fin-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.fin-icon i {
    width: 1.6rem;
    height: 1.6rem;
}

.fin-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
}

.fin-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

.fin-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.fin-list li {
    font-size: 0.875rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.45;
}

.fin-list li i {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Core Banking System Highlight Pills */
.core-banking-pill-box {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 0.65rem;
}

.cb-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-teal);
    margin-bottom: 0.6rem;
}

.cb-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cb-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.cb-tag-finacle {
    border-color: rgba(6, 182, 212, 0.4);
    color: #38bdf8;
    background: rgba(6, 182, 212, 0.12);
}

.cb-tag-flexcube {
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}

/* Infrastructure Pop-up Tech Suite Styles */
.infra-tech-suite {
    margin-top: 1.5rem;
    padding: 1.15rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
}

.infra-suite-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-amber);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.infra-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ipill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.ipill:hover {
    border-color: var(--color-teal);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-1px);
}

.ipill-starlink {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.ipill i {
    width: 0.95rem;
    height: 0.95rem;
}

/* Light Theme Overrides for New Components */
[data-theme="light"] .finance-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

[data-theme="light"] .fin-card {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .fin-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .fin-desc {
    color: #334155 !important;
}

[data-theme="light"] .fin-list li {
    color: #0f172a !important;
}

[data-theme="light"] .fin-list {
    border-top-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .core-banking-pill-box {
    background: rgba(2, 132, 199, 0.06) !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .cb-tag-finacle {
    background: rgba(2, 132, 199, 0.1) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}

[data-theme="light"] .cb-tag-flexcube {
    background: rgba(217, 119, 6, 0.1) !important;
    color: #d97706 !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
}

[data-theme="light"] .infra-tech-suite {
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .ipill {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .ipill-starlink {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
}

/* Responsive Grid Adjustments for Finance Practice */
@media (max-width: 1024px) {
    .finance-grid {
        grid-template-columns: 1fr;
    }
}


/* Responsive Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .grid-2 {
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    
    .timeline-container::before {
        display: none;
    }
    
    .timeline-item {
        margin-top: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-links-col:last-child {
        grid-column: span 3;
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
        border-top: 1px solid var(--color-border);
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .site-header {
        left: 0.5rem;
        right: 0.5rem;
        top: 0.5rem;
        padding: 0 0.5rem;
        height: 4.2rem;
    }
    
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        padding: 0 0.25rem;
    }

    .logo-area {
        gap: 0.5rem;
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-icon-wrapper {
        width: 2.5rem;
        height: 2.5rem;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 1.15rem;
        white-space: nowrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .btn-tel-header {
        padding: 0.35rem 0.6rem;
    }

    .btn-tel-header .tel-text {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 2.6rem;
        height: 2.6rem;
        padding: 0;
        border-radius: 0.5rem;
        flex-shrink: 0;
    }

    .mobile-nav-toggle i {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .hero-section {
        padding: 7.5rem 0 3.5rem 0;
    }
    
    .hero-title {
        font-size: 2.35rem;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-controls {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        overflow-x: auto;
    }
    
    .db-tab-btn {
        flex: 1;
        min-width: 11rem;
        border-bottom: none;
        border-right: 1px solid var(--color-border);
        padding: 0.85rem;
    }
    
    .db-tab-btn.active {
        border-left: none;
        border-bottom: 3px solid var(--color-teal);
    }
    
    .screen-grid {
        grid-template-columns: 1fr;
    }
    
    .threat-grid {
        grid-template-columns: 1fr;
    }
    
    .kpi-row {
        grid-template-columns: 1fr;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .client-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    
    .footer-links-col:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .logo-subtext {
        display: none;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}
