/* ============================================
   LIQUID GLASS DESIGN SYSTEM
   Inspired by Apple iOS 26 (2025)
   ============================================ */

:root {
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-subtle: rgba(255, 255, 255, 0.25);
    --glass-shadow: rgba(0, 0, 0, 0.08);
    --glass-shadow-strong: rgba(0, 0, 0, 0.12);
    --glass-blur: 20px;
    --glass-blur-strong: 40px;
    --glass-radius: 24px;
    --glass-radius-sm: 16px;
    --glass-radius-lg: 32px;
    --primary-glass: rgba(37, 99, 235, 0.12);
    --accent-glass: rgba(139, 92, 246, 0.12);
    --refraction-highlight: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
}

/* ============================================
   BASE GLASS MATERIAL
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-strong {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 12px 40px var(--glass-shadow-strong),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-subtle {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-subtle);
}

/* ============================================
   BUTTON GLASS WRAPPER
   iOS-style frosted glass around buttons
   ============================================ */
.btn-glass-wrapper {
    padding: 6px 8px;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.card-glass-wrapper {
    padding: 3px;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        rgba(220, 220, 220, 0.3) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.glass-rim {
    padding: 3px;
    border-radius: inherit;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        rgba(220, 220, 220, 0.3) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.glass-rim-sm {
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.45) 0%, 
        rgba(200, 200, 200, 0.25) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* ============================================
   NAVIGATION - FLOATING GLASS BAR
   ============================================ */
.nav-glass {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-glass.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CARDS - GLASS PANELS
   ============================================ */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--glass-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 24px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--refraction-highlight);
    opacity: 0.8;
}

.card-glass:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.card-glass.selected {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.15) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        rgba(37, 99, 235, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 
        0 8px 32px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ============================================
   BUTTONS - GLASS PILLS
   ============================================ */
.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 2px 12px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.02);
    box-shadow: 
        0 4px 20px var(--glass-shadow-strong),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

.btn-glass-primary {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.9) 0%, 
        rgba(59, 130, 246, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glass-primary:hover {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 1) 0%, 
        rgba(59, 130, 246, 0.95) 100%);
    box-shadow: 
        0 8px 28px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-glass-accent {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.9) 0%, 
        rgba(168, 85, 247, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 
        0 4px 20px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glass-accent:hover {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 1) 0%, 
        rgba(168, 85, 247, 0.95) 100%);
    box-shadow: 
        0 8px 28px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ============================================
   INPUTS - GLASS FIELDS
   ============================================ */
.input-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--glass-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-glass:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.02),
        0 0 0 4px rgba(37, 99, 235, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.5);
    outline: none;
}

/* ============================================
   PROGRESS & BADGES - GLASS PILLS
   ============================================ */
.badge-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 6px 14px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-glass-primary {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2) 0%, 
        rgba(59, 130, 246, 0.15) 100%);
    border-color: rgba(37, 99, 235, 0.2);
    color: #1e40af;
}

.badge-glass-accent {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.2);
    color: #6d28d9;
}

.badge-glass-success {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(52, 211, 153, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.2);
    color: #047857;
}

/* ============================================
   PROGRESS BAR - GLASS TRACK
   ============================================ */
.progress-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    height: 8px;
}

.progress-glass-fill {
    background: linear-gradient(90deg, 
        #2563eb 0%, 
        #3b82f6 50%, 
        #8b5cf6 100%);
    border-radius: 100px;
    height: 100%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-glass-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0) 100%);
    border-radius: 100px 100px 0 0;
}

/* ============================================
   MODALS & OVERLAYS - GLASS PANELS
   ============================================ */
