/* SajiGo - Premium Scholarship Platform CSS */

/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --purple: #8B5CF6;
    --teal: #06B6D4;
    --green: #10B981;
    --red: #EF4444;
    --orange: #F59E0B;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --dark-lighter: #334155;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --gradient: linear-gradient(135deg, var(--primary), var(--purple), var(--teal));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== EASY READ MODE ==================== */
body.easy-read {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.9;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

body.easy-read p,
body.easy-read li,
body.easy-read .card-description,
body.easy-read .modal-section p {
    max-width: 65ch;
    font-size: 1.1rem;
    line-height: 2;
}

body.easy-read h1, body.easy-read h2, body.easy-read h3, body.easy-read h4 {
    letter-spacing: 0.03em;
    margin-bottom: 1em;
}

body.easy-read .scholarship-card,
body.easy-read .application-card {
    padding: 1.5rem;
}

/* High Contrast Mode */
body.high-contrast {
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text: #FFFFFF;
    --text-muted: #E2E8F0;
}

body.high-contrast .navbar,
body.high-contrast .section,
body.high-contrast .card-content,
body.high-contrast .modal-content {
    background: rgba(15, 23, 42, 0.98);
}

body.high-contrast .tag {
    border-width: 2px;
}

/* Font Size Adjustments */
body.font-size-large {
    font-size: 110%;
}

body.font-size-larger {
    font-size: 120%;
}

body.font-size-small {
    font-size: 90%;
}

/* ==================== ACCESSIBILITY PANEL ==================== */
.accessibility-panel {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
}

.accessibility-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.accessibility-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
}

.accessibility-icon {
    font-size: 1.5rem;
}

.accessibility-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: var(--dark-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.accessibility-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.accessibility-menu h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--primary);
}

.accessibility-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accessibility-option:last-child {
    border-bottom: none;
}

.accessibility-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.option-icon {
    font-size: 1.1rem;
}

/* Toggle Switch */
.toggle-switch {
    appearance: none;
    width: 48px;
    height: 26px;
    background: var(--dark-lighter);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-switch:checked {
    background: linear-gradient(135deg, var(--primary), var(--purple));
}

.toggle-switch:checked::before {
    transform: translateX(22px);
}

/* Font Size Buttons */
.font-size-control {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
}

.font-size-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.font-size-buttons button {
    flex: 1;
    padding: 0.5rem;
    background: var(--dark-lighter);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.font-size-buttons button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ==================== TEXT-TO-SPEECH (PREMIUM) ==================== */

/* TTS Wrapper */
.tts-wrapper {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Main Listen Button */
.tts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 50px;
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.tts-btn:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(99, 102, 241, 0.25));
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.tts-btn.speaking {
    background: linear-gradient(135deg, var(--teal), var(--primary));
    color: white;
    border-color: var(--teal);
    animation: tts-pulse 1.5s infinite;
}

.tts-btn.paused {
    background: rgba(245, 158, 11, 0.2);
    color: var(--orange);
    border-color: rgba(245, 158, 11, 0.5);
}

@keyframes tts-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 12px rgba(6, 182, 212, 0);
        transform: scale(1.02);
    }
}

/* TTS Controls Panel */
.tts-controls {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-sm);
    animation: slideDown 0.3s ease;
}

.tts-controls.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Control Buttons (Pause/Resume/Stop) */
.tts-ctrl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tts-ctrl-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.tts-ctrl-btn:active {
    transform: scale(0.95);
}

/* Speed Buttons Container */
.tts-speed-btns {
    display: flex;
    gap: 0.35rem;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.35rem;
    border-radius: 50px;
}

/* Speed Buttons */
.tts-speed-btn {
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tts-speed-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.tts-speed-btn.active {
    background: var(--primary);
    color: white;
}

/* Legacy button support */
.tts-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: var(--teal);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tts-button:hover {
    background: rgba(6, 182, 212, 0.25);
    transform: scale(1.05);
}

.tts-button.speaking {
    animation: tts-pulse 1s infinite;
    background: var(--teal);
    color: white;
}

/* Responsive TTS */
@media (max-width: 768px) {
    .tts-wrapper {
        margin: 0.75rem 0;
    }
    
    .tts-btn {
        width: 100%;
        justify-content: center;
    }
    
    .tts-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .tts-ctrl-btn {
        flex: 1;
        width: auto;
        border-radius: var(--radius-sm);
        height: 44px;
    }
    
    .tts-speed-btns {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tts-speed-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* ==================== SIMPLIFIED CONTENT DISPLAY ==================== */
.simplified-content {
    display: none;
}

body.easy-read .simplified-content {
    display: block;
}

body.easy-read .original-content {
    display: none;
}

.key-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.key-info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
}

.key-info-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.key-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.key-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* Simplified list styles */
.simplified-list {
    list-style: none;
    padding: 0;
}

.simplified-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.simplified-list .list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ==================== PARTICLES ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100vh) translateX(50px) scale(0); }
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s;
}

