:root {
    --bg-dark: #111215;
    --neon-purple: #8b5cf6;
    --neon-red: #ef4444;
    
    --container-width: 1200px;
    --gap-sm: 10px;
    --gap-md: 20px;
    --gap-lg: 40px;
    --radius-main: 8px;
    --radius-soft: 6px;
    
    --font-main: 'Segoe UI', Roboto, -apple-system, sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    background-color: #111215; 
    color: #eddfe9;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ШАПКА (HEADER) --- */
.header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 24px 0; 
    background-color: rgba(17, 18, 21, 0.8);
    backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s ease, 
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- НЕОНОВЫЙ ЛОГОТИП --- */
.logo {
    display: flex;
    align-items: center;
    gap: 18px; 
    cursor: pointer;
}

.logo__icon {
    width: 54px;  
    height: 54px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo__icon svg {
    width: 100%;
    height: 100%;
}

.fan-svg-frame {
    stroke: #8b5cf6;
    stroke-width: 3.5;
    filter: drop-shadow(0 0 3px #8b5cf6); 
    transition: stroke 0.3s ease, filter 0.3s ease;
}

.fan-svg-hole {
    fill: #a78bfa;
    opacity: 0.8;
}

.fan-svg-ring {
    stroke: #7c3aed;
    stroke-width: 2;
    opacity: 0.5;
}

.fan-svg-blades path {
    fill: rgba(239, 68, 68, 0.85);
    stroke: #f87171;
    stroke-width: 0.7;
    filter: drop-shadow(0 0 3px #ef4444);
    transition: fill 0.3s ease, filter 0.3s ease;
}

.fan-svg-center {
    fill: #111215;
    stroke: #fff;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px #fff);
}

.fan-svg-x {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 2px #fff);
}

.logo:hover .logo__icon {
    transform: scale(1.04); 
}

.logo:hover .fan-svg-frame {
    stroke: #a78bfa;
    filter: drop-shadow(0 0 6px #8b5cf6);
}

.logo:hover .fan-svg-blades path {
    fill: #ef4444;
    filter: drop-shadow(0 0 5px #ef4444) drop-shadow(0 0 10px #ef4444);
}

.logo__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo__brand {
    font-size: 24px; 
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.7px;
    line-height: 1;
}

.logo__sub {
    color: #a78bfa;
}

.logo__desc {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px; 
    font-weight: 600;
}

.header__actions {
    min-width: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- КНОПКА-ТЕРМИНАЛ И TOOLTIP --- */
.btn-terminal {
    position: relative; 
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-terminal:hover {
    color: #fff;
}

.btn-terminal svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

.tooltip {
    position: absolute;
    top: 140%; 
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 18, 21, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-terminal:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.x-accent {
    color: #a78bfa;
    font-weight: 900;
}

.header.header--scrolled {
    padding: 14px 0; 
    background-color: rgba(17, 18, 21, 0.95);
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* --- ГЛАВНЫЙ ЭКРАН (HERO) --- */
.hero {
    padding-bottom: 100px;
    display: flex; 
    align-items: center;
    position: relative;
}

.hero__container {
    display: grid; 
    grid-template-columns: 1fr 450px; 
    align-items: center;
    gap: 80px; 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    height: 100vh;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 100px;
    line-height: 1.1;
    color: #8a4fff; /* Чистый фиолетовый с твоей вывески */
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero__title span {
    color: #ff3333; /* Чистый красный с твоих лопастей */
    display: inline-block;
}

.hero__subtitle {
    font-size: 18px;
    color: #9ca3af;
    margin-bottom: 30px;
    max-width: 560px;
    line-height: 1.6;
    font-weight: 500;
}

.hero__actions-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn--primary {
    background-color: #8b5cf6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.btn--primary:hover {
    background-color: #7c3aed;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

/* --- АНИМАЦИЯ БОЛЬШОГО КУЛЕРА --- */
.hero__visual {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
}

.neon-fan-wrapper {
    position: relative;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.fan-frame {
    cursor: pointer;
    width: 340px;
    height: 340px;
    border: 6px solid #5b21b6;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), inset 0 0 20px rgba(139, 92, 246, 0.3);
    background-color: rgba(17, 18, 21, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #8b5cf6;
    animation: neonPulsePurple 4s infinite alternate;
}

.frame-hole {
    pointer-events: none;
    position: absolute;
    width: 14px;
    height: 14px;
    border: 3px solid #8b5cf6;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}
.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

.fan-blades {
    contain: paint;
    width: 340px;
    height: 340px;
    transform-origin: center center;
    border-radius: 50%;
    position: relative;
    backface-visibility: hidden;
    will-change: rotate;
    transform-style: preserve-3d; 
    cursor: pointer;
    touch-action: none;   
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;   
    user-select: none;           
    /* Добавили плавный бесконечный спин на чистом CSS */
    animation: spinFan 12s linear infinite;
}

.blade-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0; 
    transform: rotate(var(--angle)) translate(-32px, 0);
}

.blade {
    position: absolute;
    top: 0;
    left: -30%;
    width: 80px;
    height: 140px;
    background: linear-gradient(135deg, #f87171 0%, #991b1b 100%);
    clip-path: path('M 20 20 C 0 0, -30 140, 80 140 C 40 100, 35 20, 40 0');
    transform-origin: top center;
    box-shadow: inset 2px 0 5px rgba(255, 255, 255, 0.3);
    transform: skewX(0deg);
    will-change: transform;
    backface-visibility: hidden;
    outline: 1px solid transparent;
}

.b1 { --angle: 0deg; }
.b2 { --angle: 60deg; }
.b3 { --angle: 120deg; }
.b4 { --angle: 180deg; }
.b5 { --angle: 240deg; }
.b6 { --angle: 300deg; }

.fan-center {
    pointer-events: none;
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #111215;
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px #fff;
    z-index: 10;
}

.fan-x {
    color: #fff;
    font-weight: 900;
    font-size: 26px;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 8px #fff;
    line-height: 1;
}

@keyframes spinFan {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes neonPulsePurple {
    0% {
        border-color: #6d28d9;
        box-shadow: 0 0 15px rgba(109, 40, 217, 0.3), inset 0 0 15px rgba(109, 40, 217, 0.3);
    }
    100% {
        border-color: #a78bfa;
        box-shadow: 0 0 25px rgba(167, 139, 250, 0.6), inset 0 0 25px rgba(167, 139, 250, 0.6);
    }
}

/* --- АДАПТИВ ДЛЯ МОБИЛЬНЫХ --- */
@media (max-width: 992px) {
    .container { padding: 0 15px; }

    .header {
        padding: 14px 0;
        display: block;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .header__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .header__actions {
        min-width: auto;
        gap: 10px; 
    }

    .logo__icon { width: 42px; height: 42px; }
    .logo__brand { font-size: 20px; }
    .logo__desc { font-size: 10px; }

    .hero {
        height: auto;
        padding-top: 50px;
        padding-bottom: 60px;
    }
    .hero__container { 
        height: auto;        
        grid-template-columns: 1fr; 
        gap: 40px;          
        display: flex;      
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero__visual { 
        order: -1; 
        transform: scale(0.75); 
        justify-content: center;
    }
    .hero__title { font-size: 60px; }
    .hero__subtitle { margin: 0 auto 30px; }
    .hero__actions-buttons { justify-content: center; }
}