* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f0f9ff;
    color: #0a2a3b;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #0b2a3a;
    padding: 14px 0;
    border-bottom: 2px solid rgba(0, 200, 210, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: auto;
    max-height: 32px;
    object-fit: contain;
}

.logo i {
    color: #00c8d2;
    font-size: 22px;
}

.logo span {
    color: #b0f0f5;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu > li > a,
.dropdown-trigger {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu > li > a:hover,
.dropdown-trigger:hover {
    color: #fff;
    background: rgba(0, 200, 210, 0.15);
}

.nav-menu > li > a.active {
    color: #fff;
    background: rgba(0, 200, 210, 0.2);
}

.dropdown-trigger i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-trigger i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0f3142;
    border-radius: 12px;
    min-width: 200px;
    padding: 8px;
    list-style: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: -2px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: #fff;
    background: rgba(0, 200, 210, 0.15);
}

.dropdown-menu a i {
    color: #00c8d2;
    font-size: 12px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: #00c8d2;
}

.btn-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: #00b8c2;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-profile:hover {
    background: #009aa3;
}

.hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #0b2a3a 0%, #0d3d4f 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 210, 0.15);
    color: #00c8d2;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00c8d2;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #00b0b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 210, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-image {
    font-size: 120px;
    color: #b0f0f5;
    opacity: 0.3;
}

.programs-section {
    padding: 60px 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 200, 210, 0.08);
    color: #00b8c2;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #0b2a3a;
    margin: 10px 0 8px;
}

.section-desc {
    color: #4a7a8a;
    font-size: 16px;
}

.program-block {
    background: #fff;
    border-radius: 16px;
    padding: 30px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 20px rgba(0, 150, 180, 0.06);
    border: 1px solid #d4edf2;
    transition: all 0.3s;
}

.program-block:hover {
    box-shadow: 0 8px 40px rgba(0, 150, 180, 0.1);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.program-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.program-icon.python {
    background: rgba(0, 180, 190, 0.12);
    color: #00b0b9;
}

.program-icon.godot {
    background: rgba(0, 200, 210, 0.12);
    color: #00c8d2;
}

.program-header h3 {
    font-size: 20px;
    color: #0b2a3a;
}

.program-subtitle {
    color: #4a7a8a;
    font-size: 14px;
}

.program-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-program {
    flex: 1;
    min-width: 200px;
    padding: 20px 24px;
    border: 2px solid #d4edf2;
    border-radius: 12px;
    text-decoration: none;
    color: #0b2a3a;
    background: #f5fcfe;
    transition: all 0.3s;
}

.btn-program:hover {
    border-color: #00c8d2;
    background: #eaf9fb;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 200, 210, 0.1);
}

.btn-program.advanced {
    border-color: #00c8d2;
    background: #eaf9fb;
}

.btn-program.advanced:hover {
    border-color: #00b0b9;
    background: #ddf4f7;
}

.btn-level {
    font-weight: 700;
    font-size: 18px;
    color: #00b8c2;
}

.btn-program.advanced .btn-level {
    color: #009aa3;
}

.btn-desc {
    font-size: 14px;
    color: #4a7a8a;
    display: block;
    margin: 4px 0 10px;
}

.btn-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #6a8a9a;
}

.btn-meta i {
    font-size: 12px;
}

.btn-age {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e0f0f5;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #3a6a7a;
}

.features {
    padding: 50px 0 60px;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #f0f9ff;
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: rgba(0, 200, 210, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00c8d2;
}

.feature-card h4 {
    font-size: 16px;
    color: #0b2a3a;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    color: #4a7a8a;
}

.footer {
    background: #0b2a3a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo {
    font-size: 22px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #00c8d2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links li i {
    width: 20px;
    color: #00c8d2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-links-bottom {
    display: flex;
    gap: 24px;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
        width: 100%;
    }

    .nav-menu > li > a,
    .dropdown-trigger {
        padding: 6px 12px;
        font-size: 13px;
    }

    .header-actions {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        font-size: 60px;
    }

    .program-buttons {
        flex-direction: column;
    }

    .btn-program {
        min-width: unset;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-links-bottom {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border: none;
    }

    .dropdown-menu a {
        padding-left: 30px;
    }
}

.materials-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #0b2a3a 0%, #0d3d4f 100%);
    border-bottom: 1px solid rgba(0, 200, 210, 0.1);
}

.materials-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.materials-hero-text {
    flex: 1;
}

.materials-hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.materials-hero-text h1 span {
    color: #00c8d2;
}

.materials-hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
}

.materials-hero-icon {
    font-size: 80px;
    color: rgba(0, 200, 210, 0.2);
}

.materials-hero-icon i {
    color: #00c8d2;
    opacity: 0.3;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .hero-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 500px) {
    .hero-logo {
        width: 60px;
        height: 60px;
    }
}