/**
 * Nexus Capital Finance - Premium Design System
 * Version: 2.0 - Glassmorphism Edition
 * A premium CSS design system powered by UI/UX Pro Max
 */

/* ============================================
   FONT IMPORTS - Financial Trust Typography
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Colors */
    --nexus-emerald: #10B981;
    --nexus-emerald-hover: #059669;
    --nexus-emerald-light: #D1FAE5;
    --nexus-navy: #0F172A;
    --nexus-navy-light: #1E293B;

    /* Secondary Colors */
    --nexus-teal: #14B8A6;
    --nexus-gold: #F59E0B;
    --nexus-slate: #334155;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Semantic Colors */
    --success: #22C55E;
    --warning: #EAB308;
    --error: #EF4444;
    --info: #3B82F6;

    /* Typography - Financial Trust System */
    --font-primary: 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

    /* Spacing Scale (8px grid) */
    --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 */

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-emerald: 0 10px 40px -10px rgba(16, 185, 129, 0.3);

    /* Transitions - LEK-Inspired Micro-interactions (50-100ms) */
    --transition-micro: 60ms ease-out;
    --transition-fast: 100ms ease-out;
    --transition-base: 180ms ease-out;
    --transition-slow: 280ms ease-out;
    --transition-premium: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* === PREMIUM GLASSMORPHISM SYSTEM === */
    /* Glass Effects */
    --glass-blur: 20px;
    --glass-opacity: 0.15;
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-bg-light: rgba(255, 255, 255, 0.1);
    --glass-bg-dark: rgba(15, 23, 42, 0.8);

    /* Premium Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.1);
    --shadow-glow-emerald: 0 0 40px rgba(16, 185, 129, 0.4);
    --shadow-glow-teal: 0 0 60px rgba(20, 184, 166, 0.3);
    --shadow-depth-1: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-depth-2: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-depth-3: 0 12px 24px rgba(0, 0, 0, 0.1);
    --shadow-depth-4: 0 24px 48px rgba(0, 0, 0, 0.12);

    /* Gradients - Enhanced Emerald Identity */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    --gradient-emerald-rich: linear-gradient(135deg, #059669 0%, #10B981 50%, #14B8A6 100%);
    --gradient-emerald-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    --gradient-emerald-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(20, 184, 166, 0.15) 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-dark-emerald: linear-gradient(135deg, #0F172A 0%, rgba(16, 185, 129, 0.1) 100%);
    --gradient-premium: linear-gradient(135deg, #10B981 0%, #0EA5E9 50%, #8B5CF6 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(16, 185, 129, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(20, 184, 166, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.15) 0px, transparent 50%);
    --gradient-shine: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    --gradient-text-emerald: linear-gradient(135deg, #10B981 0%, #059669 50%, #14B8A6 100%);

    /* Animation Timings */
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    background-color: var(--white);
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--gray-900);
    line-height: 1.25;
    font-weight: 700;
}

h1, .h1 {
    font-size: 3rem;
    letter-spacing: -0.025em;
}

h2, .h2 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

h3, .h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
}

.text-lead {
    font-size: 1.25rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-emerald {
    color: var(--nexus-emerald);
}

.text-navy {
    color: var(--nexus-navy);
}

.text-white {
    color: var(--white);
}

.text-muted {
    color: var(--gray-500);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

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

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

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

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

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

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

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

/* Flexbox */
.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-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================
   HEADER / NAVIGATION - Glassmorphism
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-premium);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-glass);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-micro);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link:hover {
    color: var(--nexus-emerald);
}

/* LEK-inspired minimal underline - clean & precise */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
    border-radius: 1px;
}

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

/* ============================================
   DROPDOWN MENUS - LEK-Inspired Glassmorphism
   ============================================ */
.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -8px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(16, 185, 129, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 80ms ease-out;
    z-index: 1001;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 16px;
    background: transparent;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all 60ms ease-out;
}

.nav-dropdown-link:hover {
    background: rgba(16, 185, 129, 0.08);
    color: var(--nexus-emerald);
    padding-left: var(--space-5);
}

.nav-dropdown-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 60ms ease-out;
}

.nav-dropdown-link:hover svg {
    opacity: 1;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--gray-100);
    margin: var(--space-2) 0;
}

.nav-dropdown-header {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    padding: var(--space-2) var(--space-4);
    margin-top: var(--space-2);
}

