.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.9rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
}

.nav-

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0614;
    --primary-purple: #150828;
    --secondary-purple: #1f0e3d;
    --tertiary-purple: #2a1450;
    --accent-purple: #7c3aed;
    --accent-purple-light: #9333ea;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-gold: #fbbf24;
    --gradient-primary: linear-gradient(135deg, #0a0614 0%, #150828 30%, #1f0e3d 70%, #2a1450 100%);
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #a855f7 100%);
    --gradient-glow: linear-gradient(135deg, #ec4899 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(236, 72, 153, 0.04) 100%);
    --gradient-shimmer: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.3) 50%, transparent 100%);
    --glass-bg: rgba(31, 14, 61, 0.35);
    --glass-border: rgba(124, 58, 237, 0.18);
    --glass-hover: rgba(124, 58, 237, 0.12);
    --shadow-sm: 0 2px 12px rgba(124, 58, 237, 0.1);
    --shadow-md: 0 8px 32px rgba(124, 58, 237, 0.2);
    --shadow-lg: 0 16px 64px rgba(124, 58, 237, 0.3);
    --shadow-xl: 0 24px 96px rgba(124, 58, 237, 0.4);
    --glow-purple: 0 0 35px rgba(124, 58, 237, 0.7);
    --glow-pink: 0 0 35px rgba(236, 72, 153, 0.7);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.65);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 15% 25%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 75%, rgba(236, 72, 153, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    animation: backgroundPulse 18s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.08); }
}


.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(0);
        opacity: 0;
    }
}


#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 90px;
    height: 90px;
    border: 5px solid rgba(124, 58, 237, 0.15);
    border-top: 5px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin-bottom: 2rem;
    box-shadow: var(--glow-purple);
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65%;
    height: 65%;
    border: 4px solid rgba(236, 72, 153, 0.2);
    border-bottom: 4px solid var(--accent-pink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite reverse;
}

#loading-screen p {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.6s ease-in-out infinite;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.06); }
}


#welcome-message {
    position: fixed;
    top: 20vh;
    left: 50%;
    transform: translate(-50%, 0) scale(0.9);
    background: linear-gradient(135deg, rgba(10, 6, 20, 0.98) 0%, rgba(31, 14, 61, 0.98) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    padding: 4rem 5rem;
    border-radius: 30px;
    text-align: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-xl), var(--glow-purple);
    max-width: 90%;
    visibility: hidden;
}

#welcome-message.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
    pointer-events: all;
}

#welcome-message h2 {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

#welcome-message p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

#welcome-message button {
    padding: 1.3rem 3rem;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#welcome-message button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg), var(--glow-purple);
}


header {
    background: rgba(10, 6, 20, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.9rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.6));
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 28px rgba(124, 58, 237, 0.9));
}

.logo-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--gradient-accent);
    background-clip: padding-box;
    box-shadow: var(--glow-purple);
    transition: all 0.4s ease;
}

.logo:hover .logo-img {
    transform: rotate(360deg);
    box-shadow: 0 0 45px rgba(124, 58, 237, 0.95);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.6rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.9rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.05rem;
    background: transparent;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--glow-purple);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--glass-bg);
}

.menu-toggle span {
    width: 34px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(10, 6, 20, 0.5) 0%, rgba(10, 6, 20, 0.92) 100%);
    z-index: 1;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(124, 58, 237, 0.02) 60px, rgba(124, 58, 237, 0.02) 61px),
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(124, 58, 237, 0.02) 60px, rgba(124, 58, 237, 0.02) 61px);
    animation: gridMove 22s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.banner-content {
    position: relative;
    z-index: 2;
    animation: bannerFadeIn 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(70px) scale(0.88);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.avatar {
    width: 240px;
    height: 240px;
    margin: 0 auto 3rem;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid transparent;
    background: var(--gradient-accent);
    background-clip: padding-box;
    box-shadow: 
        0 0 70px rgba(124, 58, 237, 0.75),
        0 35px 90px rgba(0, 0, 0, 0.6),
        inset 0 0 35px rgba(124, 58, 237, 0.25);
    animation: avatarFloat 5.5s ease-in-out infinite;
    position: relative;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(124, 58, 237, 0.5),
        transparent 30%,
        rgba(236, 72, 153, 0.5),
        transparent 60%
    );
    animation: avatarRotate 7s linear infinite;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-28px) scale(1.06); }
}

@keyframes avatarRotate {
    100% { transform: rotate(360deg); }
}

.banner-title {
    font-size: 7.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-purple-light) 35%, var(--accent-pink) 65%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 12px;
    text-shadow: 0 0 120px rgba(124, 58, 237, 0.7);
    animation: titleGlow 4.5s ease-in-out infinite alternate;
    position: relative;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 35px rgba(124, 58, 237, 0.55)); }
    100% { filter: drop-shadow(0 0 70px rgba(124, 58, 237, 1)); }
}

