/* ============================================
   SYMETRIQUE - PREMIUM HEALTHCARE ANALYTICS
   Modern, Enterprise-Grade Design System
   ============================================ */

/* ============================================
   PRELOADER STYLES
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0f1a 0%, #0d1525 50%, #0a1020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.preloader-circle {
    width: 100%;
    height: 100%;
    animation: preloaderRotate 2s linear infinite;
}

.circle-bg {
    fill: none;
    stroke: rgba(7, 155, 126, 0.1);
    stroke-width: 3;
}

.circle-progress {
    fill: none;
    stroke: url(#preloader-gradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 75;
    animation: preloaderDash 1.5s ease-in-out infinite;
}

.preloader-circle defs {
    position: absolute;
}

.preloader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #079b7e 0%, #00d4aa 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(7, 155, 126, 0.4);
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-icon i {
    font-size: 28px;
    color: white;
}

.preloader-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.preloader-brand {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #079b7e 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.preloader-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #079b7e, #00d4aa);
    border-radius: 3px;
    animation: preloaderBar 1.5s ease-in-out forwards;
}

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

@keyframes preloaderDash {
    0% { stroke-dashoffset: 283; }
    50% { stroke-dashoffset: 75; }
    100% { stroke-dashoffset: 283; }
}

@keyframes preloaderPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes preloaderBar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* CSS Variables - Design Tokens */
:root {
    /* Primary Colors */
    --primary: #079b7e;
    --primary-dark: #067d66;
    --primary-light: #0ab893;
    --primary-glow: rgba(7, 155, 126, 0.4);
    
    /* Accent Colors */
    --accent-teal: #14b8a6;
    --accent-blue: #0ea5e9;
    --accent-purple: #8b5cf6;
    
    /* Dark Theme */
    --bg-dark: #0a0f1a;
    --bg-dark-secondary: #111827;
    --bg-dark-tertiary: #1f2937;
    --surface-dark: rgba(17, 24, 39, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Borders & Lines */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(7, 155, 126, 0.3);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #079b7e 0%, #14b8a6 100%);
    --gradient-dark: linear-gradient(180deg, #0a0f1a 0%, #111827 100%);
    --gradient-radial: radial-gradient(ellipse at center, rgba(7, 155, 126, 0.15) 0%, transparent 70%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(7, 155, 126, 0.3);
    
    /* Typography */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-dark-secondary: #f8fafc;
    --bg-dark-tertiary: #f1f5f9;
    --surface-dark: rgba(248, 250, 252, 0.9);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

::selection {
    background: var(--primary);
    color: white;
}

/* ============================================
   THEME SWITCH
   ============================================ */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--bg-dark-tertiary);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    border: 1px solid var(--border-color);
}

.slider:before {
    background: var(--gradient-primary);
    bottom: 4px;
    content: "";
    height: 24px;
    left: 4px;
    position: absolute;
    transition: var(--transition-base);
    width: 24px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(7, 155, 126, 0.4);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider .fa-sun,
.slider .fa-moon {
    font-size: 12px;
    z-index: 1;
}

.slider .fa-sun {
    color: #fbbf24;
}

.slider .fa-moon {
    color: #94a3b8;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition-base);
    z-index: 1000;
}

.navbar-scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

[data-theme="light"] .navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.navbar-brand img {
    height: 45px;
    transition: var(--transition-base);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 4px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    height: 44px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: all var(--transition-base);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(7, 155, 126, 0.4);
}

.nav-link.cta-nav {
    background: var(--primary);
    color: white;
}

.nav-link.cta-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 38px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1001;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:hover {
        background: rgba(7, 155, 126, 0.15);
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    /* Custom Hamburger Icon */
    .hamburger-icon {
        width: 24px;
        height: 18px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .hamburger-icon span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .hamburger-icon span:nth-child(1) {
        width: 100%;
    }
    
    .hamburger-icon span:nth-child(2) {
        width: 70%;
        margin-left: auto;
    }
    
    .hamburger-icon span:nth-child(3) {
        width: 85%;
    }
    
    /* Hamburger Animation on Active */
    .navbar-toggler.active .hamburger-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--primary);
    }
    
    .navbar-toggler.active .hamburger-icon span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }
    
    .navbar-toggler.active .hamburger-icon span:nth-child(3) {
        width: 100%;
        transform: translateY(-8px) rotate(-45deg);
        background: var(--primary);
    }
    
    .theme-switch-wrapper {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
    
    .theme-switch {
        height: 30px;
        width: 54px;
    }
    
    .slider:before {
        height: 22px;
        width: 22px;
    }
    
    input:checked + .slider:before {
        transform: translateX(24px);
    }
    
    #navbarNav {
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 24px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: slideDown 0.3s ease;
    }
    
    [data-theme="light"] #navbarNav {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu {
        flex-direction: column;
        background: transparent !important;
        border: none !important;
        width: 100%;
        padding: 0 !important;
    }
    
    .nav-item {
        width: 100%;
        margin: 4px 0;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 20px !important;
        height: auto;
        border-radius: 12px !important;
        font-size: 15px;
    }
    
    .nav-link:hover {
        background: rgba(7, 155, 126, 0.1);
    }
    
    .nav-link.active {
        background: var(--gradient-primary);
    }
    
    .nav-link.cta-nav {
        margin-top: 10px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 32px;
    }
    
    .theme-switch-wrapper {
        right: 60px;
    }
    
    .theme-switch {
        height: 26px;
        width: 48px;
    }
    
    .slider:before {
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
    }
    
    input:checked + .slider:before {
        transform: translateX(22px);
    }
    
    .slider .fa-sun,
    .slider .fa-moon {
        font-size: 10px;
    }
    
    .navbar-toggler {
        width: 42px;
        height: 42px;
    }
    
    .hamburger-icon {
        width: 20px;
        height: 14px;
    }
    
    .navbar-toggler.active .hamburger-icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .navbar-toggler.active .hamburger-icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-radial);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(7, 155, 126, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 10px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(7, 155, 126, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(7, 155, 126, 0.5);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline-light:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: var(--primary);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-items {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-divider {
    color: var(--text-muted);
    font-size: 10px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    padding: 20px;
}

.hero-visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.visual-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.visual-dot.green { background: #22c55e; }
.visual-dot.yellow { background: #eab308; }
.visual-dot.red { background: #ef4444; }

.hero-dashboard-img {
    width: 100%;
    display: block;
}

.floating-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    animation: float 3s ease-in-out infinite;
}

.floating-stat i {
    font-size: 24px;
    color: var(--primary);
}

.floating-stat .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-stat .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.stat-1 {
    top: 20%;
    right: -30px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1.5s;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card-dark {
    background: linear-gradient(135deg, rgba(7, 155, 126, 0.2) 0%, rgba(7, 155, 126, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(7, 155, 126, 0.3);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(7, 155, 126, 0.1);
    border: 1px solid rgba(7, 155, 126, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title-left {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.section-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ============================================
   WHY SYMETRIQUE SECTION
   ============================================ */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark-secondary);
}

.benefit-card {
    padding: 32px;
    border-radius: 20px;
    height: 100%;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 24px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   WHAT WE DO SECTION
   ============================================ */
.what-we-do-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.what-we-do-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.what-we-do-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(7, 155, 126, 0.2));
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
}

.feature-list span {
    color: var(--text-secondary);
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================
   MARKET ACCESS SECTION
   ============================================ */
.market-access-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark-secondary);
}

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

.solution-card {
    padding: 32px;
    border-radius: 20px;
    transition: all var(--transition-base);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.solution-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.solution-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 155, 126, 0.15);
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.solution-features li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

@media (max-width: 991.98px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 767.98px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card-large {
        grid-column: span 1;
    }
}

/* ============================================
   PAYER SECTION
   ============================================ */
.payer-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.payer-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payer-card-stack {
    position: relative;
    width: 280px;
    height: 300px;
}

.payer-stack-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: 16px;
    transition: all var(--transition-base);
}

.payer-stack-card i {
    font-size: 28px;
    color: var(--primary);
}

.payer-stack-card span {
    font-weight: 600;
    font-size: 1rem;
}

.payer-stack-card.card-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-5deg);
}

.payer-stack-card.card-2 {
    top: 80px;
    left: 40px;
    z-index: 2;
    transform: rotate(3deg);
}

.payer-stack-card.card-3 {
    top: 160px;
    left: 20px;
    z-index: 1;
    transform: rotate(-2deg);
}

.payer-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.payer-feature {
    display: flex;
    gap: 16px;
}

.payer-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 155, 126, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
}

.payer-feature-icon i {
    font-size: 20px;
    color: var(--primary);
}

.payer-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.payer-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .payer-features-grid {
        grid-template-columns: 1fr;
    }
    
    .payer-visual {
        display: none;
    }
}

/* ============================================
   THERAPEUTIC SECTION
   ============================================ */
.therapeutic-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark-secondary);
}