/* Dropdown arrow indicator */
.nav-link.has-dropdown::after {
    content: '';
    width: 0;
    height: 0;
    border: none;
    background: none;
    position: static;
    margin-left: var(--space-1);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 80ms ease-out;
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: rotate(180deg);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    position: relative;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ============================================
   BUTTONS - Premium Interactive
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-premium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    transition: transform var(--transition-micro), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-emerald);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: var(--nexus-navy);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-secondary:hover {
    background: var(--nexus-navy-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--nexus-emerald);
    border: 2px solid var(--nexus-emerald);
    box-shadow: inset 0 0 0 0 var(--nexus-emerald);
}

.btn-outline:hover {
    background: var(--nexus-emerald);
    color: var(--white);
    box-shadow: inset 0 0 0 40px var(--nexus-emerald);
}

.btn-white {
    background: var(--white);
    color: var(--nexus-navy);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Glass Button */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

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

.btn-icon {
    padding: 0.875rem;
    border-radius: var(--radius-lg);
}

/* ============================================
   HERO SECTION - Premium Mesh Gradient
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--nexus-navy);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--gradient-mesh);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nexus-emerald);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, var(--nexus-emerald) 0%, var(--nexus-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: var(--space-12);
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
    position: relative;
    padding: var(--space-4) var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   CARDS - Premium Glassmorphism
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-depth-2);
    transition: transform var(--transition-fast), box-shadow var(--transition-base), border-color var(--transition-micro);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-depth-4);
    border-color: var(--nexus-emerald);
}

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

/* Glass Card Variant */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Dark Glass Card */
.card-glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.card-glass-dark:hover {
    border-color: var(--nexus-emerald);
    box-shadow: var(--shadow-glow-emerald);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nexus-emerald-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--nexus-emerald);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.card-text {
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Feature Card */
.feature-card {
    border: 1px solid var(--gray-200);
    padding: var(--space-8);
}

.feature-card:hover {
    border-color: var(--nexus-emerald);
}

/* Service Card - Premium */
.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.service-card .card-icon {
    transition: transform var(--transition-premium);
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--nexus-emerald-light);
    color: var(--nexus-emerald);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* Dark Section */
.section-dark {
    background: var(--nexus-navy);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-description {
    color: var(--gray-400);
}

/* Gray Section */
.section-gray {
    background: var(--gray-50);
}

/* ============================================
   TESTIMONIALS - Premium Glass
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-premium);
}

.testimonial-card.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-card.card-glass .testimonial-quote {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card.card-glass .testimonial-name {
    color: var(--white);
}

.testimonial-card.card-glass .testimonial-role {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   CTA SECTION - Premium Gradient
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.cta-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--nexus-navy);
    color: var(--gray-400);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 40px;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--nexus-emerald);
}

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

.footer-copyright {
    font-size: 0.875rem;
}

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

.footer-legal a {
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--nexus-emerald);
}

/* ============================================
   FORMS - Premium Interactive
   ============================================ */
.form-group {
    margin-bottom: var(--space-6);
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    transition: color var(--transition-fast);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all var(--transition-premium);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: var(--gray-300);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--nexus-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.form-group:focus-within .form-label {
    color: var(--nexus-emerald);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* Form validation states */
.form-input.valid {
    border-color: var(--success);
}

.form-input.error {
    border-color: var(--error);
}

.form-error {
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: var(--space-2);
}

/* Premium form card */
.form-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-depth-3);
    border: 1px solid var(--gray-100);
}

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

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

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

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.5); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-fadeIn {
    animation: fadeIn 0.6s var(--ease-smooth) forwards;
}

.animate-slideUp {
    animation: slideUp 0.7s var(--ease-smooth) forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s var(--ease-smooth) forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s var(--ease-smooth) forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s var(--ease-spring) forwards;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Stagger animations for lists */
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Scroll-triggered animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-smooth);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* === PREMIUM VISUAL EFFECTS === */

/* Gradient Text */
.gradient-text {
    background: var(--gradient-premium);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Noise Texture Overlay */
.noise-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Premium Badge */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--nexus-emerald);
    backdrop-filter: blur(10px);
}

/* Floating Label Effect */
.float-label {
    position: relative;
}

.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--nexus-emerald);
}

/* === PREMIUM SECTION STYLES === */

/* Mesh Background Section */
.section-mesh {
    position: relative;
    background: var(--gray-50);
}

.section-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

/* Dark Gradient Section */
.section-dark-gradient {
    background: var(--gradient-dark);
    position: relative;
}

