/* ============================================
   HERO SECTION OVERRIDES - NEW DESIGN
   ============================================ */

/* Background Image with Overlay */
.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?q=80&w=2070') !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: -2 !important;
    /* GPU acceleration for smooth scrolling */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.hero-bg::before {
    display: none !important;
}

/* Added spacing for 'breathing room' below header */
.hero {
    padding-top: 180px !important;
}

/* Two-column layout */
.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3xl);
    width: 100%;
}

/* Left Content - Override center alignment */
.hero-content {
    flex: 1;
    max-width: 700px;
    text-align: left !important;
    margin: 0 !important;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 60px;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    color: #FFFFFF;
}

.text-neon-glow {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #8b92a8;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    max-width: 620px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.btn-hero {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    background-color: #00ff88;
    color: #000000;
    height: 70px;
    padding: 0 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    background-color: #00ff88;
    color: #000000;
}

/* Ensure button doesn't overflow on any screen */
.hero-content .btn-hero {
    max-width: calc(100vw - 64px);
    /* Prevent overflow */
}

/* Country Badges */
.country-badges {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.badge-group {
    display: flex;
    gap: 4px;
}

.country-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-badge:hover {
    transform: scale(1.1);
    border-color: #B4FF39;
}

.country-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.badge-text strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* Shopify Notifications */
.shopify-notifications {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: min(320px, calc(100vw - 32px));
    flex-shrink: 0;
}

.notification-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /* Reduced gap */
    padding: 12px;
    /* Reduced padding from var(--space-md) */
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    /* Slightly smaller radius */
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Animation initial state */
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.slide-in-top.animated {
    animation: notificationSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes notificationSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Custom Sequencing for Notification Stack Effect */
.shopify-notifications .notification-card:nth-child(1) {
    animation-delay: 0.15s;
}

.shopify-notifications .notification-card:nth-child(2) {
    animation-delay: 1.1s;
}

.shopify-notifications .notification-card:nth-child(3) {
    animation-delay: 2.0s;
}

.notification-card:hover {
    background: rgba(30, 30, 30, 0.75);
    transform: translateX(-4px);
    z-index: 10;
}

.notification-icon {
    flex-shrink: 0;
    width: 32px;
    /* Reduced size */
    height: 32px;
    /* Reduced size */
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon img {
    border-radius: 6px;
    /* Match iOS icon shape */
    width: 100%;
    height: 100%;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.notification-app-name {
    font-weight: 600;
    font-size: 0.85rem;
    /* Reduced size */
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.notification-time {
    font-size: 0.75rem;
    /* Reduced size */
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.notification-body {
    font-size: 0.8rem;
    /* Reduced size */
    color: #FFFFFF;
    line-height: 1.35;
    font-weight: 400;
}

.blur-text {
    filter: blur(3.4px);
    user-select: none;
    display: inline-block;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding-top: 140px !important;
        /* Slightly less on tablet */
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .shopify-notifications {
        max-width: 100%;
        width: 100%;
        align-items: center;
        /* Center notifications on tablet */
    }

    .notification-card {
        width: 100%;
        max-width: 400px;
        /* Cap width */
    }

    .hero-content {
        max-width: 100%;
        text-align: center !important;
        /* Center text on tablet/mobile */
        margin: 0 auto !important;
    }

    .hero-title {
        font-size: 3.5rem;
        /* Resize for tablet */
    }

    .hero-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    .country-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px !important;
        /* Adjusted for mobile */
    }

    .hero-title {
        font-size: 40px;
        /* Reduced form 60px for mobile */
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .btn-hero {
        font-size: 14px !important;
        height: auto !important;
        min-height: 56px !important;
        padding: 12px 20px !important;
        width: 90% !important;
        /* Slightly smaller to guarantee margin */
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }

    .country-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .badge-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .shopify-notifications {
        gap: var(--space-sm);
        margin-top: 20px;
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .notification-card {
        padding: 12px !important;
        width: 90% !important;
        /* Force side margins */
        max-width: 330px !important;
        margin: 0 auto 12px auto !important;
        /* Space between notifications */
        box-sizing: border-box !important;
        display: flex !important;
    }
}