/* Modern CalmPoint Styles - Professional Design */

/* Custom Properties */
:root {
    /* Primary Brand Colors */
    --brand-primary: #2563eb;
    --brand-secondary: #1e40af;
    --brand-accent: #3b82f6;
    
    /* Modern Color Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f0f9ff;
    --bg-dark: #0f172a;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Modern Typography Scale */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;
    
    /* Typography Scale (Perfect 4th - 1.333) */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    --text-7xl: 4.5rem;     /* 72px */
    
    /* Modern Spacing Scale (Fibonacci-inspired) */
    --space-0: 0;
    --space-1: 0.25rem;     /* 4px */
    --space-2: 0.5rem;      /* 8px */
    --space-3: 0.75rem;     /* 12px */
    --space-4: 1rem;        /* 16px */
    --space-5: 1.25rem;     /* 20px */
    --space-6: 1.5rem;      /* 24px */
    --space-8: 2rem;        /* 32px */
    --space-10: 2.5rem;     /* 40px */
    --space-12: 3rem;       /* 48px */
    --space-16: 4rem;       /* 64px */
    --space-20: 5rem;       /* 80px */
    --space-24: 6rem;       /* 96px */
    --space-32: 8rem;       /* 128px */
    
    /* Modern Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container Sizes */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

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

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.container-2xl { max-width: var(--container-2xl); }

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ===== MODERN TYPOGRAPHY ===== */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.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-muted); }
.text-white { color: var(--text-white); }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding: 0 var(--space-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-2) 0;
    transition: var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--text-xl);
    cursor: pointer;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--space-20) var(--space-6);
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-accent);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== MODERN BUTTON SYSTEM ===== */
.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;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline button for dark/colored backgrounds */
.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

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

/* ===== MODERN CARD SYSTEM ===== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.card-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--gray-100);
}

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

.card-footer {
    padding: var(--space-6);
    border-top: 1px solid var(--gray-100);
    background: var(--bg-secondary);
}

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--bg-accent);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.section-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: var(--space-12);
        text-align: center;
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .hero-visual {
        height: 400px;
    }
}

/* Mobile Large */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 4rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 4rem);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--space-8);
        transition: left var(--transition-normal);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: var(--text-2xl);
        color: var(--text-primary);
        cursor: pointer;
        z-index: 1001;
        padding: var(--space-2);
        min-width: 44px;
        min-height: 44px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding: var(--space-16) var(--space-4);
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* Mobile Standard */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
        --space-12: 2rem;
    }

    /* Navigation Mobile */
    .nav-links {
        position: fixed;
        top: 4rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 4rem);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--space-8);
        transition: left var(--transition-normal);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: var(--text-2xl);
        color: var(--text-primary);
        cursor: pointer;
        z-index: 1001;
        padding: var(--space-2);
        min-width: 44px;
        min-height: 44px;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 70vh;
        padding: calc(var(--space-20) + 2rem) 0 var(--space-20) 0;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-6);
        padding: var(--space-6) var(--space-4) 0 var(--space-4);
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: var(--text-4xl);
        line-height: 1.1;
    }

    .hero-description {
        font-size: var(--text-lg);
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
    }

    .hero-text {
        order: 1;
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
    }

    .hero-visual {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        margin: var(--space-4) 0 0 0 !important;
        flex-shrink: 0;
    }

    .hero-visual .card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 100% !important;
        margin-bottom: var(--space-4);
        animation: none !important;
    }

    /* Button System Mobile */
    .btn {
        width: 100%;
        min-width: 200px;
        justify-content: center;
        padding: var(--space-4) var(--space-6);
    }

    .btn-lg {
        padding: var(--space-5) var(--space-8);
        font-size: var(--text-lg);
    }

    /* Grid System Mobile */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    /* Card System Mobile */
    .card {
        margin-bottom: var(--space-4);
    }

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

    /* Container Mobile */
    .container {
        padding: 0 var(--space-4);
    }

    /* Section Mobile */
    .section {
        padding: var(--space-16) 0;
    }

    .section-header {
        margin-bottom: var(--space-8);
    }

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

    .section-description {
        font-size: var(--text-base);
    }

    /* Stats Mobile */
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
        margin-top: var(--space-6);
    }

    /* Typography Mobile */
    .text-6xl { font-size: var(--text-4xl); }
    .text-5xl { font-size: var(--text-3xl); }
    .text-4xl { font-size: var(--text-2xl); }
    .text-3xl { font-size: var(--text-xl); }
    .text-2xl { font-size: var(--text-lg); }

    /* Force single column layouts */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: repeat(2"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
        gap: var(--space-4) !important;
    }

    /* Flexbox adjustments */
    [style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Spacing adjustments */
    [style*="gap: var(--space-20)"],
    [style*="gap: var(--space-16)"] {
        gap: var(--space-8) !important;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
        --space-20: 2.5rem;
        --space-16: 2rem;
        --space-12: 1.5rem;
        --space-10: 1.25rem;
        --space-8: 1rem;
    }

    .container {
        padding: 0 var(--space-3);
    }

    .hero {
        min-height: 60vh;
        padding: var(--space-16) 0;
    }

    .hero-title {
        font-size: var(--text-3xl);
        line-height: 1.1;
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-visual {
        height: 250px;
    }

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

    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
        min-width: 160px;
    }

    .btn-lg {
        padding: var(--space-4) var(--space-5);
        font-size: var(--text-base);
    }

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

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-description {
        font-size: var(--text-sm);
    }

    /* Further typography adjustments */
    .text-6xl { font-size: var(--text-3xl); }
    .text-5xl { font-size: var(--text-2xl); }
    .text-4xl { font-size: var(--text-xl); }
    .text-3xl { font-size: var(--text-lg); }
    .text-2xl { font-size: var(--text-base); }
    .text-xl { font-size: var(--text-base); }
    .text-lg { font-size: var(--text-sm); }

    /* Reduce spacing further */
    [style*="gap: var(--space-12)"],
    [style*="gap: var(--space-10)"],
    [style*="gap: var(--space-8)"] {
        gap: var(--space-4) !important;
    }

    [style*="margin-bottom: var(--space-8)"],
    [style*="margin-bottom: var(--space-10)"] {
        margin-bottom: var(--space-4) !important;
    }

    [style*="padding: var(--space-12)"],
    [style*="padding: var(--space-10)"] {
        padding: var(--space-4) !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-2);
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
        min-width: 140px;
    }

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

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

