/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-dark: #b45309;
    --accent-light: #fbbf24;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(245, 158, 11, 0.2);
    --gradient-1: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-2: linear-gradient(135deg, #334155 0%, #1e293b 50%, #0f172a 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-light);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    z-index: -1;
    overflow: hidden;
}

/* Динамические движущиеся градиенты */
.hero-background::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 300%;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(245, 158, 11, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 700px 700px at 50% 50%, rgba(139, 92, 246, 0.25) 0%, transparent 50%);
    animation: dynamicMove 20s ease-in-out infinite;
    filter: blur(80px);
}

@keyframes dynamicMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, -80px) rotate(90deg);
    }
    50% {
        transform: translate(-80px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(60px, 60px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Дополнительные плавающие элементы */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle 300px at 15% 25%, rgba(245, 158, 11, 0.2) 0%, transparent 40%),
        radial-gradient(circle 250px at 85% 75%, rgba(59, 130, 246, 0.15) 0%, transparent 35%),
        radial-gradient(circle 200px at 50% 20%, rgba(139, 92, 246, 0.18) 0%, transparent 30%),
        radial-gradient(circle 280px at 30% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 38%);
    animation: floatCircles 15s ease-in-out infinite;
    opacity: 1;
}

@keyframes floatCircles {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -40px) scale(1.2);
    }
    66% {
        transform: translate(-40px, 50px) scale(0.8);
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle 150px at 25% 35%, rgba(245, 158, 11, 0.25) 0%, transparent 50%),
        radial-gradient(circle 120px at 75% 65%, rgba(59, 130, 246, 0.2) 0%, transparent 45%),
        radial-gradient(circle 100px at 60% 10%, rgba(139, 92, 246, 0.22) 0%, transparent 40%);
    animation: particlesMove 18s ease-in-out infinite;
}

@keyframes particlesMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-60px, -60px) scale(1.5);
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-light);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%, transparent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* About Section */
.about {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 300%;
    background: 
        radial-gradient(ellipse 700px 900px at 70% 40%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 800px 600px at 30% 80%, rgba(59, 130, 246, 0.25) 0%, transparent 45%);
    animation: dynamicMove 22s ease-in-out infinite reverse;
    filter: blur(70px);
    pointer-events: none;
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.375rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-text .highlight {
    color: var(--accent);
    font-weight: 600;
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin-left: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.4));
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Video Section */
.video-section {
    background: var(--bg-primary);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Details Section */
.details {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.details::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 300%;
    background: 
        radial-gradient(ellipse 600px 800px at 40% 60%, rgba(139, 92, 246, 0.3) 0%, transparent 48%),
        radial-gradient(ellipse 750px 650px at 90% 20%, rgba(245, 158, 11, 0.25) 0%, transparent 42%);
    animation: dynamicMove 25s ease-in-out infinite;
    filter: blur(75px);
    pointer-events: none;
}

.details-content {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.details-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.details-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.details-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.details-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.details-label {
    font-weight: 600;
    color: var(--accent-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-value {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contacts Section */
.contacts {
    background: var(--bg-primary);
}

.contacts-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-card);
    padding: 0;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.contact-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    padding: 2rem;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.contact-card:hover .contact-icon {
    background: rgba(245, 158, 11, 0.25);
}

.contact-card-content {
    flex: 1;
    padding: 2rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9375rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.footer-links h4,
.footer-contacts h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .header-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contacts-content {
        flex-direction: column;
    }

    .contact-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 80px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
