* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0e1a;
    --secondary-color: #151b2e;
    --accent-color: #00d9ff;
    --accent-secondary: #00ff88;
    --text-color: #a0aec0;
    --text-light: #e2e8f0;
    --text-white: #ffffff;
    --space-blue: #0099ff;
    --space-gradient: linear-gradient(135deg, #0099ff 0%, #00d9ff 100%);
    --card-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-spaceapps,
.logo-achospace-img {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu > li > a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

.nav-menu > li > a:hover {
    color: var(--accent-color);
}

.lang-switch {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(0, 217, 255, 0.05);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.lang-link::after {
    display: none !important;
}

.lang-link:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-color);
}

.lang-link.active {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 217, 255, 0.3);
}

.flag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.flag-icon svg {
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.lang-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.3) 0%, rgba(21, 27, 46, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 0 0 50px rgba(0, 217, 255, 0.8),
                 0 0 30px rgba(0, 217, 255, 0.6),
                 0 4px 40px rgba(0, 0, 0, 0.9),
                 0 2px 20px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.8),
                 0 2px 20px rgba(0, 0, 0, 0.9),
                 0 1px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mvv-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
}

.mvv-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.mvv-item {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    padding: 40px;
    background: rgba(0, 217, 255, 0.03);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.mvv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--space-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.mvv-item:hover {
    transform: translateX(8px);
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow);
}

.mvv-item:hover::before {
    opacity: 1;
}

.mvv-item:hover .mvv-glow {
    opacity: 1;
}

.mvv-number {
    font-size: 64px;
    font-weight: 800;
    background: var(--space-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.4;
    transition: opacity 0.4s;
}

.mvv-item:hover .mvv-number {
    opacity: 1;
}

.mvv-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mvv-heading {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: 600;
}

.mvv-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

.mvv-glow {
    position: absolute;
    top: 50%;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.offers-section {
    padding: 120px 0;
    background-color: var(--secondary-color);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--text-white);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 80px;
}

.offers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.offer-item {
    position: relative;
    background: rgba(0, 217, 255, 0.03);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--space-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.offer-item:hover::before {
    transform: scaleX(1);
}

.offer-item:hover {
    transform: translateY(-12px);
    border-color: var(--accent-color);
    box-shadow: 0 24px 60px rgba(0, 217, 255, 0.2);
}

.offer-item.featured {
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.08) 0%, rgba(0, 217, 255, 0.08) 100%);
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 40px rgba(0, 217, 255, 0.15);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.offer-icon {
    font-size: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.3));
}

.offer-title {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 600;
}

.offer-duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    gap: 4px;
}

.duration-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--space-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.duration-unit {
    font-size: 14px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.offer-description {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 15px;
}

.offer-cta {
    width: 100%;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.offer-cta:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.team-section {
    padding: 120px 0;
    background-color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.team-member {
    text-align: center;
    padding: 40px 24px;
    background: rgba(0, 217, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--space-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
    border: 3px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s;
}

.team-member:hover .member-avatar {
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.5);
    transform: scale(1.05);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
    border: 3px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s;
    background: var(--space-gradient);
}

.team-member:hover .member-photo {
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.5);
    transform: scale(1.05);
}

.team-member h4 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-member p {
    color: var(--accent-color);
    font-size: 14px;
}

.footer {
    background-color: rgba(10, 14, 26, 0.98);
    padding: 32px 0;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-color);
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 82px;
        flex-direction: column;
        background-color: rgba(10, 14, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 32px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-achospace-img,
    .logo-spaceapps {
        height: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .mvv-item {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
    }

    .mvv-number {
        font-size: 48px;
    }

    .offers-container,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .nav-logos {
        gap: 12px;
    }

    .logo-achospace-img,
    .logo-spaceapps {
        height: 35px;
    }

    .hero-title {
        font-size: 28px;
    }

    .mvv-section,
    .offers-section,
    .team-section {
        padding: 80px 0;
    }

    .mvv-item,
    .offer-item,
    .team-member {
        padding: 24px;
    }
}
