:root {
    --primary-color: #00d2ff;
    --secondary-color: #9d50bb;
    --accent-color: #ff00c1;
    --bg-dark: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-dim: #b0b0cc;
    --nav-height: 80px;
    --container-width: 1200px;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

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

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, rgba(157, 80, 187, 0.15), transparent),
                radial-gradient(circle at 20% 70%, rgba(0, 210, 255, 0.1), transparent);
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotate(15deg);
    animation: bg-float 60s linear infinite;
}

@keyframes bg-float {
    from { transform: rotate(15deg) translateY(0); }
    to { transform: rotate(15deg) translateY(-200px); }
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Careers Section */
.careers-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--primary-color);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.career-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.career-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.career-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.career-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-bottom: 2rem;
}

.skills-tags li {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    color: var(--text-dim);
}

.btn-card-detail {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dim);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-card-detail:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 210, 255, 0.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background-color: #0d0d1a;
    margin: 3% auto;
    padding: 0;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 950px;
    border-radius: 32px;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

#modal-body {
    padding: 3rem;
    overflow-y: auto;
}

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

.close-modal {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    font-size: 2.2rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

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

.modal-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.modal-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
}

.modal-section {
    margin-bottom: 3rem;
}

.modal-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-section h4 i {
    color: var(--primary-color);
}

/* Pros and Cons Grid */
.pc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pc-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.pc-item h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pc-pros h5 { color: #00ff88; }
.pc-cons h5 { color: #ff4444; }

.pc-list {
    list-style: none;
}

.pc-list li {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.pc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(157, 80, 187, 0.1));
    border: 1px solid var(--primary-color);
    padding: 2rem;
    border-radius: 24px;
    margin-top: 2rem;
}

.tip-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tip-box p {
    font-style: italic;
    color: #fff;
}

/* Salary Table */
.salary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    overflow: hidden;
}

.salary-table th, .salary-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.salary-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-weight: 500;
}

.salary-table .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .pc-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem; margin: 0; height: 100%; border-radius: 0; width: 100%; max-height: 100vh; }
    .modal-header h2 { font-size: 2rem; }
}

/* Quiz Section */
.quiz-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.quiz-container {
    max-width: 800px;
}

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

.quiz-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.question {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.options {
    display: grid;
    gap: 1rem;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.option-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--primary-color);
}

.option-btn.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 600;
}

.quiz-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s;
}

/* Results */
.result-box {
    text-align: center;
    padding: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
}

#result-title {
    font-size: 3rem;
    margin: 1.5rem 0;
    color: var(--primary-color);
}

#result-desc {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1rem;
    color: var(--text-dim);
}

.footer h4 {
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul a {
    text-decoration: none;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer ul a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