/* Utility classes for mobile */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }

    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-flex-col {
        flex-direction: column !important;
    }

    .mobile-stack {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-4) !important;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .nav-link,
    .btn,
    button,
    [role="button"] {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Fix floating elements on mobile */
@media (max-width: 768px) {
    [style*="position: absolute"],
    [style*="position: fixed"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    [style*="animation: float"] {
        animation: none !important;
    }
}

/* ===== HERO VISUAL FEATURES ===== */
.hero-visual {
    width: 100%;
    max-width: 500px;
}

/* Feature items with glass effect */
.hero-visual > div > div {
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

/* ===== PROFESSIONAL FOOTER SYSTEM ===== */
.footer {
    background: var(--gray-900);
    color: var(--text-white);
}

.footer .container {
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: var(--space-4);
}

.footer-section p {
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li { margin-bottom: var(--space-3); }

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom .footer-links {
    display: flex;
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .footer .container {
        padding-top: var(--space-12);
        padding-bottom: var(--space-6);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
}

.hero-visual > div > div:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-visual > div > div:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-visual > div > div:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-visual > div > div:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for hero visual features */
@media (max-width: 768px) {
    .hero-visual {
        width: 100% !important;
        max-width: none !important;
        margin: var(--space-6) 0 0 0 !important;
        padding: 0 !important;
        order: 2;
    }
    
    .hero-visual > div {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-3) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-visual > div > div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: var(--space-3) !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: var(--space-3) !important;
        text-align: left !important;
    }
    
    .hero-visual > div > div > div:first-child {
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .hero-visual > div > div > div:last-child {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .hero-visual h4 {
        font-size: var(--text-sm) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    
    .hero-visual p {
        font-size: var(--text-xs) !important;
        margin: 2px 0 0 0 !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        margin: var(--space-4) 0 0 0 !important;
    }
    
    .hero-visual > div {
        gap: var(--space-2) !important;
    }
    
    .hero-visual > div > div {
        padding: var(--space-2) !important;
        gap: var(--space-2) !important;
    }
    
    .hero-visual > div > div > div:first-child {
        width: 36px !important;
        height: 36px !important;
    }
    
    .hero-visual h4 {
        font-size: 12px !important;
    }
    
    .hero-visual p {
        font-size: 11px !important;
    }
}

@media (max-width: 360px) {
    .hero-visual > div > div {
        padding: var(--space-1) !important;
    }
    
    .hero-visual > div > div > div:first-child {
        width: 32px !important;
        height: 32px !important;
    }
} 