* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: radial-gradient(ellipse at center, #0a1a2a 0%, #041018 100%);
    color: #d4f0f5;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: #b0f0f5;
    animation: starMove 20s linear infinite;
}

.star:nth-child(1) { width: 2px; height: 2px; top: 10%; left: 20%; animation-duration: 25s; animation-delay: 0s; }
.star:nth-child(2) { width: 3px; height: 3px; top: 25%; left: 45%; animation-duration: 18s; animation-delay: -3s; }
.star:nth-child(3) { width: 1px; height: 1px; top: 40%; left: 70%; animation-duration: 30s; animation-delay: -5s; }
.star:nth-child(4) { width: 2px; height: 2px; top: 55%; left: 10%; animation-duration: 22s; animation-delay: -2s; }
.star:nth-child(5) { width: 3px; height: 3px; top: 70%; left: 85%; animation-duration: 28s; animation-delay: -7s; }
.star:nth-child(6) { width: 1px; height: 1px; top: 85%; left: 30%; animation-duration: 15s; animation-delay: -4s; }
.star:nth-child(7) { width: 2px; height: 2px; top: 15%; left: 90%; animation-duration: 20s; animation-delay: -1s; }
.star:nth-child(8) { width: 3px; height: 3px; top: 35%; left: 5%; animation-duration: 26s; animation-delay: -6s; }
.star:nth-child(9) { width: 1px; height: 1px; top: 50%; left: 55%; animation-duration: 32s; animation-delay: -8s; }
.star:nth-child(10) { width: 2px; height: 2px; top: 65%; left: 40%; animation-duration: 19s; animation-delay: -2s; }
.star:nth-child(11) { width: 3px; height: 3px; top: 80%; left: 75%; animation-duration: 24s; animation-delay: -5s; }
.star:nth-child(12) { width: 1px; height: 1px; top: 5%; left: 60%; animation-duration: 27s; animation-delay: -9s; }
.star:nth-child(13) { width: 2px; height: 2px; top: 45%; left: 15%; animation-duration: 21s; animation-delay: -3s; }
.star:nth-child(14) { width: 3px; height: 3px; top: 60%; left: 95%; animation-duration: 29s; animation-delay: -7s; }
.star:nth-child(15) { width: 1px; height: 1px; top: 90%; left: 50%; animation-duration: 16s; animation-delay: -4s; }
.star:nth-child(16) { width: 2px; height: 2px; top: 20%; left: 35%; animation-duration: 23s; animation-delay: -1s; }
.star:nth-child(17) { width: 3px; height: 3px; top: 30%; left: 80%; animation-duration: 31s; animation-delay: -6s; }
.star:nth-child(18) { width: 1px; height: 1px; top: 75%; left: 20%; animation-duration: 17s; animation-delay: -2s; }
.star:nth-child(19) { width: 2px; height: 2px; top: 95%; left: 65%; animation-duration: 26s; animation-delay: -8s; }
.star:nth-child(20) { width: 3px; height: 3px; top: 8%; left: 50%; animation-duration: 33s; animation-delay: -5s; }

@keyframes starMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(30px, -20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 40px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, 10px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 12% 15%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 22% 55%, #80e0e8, transparent),
        radial-gradient(1px 1px at 32% 25%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 42% 75%, #80e0e8, transparent),
        radial-gradient(1px 1px at 52% 5%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 62% 45%, #80e0e8, transparent),
        radial-gradient(1px 1px at 72% 85%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 82% 35%, #80e0e8, transparent),
        radial-gradient(1px 1px at 92% 65%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 18% 40%, #80e0e8, transparent),
        radial-gradient(1px 1px at 38% 50%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 58% 30%, #80e0e8, transparent),
        radial-gradient(1px 1px at 78% 60%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 98% 20%, #80e0e8, transparent),
        radial-gradient(1px 1px at 8% 80%, #b0f0f5, transparent),
        radial-gradient(2px 2px at 48% 90%, #80e0e8, transparent);
    background-size: 200px 200px;
    opacity: 0.6;
    animation: twinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    50% { opacity: 0.9; }
    100% { opacity: 0.3; }
}

.shooting-star {
    position: fixed;
    width: 2px;
    height: 2px;
    background: #b0f0f5;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 200, 210, 0.5);
    pointer-events: none;
    z-index: 0;
    animation: shooting 4s linear infinite;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(to left, rgba(0, 200, 210, 0.8), transparent);
    transform: rotate(45deg) translateX(-50px);
}

.shooting-star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.shooting-star:nth-child(2) { top: 30%; left: 60%; animation-delay: -2s; }
.shooting-star:nth-child(3) { top: 50%; left: 30%; animation-delay: -4s; }
.shooting-star:nth-child(4) { top: 70%; left: 70%; animation-delay: -1s; }
.shooting-star:nth-child(5) { top: 85%; left: 10%; animation-delay: -3s; }
.shooting-star:nth-child(6) { top: 20%; left: 80%; animation-delay: -5s; }

@keyframes shooting {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-300px, 300px) scale(0);
        opacity: 0;
    }
}

.header {
    background: rgba(11, 42, 58, 0.92);
    padding: 14px 0;
    border-bottom: 2px solid rgba(0, 200, 210, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.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: rgba(15, 49, 66, 0.95);
    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;
    backdrop-filter: blur(10px);
}

.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, rgba(11, 42, 58, 0.85) 0%, rgba(13, 61, 79, 0.85) 100%);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.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;
    position: relative;
    z-index: 1;
}

.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: #b0f0f5;
    margin: 10px 0 8px;
}

.section-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.program-block {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 200, 210, 0.15);
    transition: all 0.3s;
}

.program-block:hover {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 40px rgba(0, 200, 210, 0.05);
}

.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, 200, 210, 0.12);
    color: #00c8d2;
}

.program-icon.godot {
    background: rgba(0, 200, 210, 0.12);
    color: #00c8d2;
}

.program-header h3 {
    font-size: 20px;
    color: #b0f0f5;
}

.program-subtitle {
    color: rgba(255, 255, 255, 0.5);
    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 rgba(0, 200, 210, 0.15);
    border-radius: 12px;
    text-decoration: none;
    color: #d4f0f5;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
}

.btn-program:hover {
    border-color: #00c8d2;
    background: rgba(0, 200, 210, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 200, 210, 0.05);
}

.btn-program.advanced {
    border-color: rgba(0, 200, 210, 0.3);
    background: rgba(0, 200, 210, 0.06);
}

.btn-program.advanced:hover {
    border-color: #00c8d2;
    background: rgba(0, 200, 210, 0.12);
}

.btn-level {
    font-weight: 700;
    font-size: 18px;
    color: #00c8d2;
}

.btn-program.advanced .btn-level {
    color: #00e0ea;
}

.btn-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin: 4px 0 10px;
}

.btn-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.btn-meta i {
    font-size: 12px;
}

.btn-age {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.features {
    padding: 50px 0 60px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.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: rgba(0, 200, 210, 0.06);
    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: #b0f0f5;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer {
    background: rgba(11, 42, 58, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 50px 0 20px;
    position: relative;
    z-index: 1;
}

.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;
}

.materials-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(11, 42, 58, 0.85) 0%, rgba(13, 61, 79, 0.85) 100%);
    border-bottom: 1px solid rgba(0, 200, 210, 0.1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.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: 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;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }
}

@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(15, 49, 66, 0.95);
        box-shadow: none;
        border: none;
    }

    .dropdown-menu a {
        padding-left: 30px;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }
}