/* ============================================================================
   HERO SECTIONS - Unified Styles
   ============================================================================ */

/* Base Hero Section */
.hero-section {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Hero Background Variants */
.hero-section--main {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

[data-theme="dark"] .hero-section--main {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
}

.hero-section--buy {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(6, 214, 160, 0.08) 100%);
}

[data-theme="dark"] .hero-section--buy {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
}

.hero-section--sell {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(245, 101, 101, 0.1) 100%);
}

[data-theme="dark"] .hero-section--sell {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.hero-section--obmennik {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(160, 82, 45, 0.1) 100%);
}

[data-theme="dark"] .hero-section--obmennik {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.1) 0%, rgba(139, 69, 19, 0.1) 100%);
}

/* Hero Content Layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content--two-column {
    grid-template-columns: repeat(2, 1fr);
}

/* Hero Typography */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-subtitle--centered {
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.hero-subtitle--large {
    font-size: 1.25rem;
}

/* Hero Features/Advantages */
.hero-features {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-features--centered {
    justify-content: center;
}

.hero-features--large-gap {
    gap: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.hero-feature__icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.hero-feature__icon--blue {
    color: #3b82f6;
}

.hero-feature__icon--yellow {
    color: #f59e0b;
}

.hero-feature__icon--green {
    color: #10b981;
}

.hero-feature__icon--purple {
    color: #8b5cf6;
}

/* Hero Cards Grid */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition-transform);
}

.hero-card:hover {
    transform: translateY(-2px);
}

.hero-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.hero-card__icon--green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary-light);
}

.hero-card__icon--red {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.hero-card__icon--blue {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
}

.hero-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hero-card__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Hero Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.hero-stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
    line-height: 1;
}

.hero-stat__label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Hero Text Alignment */
.hero-section--center {
    text-align: center;
}

.hero-section--left {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content--two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-features--large-gap {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-subtitle--large {
        font-size: 1.125rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-features--centered {
        align-items: center;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }

    .hero-stat {
        padding: 1rem;
    }

    .hero-stat__number {
        font-size: 2rem;
    }

    .hero-feature {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}