:root {
    --primary-color: #d97706;
    /* THT Gold/Amber */
    --primary-dark: #b45309;
    --secondary-color: #1c1d1f;
    --text-color: #2d2f31;
    --text-light: #6a6f73;
    --white: #ffffff;
    --light-gray: #f7f9fa;
    --border-color: #d1d7dc;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    height: 72px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.header-nav-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    /* Slightly rougher corners like Udemy */
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(217, 119, 6, 0.1);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('../images/background7.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}



.hero .container {
    position: relative;
    z-index: 2;
    /* Content above overlay */
    width: 100%;
    /* Ensure content is centered if needed or full width */
    display: block;
    text-align: center;
    /* Center the text as per common full screen hero designs */
    margin: 0 auto;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 1));
    letter-spacing: -3px;
}

.hero h1 span {
    background: linear-gradient(135deg, #fcd34d, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 48px;
    color: var(--white);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 1));
    line-height: 1.4;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.hero .btn-primary:hover {
    box-shadow: 0 15px 25px rgba(217, 119, 6, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #92400e 100%);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}



/* Features */
.features {
    padding: 60px 0;
    background: var(--white);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 28px 22px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 119, 6, 0.28);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fef3c7;
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Academy modules */
.academy-paths {
    padding: 80px 0;
    background: #0f172a;
    color: #f8fafc;
}

.academy-paths .section-header h2 {
    color: #ffffff;
}

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

.academy-card {
    display: block;
    min-height: 220px;
    padding: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.academy-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(217, 119, 6, 0.65);
}

.academy-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 12px;
    background: rgba(217, 119, 6, 0.16);
    color: #fbbf24;
    font-size: 21px;
}

.academy-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.academy-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

/* Featured Courses */
.featured-courses {
    padding: 80px 0;
    background: var(--light-gray);
}

.featured-roadmaps {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* Slightly more rounded */
    overflow: hidden;
    transition: transform 0.2s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.course-content {
    padding: 15px;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    /* approx 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.instructor {
    font-weight: 500;
}

.rating {
    color: #b4690e;
    /* Star color */
    font-weight: 800;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.price {
    font-weight: 700;
    font-size: 18px;
}

.roadmap-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.roadmap-preview-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roadmap-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.roadmap-preview-top {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 38px;
}

.roadmap-preview-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roadmap-preview-body {
    padding: 18px;
}

.roadmap-level {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-level.diff-beginner {
    background: #dcfce7;
    color: #166534;
}

.roadmap-level.diff-intermediate {
    background: #fef08a;
    color: #854d0e;
}

.roadmap-level.diff-advanced,
.roadmap-level.diff-hard {
    background: #fee2e2;
    color: #991b1b;
}

.roadmap-preview-body h3 {
    min-height: 48px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 17px;
    line-height: 1.4;
}

.roadmap-preview-body p {
    min-height: 66px;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.roadmap-preview-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
}

/* Footer */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
    /* Header is 72px */
}

.content-wrap {
    flex: 1;
}

/* Updated Footer - Premium Design */
.main-footer {
    background: #0f172a;
    /* Darker navy for more premium feel */
    color: #f8fafc;
    padding: 80px 0 0;
    font-family: 'Inter', sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .footer-logo img {
    height: 50px;
    margin-bottom: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-newsletter h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-newsletter p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    background: #0a0f1d;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748b;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Career Section */
.career-section {
    padding: 80px 0;
    background-color: var(--white);
}

.career-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.career-content {
    flex: 1;
}

.career-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.career-content p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.career-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.icon-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 12px;
    flex-shrink: 0;
}

.career-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    /* Limit width */
}

.ataturk-quote {
    margin-top: 20px;
    text-align: center;
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    padding: 0 20px;
}

.ataturk-quote::before {
    content: '"';
    font-size: 40px;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0.3;
}

.ataturk-quote::after {
    content: '"';
    font-size: 40px;
    color: var(--primary-color);
    position: absolute;
    right: 0;
    bottom: -20px;
    opacity: 0.3;
}

.quote-author {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
}

.image-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0 80px;
    background-color: #F8F9FB;
    /* Matching the light bg look */
}

.testimonials-section .section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #E4E5E7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.user-title {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.stars {
    color: #FFC107;
    /* Gold star color */
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-newsletter {
        grid-column: 1;
        max-width: 100%;
        margin: 0;
    }

    .newsletter-form {
        justify-content: flex-start;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .header-nav-wrap {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 90px 40px 40px;
        gap: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .header-nav-wrap.active {
        right: 0;
    }

    .main-nav,
    .main-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .main-nav a {
        font-size: 18px;
        font-weight: 600;
        width: 100%;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-actions {
        width: 100%;
        margin-top: auto;
        padding-top: 20px;
        border-top: 2px solid #f1f5f9;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .auth-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .user-dropdown {
        position: relative;
        /* Anchor for absolute positioning */
        width: 100%;
    }

    .user-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: absolute !important;
        bottom: calc(100% + 12px) !important;
        /* Yukarıya açılmasını zorla */
        top: auto !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #f1f5f9;
        opacity: 1;
        transform: none;
        margin: 0;
        z-index: 1005;
    }

    .hero .container {
        /* No longer need flex direction changes as it is block */
        padding: 0 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features .container {
        grid-template-columns: 1fr;
    }

    .academy-grid {
        grid-template-columns: 1fr;
    }

    .academy-card {
        min-height: auto;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    /* Footer Mobile Adjustments */
    .main-footer {
        padding: 50px 0 0;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: left;
        padding-bottom: 40px;
    }

    .footer-brand,
    .footer-newsletter {
        max-width: 100%;
    }

    .footer-logo {
        display: flex;
        justify-content: flex-start;
    }

    .footer-social,
    .newsletter-form {
        justify-content: flex-start;
    }

    .footer-links-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        width: 100%;
    }

    .footer-col {
        flex: 1 1 40%;
        min-width: 130px;
    }

    .footer-col h4 {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }

    .footer-col ul li a:hover {
        transform: none;
        /* Disable horizontal slide on mobile */
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form button {
        padding: 12px 16px;
        width: 100%;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }

    .footer-legal {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .career-section .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .career-list {
        text-align: left;
        display: inline-block;
    }

    .image-card {
        margin-top: 10px;
        transform: rotate(0);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.user-trigger:hover {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 2px 10px rgba(93, 52, 236, 0.1);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.user-name-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.dropdown-icon {
    transition: transform 0.2s ease;
    color: #64748b;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f1f1;
    padding: 8px;
    display: none;
    z-index: 1001;
    animation: dropdownFade 0.2s ease-out;
}

.dropdown-menu.active {
    display: block;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.dropdown-item svg {
    color: #94a3b8;
}

.dropdown-item:hover svg {
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background: #f1f1f1;
    margin: 8px 0;
}

.logout-link:hover {
    color: #ef4444;
}

.logout-link:hover svg {
    color: #ef4444;
}

/* ======== TASK.PHP STYLES MIGRATED ======== */
.task-container { display: flex; flex-direction: column; gap: 30px; padding: 40px 0; min-height: calc(100vh - 200px); }
@media (min-width: 992px) { .task-container { flex-direction: row; } }
.content-panel { flex: 2; background: white; border-radius: 16px; border: 1px solid #e2e8f0; padding: 40px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.interactive-panel { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.content-panel h1 { font-size: 32px; color: var(--secondary); margin-bottom: 20px; }
.content-panel h2 { font-size: 24px; color: var(--secondary); margin: 30px 0 15px; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.content-panel p { font-size: 16px; line-height: 1.8; color: #334155; margin-bottom: 20px; }
.content-panel code { background: #f1f5f9; color: #ef4444; padding: 2px 6px; border-radius: 4px; font-size: 14px; font-family: monospace; }
.content-panel pre { background: #1e293b; color: #f8fafc; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 20px; }
.content-panel pre code { background: transparent; color: inherit; padding: 0; }
.alert-box { background: #eff6ff; border-left: 4px solid #3b82f6; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.action-box { background: white; border-radius: 16px; border: 1px solid #e2e8f0; padding: 30px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); position: sticky; top: 100px; }
.action-box h3 { font-size: 18px; margin-bottom: 15px; color: var(--secondary); }
.action-question { background: #f8fafc; padding: 15px; border-radius: 8px; font-size: 15px; color: #475569; margin-bottom: 20px; border: 1px solid #e2e8f0; }
.answer-input { width: 100%; padding: 12px 15px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 15px; outline: none; transition: 0.2s; margin-bottom: 15px; box-sizing: border-box; }
.answer-input:focus { border-color: #d97706; }
.btn-submit { background: #d97706; color: white; border: none; width: 100%; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-submit:hover { background: #b45309; }
.points-badge { display: inline-flex; align-items: center; gap: 6px; background: #fef3c7; color: #92400e; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; margin-bottom: 15px; }
.lab-panel { background: #1e293b; color: white; border-radius: 16px; padding: 25px; margin-bottom: 20px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); border: 1px solid #334155; }
.lab-panel h3 { color: #f8fafc; display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 15px; }
.lab-status-display { background: #0f172a; border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 20px; border: 1px solid #1e293b; }
.lab-ip-box { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 800; color: #10b981; letter-spacing: 1px; }
.lab-status-text { font-size: 11px; text-transform: uppercase; color: #64748b; margin-top: 5px; letter-spacing: 1px; }
.lab-panel .btn-lab { width: 100%; padding: 12px; border-radius: 8px; border: none; font-weight: 700; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.lab-panel .btn-lab-start { background: #d97706; color: white !important; }
.lab-panel .btn-lab-start:hover { background: #b45309; }
.lab-panel .btn-lab-stop { background: #ef4444; color: white !important; }
.lab-panel .btn-lab-stop:hover { background: #dc2626; }
.lab-panel .btn-lab:disabled { opacity: 0.5; cursor: not-allowed; }
.lab-vpn-warning { font-size: 12px; color: #fca5a5; margin-top: 10px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }
.task-image-container { margin-bottom: 30px; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.task-image { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.task-image:hover { transform: scale(1.02); }
