:root {
    --color-bg: #09090c;
    --color-bg-darker: #050507;
    --color-neon: #ff5100;
    --color-neon-rgb: 255, 81, 0;
    --color-glow: #ffb700;
    --color-glow-rgb: 255, 183, 0;
    --color-text: #ffffff;
    --color-text-muted: #a1a1aa;
    --color-border: rgba(255, 81, 0, 0.15);
    
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    --shadow-neon: 0 0 15px rgba(255, 81, 0, 0.3);
    --shadow-neon-lg: 0 0 30px rgba(255, 81, 0, 0.6);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #1c1c24;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon);
    box-shadow: var(--shadow-neon);
}

.main {
    flex: 1 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    font-weight: 800;
    line-height: 1.15;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.text-left {
    text-align: left !important;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    text-align: center;
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn--neon {
    background-color: var(--color-neon);
    color: #ffffff;
    box-shadow: var(--shadow-neon);
}

.btn--neon:hover {
    background-color: #ff6a20;
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-lg);
}

.btn--neon:active {
    transform: translateY(0);
}

.btn--outline-neon {
    background-color: transparent;
    border: 2px solid var(--color-neon);
    color: #ffffff;
    box-shadow: inset 0 0 8px rgba(255, 81, 0, 0.05);
}

.btn--outline-neon:hover {
    background-color: var(--color-neon);
    box-shadow: var(--shadow-neon);
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(9, 9, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: transform var(--transition);
}

.header--hidden {
    transform: translateY(-100%);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo__glow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 81, 0, 0.4) 0%, transparent 70%);
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(5px);
}

.logo__script {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    color: #ffffff;
    margin-right: 4px;
}

.logo__number {
    font-size: 2.1rem;
    font-weight: 900;
    font-style: italic;
    color: var(--color-neon);
    text-shadow: 0 0 10px rgba(255, 81, 0, 0.5);
    line-height: 1;
    margin-right: 8px;
}

.logo__main {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #ffffff;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 8px;
    line-height: 1;
}

.nav {
    display: flex;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    position: relative;
    padding: 8px 0;
}

.nav__link:hover,
.nav__link--active {
    color: #ffffff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-neon);
    box-shadow: 0 0 8px var(--color-neon);
    transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.header__contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1002;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #121217;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--transition);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header__actions {
        gap: 12px;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #121217;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--color-neon);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.social-link--vk:hover {
    background-color: #0077ff;
    border-color: #0077ff;
    box-shadow: 0 0 15px rgba(0, 119, 255, 0.4);
}

.social-link--tg:hover {
    background-color: #229ED9;
    border-color: #229ED9;
    box-shadow: 0 0 15px rgba(34, 158, 217, 0.4);
}

.burger {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1002;
}

.burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all var(--transition);
    border-radius: 2px;
}

.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__line:nth-child(3) { bottom: 0; }

.burger.is-active .burger__line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: var(--color-neon);
}

.burger.is-active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.is-active .burger__line:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    background-color: var(--color-neon);
}

.footer {
    background-color: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .nav__list {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .burger {
        display: block;
    }

    .btn.header__btn {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-darker);
        padding: 120px 24px 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all var(--transition);
        z-index: 1001;
    }

    .nav.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav__link {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .header__inner {
        height: 76px;
    }
    
    .logo__number {
        font-size: 1.8rem;
    }

    .logo__main {
        font-size: 0.8rem;
    }
    
    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}