/* ===============================================
   ENHANCED HERO SECTION V2
   =============================================== */

/* Featured Deal Alert Banner */
.hero-deal-alert {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.deal-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.deal-icon {
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.deal-text {
    font-size: 15px;
    flex: 1;
    min-width: 250px;
}

.deal-text strong {
    font-weight: 700;
    margin-right: 8px;
}

.deal-alert-cta {
    background: white;
    color: #ff6b6b;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 14px;
}

.deal-alert-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.deal-alert-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.deal-alert-close:hover {
    opacity: 1;
}

/* Hero Section V2 */
.hero-section-v2 {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: white;
    text-align: center;
    padding: 100px 0 80px;
    overflow: hidden;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Animated Background Circles */
.hero-background-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s ease-in-out infinite;
}

.hero-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 15%;
    animation-delay: 5s;
}

.hero-circle-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    33% {
        transform: translateY(-30px) translateX(30px) scale(1.1);
    }

    66% {
        transform: translateY(30px) translateX(-30px) scale(0.9);
    }
}

/* Hero Content V2 */
.hero-content-v2 {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-headline-v2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-subheadline-v2 {
    font-size: 20px;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    font-weight: 400;
}

/* Hero Search Container */
.hero-search-container {
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.hero-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-full);
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-icon {
    font-size: 20px;
    margin-right: 12px;
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 18px 0;
    font-size: 16px;
    color: var(--color-text);
    background: transparent;
}

.hero-search-input:focus {
    outline: none;
}

.voice-search-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: transform var(--transition-base);
}

.voice-search-btn:hover {
    transform: scale(1.1);
}

.hero-search-submit {
    background: white;
    color: var(--color-primary);
    border: none;
    padding: 18px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Popular Searches */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
}

.popular-searches span {
    opacity: 0.9;
}

.popular-searches a {
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.popular-searches a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Animated Statistics Counter */
.hero-stats-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    padding: var(--spacing-xl) 0;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 36px;
    display: block;
    margin-bottom: var(--spacing-sm);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-item>div {
    display: inline-block;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
}

.stat-plus {
    font-size: 42px;
    font-weight: 800;
    opacity: 0.9;
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-top: var(--spacing-xs);
}

/* Hero CTA Group V2 */
.hero-cta-group-v2 {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero-cta-primary,
.hero-cta-secondary {
    min-width: 180px;
    font-size: 16px;
    padding: 16px 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.hero-cta-primary:hover,
.hero-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced Trust Badges */
.trust-badges-v2 {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 28px;
}

.trust-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.trust-content strong {
    font-size: 14px;
    font-weight: 700;
    display: block;
}

.trust-subtext {
    font-size: 12px;
    opacity: 0.9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.8;
    animation: fadeInOut 3s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 24px;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section-v2 {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .hero-headline-v2 {
        font-size: 36px;
    }

    .hero-subheadline-v2 {
        font-size: 16px;
    }

    .hero-search-form {
        flex-direction: column;
    }

    .hero-search-submit {
        width: 100%;
    }

    .hero-stats-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-icon {
        font-size: 28px;
    }

    .hero-cta-group-v2 {
        flex-direction: column;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
    }

    .trust-badges-v2 {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .trust-badge-item {
        justify-content: center;
    }

    .hero-circle-1,
    .hero-circle-2,
    .hero-circle-3 {
        opacity: 0.5;
    }

    .deal-alert-content {
        font-size: 14px;
        padding: 0 10px;
    }

    .deal-icon {
        font-size: 20px;
    }

    .deal-alert-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline-v2 {
        font-size: 28px;
    }

    .popular-searches {
        font-size: 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-plus {
        font-size: 28px;
    }
}