* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #020617;
    color: #e2e8f0;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;

    background:
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.25), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.25), transparent 40%);

    animation: moveGradient 25s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes moveGradient {
    0% {
        transform: translate(0%, 0%) scale(1);
    }

    50% {
        transform: translate(-10%, -10%) scale(1.1);
    }

    100% {
        transform: translate(0%, 0%) scale(1);
    }
}

/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 22px;
    color: #38bdf8;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #cbd5f5;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

/* BURGER */
.burger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
}

.hero h1 {
    font-size: 60px;
}

.hero span {
    color: #38bdf8;
}

.hero p {
    margin: 20px 0;
    color: #94a3b8;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #38bdf8;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* SECTIONS */
section {
    padding: 100px 10%;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    padding: 30px;
    background: #0f172a;
    border-radius: 15px;
    transition: 0.4s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: auto;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* PROGRAM */
.program-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.program-item {
    background: #0f172a;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
    border-left: 3px solid #38bdf8;
}

.program-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
}

.program-item h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

/* PRICING */
.pricing {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.price-card {
    background: #0f172a;
    padding: 25px;
    border-radius: 20px;
    text-align: left;
    position: relative;
    transition: 0.4s;
    border: 1px solid transparent;
}

.price-card:hover {
    transform: translateY(-10px);
    border: 1px solid #38bdf8;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.price-card h3 {
    margin-bottom: 10px;
}

.price-card span {
    background: rgba(56, 189, 248, 0.2);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 12px;
    margin-left: 5px;
}

.price-card p {
    color: #94a3b8;
    margin-bottom: 15px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.price-card li {
    margin: 8px 0;
    color: #cbd5f5;
}

.price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-price {
    display: block;
    text-align: center;
    padding: 12px;
    background: #38bdf8;
    color: black;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-price:hover {
    transform: scale(1.05);
}

/* PROGRAM TIMELINE */
.program {
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding-left: 20px;
}

/* линия */
.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #38bdf8;
}

/* элемент */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    text-align: left;
}

/* точка */
.dot {
    position: absolute;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
}

/* текст */
.content {
    margin-left: 40px;
    background: #0f172a;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.content:hover {
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.content h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.content p {
    color: #cbd5f5;
    line-height: 1.6;
}

/* BADGE */
.badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: red;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
}

/* POPULAR CARD */
.popular {
    border: 1px solid #38bdf8;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

/* MOBILE */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTACT */
.contact {

}

.telegram {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #38bdf8;
    color: black;
    border-radius: 10px;
    text-decoration: none;
}

.card {
    opacity: 0;
    transform: translateY(40px);
}

.card.show {
    opacity: 1;
    transform: translateY(0);
    transition: 0.6s;
}

header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    padding: 15px 40px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }

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

    .program-list {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 70px;
        background: #020617;
        width: 200px;
    }


    nav.active {
        display: flex;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 40px;
    }
}