.navbar-logo:hover { transform: scale(1.02); }

.navbar-logo img,
.navbar-logo .logo-navbar {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-logo:hover .logo-navbar {
    filter: brightness(1.1);
    transform: scale(1.03);
}

.navbar-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.app-count, .mobile-app-count {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== MOBILE NAV ==================== */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-nav.active { opacity: 1; visibility: visible; }

.mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    display: none;
    padding: 2rem 0 4rem;
    animation: fadeIn 0.5s ease;
}

.section.active { display: block; }

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

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary.saved {
    background: var(--green);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--glass-border);
}

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

.btn-text {
    background: none;
    border: none;
    color: var(--teal);
    padding: 0.5rem;
}

.btn-text:hover { color: var(--text); }

.btn-back {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-send {
    background: var(--gradient);
    color: white;
    padding: 0.85rem 1.5rem;
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

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

.btn-danger:hover { background: rgba(239, 68, 68, 0.1); }

/* ==================== BADGES & TAGS ==================== */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #A78BFA;
}

.badge-teal {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--teal);
}

.badge-green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--green);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.35rem 0.75rem;
    background: var(--glass);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tag-full { background: rgba(16, 185, 129, 0.15); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-partial { background: rgba(245, 158, 11, 0.15); color: var(--orange); border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-country { background: rgba(6, 182, 212, 0.15); color: var(--teal); }
.tag-deadline { background: rgba(239, 68, 68, 0.1); color: #FCA5A5; }

.match-badge {
    background: var(--gradient);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==================== HERO ==================== */
.hero-card {
    background: var(--gradient);
    border-radius: 32px;
    padding: 4rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(99, 102, 241, 0.4);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sparkle { display: inline-block; animation: sparkle 2s ease infinite; }

@keyframes sparkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.2) rotate(10deg); } }

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-buttons .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn:hover { background: rgba(255, 255, 255, 0.3); }

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

.hero-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(139, 92, 246, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}

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

.hero-image img,
.logo-hero {
    width: auto;
    height: 200px;
    max-width: 350px;
    object-fit: contain;
    filter: none;
    animation: float-hero-premium 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    border-radius: 12px;
}

@keyframes float-hero-premium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-1deg); }
}

/* ==================== FEATURES ==================== */
.features-section { padding: 4rem 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; }
.section-header-center { text-align: center; margin-bottom: 3rem; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header .section-title { text-align: left; margin-bottom: 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ==================== POPULAR ==================== */
.popular-section { padding: 2rem 0; }

.scholarships-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.preview-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.preview-image { height: 160px; background-size: cover; background-position: center; }
.preview-content { padding: 1.5rem; }
.preview-content h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

.preview-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.preview-deadline { font-size: 0.8rem; color: var(--orange); }

.saved-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--green);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==================== MATCH FORM ==================== */
.match-form-wrapper { max-width: 700px; margin: 0 auto; }

.match-form-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 3rem;
}

.form-header { text-align: center; margin-bottom: 2.5rem; }
.form-icon { font-size: 4rem; margin-bottom: 1rem; }
.form-header h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.form-header p { color: var(--text-muted); }

.match-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; }

