/* === PREMIUM DARK GLASSMORPHISM DESIGN === */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Orbitron:wght@500;700;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-deep: #0f1015;
    --sidebar-bg: rgba(18, 19, 26, 0.8);
    --card-bg: rgba(28, 30, 43, 0.6);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(139, 92, 246, 0.2);
    --sidebar-width: 280px;
    --glow-color: #c084fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* === DYNAMIC BACKGROUND === */
#bgGraph {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1a1b26 0%, #0f1015 100%);
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* === SIDEBAR (Glass Effect) === */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.logo span {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    padding: 14px 18px;
    border-radius: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--accent);
}

/* === CONTENT AREA === */
.main-content {
    flex: 1;
    padding: 50px 60px;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

/* === RIGHT SIDEBAR (Extra Premium) === */
.right-sidebar {
    width: 320px;
    background: rgba(18, 19, 26, 0.4);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.right-section h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-section h3 span {
    font-size: 12px;
    color: var(--accent);
    cursor: pointer;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-item .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.activity-info h4 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 2px;
}

.activity-info p {
    font-size: 11px;
    color: var(--text-muted);
}

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

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.2)), 
                url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    background-position: center;
    height: 200px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* === GLASS CARDS === */
.glass-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: radial-gradient(circle 140px at var(--x, -1000px) var(--y, -1000px), 
        #ffffff 0%, 
        #00f2ff 25%, 
        #8b5cf6 50%, 
        #ff00e1 75%, 
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* === STATS GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.neon-text {
    color: #fff;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.stat-desc {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

/* === DASHBOARD GRID === */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.chart-wrapper h3, .action-card h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
}

/* === BUTTONS === */
.btn-neon {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--accent);
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.btn-neon:hover {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* === TIPS SECTION === */
.tips-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tips-section {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border);
}

.tips-section h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tips-section ul {
    list-style: none;
}

.tips-section li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.tips-section li:last-child {
    border-bottom: none;
}

.tips-section li strong {
    color: var(--accent);
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

/* === USER PROFILE (Sidebar Bottom) === */
.user-profile {
    margin-top: auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-profile img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
}

.user-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.user-info p {
    font-size: 11px;
    color: var(--accent);
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.lang-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.lang-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* === CUSTOM SCROLLBAR === */
.main-content::-webkit-scrollbar {
    width: 6px;
}

.main-content::-webkit-scrollbar-track {
    background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* === CARDS GRID (Education) === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 25px;
    border: 1px solid var(--border);
    transition: 0.4s;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: radial-gradient(circle 140px at var(--x, -1000px) var(--y, -1000px), 
        #ffffff 0%, 
        #00f2ff 25%, 
        #8b5cf6 50%, 
        #ff00e1 75%, 
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
}

.card h3 {
    margin-bottom: 12px;
    color: #fff;
}

.card-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

/* === ROADMAP TIMELINE === */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.timeline-content {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.timeline-year {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

/* === FILTER SECTION === */
.filter-section {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.search-input {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 15px 20px;
    border-radius: 15px;
    color: #fff;
    width: 100%;
    outline: none;
}

.search-input:focus {
    border-color: var(--accent);
}

/* === AUTHORIZATION MODAL === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal {
    width: 400px;
    background: rgba(28, 30, 43, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .auth-modal {
    transform: scale(1);
}

.auth-modal h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.auth-modal p {
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.auth-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.auth-btn {
    margin-top: 10px;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: #fff;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* === ENHANCED AUTH MODAL === */
.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 10px;
    position: relative;
    transition: 0.3s;
}

.auth-tab.active {
    color: #fff;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.avatar-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.avatar-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.avatar-preview-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.avatar-preview {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.shuffle-avatar {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-deep);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.shuffle-avatar:hover {
    transform: rotate(180deg);
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
}

.forgot-pass {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    margin-top: -10px;
    margin-bottom: 5px;
}

.forgot-pass:hover {
    text-decoration: underline;
}

/* === MOBILE HEADER === */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .logo {
    margin-bottom: 0;
    font-size: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
}

/* === RESPONSIVE DESIGN (FULL REFACTORING) === */
@media (max-width: 1200px) {
    .right-sidebar {
        display: none;
    }
    
    .main-content {
        padding: 30px 40px;
    }
}

@media (max-width: 1024px) {
    :root {
        --sidebar-width: 240px;
    }
    
    .sidebar {
        width: var(--sidebar-width);
    }
    
    .main-content {
        padding: 30px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto !important;
        height: auto !important;
        background-attachment: fixed;
    }

    .app-container {
        flex-direction: column;
        height: auto;
    }

    /* --- Navigation & Header --- */
    .mobile-header {
        display: flex;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        z-index: 2000;
        padding-top: 90px;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        background: rgba(15, 16, 21, 0.98);
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        padding: 100px 15px 40px;
        width: 100%;
        overflow-x: hidden;
    }

    /* --- Typography & Elements --- */
    .page-title {
        font-size: 26px;
        text-align: left;
        line-height: 1.2;
    }

    .hero-banner {
        height: auto !important;
        min-height: 160px;
        padding: 25px 20px !important;
        margin-bottom: 20px !important;
    }

    .hero-banner h2 {
        font-size: 22px !important;
    }

    .hero-banner p {
        font-size: 14px !important;
    }

    /* --- Grids --- */
    .stats-grid, 
    .dashboard-grid, 
    .cards-grid, 
    .filter-section {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    /* --- Cards Refinement --- */
    .glass-card, 
    .card, 
    .profession-card, 
    .tips-section, 
    .timeline-content {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .stat-card {
        padding: 15px 20px;
    }

    .stat-value {
        font-size: 30px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* --- Buttons & Controls --- */
    .btn-neon {
        padding: 12px;
        font-size: 14px;
    }

    .language-switcher {
        width: 100%;
        margin-bottom: 25px;
    }

    .nav-item {
        padding: 14px 15px;
        font-size: 15px;
    }

    .search-input {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* --- Specific Components --- */
    .timeline {
        padding-left: 20px;
    }

    .timeline-dot {
        left: -26px;
    }

    .auth-modal {
        width: 92%;
        padding: 25px 20px;
    }

    /* Education stats on mobile */
    .education-stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === SIDEBAR OVERLAY === */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* === MOBILE ANIMATIONS === */
@keyframes mobileSlideIn {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.sidebar.active .nav-item {
    animation: mobileSlideIn 0.5s ease forwards;
}

.sidebar.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
.sidebar.active .nav-item:nth-child(2) { animation-delay: 0.15s; }
.sidebar.active .nav-item:nth-child(3) { animation-delay: 0.2s; }
.sidebar.active .nav-item:nth-child(4) { animation-delay: 0.25s; }
.sidebar.active .nav-item:nth-child(5) { animation-delay: 0.3s; }

/* === UTILITY CLASSES FOR REFACTORING === */
.info-section {
    margin-top: 50px;
    background: rgba(28, 30, 43, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 30px;
}

.info-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
}

.info-text {
    color: #94a3b8;
    line-height: 1.8;
}

.info-list {
    color: #94a3b8;
    margin-top: 15px;
    padding-left: 25px;
    line-height: 1.8;
    list-style: none;
}

.info-list li {
    margin-bottom: 10px;
}

.edu-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.other-directions-section {
    margin-top: 50px;
}

.section-subtitle {
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
}

.success-factors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.success-factor h4 {
    color: #a78bfa;
    margin-bottom: 10px;
}

.success-factor p {
    color: #94a3b8;
    line-height: 1.6;
}

.salary-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.salary-value {
    color: #8b5cf6;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.roadmap-footer {
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.1));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

/* Mobile overrides for utility classes */
@media (max-width: 768px) {
    .edu-stats-grid, 
    .success-factors-grid, 
    .salary-stat-grid {
        grid-template-columns: 1fr !important;
    }
    
    .info-section, .roadmap-footer {
        padding: 25px 20px !important;
        margin-top: 30px !important;
    }
    
    .section-subtitle {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
}