:root {
    --color-bg: #050505;
    --color-bg-darker: #000000;
    --color-primary: #ff3333;
    --color-primary-hover: #cc1111;
    --color-border: rgba(255, 51, 51, 0.15);
    --color-text: #f4f4f5;
    --color-text-muted: #a1a1aa;
    
    --font-main: 'Space Grotesk', sans-serif;
    --font-accent: 'Cinzel', serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-red: 0 0 15px rgba(255, 51, 51, 0.4);
    --shadow-red-lg: 0 0 35px rgba(255, 51, 51, 0.7);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::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.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #111115;
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-red);
}

.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 {
    font-family: var(--font-accent);
    color: var(--color-text);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.2);
}

.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;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    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.1em;
    font-family: var(--font-main);
}

.btn--crimson {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-red);
}

.btn--crimson:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red-lg);
}

.btn--crimson:active {
    transform: translateY(0);
}

.btn--outline-dark {
    background-color: transparent;
    border: 1px solid #1f1f2e;
    color: #ffffff;
}

.btn--outline-dark:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-red);
}

.btn--large {
    padding: 20px 44px;
    font-size: 1.05rem;
}

.warning-bar {
    background-color: #1a0000;
    border-bottom: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: alert-blink 2s infinite alternate;
}

@keyframes alert-blink {
    0% { opacity: 0.8; }
    100% { opacity: 1; box-shadow: inset 0 0 10px rgba(255, 51, 51, 0.2); }
}

.warning-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .warning-bar {
        font-size: 0.7rem;
    }
    .warning-bar__item:last-child {
        display: none;
    }
}

.header {
    position: fixed;
    top: 41px;
    left: 0;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: transform var(--transition);
}

.header--hidden {
    transform: translateY(-150%);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 92px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
}

.logo__symbol {
    font-family: var(--font-accent);
    font-size: 2.25rem;
    color: var(--color-primary);
    text-shadow: var(--shadow-red);
    line-height: 1;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__main {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.1em;
    line-height: 1;
}

.logo__sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav {
    display: flex;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    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: 1px;
    background-color: var(--color-primary);
    box-shadow: var(--shadow-red);
    transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1002;
}

.header__hotline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header__hotline-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.header__hotline-value {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.header__hotline-value:hover {
    color: var(--color-primary);
    text-shadow: var(--shadow-red);
}

.burger {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1002;
}

.burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    transition: all var(--transition);
}

.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-primary);
}

.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-primary);
}

.footer {
    background-color: var(--color-bg-darker);
    border-top: 1px solid #111115;
    padding: 60px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    gap: 24px;
}

@media (max-width: 991px) {
    .burger {
        display: block;
    }

    .header__hotline {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-darker);
        padding: 140px 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.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .header {
        top: 37px;
    }
    
    .header__inner {
        height: 80px;
    }
    
    .logo__main {
        font-size: 1.4rem;
    }
    
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}