.form-group select {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select:focus { outline: none; border-color: var(--primary); }
.form-group select option { background: var(--dark-light); }

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.form-divider span {
    background: linear-gradient(135deg, var(--teal), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Required Field Indicator */
.required {
    color: var(--red);
    font-weight: 700;
}

/* ==================== MATCH SUMMARY ==================== */
.match-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.match-summary-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

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

.match-summary-text {
    flex: 1;
    min-width: 200px;
}

.match-summary-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.match-summary-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* View More Button Wrapper */
.view-more-wrapper {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
}

.view-more-wrapper .btn {
    min-width: 200px;
}

/* ==================== MATCH BADGE STYLES ==================== */
.match-badge {
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.match-badge.high-match {
    background: linear-gradient(135deg, var(--green), #059669);
    animation: pulse-badge 2s infinite;
}

.match-badge.medium-match {
    background: linear-gradient(135deg, var(--orange), #D97706);
}

.match-badge.low-match {
    background: linear-gradient(135deg, var(--dark-lighter), var(--dark-light));
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6); }
}

/* Match Reason Styling */
.match-reason {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--green);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.match-reason strong {
    color: var(--green);
    font-weight: 600;
}

.match-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.match-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(16, 185, 129, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--green);
}

/* ==================== RESULTS ==================== */
.results-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.results-info { flex: 1; }
.results-info h2 { font-size: 1.5rem; }
.results-info p { color: var(--text-muted); }

.results-sort select {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.scholarship-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s;
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
}

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

.scholarship-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-image { height: 180px; background-size: cover; background-position: center; }
.card-content { padding: 1.5rem; }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-title { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }

.card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-actions { display: flex; gap: 1rem; }
.card-actions .btn { flex: 1; }

.no-results { text-align: center; padding: 4rem 2rem; }
.no-results-icon { font-size: 4rem; margin-bottom: 1rem; }
.no-results h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.no-results p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ==================== CHAT ==================== */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal), #0891B2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-info h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.chat-info p { font-size: 0.85rem; color: var(--text-muted); }

.chat-messages { height: 400px; overflow-y: auto; padding: 1.5rem; }

.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.5); border-radius: 10px; }

.message { display: flex; gap: 1rem; margin-bottom: 1.5rem; animation: messageIn 0.3s ease; }

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

.message-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), #0891B2);
}

.message.user .message-avatar { background: var(--dark-lighter); }

.message-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    border-radius: 18px;
    border-top-left-radius: 4px;
}

.message.user .message-content {
    background: rgba(99, 102, 241, 0.2);
    border-top-left-radius: 18px;
    border-top-right-radius: 4px;
}

.message-content p { margin-bottom: 0.5rem; line-height: 1.6; }
.message-content ul, .message-content ol { margin: 0.75rem 0; padding-left: 1.25rem; }
.message-content li { margin-bottom: 0.5rem; }

.quick-replies { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.5rem 1rem; }

.quick-reply {
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: var(--teal);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-reply:hover { background: rgba(6, 182, 212, 0.25); transform: scale(1.02); }

.chat-input-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
}

.chat-input-wrapper input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text);
    font-size: 1rem;
}

.chat-input-wrapper input:focus { outline: none; border-color: var(--primary); }
.chat-input-wrapper input::placeholder { color: var(--text-muted); }

/* ==================== APPLICATIONS ==================== */
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }

.app-stat-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.saved { background: rgba(99, 102, 241, 0.2); }
.stat-icon.applied { background: rgba(245, 158, 11, 0.2); }
.stat-icon.completed { background: rgba(16, 185, 129, 0.2); }
.stat-details .stat-number { font-size: 2rem; font-weight: 800; display: block; }
.stat-details .stat-label { color: var(--text-muted); font-size: 0.9rem; }

.app-filters { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }

.filter-tab {
    padding: 0.6rem 1.25rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.applications-list { display: flex; flex-direction: column; gap: 1.5rem; }

.application-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    overflow: hidden;
    transition: all 0.3s;
}

.application-card:hover { transform: translateX(5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }

.app-card-image { width: 200px; min-height: 180px; background-size: cover; background-position: center; flex-shrink: 0; }
.app-card-content { flex: 1; padding: 1.5rem; }

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-card-header h3 { font-size: 1.2rem; }

.status-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.saved { background: rgba(99, 102, 241, 0.2); color: var(--primary); }
.status-badge.applied { background: rgba(245, 158, 11, 0.2); color: var(--orange); }
.status-badge.completed { background: rgba(16, 185, 129, 0.2); color: var(--green); }

.app-card-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.app-card-meta .urgent { color: var(--red); }
.app-card-meta .soon { color: var(--orange); }

.app-card-progress { margin-bottom: 1rem; }

.progress-bar { height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; border-radius: 10px; transition: width 0.5s ease; }
.progress-fill.saved { background: var(--primary); }
.progress-fill.applied { background: var(--orange); }
.progress-fill.completed { background: var(--green); }
.progress-text { font-size: 0.8rem; color: var(--text-muted); }

.app-card-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: linear-gradient(135deg, var(--dark-light), var(--dark-lighter));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }

.modal-image { height: 250px; background-size: cover; background-position: center; }
.modal-details { padding: 2rem; }
.modal-title { font-size: 1.75rem; margin-bottom: 1rem; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }

.modal-section { margin: 1.5rem 0; }
.modal-section h4 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--teal); }
.modal-section p { color: var(--text-muted); line-height: 1.7; }
.modal-section ul { list-style: none; padding: 0; }
.modal-section li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--text-muted); }
.modal-section li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); }

.modal-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.modal-actions .btn { flex: 1; }
.saved-note { text-align: center; margin-top: 1rem; color: var(--text-muted); font-size: 0.9rem; }

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-light);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.toast-message { font-weight: 500; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .features-grid, .scholarships-preview { grid-template-columns: repeat(2, 1fr); }
    .app-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-nav { display: flex; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-title { font-size: 2.25rem; }
    .hero-image img, .logo-hero { width: auto; height: 80px; }
    .hero-logo-wrapper::before { width: 120px; height: 120px; }
    .hero-stats { justify-content: center; gap: 2rem; }
    .hero-card { padding: 2.5rem; }
    .features-grid, .scholarships-preview, .app-stats { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .results-header { flex-direction: column; align-items: flex-start; }
    .results-grid { grid-template-columns: 1fr; }
    .application-card { flex-direction: column; }
    .app-card-image { width: 100%; height: 150px; }
    .modal-actions { flex-direction: column; }
    .container { padding: 0 1rem; }
    .match-form-card { padding: 2rem; }
    .chat-messages { height: 350px; }
}

@media (max-width: 480px) {
    .navbar { padding: 0.75rem 1rem; }
    .navbar-logo img, .navbar-logo .logo-navbar { height: 28px; }
    .hero-title { font-size: 1.85rem; }
    .hero-card { padding: 1.75rem; border-radius: 24px; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .hero-image img, .logo-hero { height: 60px; }
    .hero-logo-wrapper::before { width: 100px; height: 100px; }
    .section-title { font-size: 1.85rem; }
    .card-actions, .app-card-actions, .quick-replies { flex-direction: column; }
    .chat-input-wrapper { flex-direction: column; }
    .chat-input-wrapper .btn { width: 100%; }
}

/* ==================== APPLICATION STEPS ==================== */
.application-steps {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.application-steps h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text);
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.fallback-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.15);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    color: var(--orange);
}

.redirect-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

/* Modal Actions Secondary */
.modal-actions-secondary {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-actions-secondary .btn {
    flex: 1;
}

.btn.apply-btn {
    animation: pulse-apply 2s infinite;
}

@keyframes pulse-apply {
    0%, 100% { box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6); }
}

/* Saved note styling */
.saved-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.saved-note strong {
    color: var(--primary);
    text-transform: capitalize;
}


/* ==================== APP COMING SOON SECTION ==================== */
.app-coming-soon-section {
    position: relative;
    background: linear-gradient(135deg, #1E0A3C 0%, #2D1B69 25%, #1E3A5F 50%, #0F172A 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    margin-top: 4rem;
    overflow: hidden;
}

.app-coming-soon-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Floating icons animation */
.floating-icons {
    position: absolute;
    inset: 0;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float-icon 8s ease-in-out infinite;
}

.floating-icon.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icon.icon-2 { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icon.icon-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-icon.icon-4 { bottom: 15%; right: 25%; animation-delay: 3s; }
.floating-icon.icon-5 { top: 50%; left: 5%; animation-delay: 4s; }

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

.app-coming-soon-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left side - Text content */
.app-coming-soon-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.5);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple);
    width: fit-content;
    animation: pulse-badge-glow 2s infinite;
}

@keyframes pulse-badge-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.5); }
}

.app-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 450px;
}

/* Feature highlights */
.app-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.app-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.app-feature-icon {
    font-size: 1.25rem;
}

.app-feature-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

/* Email notify form */
.app-notify-form {
    display: flex;
    gap: 0.75rem;
    max-width: 400px;
}

.notify-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}

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

.notify-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-notify {
    padding: 1rem 2rem;
    white-space: nowrap;
    font-weight: 700;
}

.notify-success {
    color: var(--green);
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Trust badges */
.app-trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Right side - Phone mockup */
.app-coming-soon-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 280px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    animation: phone-glow 4s ease-in-out infinite;
}