.therapeutic-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.therapeutic-card {
    flex: 1;
    max-width: 380px;
    padding: 40px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.therapeutic-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.therapeutic-card.featured {
    background: linear-gradient(180deg, rgba(7, 155, 126, 0.15) 0%, var(--glass-bg) 100%);
    border-color: var(--primary);
    transform: scale(1.05);
}

.therapeutic-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.therapeutic-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.therapeutic-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 155, 126, 0.15);
    border-radius: 20px;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--primary);
}

.therapeutic-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.therapeutic-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.therapeutic-stats {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.therapeutic-stats span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.therapeutic-stats strong {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .therapeutic-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .therapeutic-card.featured {
        transform: none;
    }
    
    .therapeutic-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ============================================
   MISSION SECTION (HOME)
   ============================================ */
.mission-section-home {
    padding: var(--section-padding) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.mission-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mission-content {
    position: relative;
    z-index: 1;
}

.mission-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.gradient-text-light {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.mission-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.mission-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .mission-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.cta-card {
    padding: 60px;
    border-radius: 24px;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.cta-btn {
    white-space: nowrap;
}

.cta-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 12px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .cta-card {
        text-align: center;
        padding: 40px;
    }
    
    .cta-card .text-lg-end {
        text-align: center !important;
        margin-top: 30px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark-secondary);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding-bottom: 60px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-newsletter-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.footer-newsletter .input-group {
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px;
}

.footer-newsletter .form-control {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 12px 16px;
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
}

.footer-newsletter .form-control::placeholder {
    color: var(--text-muted);
}

.footer-newsletter .btn {
    border-radius: 8px;
    padding: 12px 20px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
}

.footer-legal li a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

@media (max-width: 767.98px) {
    .footer-col {
        margin-bottom: 40px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 16px;
    }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 80px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
}