.banner-subtitle {
    font-size: 2.4rem;
    margin-bottom: 4.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    animation: subtitleFloat 3.5s ease-in-out infinite;
}

@keyframes subtitleFloat {
    0%, 100% { transform: translateY(0); opacity: 0.92; }
    50% { transform: translateY(-12px); opacity: 1; }
}

.banner-stats {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    margin-bottom: 4.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.8rem 3.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(35px) saturate(180%);
    border-radius: 28px;
    min-width: 220px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(124, 58, 237, 0.18),
        transparent 30%
    );
    animation: statRotate 9s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat:hover::before {
    opacity: 1;
}

.stat:hover {
    transform: translateY(-18px) scale(1.06);
    box-shadow: var(--shadow-xl), var(--glow-purple);
    background: rgba(124, 58, 237, 0.22);
    border-color: var(--accent-purple);
}

@keyframes statRotate {
    100% { transform: rotate(360deg); }
}

.stat-number {
    font-size: 4.2rem;
    font-weight: 900;
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    padding: 2rem 4rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 22px 70px rgba(255, 0, 0, 0.55);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 0, 0.7);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 380px;
    height: 380px;
}

.cta-button:hover {
    transform: translateY(-10px) scale(1.09);
    box-shadow: 0 35px 90px rgba(255, 0, 0, 0.85), 0 0 70px rgba(255, 0, 0, 0.75);
    background: linear-gradient(135deg, #ff2828, #dd0000);
}

.cta-button svg {
    position: relative;
    z-index: 1;
    animation: buttonPulse 2.2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}


.section {
    display: none;
    animation: sectionFadeIn 0.9s ease;
    min-height: 100vh;
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section.active {
    display: block;
}

@keyframes sectionFadeIn {
    from { 
        opacity: 0;
        transform: translateY(35px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-title {
    font-size: 4.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-purple-light) 45%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
    filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.6));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 6px;
    background: var(--gradient-accent);
    border-radius: 4px;
    box-shadow: var(--glow-purple);
}

.section-description {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 6.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.9;
}


.simulators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

.simulator-card {
    background: var(--glass-bg);
    backdrop-filter: blur(35px) saturate(180%);
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-md), inset 0 0 60px rgba(124, 58, 237, 0.05);
    border: 2px solid var(--glass-border);
    position: relative;
}

.simulator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.simulator-card:hover::before {
    opacity: 1;
}

.simulator-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 32px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.simulator-card:hover::after {
    opacity: 0.3;
}

.simulator-card:hover {
    transform: translateY(-22px) scale(1.04);
    box-shadow: 
        var(--shadow-xl), 
        var(--glow-purple),
        0 0 80px rgba(124, 58, 237, 0.4);
    border-color: var(--accent-purple);
}

.simulator-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.simulator-card:hover .simulator-thumbnail {
    transform: scale(1.22);
}

.simulator-info {
    padding: 2.8rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(10, 6, 20, 0.9), transparent);
}

.simulator-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.simulator-card:hover .simulator-name {
    transform: translateX(8px);
}

.simulator-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.simulator-videos-count {
    color: var(--text-secondary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}


.simulator-videos-count::before {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ec4899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'%3E%3C/polygon%3E%3C/svg%3E") center/contain no-repeat;
    animation: playPulse 2.8s ease-in-out infinite;
    display: block;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.75; }
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.6s ease;
    backdrop-filter: blur(20px);
}

.modal.active {
    display: flex;
}

@keyframes modalFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 6, 20, 0.99) 0%, rgba(31, 14, 61, 0.99) 100%);
    backdrop-filter: blur(45px) saturate(180%);
    border-radius: 38px;
    padding: 4rem;
    max-width: 1200px;
    width: 94%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl), var(--glow-purple);
    border: 2px solid var(--glass-border);
    animation: modalSlideUp 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    scrollbar-width: none; 
    -ms-overflow-style: none;
}


.modal-content::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(120px) scale(0.82);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 2.5rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    z-index: 10;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.18);
    background: rgba(255, 0, 0, 0.35);
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.7);
}

#modalTitle {
    font-size: 3.5rem;
    margin-bottom: 3.5rem;
    padding-right: 6rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.videos-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}


.video-item {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    padding: 0;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-item:hover .video-thumbnail {
    transform: scale(1.1);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-play-overlay {
    opacity: 1;
}

.video-play-button {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.7);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.video-item:hover .video-play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.9);
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    transition: left 0.6s ease;
    z-index: 0;
}

.video-item:hover::before {
    left: 0;
}

.video-item:hover {
    background: rgba(124, 58, 237, 0.25);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-lg), var(--glow-purple);
}