@keyframes phone-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.phone-mockup {
    position: relative;
    width: 260px;
    height: 520px;
    background: linear-gradient(145deg, #2D2D2D 0%, #1A1A1A 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(99, 102, 241, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: float-phone 6s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-radius: 32px;
    padding: 1rem;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1A1A1A;
    border-radius: 0 0 20px 20px;
}

.phone-app-preview {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.3s ease;
}

.preview-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.preview-icon {
    font-size: 1.25rem;
}

.preview-coming-soon {
    margin-top: auto;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--purple);
    animation: pulse-coming-soon 2s infinite;
}

@keyframes pulse-coming-soon {
    0%, 100% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.2); }
    50% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
}

/* Responsive - App Coming Soon */
@media (max-width: 1024px) {
    .app-coming-soon-section {
        padding: 3rem;
    }
    
    .app-coming-soon-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .app-coming-soon-left {
        align-items: center;
    }
    
    .app-headline {
        font-size: 2rem;
    }
    
    .app-subtext {
        max-width: 100%;
    }
    
    .app-features {
        justify-content: center;
    }
    
    .app-notify-form {
        max-width: 100%;
        justify-content: center;
    }
    
    .app-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .app-coming-soon-section {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .app-headline {
        font-size: 1.75rem;
    }
    
    .app-notify-form {
        flex-direction: column;
    }
    
    .btn-notify {
        width: 100%;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .phone-mockup-wrapper {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .app-coming-soon-section {
        padding: 1.5rem;
    }
    
    .app-features {
        flex-direction: column;
        align-items: center;
    }
    
    .app-feature {
        width: 100%;
        justify-content: center;
    }
    
    .app-trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .phone-mockup-wrapper {
        transform: scale(0.8);
    }
}


/* ==================== FAQ SECTION ==================== */
.faq-section {
    margin-top: 4rem;
    padding: 4rem 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header .section-title {
    margin-top: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-header .section-subtitle {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.badge-secondary {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--teal);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question:focus {
    outline: none;
    background: rgba(99, 102, 241, 0.05);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.faq-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
    padding-right: 1rem;
}

.faq-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-chevron svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    background: var(--primary);
    color: white;
}

.faq-item.active .faq-chevron svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .faq-header {
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 1.25rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .faq-chevron {
        width: 28px;
        height: 28px;
    }
    
    .faq-chevron svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin-top: 2rem;
    }
    
    .faq-question-text {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

/* ==================== 3-STEP WIZARD FORM ==================== */

/* Wizard Progress Bar */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 1;
}

.wizard-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-lighter);
    border: 2px solid var(--dark-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.wizard-step.active .step-number {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.wizard-step.completed .step-number {
    background: var(--green);
    border-color: var(--green);
}

.wizard-step.completed .step-number::after {
    content: '✓';
}

.wizard-step .step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.wizard-step.active .step-label {
    color: var(--text);
}

.wizard-line {
    flex: 1;
    height: 3px;
    background: var(--dark-lighter);
    margin: 0 1rem;
    margin-bottom: 1.5rem;
    max-width: 80px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.wizard-line.completed {
    background: var(--green);
}

/* Wizard Panels */
.wizard-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wizard-panel.active {
    display: block;
}

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

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.wizard-nav .btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
}

/* Full Width Form Group */
.form-group.full-width {
    grid-column: 1 / -1;
}

/* ==================== PREMIUM AI RESULT CARDS ==================== */

.ai-result-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Card Header with Match Score */
.ai-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--glass-border);
}

.ai-card-rank {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.ai-card-university {
    flex: 1;
}

.ai-card-university h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.ai-card-course {
    font-size: 1rem;
    color: var(--purple);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.ai-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ai-card-match-score {
    text-align: center;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ai-card-match-score .score-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.ai-card-match-score .score-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Body */
.ai-card-body {
    padding: 1.5rem;
}

/* Stats Grid */
.ai-card-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

.ai-stat-item .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.ai-stat-item .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.ai-stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Admission Chance Badge */
.admission-chance {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.admission-chance.high {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.admission-chance.medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.admission-chance.low {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Why This Fits / Weakness Section */
.ai-card-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.insight-box {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
}

.insight-box.positive {
    border-left: 3px solid var(--green);
}

.insight-box.improve {
    border-left: 3px solid var(--orange);
}

.insight-box h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-box p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

/* Scholarship Link */
.ai-card-scholarship {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin-bottom: 1.5rem;
}

.ai-card-scholarship .scholarship-icon {
    font-size: 2rem;
}

.ai-card-scholarship .scholarship-info {
    flex: 1;
}

.ai-card-scholarship .scholarship-name {
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 0.25rem;
}

.ai-card-scholarship .scholarship-amount {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Card Actions */
.ai-card-actions {
    display: flex;
    gap: 1rem;
}

.ai-card-actions .btn {
    flex: 1;
}

/* Responsive AI Cards */
@media (max-width: 768px) {
    .ai-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ai-card-match-score {
        align-self: flex-start;
    }
    
    .ai-card-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-card-insights {
        grid-template-columns: 1fr;
    }
    
    .ai-card-actions {
        flex-direction: column;
    }
    
    .wizard-progress {
        padding: 1rem;
    }
    
    .wizard-step .step-label {
        font-size: 0.75rem;
    }
    
    .wizard-line {
        max-width: 40px;
        margin: 0 0.5rem;
    }
}

/* Career ROI Badge */
.career-roi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
}

/* ==================== PREMIUM HERO BUTTONS ==================== */

.btn-hero-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
    color: white;
    border: 2px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4), 0 0 60px rgba(139, 92, 246, 0.2);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-hero-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 80px rgba(139, 92, 246, 0.4), 0 10px 40px rgba(0,0,0,0.3);
    border-color: rgba(139, 92, 246, 0.8);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2), inset 0 0 30px rgba(6, 182, 212, 0.1);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--teal);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4), 0 0 60px rgba(6, 182, 212, 0.2), 0 10px 40px rgba(0,0,0,0.3);
}

/* ==================== PREMIUM SUBMIT BUTTON ==================== */

.btn-submit-match {
    background: linear-gradient(135deg, #10B981 0%, #06B6D4 50%, #6366F1 100%);
    color: white;
    border: 2px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), 0 0 60px rgba(6, 182, 212, 0.2);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), 0 0 60px rgba(6, 182, 212, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(16, 185, 129, 0.6), 0 0 100px rgba(6, 182, 212, 0.4);
    }
}

.btn-submit-match::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.btn-submit-match:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.6), 0 0 100px rgba(6, 182, 212, 0.4), 0 15px 50px rgba(0,0,0,0.4);
}

/* ==================== FORM INPUT TEXT ==================== */

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

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

/* ==================== LOADING ANIMATION ==================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

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

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stagger animation for result cards */
.result-card-stagger {
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
}

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

/* ==================== PREMIUM WIZARD PROGRESS ==================== */

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border-radius: var(--radius);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.wizard-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark-lighter);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.wizard-step.active .step-number {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5), 0 0 50px rgba(139, 92, 246, 0.3);
    transform: scale(1.1);
}

