:root {
    --bg-color: #0A0A0C;
    --text-color: #ffffff;
    --accent-color: #315B91; /* Новый синий оттенок */
    --accent-glow: rgba(49, 91, 145, 0.4);
    --secondary-bg: #121214;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.ambient-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10%, 10%); }
}

.cursor-spotlight {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(49, 91, 145, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
}

/* Header */
header {
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--accent-color);
}

.logo span {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -2px;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
}

.btn.primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -5px var(--accent-glow);
    filter: brightness(1.1);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* Portfolio Section */
.portfolio {
    padding: 140px 0;
}

.portfolio h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 800;
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    gap: 32px;
}

.reel-card {
    background: var(--card-bg);
    aspect-ratio: 9 / 16;
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
}

.reel-card:hover {
    transform: translateY(-12px);
    border-color: rgba(49, 91, 145, 0.3);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0.9;
    transition: var(--transition);
}

.reel-card:hover .reel-video {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 120px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--bg-color) 100%);
    border-radius: 48px;
    margin-bottom: 120px;
    border: 1px solid var(--card-border);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 40px;
    color: #a0a0a0;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn.tg {
    background-color: #0088cc;
    color: white;
}

.btn.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #222;
    color: #666;
}

/* Pipeline & FAQ Sections */
.pipeline, .faq {
    padding: 80px 0;
}

.pipeline h2, .faq h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 800;
}

.pipeline-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pipeline-card, .faq-card {
    background: #141416;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.pipeline-card:hover, .faq-card:hover {
    transform: translateY(-8px);
    border-color: rgba(49, 91, 145, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.pipeline-card h3, .faq-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--text-color);
}

.pipeline-card p, .faq-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .reels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pipeline-grid, .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }

    .reels-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pipeline-grid, .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 40px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
