/* modules/hero/hero.css */

.hero {
    max-width: 1200px;
    margin: 40px auto;
    /* padding: 0 40px; */
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.hero-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 24px;
    padding: 30px;
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.hero-card::after {
    content: '%';
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-size: 300px;
    opacity: 0.1;
    font-weight: 700;
    transform: rotate(-15deg);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 300px;
}

.hero-btn {
    background: var(--bg-card);
    color: var(--primary);
    border: 2px solid var(--bg-card);
    padding: 16px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: fit-content;
}

.hero-btn:hover {
    background: transparent;
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: var(--text-inverse);
    width: 30px;
    border-radius: 5px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-card { min-height: 400px; }
}

@media (max-width: 768px) {
    .hero { padding: 0; margin: 30px auto; }
    .hero-card { padding: 30px; min-height: 350px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }
    .carousel-indicators { bottom: 20px; }
}

@media (max-width: 480px) {
    .hero-card { padding: 25px; }
    .hero-title { font-size: 24px; }
    .hero-btn { padding: 14px 30px; font-size: 14px; }
}