.wizard-step.completed .step-number {
    background: linear-gradient(135deg, var(--green), var(--teal));
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.wizard-step .step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-step.active .step-label {
    color: var(--text);
}

.wizard-line {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-lighter), rgba(99, 102, 241, 0.2));
    margin: 0 1rem;
    margin-bottom: 2rem;
    max-width: 100px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.wizard-line.completed {
    background: linear-gradient(90deg, var(--green), var(--teal));
}

/* ==================== PREMIUM LIGHT HERO SECTION ==================== */

.hero-light {
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 30%, #E0E7FF 70%, #F5F3FF 100%);
    border-radius: 32px;
    padding: 3rem 4rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(99, 102, 241, 0.1), 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-light::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(199, 210, 254, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hero-light-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Text Content */
.hero-light-text {
    max-width: 540px;
}

.hero-light-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #1E293B;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #1E293B, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sparkle-gold {
    color: #FBBF24;
    -webkit-text-fill-color: #FBBF24;
    animation: sparkle 2s infinite;
}

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

.hero-light-subtitle {
    font-size: 1.15rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

/* CTA Buttons */
.hero-light-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-run-match {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-run-match:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.45);
}

.btn-ask-ai {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #6366F1;
    border: 2px solid #E0E7FF;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-ask-ai:hover {
    transform: translateY(-3px);
    border-color: #C7D2FE;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Stats Cards */
.hero-stats-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-card-light {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.stat-card-icon {
    font-size: 1.5rem;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-card-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.85rem;
    color: #64748B;
}

/* Right Side - Visual */
.hero-light-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Globe */
.hero-globe {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.globe-svg {
    width: 100%;
    height: 100%;
}

.hero-airplane {
    position: absolute;
    top: 15%;
    right: 10%;
    font-size: 2.5rem;
    transform: rotate(-30deg);
    animation: fly 4s ease-in-out infinite;
}

@keyframes fly {
    0%, 100% { transform: rotate(-30deg) translateY(0); }
    50% { transform: rotate(-30deg) translateY(-10px); }
}

/* City Silhouette */
.hero-city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    opacity: 0.8;
}

.city-svg {
    width: 100%;
    height: 100%;
}

/* Student Image */
.hero-student {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.student-img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    mask-image: linear-gradient(to top, transparent 0%, black 20%, black 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%, black 100%);
}

/* Floating Match Card */
.hero-match-card {
    position: absolute;
    top: 20%;
    right: -10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.15), 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 10;
    min-width: 200px;
    animation: floatCard 3s ease-in-out infinite;
}

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

.match-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

.match-card-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.match-card-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #475569;
}

.match-item-icon {
    font-size: 1rem;
}

.match-item-text {
    flex: 1;
}

.match-item-check {
    color: #10B981;
    font-weight: 700;
}

.match-card-score {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366F1;
    padding-top: 0.75rem;
    border-top: 1px solid #E2E8F0;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-light {
        padding: 2.5rem 2rem;
    }
    
    .hero-light-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-light-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-light-title {
        font-size: 2.75rem;
    }
    
    .hero-light-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-light-buttons {
        justify-content: center;
    }
    
    .hero-stats-cards {
        justify-content: center;
    }
    
    .hero-light-visual {
        height: 350px;
    }
    
    .hero-match-card {
        right: 10px;
        top: 10%;
    }
    
    .student-img {
        width: 200px;
        height: 280px;
    }
}