.section-dark-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
}

/* === INTERACTIVE ELEMENTS === */

/* Hover Lift */
.hover-lift {
    transition: transform var(--transition-premium), box-shadow var(--transition-premium);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-depth-4);
}

/* Focus Ring */
*:focus-visible {
    outline: 3px solid var(--nexus-emerald);
    outline-offset: 3px;
    border-radius: var(--radius-md);
}

/* Link Hover Effect */
.link-hover {
    position: relative;
    display: inline-block;
}

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

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

/* === FLOATING CTA === */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-premium);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta .btn {
    box-shadow: var(--shadow-glow-emerald);
    padding: 1rem 1.5rem;
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
}

/* === CURSOR GLOW (optional) === */
@media (hover: hover) {
    .cursor-glow {
        position: fixed;
        width: 300px;
        height: 300px;
        pointer-events: none;
        z-index: 9998;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        transition: opacity 0.3s;
    }
}

/* === LOADING STATES === */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* === TOOLTIPS === */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: var(--nexus-navy);
    color: var(--white);
    font-size: 0.8125rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* ============================================
   LEK-INSPIRED SWISS MODERNISM 2.0
   Clean corporate styling refinements
   ============================================ */

/* Refined Typography Spacing */
.section-header .section-title {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-header .section-description {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* Clean Section Dividers */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: var(--space-6) auto;
    border-radius: 2px;
}

/* Corporate Grid Refinement */
.grid-corporate {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Minimal Stat Display */
.stat-minimal {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-minimal .stat-value {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-minimal .stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

/* Clean Border Accent */
.border-accent {
    position: relative;
}

.border-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

/* Professional Quote Block */
.quote-block {
    padding: var(--space-8);
    background: var(--gray-50);
    border-left: 4px solid var(--nexus-emerald);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.8;
}

.quote-block cite {
    display: block;
    margin-top: var(--space-4);
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Clean List Styling */
.list-clean {
    list-style: none;
}

.list-clean li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.list-clean li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--nexus-emerald);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Refined Logo Mark */
.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    color: var(--gray-900);
}

.logo-mark::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Swiss Grid Lines */
.grid-lines {
    background-image:
        linear-gradient(rgba(226, 232, 240, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Emerald Accent Elements */
.emerald-highlight {
    position: relative;
}

.emerald-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(16, 185, 129, 0.2);
    z-index: -1;
}

/* Professional Navigation Indicator */
.nav-active {
    color: var(--nexus-emerald) !important;
}

.nav-active::after {
    width: 100% !important;
    background: var(--gradient-primary) !important;
}

/* ============================================
   ENHANCED EMERALD GRADIENT ACCENTS
   Distinctive visual identity elements
   ============================================ */

/* Gradient Text - Enhanced */
.gradient-text {
    background: var(--gradient-text-emerald);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-animated {
    background: linear-gradient(135deg, #10B981, #059669, #14B8A6, #10B981);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Emerald Glow Accents */
.glow-emerald {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), 0 0 40px rgba(16, 185, 129, 0.1);
}

.glow-emerald-strong {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), 0 0 60px rgba(16, 185, 129, 0.2);
}

/* Emerald Border Glow */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.border-glow:hover::before {
    opacity: 1;
}

/* Emerald Dot Indicator */
.dot-emerald {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-right: var(--space-2);
}

.dot-emerald-pulse {
    animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* Emerald Line Accent */
.line-emerald {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.line-emerald-lg {
    width: 80px;
    height: 4px;
}

/* Emerald Background Tint */
.bg-emerald-tint {
    background: var(--gradient-emerald-soft);
}

.bg-emerald-glow {
    background: var(--gradient-emerald-glow);
}

/* Emerald Icon Container */
.icon-emerald {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-emerald-soft);
    border-radius: var(--radius-lg);
    color: var(--nexus-emerald);
}

.icon-emerald-solid {
    background: var(--gradient-primary);
    color: white;
}

/* Emerald Underline Effect */
.underline-emerald {
    position: relative;
    display: inline;
}

.underline-emerald::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.underline-emerald:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card Emerald Accent */
.card-emerald-accent {
    border-top: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
}

.card-emerald-accent:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    h1, .h1 {
        font-size: 2.25rem;
    }

    h2, .h2 {
        font-size: 1.875rem;
    }

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

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-8);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1, .h1 {
        font-size: 1.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}
