:root {
    /* Premium Dark Mode with Vibrant Accents */
    --primary: #00f0ff; /* Neon Cyan */
    --primary-dark: #00b3cc;
    --secondary: #bd00ff; /* Neon Violet */
    --bg-main: #0a0a0a;
    --bg-card: #151515;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --success: #00ff66;
    --warning: #ffb700;
    --border: #2a2a2a;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 20px 40px rgba(0, 240, 255, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.justify-center { justify-content: center; }
.full-width { width: 100%; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.py-80 { padding: 80px 0; }
.text-muted { color: var(--text-muted); }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #0a0a0a;
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
    color: #0a0a0a;
}

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

.btn-outline:hover {
    background: rgba(15, 98, 254, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Glassmorphism */
.glass {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-strong);
    border-radius: var(--radius);
}

.shadow-soft { box-shadow: var(--shadow-soft); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-accent {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}
.hero-bg-accent::after {
    content: '';
    position: absolute;
    bottom: -400px;
    left: -400px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(10, 10, 10, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgba(15, 98, 254, 0.1);
    color: var(--primary);
}

.badge-success { background: rgba(0, 255, 102, 0.1); color: var(--success); }
.badge-warning { background: rgba(255, 183, 0, 0.15); color: var(--warning); }

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

/* Matchmaker Form */
.hero-form-container {
    padding: 35px;
    position: relative;
    z-index: 10;
}

.form-header {
    margin-bottom: 25px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.4rem;
}

.form-step {
    animation: fadeIn 0.4s ease;
}

.form-step.hidden {
    display: none;
}

.form-step label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-main);
}

select, input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
    transition: all 0.2s;
    background: var(--bg-card);
    color: var(--text-main);
}

select:focus, input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.1);
}

.form-actions {
    display: flex;
    gap: 10px;
}

.form-actions button {
    flex: 1;
}

.form-lock {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.form-lock i { width: 14px; height: 14px; }

/* Paths Category */
.paths {
    padding: 80px 0;
}

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

.path-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary);
}

.path-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 98, 254, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.path-icon i { width: 30px; height: 30px; }

/* Comparison Grid */
.bg-light { background: #111111; }
.comparison { padding: 80px 0; border-top: 1px solid var(--border); }

.tags-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

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

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

.course-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.course-card:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); }

.course-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.course-header p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.features-list { list-style: none; margin-bottom: 20px; }
.features-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; }
.features-list i { color: var(--success); width: 18px; height: 18px; }

.uni-count {
    background: var(--bg-main);
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

/* Calculator Section */
.calculator { padding: 100px 0; border-bottom: 1px solid var(--border); }
.calc-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.calc-features i { color: var(--primary); }

.calc-ui { padding: 40px; }
.calc-ui h3 { margin-bottom: 30px; }
.input-group { margin-bottom: 25px; }

.slider { width: 100%; -webkit-appearance: none; height: 6px; background: var(--border); border-radius: 5px; outline: none; margin-bottom: 15px;}
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); cursor: pointer; }
.slider-val { text-align: right; font-weight: 600; color: var(--primary); }

.calc-result {
    margin-top: 30px;
    padding: 20px;
    background: rgba(25, 128, 56, 0.05);
    border: 1px dashed var(--success);
    border-radius: var(--radius-sm);
    text-align: center;
}
.res-label { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px;}
.res-value { font-size: 2rem; font-weight: 800; color: var(--success); font-family: var(--font-heading); }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.about-stats { padding: 30px; background: var(--bg-card); border-radius: var(--radius); border-top: 4px solid var(--primary); }

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    padding: 30px;
    z-index: 2000;
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-strong);
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1500;
}
.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    background: var(--bg-main);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.close:hover { background: #e0e0e0; }

/* Sticky Footer (Mobile heavy) */
.sticky-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 999;
    width: 90%;
    max-width: 400px;
    border: 1px solid var(--border);
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expert-profile { display: flex; align-items: center; gap: 12px; }
.expert-avatar { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.8rem; }
.expert-info { display: flex; flex-direction: column; }
.expert-info strong { font-size: 0.9rem; }
.expert-info span { font-size: 0.7rem; color: var(--text-muted); }

/* Footer */
footer { padding: 40px 0; background: var(--bg-card);  color: var(--text-muted); font-size: 0.9rem; }
.footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight:500; cursor: pointer; }
.footer-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
    .paths-grid { grid-template-columns: repeat(2, 1fr); }
    .course-grid { grid-template-columns: 1fr; }
    .calc-container { grid-template-columns: 1fr; }
    .nav-links, .nav-actions .btn-outline { display: none; }
}

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

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--border);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s;
}

.chat-header {
    background: var(--primary);
    color: #0a0a0a;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    background: #0a0a0a;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-avatar i { width: 20px; height: 20px; }

.chat-body {
    height: 300px;
    padding: 15px;
    background: var(--bg-main);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    display: none;
}

.chat-message {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    max-width: 80%;
    font-size: 0.9rem;
}

.bot-msg {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top-left-radius: 0;
}

.user-msg {
    align-self: flex-end;
    background: var(--primary);
    color: #0a0a0a;
    border-top-right-radius: 0;
}

.chat-input {
    display: none;
    padding: 15px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    align-items: center;
    gap: 10px;
}

.chat-input input {
    margin-bottom: 0;
    flex: 1;
    padding: 10px 15px;
}

.chat-input button {
    background: var(--primary);
    color: #0a0a0a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
