/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Properties - Ether Technology Theme */
:root {
    --matrix-green: #00ff00;
    --cyber-dark: #0a0a0a;
    --cyber-gray: #1a1a1a;
    --neon-green: #39ff14;
    --neon-blue: #00ffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-color: #00ff00;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    padding: 1rem 1.5rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--neon-blue);
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--matrix-green);
}

.nav-link.active {
    color: var(--matrix-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--matrix-green);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.section {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    background: var(--cyber-dark);
}

.section.active {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(2.5rem);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--matrix-green), var(--neon-green));
    color: #000000;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.5);
    background: linear-gradient(45deg, var(--neon-green), var(--matrix-green));
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--matrix-green);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--matrix-green);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Course Section */
.course-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    height: calc(100vh - 120px);
}

.course-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.course-sidebar h3 {
    color: var(--matrix-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.module-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.module-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.module-item:hover::before {
    left: 100%;
}

.module-item:hover {
    background: rgba(0, 255, 0, 0.1);
    border-left-color: var(--matrix-green);
    transform: translateX(5px);
}

.module-item.active {
    background: rgba(0, 255, 0, 0.15);
    border-left-color: var(--matrix-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.module-item.completed {
    background: rgba(0, 255, 255, 0.1);
    border-left-color: var(--neon-blue);
}

.module-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.module-progress {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.course-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

/* Content Styles */
.lesson-content h2 {
    color: var(--matrix-green);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.lesson-content h3 {
    color: var(--neon-blue);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.lesson-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.lesson-content ul, .lesson-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.lesson-content li {
    margin-bottom: 0.5rem;
}

.lesson-content strong {
    color: var(--matrix-green);
}

.code-block {
    background: var(--cyber-gray);
    color: var(--matrix-green);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
    position: relative;
}

.code-block::before {
    content: '> TERMINAL';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: rgba(0, 255, 0, 0.5);
    font-family: monospace;
}

.highlight {
    background: linear-gradient(120deg, rgba(0, 255, 0, 0.2) 0%, rgba(0, 255, 0, 0.2) 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: var(--matrix-green);
}

.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: var(--text-secondary);
}

.warning strong {
    color: #ffc107;
}

.info {
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid var(--neon-blue);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-secondary);
}

.info strong {
    color: var(--neon-blue);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--matrix-green), var(--neon-green));
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--neon-green), var(--matrix-green));
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--matrix-green);
    color: var(--matrix-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.btn-success {
    background: linear-gradient(45deg, var(--neon-blue), #00cccc);
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.btn-success:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
}

.btn-warning {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Labs Section */
.labs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.labs-container h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.lab-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-5px);
}

.lab-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.lab-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lab-difficulty {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.difficulty-beginner {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.difficulty-intermediate {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.difficulty-advanced {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Progress Section */
.progress-container {
    max-width: 1200px;
    margin: 0 auto;
}

.progress-container h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.progress-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.progress-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.progress-bar {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    background: linear-gradient(45deg, #28a745, #20c997);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 0%;
}

.achievement {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.1);
}

.achievement.unlocked {
    background: rgba(40, 167, 69, 0.1);
}

.achievement i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #667eea;
}

.achievement.unlocked i {
    color: #28a745;
}


.api-section {
    display: none;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    background: var(--cyber-dark);
}

.api-section.active {
    display: block;
}

.api-content-area {
    display: block;
    transition: opacity 0.5s ease;
    opacity: 1;
    background: transparent;

}

.api-lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

/* Quiz Styles */
.quiz-question {
    margin-bottom: 2rem;
}

.quiz-question h3 {
    color: #333;
    margin-bottom: 1rem;
}

.quiz-options {
    list-style: none;
    padding: 0;
}

.quiz-options li {
    margin-bottom: 0.8rem;
}

.quiz-options label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid transparent;
}

.quiz-options label:hover {
    background: rgba(102, 126, 234, 0.1);
}

.quiz-options input[type="radio"] {
    margin-right: 1rem;
}

.quiz-result {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.quiz-result.correct {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.quiz-result.incorrect {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .course-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .course-sidebar {
        order: 2;
        max-height: 300px;
    }

    .action-buttons {
        justify-content: center;
    }

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

    .progress-overview {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Pentesting A2Z Course Specific Styles */
.pentesting-course-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 15px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.pentesting-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(45deg, #0f3460, #16213e);
    border-radius: 10px;
    border: 1px solid #00ffff;
}

.pentesting-header h1 {
    font-size: 2.5em;
    color: #00ffff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.pentesting-header p {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.pentesting-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #00ffff;
}

.pentesting-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.pentesting-course-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pentesting-nav-btn {
    padding: 12px 24px;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    color: #ffffff;
    border: 2px solid #00ffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pentesting-nav-btn:hover {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.pentesting-nav-btn.active {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
}

.pentesting-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.pentesting-section.active {
    display: block;
}

.pentesting-content-area {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pentesting-content-area h2 {
    color: #00ffff;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.pentesting-content-area h3 {
    color: #ff00ff;
    font-size: 1.5em;
    margin: 20px 0 15px 0;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.pentesting-content-area ul {
    color: #ffffff;
    font-size: 1.1em;
}

.pentesting-content-area li {
    margin: 10px 0;
    padding-left: 10px;
}

.pentesting-lesson-item {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 1px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pentesting-lesson-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transform: translateY(-2px);
}

.pentesting-lesson-item.completed {
    border-color: #00ff00;
    background: linear-gradient(45deg, #1a2e1a, #1e3e16);
}

.pentesting-lab-item {
    background: linear-gradient(45deg, #2e1a1a, #3e1616);
    border: 1px solid #ff6b6b;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.pentesting-lab-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.pentesting-tool-item {
    background: linear-gradient(45deg, #1a1a2e, #2e1a2e);
    border: 1px solid #9b59b6;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.pentesting-tool-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

/* Simulation Styling */
.simulation-container {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    border: 1px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.simulation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.simulation-header h3 {
    color: #00ffff;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.simulation-header p {
    color: #ffffff;
    margin: 5px 0 0 0;
    font-size: 0.9em;
}

.simulation-controls button {
    background: linear-gradient(45deg, #ff0000, #ff6666);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.simulation-output {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 5px;
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin-bottom: 20px;
}

.simulation-line {
    margin: 2px 0;
    line-height: 1.4;
}

.simulation-line .timestamp {
    color: #888888;
    margin-right: 10px;
}

.simulation-info {
    color: #ffffff;
}

.simulation-success {
    color: #00ff00;
}

.simulation-warning {
    color: #ffff00;
}

.simulation-error {
    color: #ff0000;
}

.simulation-results {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.scan-summary, .wifi-results, .sql-results, .metasploit-results, .network-map {
    color: #ffffff;
}

.summary-stats, .discovery-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat-item, .stat-box {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 1px solid #00ffff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-label {
    color: #00ffff;
    font-weight: bold;
}

.stat-value {
    color: #ffffff;
    font-size: 1.2em;
    margin-left: 10px;
}

.vulnerability-report, .impact-summary {
    margin: 20px 0;
}

.vuln-item, .impact-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
}

.vuln-severity, .impact-level {
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    margin-right: 15px;
    min-width: 80px;
    text-align: center;
}

.vuln-item.critical .vuln-severity,
.impact-item.critical .impact-level {
    background: #ff0000;
    color: #ffffff;
}

.vuln-item.high .vuln-severity {
    background: #ff6600;
    color: #ffffff;
}

.vuln-item.medium .vuln-severity {
    background: #ffaa00;
    color: #000000;
}

.session-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.session-item {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 1px solid #00ffff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.session-label {
    color: #00ffff;
    font-weight: bold;
}

.session-value {
    color: #ffffff;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.post-exploit-btn {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.post-exploit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.recommendations, .remediation {
    margin: 20px 0;
}

.recommendations h5, .remediation h5 {
    color: #00ffff;
    margin-bottom: 10px;
}

.recommendations ul, .remediation ul {
    color: #ffffff;
    padding-left: 20px;
}

.recommendations li, .remediation li {
    margin: 8px 0;
}

.data-extracted {
    margin: 15px 0;
}

.data-extracted h5 {
    color: #ff00ff;
    margin-bottom: 10px;
}

.data-extracted ul {
    color: #ffffff;
    padding-left: 20px;
}

/* Simulation Launcher Styling */
.simulation-launcher {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
}

.simulation-launcher h3 {
    color: #00ffff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.simulation-launcher p {
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.simulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.simulation-card {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 2px solid #00ffff;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.simulation-card:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
    transform: translateY(-5px);
}

.simulation-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.simulation-card h4 {
    color: #00ffff;
    margin: 0 0 10px 0;
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.simulation-card p {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.difficulty-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-beginner {
    background: linear-gradient(45deg, #00ff00, #66ff66);
    color: #000000;
}

.difficulty-intermediate {
    background: linear-gradient(45deg, #ffaa00, #ffcc66);
    color: #000000;
}

.difficulty-advanced {
    background: linear-gradient(45deg, #ff6600, #ff9966);
    color: #ffffff;
}

.difficulty-expert {
    background: linear-gradient(45deg, #ff0000, #ff6666);
    color: #ffffff;
}

@media (max-width: 768px) {
    .pentesting-course-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .pentesting-nav-btn {
        width: 200px;
        margin: 5px 0;
    }
    
    .pentesting-header h1 {
        font-size: 2em;
    }
    
    .pentesting-content-area {
        padding: 20px;
    }
    
    .summary-stats, .discovery-stats {
        flex-direction: column;
    }
    
    .command-grid {
        grid-template-columns: 1fr;
    }
    
    .simulation-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* API Course Styles */
.api-course-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.api-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    padding: 40px 0;
}

.api-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.api-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.api-progress-bar {
    background: rgba(255,255,255,0.3);
    height: 8px;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.api-progress-fill {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.api-course-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
    flex-wrap: wrap;
}

.api-nav-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.api-nav-btn:hover, .api-nav-btn.active {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.api-content-area {
    background: transparent;
    border-radius: 15px;
    padding: 30px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.api-lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.api-lesson-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 25px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-align: left;
}

.api-lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.api-lesson-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.api-lesson-card p {
    opacity: 0.9;
    line-height: 1.6;
}

.api-challenge-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.api-challenge-card h3 {
    margin-bottom: 15px;
}

.api-challenge-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.api-lesson-content {
    display: none;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
}

.api-lesson-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.api-section {
    display: none;
}

.api-section.active {
    display: block;
}

.api-payload-example {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.api-payload-example h5 {
    color: #c53030;
    margin-bottom: 10px;
}

.api-challenge {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid #ff6b6b;
}

.api-challenge h4 {
    color: #c53030;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.api-tools-section,
.tools-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.api-tool-item,
.tool-item {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid #ed8936;
    color: #333;
}

.api-tool-item h4,
.tool-item h4 {
    margin-bottom: 10px;
    color: #333;
}

.api-quiz,
.quiz {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid #38b2ac;
}

.api-quiz h4,
.quiz h4 {
    color: #285e61;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.api-quiz-option,
.quiz-option {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    margin: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #333;
}

.api-quiz-option:hover,
.quiz-option:hover {
    background: rgba(0, 0, 0, 0.2);
}

.api-quiz-option.correct,
.quiz-option.correct {
    background: #c6f6d5;
    border: 2px solid #38a169;
    color: #2d5a3d;
}

.api-quiz-option.incorrect,
.quiz-option.incorrect {
    background: #fed7d7;
    border: 2px solid #e53e3e;
    color: #8b2635;
}

.vulnerability-badge {
    display: inline-block;
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin: 2px;
}

/* Responsive API Course */
@media (max-width: 768px) {
    .api-header h1 {
        font-size: 2rem;
    }
    
    .api-lesson-grid {
        grid-template-columns: 1fr;
    }
    
    .api-course-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .api-nav-btn {
        width: 80%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar Styling - Cyberpunk Theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cyber-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--matrix-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}