/**
 * GH NETWORK - Modern Responsive UI Stylesheet
 * Enhanced mobile-first responsive design with light/white theme
 * Version: 2.0
 */

/* ============================================
   CSS VARIABLES - Light Theme System
   ============================================ */
:root {
    /* Primary Brand Colors */
    --brand-primary: #6366f1;
    --brand-primary-dark: #4f46e5;
    --brand-primary-light: #818cf8;
    --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    
    /* Background Colors - Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-elevated: #ffffff;
    --bg-hover: #f8fafc;
    
    /* Surface Colors */
    --surface-1: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --surface-4: #e2e8f0;
    
    /* Text Colors - High Contrast for Light Theme */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-strong: #94a3b8;
    
    /* Shadow System - Subtle for Light Theme */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.08), 0 4px 6px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.1), 0 8px 10px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-toast: 600;
}

/* ============================================
   BASE STYLES & RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: "Anek Bangla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   CONTAINER SYSTEM
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 960px;
}

.container-wide {
    max-width: 1440px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

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

a:hover {
    color: var(--brand-primary-dark);
}

/* ============================================
   BUTTONS - Modern Light Theme
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.3), var(--shadow-glow);
    color: var(--text-inverse);
}

.btn-secondary {
    background: var(--surface-1);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--border-medium);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--surface-2);
    color: var(--text-primary);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

/* ============================================
   CARDS - Light Theme Design
   ============================================ */
.card {
    background: var(--surface-1);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.card-body {
    padding: var(--space-6);
}

.card-header {
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-2);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border-light);
    background: var(--surface-2);
}

/* ============================================
   FORMS - Light Theme
   ============================================ */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--surface-1);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-tertiary); }
.text-brand { color: var(--brand-primary); }

.bg-surface { background: var(--surface-1); }
.bg-surface-2 { background: var(--surface-2); }
.bg-surface-3 { background: var(--surface-3); }

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   FLEXBOX UTILITIES
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ============================================
   SPACING UTILITIES
   ============================================ */
.m-0 { margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--space-16) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
    padding: 0 var(--space-6);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

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

/* ============================================
   DESKTOP NAVIGATION - Top Bar
   ============================================ */
@media (min-width: 1025px) {
    .nav-desktop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: var(--z-fixed);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-sm);
    }
    
    .nav-desktop-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 var(--space-8);
        max-width: 1440px;
        margin: 0 auto;
    }
    
    /* Logo Section */
    .nav-logo {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        text-decoration: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        background: var(--brand-gradient);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: var(--text-lg);
        box-shadow: var(--shadow-md);
    }
    
    .logo-text {
        font-size: var(--text-xl);
        font-weight: 800;
        color: var(--text-primary);
        letter-spacing: -0.02em;
    }
    
    /* Navigation Links */
    .nav-links-section {
        display: flex;
        align-items: center;
        gap: var(--space-1);
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-3) var(--space-4);
        color: var(--text-tertiary);
        font-size: var(--text-base);
        font-weight: 500;
        border-radius: var(--radius-lg);
        transition: all var(--transition-fast);
        text-decoration: none;
    }
    
    .nav-link:hover {
        color: var(--text-primary);
        background: var(--surface-2);
    }
    
    .nav-link.active {
        color: var(--brand-primary);
        background: rgba(99, 102, 241, 0.1);
    }
    
    .nav-link i {
        font-size: var(--text-base);
    }
    
    /* Right Actions */
    .nav-right-actions {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }
    
    .icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: var(--text-tertiary);
        background: transparent;
        border: none;
        border-radius: var(--radius-md);
        font-size: var(--text-lg);
        cursor: pointer;
        transition: all var(--transition-fast);
        text-decoration: none;
    }
    
    .icon-btn:hover {
        color: var(--brand-primary);
        background: var(--surface-2);
    }
    
    /* Desktop Login Button */
    .login-btn {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-3) var(--space-5);
        background: var(--brand-gradient);
        color: white;
        font-size: var(--text-sm);
        font-weight: 600;
        border-radius: var(--radius-lg);
        text-decoration: none;
        transition: all var(--transition-fast);
        box-shadow: var(--shadow-sm);
    }
    
    .login-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md), var(--shadow-glow);
        color: white;
    }
    
    /* Body padding for desktop nav */
    body {
        padding-top: 70px;
    }
}

/* ============================================
   TABLET NAVIGATION (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-desktop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: var(--z-fixed);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-desktop-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        padding: 0 var(--space-6);
    }
    
    .nav-links-section {
        display: flex;
        align-items: center;
        gap: var(--space-1);
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-3);
        color: var(--text-tertiary);
        border-radius: var(--radius-lg);
        transition: all var(--transition-fast);
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: var(--text-lg);
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: var(--space-3);
    }
    
    body {
        padding-top: 64px;
    }
}

/* ============================================
   MOBILE NAVIGATION - Bottom App Bar
   ============================================ */
@media (max-width: 768px) {
    /* Hide desktop nav on mobile */
    .nav-desktop {
        display: none !important;
    }
    
    /* Mobile Bottom Navigation */
    .nav-mobile-app {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: var(--z-fixed);
    }
    
    /* App Bar Container */
    .bottom-app-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    }
    
    /* Bottom Nav Items */
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: var(--space-2) var(--space-3);
        color: var(--text-tertiary);
        text-decoration: none;
        font-size: var(--text-xs);
        font-weight: 500;
        border-radius: var(--radius-lg);
        transition: all var(--transition-fast);
        min-width: 56px;
        position: relative;
    }
    
    .bottom-nav-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: currentColor;
        opacity: 0;
        border-radius: var(--radius-lg);
        transition: opacity var(--transition-fast);
    }
    
    .bottom-nav-item:hover::before,
    .bottom-nav-item:active::before {
        opacity: 0.06;
    }
    
    .bottom-nav-item:hover {
        color: var(--text-primary);
    }
    
    .bottom-nav-item.active {
        color: var(--brand-primary);
    }
    
    .bottom-nav-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--text-lg);
        transition: transform var(--transition-fast);
    }
    
    .bottom-nav-item.active .bottom-nav-icon {
        transform: translateY(-2px);
    }
    
    .bottom-nav-label {
        font-size: 11px;
        font-weight: 500;
        line-height: 1;
    }
    
    /* Floating Action Button (FAB) */
    .fab-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        position: relative;
        top: -16px;
    }
    
    .fab-button {
        width: 56px;
        height: 56px;
        border-radius: var(--radius-xl);
        background: var(--brand-gradient);
        border: none;
        color: white;
        font-size: var(--text-xl);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: var(--shadow-lg), 0 0 0 4px var(--bg-secondary);
        transition: all var(--transition-base);
    }
    
    .fab-button:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: var(--shadow-xl), 0 0 0 4px var(--bg-secondary), var(--shadow-glow);
    }
    
    .fab-button:active {
        transform: scale(0.95);
    }
    
    .fab-button.active {
        background: linear-gradient(135deg, #818cf8, #6366f1);
    }
    
    .fab-label {
        font-size: 11px;
        font-weight: 500;
        color: var(--text-tertiary);
    }
    
    .fab-button.active + .fab-label {
        color: var(--brand-primary);
    }
    
    /* System Navigation Bar (Gesture Indicator) */
    .system-nav-bar {
        height: 20px;
        background: var(--surface-1);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    .gesture-indicator {
        width: 140px;
        height: 4px;
        background: var(--border-medium);
        border-radius: var(--radius-full);
    }
    
    /* Body padding for mobile nav */
    body {
        padding-top: 0;
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================
   MOBILE APP POPUP - Bottom Sheet
   ============================================ */
.mobile-app-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
}

.mobile-app-popup.show {
    display: block;
}

.app-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-app-popup.show .app-popup-overlay {
    opacity: 1;
}

.app-popup-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-1);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    max-height: 70vh;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.15);
}

.mobile-app-popup.show .app-popup-sheet {
    transform: translateY(0);
}

.app-popup-handle {
    width: 40px;
    height: 4px;
    background: var(--border-medium);
    border-radius: var(--radius-full);
    margin: var(--space-4) auto;
}

.app-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-6) var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.app-popup-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.app-popup-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--surface-2);
    border: none;
    color: var(--text-tertiary);
    font-size: var(--text-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.app-popup-close:hover {
    background: var(--surface-3);
    color: var(--text-primary);
}

.app-popup-body {
    padding: var(--space-4) var(--space-6) calc(var(--space-6) + env(safe-area-inset-bottom, 20px));
    max-height: 50vh;
    overflow-y: auto;
}

.app-popup-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast);
    margin-bottom: var(--space-2);
}

.app-popup-item:last-child {
    margin-bottom: 0;
}

.app-popup-item:hover {
    background: var(--surface-2);
}