@media (max-width: 640px) {
    .hero-light {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .hero-light-title {
        font-size: 2rem;
    }
    
    .hero-light-subtitle {
        font-size: 1rem;
    }
    
    .hero-light-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-run-match,
    .btn-ask-ai {
        justify-content: center;
    }
    
    .hero-stats-cards {
        flex-direction: column;
    }
    
    .stat-card-light {
        justify-content: center;
    }
    
    .hero-light-visual {
        height: 280px;
    }
    
    .hero-globe {
        width: 250px;
        height: 250px;
    }
    
    .hero-match-card {
        position: relative;
        right: auto;
        top: auto;
        margin: 0 auto;
    }
    
    .student-img {
        display: none;
    }
}

/* ==================== PREMIUM FUTURISTIC HERO V2 ==================== */

.hero-premium {
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 20%, #EEF2FF 50%, #E0E7FF 80%, #DDD6FE 100%);
    border-radius: 32px;
    padding: 4rem 5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 30px 100px rgba(99, 102, 241, 0.12),
        0 15px 50px rgba(139, 92, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Background Glows */
.hero-premium-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: 20%;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    top: 50%;
    right: 30%;
}

.hero-premium-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Text */
.hero-premium-text {
    max-width: 520px;
}

.hero-premium-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.text-dark {
    color: #1E293B;
}

.text-purple-gradient {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sparkle-animate {
    display: inline-block;
    color: #FBBF24;
    -webkit-text-fill-color: #FBBF24;
    animation: sparkleFloat 2.5s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-8px) rotate(15deg); opacity: 0.85; }
}

.hero-premium-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

/* CTA Buttons */
.hero-premium-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.btn-premium-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 60px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.4),
        0 5px 15px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.btn-premium-primary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-premium-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(99, 102, 241, 0.5),
        0 10px 25px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    color: #6366F1;
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 60px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-premium-secondary:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-content {
    position: relative;
    z-index: 2;
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    gap: 1rem;
}

.stat-glass-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    flex: 1;
    transition: all 0.3s ease;
}

.stat-glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 45px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-glass-icon {
    font-size: 2rem;
}

.stat-glass-info {
    display: flex;
    flex-direction: column;
}

.stat-glass-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.2;
}

.stat-glass-label {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

/* Right Side - Futuristic Visual */
.hero-premium-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Globe */
.globe-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: globePulse 4s ease-in-out infinite;
}

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

.globe-futuristic {
    width: 420px;
    height: 420px;
    animation: globeRotate 30s linear infinite;
}

