/* ==========================================================================
   Цветовая палитра и переменные (Тема: Темный титан и неоновый оранжевый)
   ========================================================================== */
:root {
    --bg-main: #0b0c10;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f5f6f8;
    --text-muted: #8e94a5;
    
    --neon-orange: #ff5e00;
    --neon-orange-rgb: 255, 94, 0;
    --neon-orange-glow: 0 0 20px rgba(255, 94, 0, 0.45);
    --neon-orange-glow-strong: 0 0 35px rgba(255, 94, 0, 0.7);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

/* ==========================================================================
   Базовые сбросы и настройки
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Фоновые эффекты (Глубина и свечение)
   ========================================================================== */
.bg-glow {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle 800px at 50% -100px, rgba(var(--neon-orange-rgb), 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   Шапка (Header)
   ========================================================================== */
.header {
    padding: 2.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(var(--neon-orange-rgb), 0.3));
    transition: var(--transition-smooth);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo:hover .logo-icon {
    transform: rotate(30deg) scale(1.1);
    filter: drop-shadow(var(--neon-orange-glow-strong));
}

.logo-text {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 40%, #ffc09f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.status-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--neon-orange);
    border-radius: 50%;
    box-shadow: var(--neon-orange-glow);
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--neon-orange-rgb), 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(var(--neon-orange-rgb), 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(var(--neon-orange-rgb), 0);
    }
}

/* ==========================================================================
   Главная секция (Hero)
   ========================================================================== */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--neon-orange-rgb), 0.08);
    border: 1px solid rgba(var(--neon-orange-rgb), 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.badge:hover {
    background: rgba(var(--neon-orange-rgb), 0.12);
    border-color: rgba(var(--neon-orange-rgb), 0.4);
    box-shadow: 0 0 15px rgba(var(--neon-orange-rgb), 0.1);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffaa77;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-outfit);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-orange) 0%, #ffb88c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(var(--neon-orange-rgb), 0.1);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* ==========================================================================
   Срочный заказ
   ========================================================================== */
.urgent-order-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(var(--neon-orange-rgb), 0.25);
    border-radius: 20px;
    padding: 2rem;
    max-width: 520px;
    backdrop-filter: blur(16px);
    width: 100%;
}

.urgent-title {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.urgent-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-tg-large {
    width: 100%;
    padding: 1.1rem 2rem;
    font-family: var(--font-inter);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    background: #0088cc;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
    transition: var(--transition-smooth);
}

.btn-tg-large:hover {
    background: #0099e6;
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.5);
    transform: translateY(-2px);
}

.btn-tg-large:active {
    transform: translateY(0);
}

.btn-tg-large svg {
    transition: transform 0.3s ease;
}

.btn-tg-large:hover svg {
    transform: translateX(3px) scale(1.1);
}

/* ==========================================================================
   Правый визуальный блок (Визуал запчастей)
   ========================================================================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    border-radius: 30px;
    padding: 10px;
    background: radial-gradient(circle at center, rgba(var(--neon-orange-rgb), 0.08) 0%, transparent 70%);
}

.visual-glow-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(var(--neon-orange-rgb), 0.3) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    animation: glow-float 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float 6s ease-in-out infinite;
}

.visual-wrapper:hover .hero-img {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 30px 60px rgba(var(--neon-orange-rgb), 0.2);
    border-color: rgba(var(--neon-orange-rgb), 0.3);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes glow-float {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 0.8; transform: translate(-50%, -45%) scale(1.05); }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
}

/* ==========================================================================
   Минималистичный Футер
   ========================================================================== */
.minimal-footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: auto;
}

.minimal-footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================================
   Адаптивность (Медиа-запросы)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .urgent-order-box {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

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

    .urgent-order-box {
        padding: 1.5rem;
    }

    .minimal-footer {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}