.app-popup-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.app-popup-icon.call {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.app-popup-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.app-popup-icon.message {
    background: rgba(99, 102, 241, 0.1);
    color: var(--brand-primary);
}

.app-popup-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.app-popup-label {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
}

.app-popup-value {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.app-popup-arrow {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================
   HERO SECTION - Enhanced Responsive
   ============================================ */
.hero-cinematic {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: var(--space-6);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: var(--radius-full);
}

.hero-title-modern {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.hero-title-accent {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-cyber {
    padding: var(--space-12) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.stat-card-cyber {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.stat-card-cyber:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.stat-icon-cyber {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    background: rgba(99, 102, 241, 0.1);
    color: var(--brand-primary);
}

.stat-value-cyber {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.stat-label-cyber {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-neon {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.feature-card-neon {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.feature-card-neon:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon-neon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: white;
    background: var(--brand-gradient);
    box-shadow: var(--shadow-md);
}

.feature-title-neon {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.feature-desc-neon {
    color: var(--text-tertiary);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-glass {
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.testimonial-card-glass {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.testimonial-card-glass:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.testimonial-header-modern {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.testimonial-avatar-modern {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: white;
    font-weight: 700;
}

.testimonial-info-modern h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-1);
}

.testimonial-rating-modern {
    color: var(--accent-orange);
    font-size: var(--text-sm);
}

.testimonial-text-modern {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* ============================================
   COVERAGE SECTION
   ============================================ */
.coverage-map {
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.coverage-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.coverage-card-modern {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.coverage-card-modern:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-orange);
}

.coverage-icon-modern {
    width: 56px;
    height: 56px;
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: white;
    margin: 0 auto var(--space-4);
    box-shadow: var(--shadow-md);
}

.coverage-name-modern {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-final {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-4);
}

.cta-desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   TABLET RESPONSIVE (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.375rem;
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    .hero-grid-modern {
        gap: var(--space-8);
    }
    
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coverage-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MOBILE RESPONSIVE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
        --text-xl: 1.125rem;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    .section {
        padding: var(--space-10) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-8);
        padding: 0 var(--space-4);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    /* Hero Mobile */
    .hero-cinematic {
        padding: var(--space-8) 0 var(--space-10);
    }
    
    .hero-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .hero-text-content {
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual-modern {
        order: -1;
        height: 300px;
    }
    
    /* Stats Mobile */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        padding: 0 var(--space-4);
    }
    
    .stat-card-cyber {
        padding: var(--space-5) var(--space-4);
    }
    
    .stat-icon-cyber {
        width: 48px;
        height: 48px;
        font-size: var(--text-lg);
    }
    
    .stat-value-cyber {
        font-size: var(--text-2xl);
    }
    
    /* Features Mobile */
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        padding: 0 var(--space-4);
    }
    
    .feature-card-neon {
        padding: var(--space-5) var(--space-4);
    }
    
    .feature-icon-neon {
        width: 48px;
        height: 48px;
        font-size: var(--text-xl);
    }
    
    .feature-title-neon {
        font-size: var(--text-base);
    }
    
    .feature-desc-neon {
        font-size: var(--text-sm);
        display: none;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: 0 var(--space-4);
    }
    
    .testimonial-card-glass {
        padding: var(--space-5);
    }
    
    /* Coverage Mobile */
    .coverage-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        padding: 0 var(--space-4);
    }
    
    .coverage-card-modern {
        padding: var(--space-5) var(--space-4);
    }
    
    .coverage-icon-modern {
        width: 48px;
        height: 48px;
        font-size: var(--text-lg);
    }
    
    .coverage-name-modern {
        font-size: var(--text-base);
    }
    
    /* CTA Mobile */
    .cta-title {
        font-size: var(--text-2xl);
    }
    
    .cta-desc {
        font-size: var(--text-base);
    }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --text-4xl: 1.75rem;
        --text-3xl: 1.375rem;
    }
    
    .hero-title-modern {
        font-size: var(--text-3xl);
    }
    
    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-3);
    }
    
    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .btn-lg {
        padding: var(--space-3) var(--space-5);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }
    
    .stat-card-cyber {
        padding: var(--space-4) var(--space-3);
    }
    
    .stat-value-cyber {
        font-size: var(--text-xl);
    }
    
    .stat-label-cyber {
        font-size: 11px;
    }
    
    /* Bottom nav adjustments */
    .bottom-nav-item {
        padding: var(--space-2);
        min-width: 48px;
    }
    
    .bottom-nav-label {
        font-size: 10px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
    }
    
    .fab-label {
        font-size: 10px;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .stat-card-cyber:hover,
    .feature-card-neon:hover,
    .testimonial-card-glass:hover,
    .coverage-card-modern:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* ============================================
   SAFE AREA SUPPORT (Notch Devices)
   ============================================ */
@supports (padding-top: env(safe-area-inset-top)) {
    @media (max-width: 768px) {
        .nav-mobile-app {
            padding-bottom: env(safe-area-inset-bottom);
        }
        
        body {
            padding-bottom: calc(80px + env(safe-area-inset-bottom));
        }
    }
}

/* ============================================
   DARK MODE SUPPORT (System Preference)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Keep light theme even in dark mode */
    :root {
        --bg-primary: #ffffff;
        --bg-secondary: #f8fafc;
        --bg-tertiary: #f1f5f9;
    }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .nav-desktop,
    .nav-mobile-app,
    .mobile-app-popup,
    .btn {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .card,
    .stat-card-cyber,
    .feature-card-neon {
        break-inside: avoid;
    }
}