@keyframes globeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Flight Paths Animation */
.flight-path {
    stroke-dashoffset: 0;
    animation: flightDash 3s linear infinite;
}

.path-1 { animation-delay: 0s; }
.path-2 { animation-delay: 1s; }
.path-3 { animation-delay: 2s; }

@keyframes flightDash {
    to { stroke-dashoffset: -30; }
}

/* Markers Pulse */
.marker circle:first-child {
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { r: 10; opacity: 0.3; }
    50% { r: 16; opacity: 0.1; }
}

/* Airplane */
.airplane-container {
    position: absolute;
    top: 10%;
    right: 5%;
    animation: airplaneFly 6s ease-in-out infinite;
}

.airplane {
    font-size: 3rem;
    transform: rotate(-25deg);
    filter: drop-shadow(0 5px 15px rgba(99, 102, 241, 0.3));
}

@keyframes airplaneFly {
    0%, 100% { 
        transform: translate(0, 0) rotate(-25deg); 
    }
    25% { 
        transform: translate(-20px, -15px) rotate(-30deg); 
    }
    50% { 
        transform: translate(-10px, -25px) rotate(-20deg); 
    }
    75% { 
        transform: translate(10px, -10px) rotate(-28deg); 
    }
}

/* Landmarks */
.landmarks-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    pointer-events: none;
}

.landmarks-svg {
    width: 100%;
    height: 100%;
}

.landmark {
    animation: landmarkFade 3s ease-in-out infinite;
}

.big-ben { animation-delay: 0s; }
.london-eye { animation-delay: 0.5s; }
.eiffel { animation-delay: 1s; }
.cologne { animation-delay: 1.5s; }

@keyframes landmarkFade {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}

/* Match Summary Float Card */
.match-summary-float {
    position: absolute;
    top: 15%;
    right: 0;
    z-index: 10;
    animation: floatSummary 4s ease-in-out infinite;
}

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

.match-summary-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 28px;
    filter: blur(15px);
}

.match-summary-content {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 1.5rem 1.75rem;
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.9);
    min-width: 220px;
}

.match-summary-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

.match-summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.match-summary-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #475569;
}

.item-icon {
    font-size: 1rem;
}

.item-text {
    flex: 1;
}

.item-check {
    color: #10B981;
    font-weight: 700;
    font-size: 1.1rem;
}

.match-summary-score {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E2E8F0;
    justify-content: center;
}

.score-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366F1;
}

.score-label {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 600;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 5s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 40%; right: 15%; animation-delay: 1s; width: 6px; height: 6px; }
.particle-3 { bottom: 30%; left: 30%; animation-delay: 2s; width: 10px; height: 10px; }
.particle-4 { top: 60%; left: 50%; animation-delay: 3s; width: 5px; height: 5px; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(10px, -15px) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-5px, -25px) scale(0.8); opacity: 0.3; }
    75% { transform: translate(-15px, -10px) scale(1.1); opacity: 0.5; }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-premium {
        padding: 3rem 3rem;
    }
    
    .hero-premium-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero-premium-title {
        font-size: 3rem;
    }
    
    .globe-futuristic {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 968px) {
    .hero-premium {
        padding: 2.5rem 2rem;
    }
    
    .hero-premium-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-premium-text {
        max-width: 100%;
    }
    
    .hero-premium-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-premium-buttons {
        justify-content: center;
    }
    
    .hero-stats-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-glass-card {
        flex: 0 1 auto;
    }
    
    .hero-premium-visual {
        height: 400px;
    }
    
    .match-summary-float {
        right: 50%;
        transform: translateX(50%);
        top: 5%;
    }
}

@media (max-width: 640px) {
    .hero-premium {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .hero-premium-title {
        font-size: 2.25rem;
    }
    
    .hero-premium-subtitle {
        font-size: 1rem;
    }
    
    .hero-premium-buttons {
        flex-direction: column;
    }
    
    .btn-premium-primary,
    .btn-premium-secondary {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .hero-stats-row {
        flex-direction: column;
    }
    
    .stat-glass-card {
        justify-content: center;
    }
    
    .hero-premium-visual {
        height: 320px;
    }
    
    .globe-futuristic {
        width: 280px;
        height: 280px;
    }
    
    .landmarks-container {
        display: none;
    }
}

/* Hero Title Gradient for "Bigger Futures" */
.text-gradient-hero {
    background: linear-gradient(135deg, #A78BFA 0%, #818CF8 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
