@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --font-luxury: 'Oswald', sans-serif;
    --font-tech: 'Jost', sans-serif;
    --accent-red-glow: rgba(195, 0, 30, 0.4);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(20, 20, 20, 0.2) 0%, rgba(13, 13, 13, 0.98) 100%),
                linear-gradient(rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 0.95)), 
                url('../premium_detailing_hero_bg_1776119320256.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Эффект свечения за сеткой */
.hero-section::before {
    content: "";
    position: absolute;
    top: 40%;
    left: 75%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(195, 0, 30, 0.12) 0%, transparent 70%);
    z-index: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 20px 40px;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 2;
}

.hero-badge { grid-column: 1; grid-row: 1; margin-bottom: 25px; }
.hero-section .hollow-text { grid-column: 1; grid-row: 2; }
.hero-section .main-title { grid-column: 1; grid-row: 3; margin-bottom: 25px; }
.hero-description { grid-column: 1; grid-row: 4; margin-bottom: 35px; }
.hero-cta-wrapper { grid-column: 1; grid-row: 5; margin-bottom: 50px; }
.hero-features { grid-column: 1; grid-row: 6; }

/* Премиальный Бейдж */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-red);
    animation: badge-pulse 2s infinite;
}

.badge-text {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

@keyframes badge-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px var(--accent-red); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Заголовки */
.hero-section .hollow-text {
    font-family: var(--font-luxury);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    color: transparent;
    font-size: clamp(60px, 12vw, 150px);
    font-weight: 300;
    margin: 0;
    line-height: 0.85;
    letter-spacing: -2px;
    opacity: 0.9;
    text-shadow: 0 0 40px rgba(195, 0, 30, 0.05);
    transition: -webkit-text-stroke 0.4s ease, text-shadow 0.4s ease, color 0.4s ease;
}

.hero-section .hollow-text:hover {
    -webkit-text-stroke: 1px rgba(195, 0, 30, 0.8);
    text-shadow: 0 0 50px rgba(195, 0, 30, 0.5);
    color: rgba(195, 0, 30, 0.05);
}

.hero-section .main-title {
    font-family: var(--font-luxury);
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    margin-top: -5px;
    margin-bottom: 25px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 30%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-description {
    font-family: var(--font-tech);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #a0a0a0;
    max-width: 520px;
    margin: 0 0 35px 0;
}

/* Кнопка */
.hero-cta-wrapper {
    position: relative;
    margin-bottom: 50px;
}

.btn-premium.magnetic-button {
    background: linear-gradient(135deg, #C3001E 0%, #7E0010 100%);
    color: white;
    border: none;
    padding: 22px 55px;
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(195, 0, 30, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: box-shadow 0.3s ease, transform 0.1s ease;
    will-change: transform;
}

.btn-premium.magnetic-button:hover {
    box-shadow: 0 15px 40px rgba(195, 0, 30, 0.55);
}

.btn-premium.magnetic-button:active {
    transform: scale(0.96) !important;
}

/* Анимированный блик */
.btn-premium.magnetic-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.btn-premium.magnetic-button:hover::after {
    left: 140%;
}

/* Преимущества */
.hero-features {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-title {
    font-family: var(--font-luxury);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
}

.feature-desc {
    font-family: var(--font-tech);
    font-size: 12px;
    color: #707070;
}

.feature-separator {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Правая колонка и 3D-карточка */
.hero-right {
    grid-column: 2;
    grid-row: 1 / span 6;
    perspective: 1500px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.showcase-card-wrapper {
    width: 100%;
    max-width: 790px;
    margin-top: -30px;
    margin-right: -40px;
    transform-style: preserve-3d;
    will-change: transform;
}

.showcase-card {
    position: relative;
    background: rgba(25, 25, 25, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.showcase-card:hover {
    border-color: rgba(195, 0, 30, 0.3);
    box-shadow: 0 30px 80px rgba(195, 0, 30, 0.15), 
                0 0 40px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.car-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #000;
    transform: translateZ(20px);
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transform: scale(1.15);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-card:hover .car-image {
    transform: scale(1.0);
}

/* Технический оверлей */
.card-tech-overlay {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    transform: translateZ(30px);
}

.tech-spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-family: var(--font-tech);
    font-size: 10px;
    letter-spacing: 2px;
    color: #606060;
}

.spec-value {
    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.spec-value.val-green {
    color: #00ff66;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto !important;
        height: auto !important;
        padding-top: 70px !important;
        padding-bottom: 30px !important;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0 !important;
    }
    
    .hero-badge,
    .hero-section .hollow-text,
    .hero-section .main-title,
    .hero-description,
    .hero-cta-wrapper,
    .hero-features,
    .hero-right {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .hero-badge {
        margin: 0 auto 20px auto !important;
        padding: 6px 12px !important;
    }

    .hero-right {
        margin: 0 auto 20px auto !important;
        width: 100%;
        max-width: 300px;
    }

    .showcase-card {
        padding: 16px !important;
    }

    .card-tech-overlay {
        margin-top: 14px !important;
    }

    .car-image-container {
        aspect-ratio: 16/9;
    }
    
    .showcase-card-wrapper {
        max-width: 100%;
        margin-top: 0 !important;
        margin-right: 0 !important;
    }

    .hero-section .hollow-text {
        font-size: clamp(40px, 9vw, 64px);
        margin: 0 auto !important;
        line-height: 0.95;
    }

    .hero-section .main-title {
        font-size: clamp(22px, 5.2vw, 32px);
        margin: 6px auto 12px auto !important;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.45;
        margin: 0 auto 16px auto !important;
        padding: 0 15px;
    }

    .hero-cta-wrapper {
        margin: 0 auto 20px auto !important;
    }

    .btn-premium.magnetic-button {
        padding: 16px 40px !important;
        font-size: 13px !important;
    }
    
    .hero-features {
        justify-content: center;
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 500px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .feature-separator {
        width: 60px;
        height: 1px;
    }
}