.modal-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    border-radius: var(--glass-radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 24px 80px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.overlay-glass {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ============================================
   FLOATING ELEMENTS - CONTEXTUAL UI
   ============================================ */
.float-glass {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--glass-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================
   ICON CIRCLES - GLASS ORBS
   ============================================ */
.icon-glass {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.icon-glass-primary {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2) 0%, 
        rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

.icon-glass-accent {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(168, 85, 247, 0.1) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

/* ============================================
   STEP INDICATORS - GLASS TIMELINE
   ============================================ */
.step-glass {
    position: relative;
}

.step-glass .step-icon {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.step-glass.active .step-icon {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.9) 0%, 
        rgba(139, 92, 246, 0.8) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: glass-pulse 2s infinite;
}

.step-glass.completed .step-icon {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(52, 211, 153, 0.85) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes glass-pulse {
    0%, 100% { 
        box-shadow: 
            0 4px 20px rgba(37, 99, 235, 0.4),
            0 0 0 0 rgba(37, 99, 235, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 4px 20px rgba(37, 99, 235, 0.4),
            0 0 0 12px rgba(37, 99, 235, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* ============================================
   SHIMMER EFFECT - LIGHT REFRACTION
   ============================================ */
.glass-shimmer {
    position: relative;
    overflow: hidden;
}

.glass-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* ============================================
   SECTION BACKGROUNDS - GLASS LAYERS
   ============================================ */
.section-glass {
    position: relative;
}

.section-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(240, 249, 255, 0.6) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: -1;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    :root {
        --glass-radius: 20px;
        --glass-radius-sm: 14px;
        --glass-radius-lg: 28px;
    }
    
    .nav-glass {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    
    .card-glass:hover {
        transform: none;
    }
    
    .card-glass:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.85);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .glass-shimmer::after {
        animation: none;
    }
    
    .step-glass.active .step-icon {
        animation: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MODERN HEADER BUTTONS
   Glowing gradient border with morphing icons
   ============================================ */

/* Teal/Emerald Variant */
.modern-header-teal {
    position: relative;
    margin-bottom: 1.5rem;
}

.modern-header-teal .glow-border {
    position: absolute;
    inset: -2px;
    background: linear-gradient(to right, #10b981, #14b8a6, #06b6d4);
    border-radius: 1.5rem;
    opacity: 0.75;
    filter: blur(4px);
    transition: opacity 0.5s;
}

.modern-header-teal:hover .glow-border {
    opacity: 1;
}

.modern-header-teal .header-content {
    position: relative;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.modern-header-teal .icon-morph {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
}

.modern-header-teal .icon-morph .bg-layer-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #34d399, #14b8a6);
    border-radius: 1rem;
    transform: rotate(6deg);
    transition: transform 0.3s;
}

.modern-header-teal:hover .icon-morph .bg-layer-1 {
    transform: rotate(12deg);
}

.modern-header-teal .icon-morph .bg-layer-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #2dd4bf, #06b6d4);
    border-radius: 1rem;
    transform: rotate(-6deg);
    opacity: 0.6;
    transition: transform 0.3s;
}

.modern-header-teal:hover .icon-morph .bg-layer-2 {
    transform: rotate(-12deg);
}

.modern-header-teal .icon-morph .icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-header-teal .icon-morph .icon-inner i {
    font-size: 1.5rem;
    background: linear-gradient(to right, #10b981, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-header-teal .header-text h2,
.modern-header-teal .header-text h3 {
    font-weight: 700;
    background: linear-gradient(to right, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-header-teal .header-text p {
    color: #6b7280;
    font-size: 0.875rem;
}

.modern-header-teal .decorative-dots {
    display: none;
}

@media (min-width: 768px) {
    .modern-header-teal .decorative-dots {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        margin-left: auto;
        margin-right: 0.5rem;
    }
    
    .modern-header-teal .decorative-dots .dot-row {
        display: flex;
        gap: 0.375rem;
    }
    
    .modern-header-teal .decorative-dots .dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
    }
    
    .modern-header-teal .decorative-dots .dot-emerald { background: #34d399; }
    .modern-header-teal .decorative-dots .dot-teal { background: #2dd4bf; }
    .modern-header-teal .decorative-dots .dot-cyan { background: #22d3ee; }
    .modern-header-teal .decorative-dots .dot-emerald-light { background: #6ee7b7; }
}

/* Blue Variant */
.modern-header-blue {
    position: relative;
    margin-bottom: 1.5rem;
}

.modern-header-blue .glow-border {
    position: absolute;
    inset: -2px;
    background: linear-gradient(to right, #3b82f6, #6366f1, #8b5cf6);
    border-radius: 1.5rem;
    opacity: 0.75;
    filter: blur(4px);
    transition: opacity 0.5s;
}

.modern-header-blue:hover .glow-border {
    opacity: 1;
}

.modern-header-blue .header-content {
    position: relative;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.modern-header-blue .icon-morph {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
}

.modern-header-blue .icon-morph .bg-layer-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #60a5fa, #818cf8);
    border-radius: 1rem;
    transform: rotate(6deg);
    transition: transform 0.3s;
}

.modern-header-blue:hover .icon-morph .bg-layer-1 {
    transform: rotate(12deg);
}

.modern-header-blue .icon-morph .bg-layer-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #818cf8, #a78bfa);
    border-radius: 1rem;
    transform: rotate(-6deg);
    opacity: 0.6;
    transition: transform 0.3s;
}

.modern-header-blue:hover .icon-morph .bg-layer-2 {
    transform: rotate(-12deg);
}

.modern-header-blue .icon-morph .icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-header-blue .icon-morph .icon-inner i {
    font-size: 1.5rem;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-header-blue .header-text h2,
.modern-header-blue .header-text h3 {
    font-weight: 700;
    background: linear-gradient(to right, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-header-blue .header-text p {
    color: #6b7280;
    font-size: 0.875rem;
}

.modern-header-blue .decorative-dots {
    display: none;
}

@media (min-width: 768px) {
    .modern-header-blue .decorative-dots {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        margin-left: auto;
        margin-right: 0.5rem;
    }
    
    .modern-header-blue .decorative-dots .dot-row {
        display: flex;
        gap: 0.375rem;
    }
    
    .modern-header-blue .decorative-dots .dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
    }
    
    .modern-header-blue .decorative-dots .dot-blue { background: #60a5fa; }
    .modern-header-blue .decorative-dots .dot-indigo { background: #818cf8; }
    .modern-header-blue .decorative-dots .dot-violet { background: #a78bfa; }
    .modern-header-blue .decorative-dots .dot-blue-light { background: #93c5fd; }
}

/* ============================================
   MODERN GLOW BUTTONS
   Pill-shaped buttons with gradient glow borders
   ============================================ */

/* Base button wrapper */
.modern-btn {
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    border-radius: 9999px;
    opacity: 0.5;
    filter: blur(8px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-btn:hover::before {
    opacity: 0.8;
}

/* White background variant (primary) */
.modern-btn-white {
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-btn-white::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    border-radius: 9999px;
    opacity: 0.4;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-btn-white:hover::before {
    opacity: 0.7;
}

.modern-btn-white .btn-inner {
    display: block;
    padding: 1rem 2.5rem;
    background: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    color: #3b82f6;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-btn-white:hover .btn-inner {
    background: #f8fafc;
}

/* Filled gradient variant */
.modern-btn-filled {
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(99, 102, 241, 0.5),
            0 0 40px rgba(139, 92, 246, 0.3),
            0 0 60px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.7),
            0 0 50px rgba(139, 92, 246, 0.5),
            0 0 80px rgba(59, 130, 246, 0.3);
    }
}

.modern-btn-filled::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    border-radius: 9999px;
    opacity: 0.4;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-btn-filled:hover::before {
    opacity: 0.7;
}

.modern-btn-filled:hover {
    box-shadow: 
        0 0 30px rgba(99, 102, 241, 0.8),
        0 0 60px rgba(139, 92, 246, 0.5),
        0 0 90px rgba(59, 130, 246, 0.3);
}

.modern-btn-filled .btn-inner {
    display: block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-btn-filled:hover .btn-inner {
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
}

/* Teal variant - white background */
.modern-btn-teal-white {
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-btn-teal-white::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4);
    border-radius: 9999px;
    opacity: 0.4;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-btn-teal-white:hover::before {
    opacity: 0.7;
}

.modern-btn-teal-white .btn-inner {
    display: block;
    padding: 1rem 2.5rem;
    background: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    color: #10b981;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-btn-teal-white:hover .btn-inner {
    background: #f8fafc;
}

/* Teal variant - filled */
.modern-btn-teal-filled {
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(20, 184, 166, 0.3), rgba(6, 182, 212, 0.3));
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-btn-teal-filled::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4);
    border-radius: 9999px;
    opacity: 0.4;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-btn-teal-filled:hover::before {
    opacity: 0.7;
}

.modern-btn-teal-filled .btn-inner {
    display: block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
}

.modern-btn-teal-filled:hover .btn-inner {
    background: linear-gradient(135deg, #059669, #0d9488, #0891b2);
}

/* Small button variants */
.modern-btn-white.btn-sm .btn-inner,
.modern-btn-filled.btn-sm .btn-inner,
.modern-btn-teal-white.btn-sm .btn-inner,
.modern-btn-teal-filled.btn-sm .btn-inner {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* Large button variants */
.modern-btn-white.btn-lg .btn-inner,
.modern-btn-filled.btn-lg .btn-inner,
.modern-btn-teal-white.btn-lg .btn-inner,
.modern-btn-teal-filled.btn-lg .btn-inner {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}
