
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #222230;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-primary: rgba(99, 102, 241, 0.5);
    --glow-secondary: rgba(139, 92, 246, 0.3);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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


.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
    margin-top: 13px;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    font-family: 'Times New Roman', Times, serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-normal);
    white-space: nowrap;
    text-decoration: none;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-link.active {
    font-weight: 600;
}

.nav-link.active::after {
    background: var(--accent-secondary);
    box-shadow: 0 0 15px var(--glow-secondary);
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.location-selector:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--glow-secondary);
    color: var(--text-primary);
}

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

.location-dropdown {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

.location-dropdown option {
    background: var(--bg-card);
    color: var(--text-primary);
}


.profile-menu-wrapper {
    position: relative;
}

.profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border: 2px solid rgba(139, 92, 246, 0.4);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
}

.profile-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    background: #1a1a25;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.profile-dropdown .user-name {
    padding: 8px 12px;
    color: #a0a0b0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.profile-dropdown button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
    color: var(--text-secondary);
    font-family: inherit;
}

.profile-dropdown button:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-primary);
}

.profile-dropdown .logout-item {
    color: #ef4444;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
}

.profile-dropdown .logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.login-nav-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.login-nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 4px;
}

.mobile-nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    color: #a0a0b0;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-nav-links a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
}

.mobile-auth {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .nav-center,
    .location-selector {
        display: none !important;
    }

    .nav-right {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }
}


.popup-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: #1a1a25;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.popup-content p {
    color: #a0a0b0;
    margin-bottom: 24px;
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.popup-icon i {
    font-size: 32px;
    color: white;
}

.popup-content button,
.popup-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-content a:first-of-type {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    text-decoration: none;
}

.popup-content a:last-of-type {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.popup-content button:hover,
.popup-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.popup-content button[onclick="closeLoginPopup()"] {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #a0a0b0;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: auto;
    height: auto;
}

.popup-content button[onclick="closeLoginPopup()"]:hover {
    color: white;
    transform: none;
    box-shadow: none;
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.orb-1 { width: 400px; height: 400px; background: var(--accent-primary); top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: var(--accent-secondary); bottom: -50px; left: -50px; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: #ec4899; top: 50%; left: 30%; animation-delay: -6s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%       { transform: translate(30px, -30px) scale(1.1); }
    50%       { transform: translate(-20px, 20px) scale(0.9); }
    75%       { transform: translate(20px, 10px) scale(1.05); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line { display: block; }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

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

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(99, 102, 241, 0.8), 0 0 60px rgba(139, 92, 246, 0.4); }
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary i { transition: var(--transition-normal); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--glow-secondary);
}


.hero-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.badge-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.badge-item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}


.hero-illustrations { 
    position: relative; 
    height: 500px; 
}

.illustration-card {
    position: absolute;
    width: 280px;
    height: 320px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 24px;
    animation: cardFloat 6s ease-in-out infinite;
    overflow: hidden;
}

.card-left  { left: 0; top: 50px; animation-delay: 0s; }
.card-right { right: 0; top: 100px; animation-delay: -3s; }

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

.illustration-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}


.resume-mockup {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.resume-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.resume-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--glow-primary); }
    50% { box-shadow: 0 0 20px 5px var(--glow-primary); }
}

.resume-title-lines {
    flex: 1;
}

.resume-line {
    height: 8px;
    background: var(--text-muted);
    border-radius: 4px;
    opacity: 0.3;
    margin-bottom: 8px;
    width: 100%;
}

.resume-line.short { width: 60%; }
.resume-line.medium { width: 80%; }
.title-line-mock { width: 70%; height: 10px; opacity: 0.5; margin-bottom: 6px; }
.subtitle-line-mock { width: 40%; height: 6px; opacity: 0.3; }

.resume-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: scanMove 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes scanMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.score-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: badgeBounce 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

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

.floating-checks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.check-item {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: checkFloat 4s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.check-item i {
    color: var(--success);
}

.check-1 { top: 10px; right: -20px; animation-delay: 0s; }
.check-2 { bottom: 80px; left: -30px; animation-delay: -1s; }
.check-3 { bottom: 20px; right: -10px; animation-delay: -2s; }

@keyframes checkFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-5px) translateX(3px); }
    50% { transform: translateY(-10px) translateX(0); }
    75% { transform: translateY(-5px) translateX(-3px); }
}


.job-stack {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}

.job-card {
    position: absolute;
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: jobFloat 4s ease-in-out infinite;
}

.job-1 { top: 0; z-index: 3; animation-delay: 0s; }
.job-2 { top: 60px; z-index: 2; opacity: 0.8; animation-delay: -0.5s; transform: scale(0.95); }
.job-3 { top: 120px; z-index: 1; opacity: 0.6; animation-delay: -1s; transform: scale(0.9); }

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

.job-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.job-info {
    flex: 1;
}

.job-line {
    height: 8px;
    background: var(--text-muted);
    border-radius: 4px;
    opacity: 0.3;
    margin-bottom: 6px;
    width: 70%;
}

.job-line.short { width: 40%; }

.interview-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: interviewPulse 2s ease-in-out infinite;
}

@keyframes interviewPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.2); }
}

.sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    color: var(--accent-secondary);
    animation: sparkle 3s ease-in-out infinite;
}

.s-1 { top: 10px; left: 10px; animation-delay: 0s; }
.s-2 { top: 50%; right: 10px; animation-delay: -1s; }
.s-3 { bottom: 20px; left: 30%; animation-delay: -2s; }

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

.mouse { width: 24px; height: 40px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; }

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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


.section-header { text-align: center; margin-bottom: 60px; }

.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }

.section-subtitle { color: var(--text-secondary); font-size: 1.125rem; }


.how-it-works { padding: 100px 0; background: var(--bg-secondary); }

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

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.step-card:hover { transform: translateY(-10px); border-color: var(--accent-primary); box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2); }
.step-card:hover::before { opacity: 0.05; }

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-primary);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.step-card:hover .step-icon { background: var(--accent-gradient); color: white; transform: scale(1.1); }

.step-number {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.step-title  { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; position: relative; z-index: 1; }
.step-description { color: var(--text-secondary); font-size: 0.95rem; position: relative; z-index: 1; }

.step-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-primary);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-normal);
}

.step-card:hover .step-glow { opacity: 0.15; }


.features { padding: 100px 0; }

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon { background: var(--accent-gradient); color: white; transform: rotateY(360deg); }

.feature-title       { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.feature-description { color: var(--text-secondary); font-size: 0.95rem; }

.feature-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glow-primary), transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.feature-card:hover .feature-hover-effect { opacity: 0.1; }


.about { padding: 100px 0; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-text { 
    color: var(--text-secondary); 
    font-size: 1.125rem; 
    line-height: 1.8; 
    margin-bottom: 40px; 
}


.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.value-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--glow-primary);
}

.value-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.value-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}


.about-visual { 
    position: relative; 
    width: 100%; 
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.career-path-illustration {
    position: relative;
    width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.path-node {
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
    animation: nodePulse 3s ease-in-out infinite;
}

.path-node:nth-child(1) { animation-delay: 0s; }
.path-node:nth-child(3) { animation-delay: 0.5s; }
.path-node:nth-child(5) { animation-delay: 1s; }
.path-node:nth-child(7) { animation-delay: 1.5s; }

@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--glow-secondary); }
    50% { box-shadow: 0 0 20px 5px var(--glow-secondary); }
}

.path-node i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: var(--transition-normal);
}

.path-node span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.path-node:hover {
    transform: scale(1.15);
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.path-node:hover i {
    color: var(--accent-secondary);
    transform: scale(1.2);
}

.path-line {
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.path-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    animation: lineFlow 2s linear infinite;
}

@keyframes lineFlow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

.glow-ring {
    position: absolute;
    width: 400px; height: 400px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.glow-ring::before,
.glow-ring::after {
    content: '';
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.glow-ring::before { inset: 50px; }
.glow-ring::after  { inset: 100px; }

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


.footer {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
 
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}
 
.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    display: inline-block;
}
 
.footer-tagline {
    color: var(--text-secondary);
    max-width: 280px;
    font-size: 0.82rem;
    line-height: 1.4;
}
 
.footer-social {
    display: flex;
    gap: 10px;
}
 
.social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}
 
.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--glow-secondary);
}
 
.footer-bottom {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
 
.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}
 
.footer-policy-link {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
 
.footer-policy-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
    margin-top: 6px;
}
.footer-policy-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.2s ease;
}
 
.footer-policy-link:hover {
    color: var(--accent-primary);
}
 
.footer-policy-link:hover::after {
    width: 100%;
}
 
.footer-dot {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
}
 
.footer-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 120px;
    background: var(--accent-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    pointer-events: none;
}


@media (max-width: 1024px) {
    .hero-container     { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle      { margin-left: auto; margin-right: auto; }
    .hero-cta           { justify-content: center; }
    .hero-badges        { justify-content: center; }
    .hero-illustrations { display: none; }
    .steps-grid         { grid-template-columns: repeat(2, 1fr); }
    .features-grid      { grid-template-columns: repeat(2, 1fr); }
    .about-grid         { grid-template-columns: 1fr; gap: 60px; }
    .about-illustration { order: -1; }
    .about-values       { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-center,
    .nav-right,
    .location-selector { display: none !important; }

    .mobile-menu-toggle { display: flex !important; }

    .hero-title         { font-size: 2.5rem; }
    .hero-badges        { flex-direction: column; gap: 12px; }
    .steps-grid,
    .features-grid      { grid-template-columns: 1fr; }
    .about-stats        { flex-direction: column; gap: 30px; }
    .footer-grid        { flex-direction: column; text-align: center; gap: 30px; }
    .popup-content      { padding: 24px; }
    .popup-content h3   { font-size: 1.25rem; }
    .career-path-illustration { transform: scale(0.8); }
}


.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }


::-webkit-scrollbar       { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 5px; border: 2px solid var(--bg-primary); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }


::selection { background: var(--accent-primary); color: white; }


.mobile-welcome { color: #a0a0b0; font-size: 13px; margin-bottom: 8px; }

.mobile-logout-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.mobile-logout-btn:hover { background: rgba(239, 68, 68, 0.25); }

.mobile-login-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-login-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }