/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* KiberPride стиль - тёмный геймерский */
    --primary-color: #8b5cf6;
    --secondary-color: #6366f1;
    --accent-color: #ec4899;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --bg-dark: #0a0e27;
    --bg-light: #1e293b;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1e293b 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-white);
    background: var(--gradient-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация - KiberPride стиль */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.logo-icon {
    font-size: 2rem;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero секция */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-secondary);
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-dark);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-dark);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Секция особенностей */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Обучающая секция */
.guide {
    padding: 100px 0;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-card.active {
    background: var(--gradient-primary);
    color: white;
}

.step-card.active .step-content h3,
.step-card.active .step-content p {
    color: white;
}

.step-number {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 4rem;
    font-weight: 800;
    opacity: 0.1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.step-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.step-card.active .step-details {
    max-height: 200px;
}

.step-details ul {
    list-style: none;
    padding-left: 1.5rem;
}

.step-details li {
    margin-bottom: 0.5rem;
    position: relative;
}

.step-details li::before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.step-card.active .step-details li::before {
    color: white;
}

.step-toggle {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-card.active .step-toggle {
    transform: rotate(45deg);
}

/* Дополнительная информация */
.info-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
}

.info-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    width: 80px;
    height: 80px;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Контакты */
.contacts {
    padding: 100px 0;
}

.contacts-content {
    text-align: center;
}

.contacts-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contacts-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
}

/* Футер */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contacts-title {
        font-size: 2rem;
    }

    .step-number {
        font-size: 2.5rem;
    }
}

/* ===== Слайды гайдов ===== */
.slide {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.slide .slide-overlay {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 80px; /* под фикс-меню */
    padding-bottom: 40px;
}

.slide-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.slide-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.6;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.slide-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 1.25rem;
    color: var(--text-white);
    opacity: 0.8;
    margin-bottom: 16px;
}

.slide-text {
    margin-bottom: 16px;
    color: var(--text-white);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.6;
}

.slide-list { 
    list-style: none; 
    padding-left: 1.5rem; 
}
.slide-list li { 
    position: relative; 
    margin-bottom: 12px; 
    color: var(--text-white);
    font-size: 1.05rem;
    padding-left: 5px;
}
.slide-list li::before { 
    content: '✓'; 
    position: absolute; 
    left: -1.25rem; 
    color: var(--primary-color); 
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
}

/* Фоновые варианты */
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-secondary { background: var(--gradient-secondary); }
.bg-gradient-accent { background: var(--gradient-accent); }
.bg-plain { background: var(--bg-light); }

/* Видео на слайдах */
.slide-video {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.slide-video iframe {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.slide-video video {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