.video-info {
    padding: 2rem 2.5rem;
    position: relative;
    z-index: 1;
}

.video-info h4 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.video-meta {
    display: flex;
    gap: 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    flex-wrap: wrap;
}


.video-player-container {
    display: none;
    width: 100%;
    height: 500px;
    background: #000;
    position: relative;
}

.video-player-container.active {
    display: block;
}

.video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4rem;
}

.partner-card {
    background: var(--glass-bg);
    backdrop-filter: blur(35px) saturate(180%);
    padding: 4rem;
    border-radius: 32px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(124, 58, 237, 0.18),
        transparent 30%
    );
    animation: partnerRotate 11s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card:hover {
    transform: translateY(-22px) scale(1.06);
    box-shadow: var(--shadow-xl), var(--glow-purple);
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.18);
}

@keyframes partnerRotate {
    100% { transform: rotate(360deg); }
}

.partner-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 3rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid transparent;
    background: var(--gradient-accent);
    background-clip: padding-box;
    box-shadow: var(--glow-purple);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.partner-card:hover .partner-logo {
    transform: scale(1.18) rotate(360deg);
    box-shadow: 0 0 55px rgba(124, 58, 237, 0.95);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.4rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.partner-card p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.9;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}

.partner-link {
    display: inline-block;
    padding: 1.4rem 3rem;
    background: var(--gradient-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 18px;
    transition: all 0.4s ease;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
}

.partner-link:hover {
    transform: translateY(-6px) scale(1.09);
    box-shadow: var(--shadow-lg), var(--glow-purple);
}


.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    line-height: 2.1;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 22px;
    transition: all 0.4s ease;
    border: 1px solid var(--glass-border);
}

.contact-method:hover {
    background: rgba(124, 58, 237, 0.25);
    transform: translateX(18px);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.contact-method svg {
    flex-shrink: 0;
    color: var(--accent-purple-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 2rem;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 1.2rem;
    backdrop-filter: blur(25px) saturate(180%);
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(124, 58, 237, 0.18);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.submit-button {
    padding: 2rem 3rem;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover::before {
    width: 500px;
    height: 500px;
}

.submit-button:hover {
    transform: translateY(-10px) scale(1.06);
    box-shadow: var(--shadow-xl), var(--glow-purple);
}

.submit-button span,
.submit-button svg {
    position: relative;
    z-index: 1;
}


footer {
    background: rgba(10, 6, 20, 0.92);
    backdrop-filter: blur(35px) saturate(180%);
    padding: 6rem 2rem 3.5rem;
    margin-top: 7rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: var(--gradient-accent);
    background-clip: padding-box;
    box-shadow: var(--glow-purple);
}

.footer-social {
    display: flex;
    gap: 2.5rem;
}

.footer-social a {
    width: 65px;
    height: 65px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid var(--glass-border);
}

.footer-social a:hover {
    background: var(--gradient-accent);
    transform: translateY(-10px) scale(1.12);
    box-shadow: var(--glow-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 3.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 1rem 0;
    font-size: 1.1rem;
}


@media (max-width: 1400px) {
    .banner-title { font-size: 6rem; }
    .section-title { font-size: 4.2rem; }
}

@media (max-width: 1200px) {
    .banner-title { font-size: 5rem; }
    .simulators-grid { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 105px;
        left: -100%;
        width: 100%;
        background: rgba(10, 6, 20, 0.99);
        backdrop-filter: blur(35px) saturate(180%);
        flex-direction: column;
        padding: 3.5rem 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        border-top: 1px solid var(--glass-border);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1.4rem 0;
    }
    
    .nav-menu.active { left: 0; }
    .menu-toggle { display: flex; }
    
    .banner-title {
        font-size: 3.8rem;
        letter-spacing: 6px;
    }
    
    .banner-subtitle { font-size: 1.7rem; }
    .avatar { width: 180px; height: 180px; }
    .banner-stats { flex-direction: column; gap: 2.5rem; }
    .section-title { font-size: 3.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 4.5rem; }
    .simulators-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 3.5rem; }
    .modal-content { width: 96%; padding: 3rem 2rem; }
    #modalTitle { font-size: 2.8rem; }
    #welcome-message { padding: 3rem 2.5rem; }
    #welcome-message h2 { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .banner-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .banner-subtitle { font-size: 1.4rem; }
    .cta-button { font-size: 1.3rem; padding: 1.6rem 2.8rem; }
    .section-title { font-size: 2.5rem; }
    .section-description { font-size: 1.3rem; }
    .simulators-grid { gap: 3rem; }
}


* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

html {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.modal-content {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.modal-content::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}


::selection {
    background: rgba(124, 58, 237, 0.45);
    color: #fff;
}

::-moz-selection {
    background: rgba(124, 58, 237, 0.45);
    color: #fff;
}


.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}