/* index.html — home / hero section */

.index-hero {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(145deg, #0f2744 0%, #1e3a8a 22%, #1e40af 42%, #2563eb 58%, #1d4ed8 78%, #172554 100%);
}

.index-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(96, 165, 250, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 88% 18%, rgba(129, 140, 248, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(59, 130, 246, 0.2) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.index-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.06));
    pointer-events: none;
    z-index: 1;
}

html.dark .index-hero {
    background:
        linear-gradient(145deg, #020617 0%, #0f172a 25%, #1e3a8a 50%, #1e40af 72%, #0f172a 100%);
}

html.dark .index-hero::after {
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.4));
}

.index-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.55;
}

.index-hero-glow--left {
    width: 320px;
    height: 320px;
    left: -80px;
    top: 18%;
    background: rgba(147, 197, 253, 0.45);
}

.index-hero-glow--right {
    width: 280px;
    height: 280px;
    right: -60px;
    top: 8%;
    background: rgba(165, 180, 252, 0.4);
}

.index-hero .container {
    position: relative;
    z-index: 2;
}

.index-hero-badge {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.15);
}

.index-hero .hero-content h1 {
    text-shadow: 0 2px 24px rgba(15, 23, 42, 0.25);
}

.index-hero .hero-content > p {
    color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.2);
}

.index-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.index-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    min-height: 60px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.index-hero-btn:active {
    transform: scale(0.98);
}

.index-hero-btn--primary {
    color: #1e3a8a;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.22);
}

.index-hero-btn--primary:hover {
    background: #f8fafc;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.28);
    color: #1d4ed8;
}

.index-hero-btn--glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.index-hero-btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.index-hero-btn--glass svg {
    flex-shrink: 0;
}

.index-hero-btn--accent {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.index-hero-btn--accent:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
}

.index-hero-btn-icon {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* ===== Creative country store-list cards ===== */
.hero-store-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 1.4rem 0.6rem 0.6rem;
    min-height: 60px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

/* Animated gradient ring in country colours (revealed on hover) */
.hero-store-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--card-accent-1), transparent 45%, transparent 55%, var(--card-accent-2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Diagonal shine sweep on hover */
.hero-store-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    z-index: 2;
    pointer-events: none;
}

.hero-store-card:hover,
.hero-store-card:focus-visible {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: transparent;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.4);
    outline: none;
}

.hero-store-card:hover::before,
.hero-store-card:focus-visible::before {
    opacity: 1;
}

.hero-store-card:hover::after,
.hero-store-card:focus-visible::after {
    left: 135%;
}

.hero-store-card:active {
    transform: translateY(-1px) scale(0.99);
}

.hero-store-card__flag {
    position: relative;
    display: inline-flex;
    width: 52px;
    height: 36px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 6px 16px var(--card-glow);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-store-card__flag-img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-store-card:hover .hero-store-card__flag {
    transform: scale(1.08) rotate(-4deg);
}

.hero-store-card__title {
    flex: 1 1 auto;
    text-align: center;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: #fff;
    white-space: nowrap;
    z-index: 3;
}

.hero-store-card__arrow {
    width: 19px;
    height: 19px;
    margin-left: 0.4rem;
    color: rgba(255, 255, 255, 0.72);
    flex-shrink: 0;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.4s ease;
}

.hero-store-card:hover .hero-store-card__arrow {
    transform: translateX(5px);
    color: #fff;
}

/* Country colour themes */
.hero-store-card--uk {
    --card-accent-1: #60a5fa;
    --card-accent-2: #f87171;
    --card-flag-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(239, 68, 68, 0.4));
    --card-glow: rgba(37, 99, 235, 0.45);
}

.hero-store-card--usa {
    --card-accent-1: #93c5fd;
    --card-accent-2: #fca5a5;
    --card-flag-bg: linear-gradient(135deg, rgba(29, 78, 216, 0.55), rgba(220, 38, 38, 0.42));
    --card-glow: rgba(220, 38, 38, 0.42);
}

/* ===== Premium Contact Us CTA ===== */
.hero-cta {
    position: relative;
    gap: 0.8rem;
    padding: 0.55rem 1.5rem 0.55rem 0.6rem;
    justify-content: flex-start;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3), 0 0 28px rgba(42, 171, 238, 0.28);
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    z-index: 2;
    pointer-events: none;
}

.hero-cta:hover,
.hero-cta:focus-visible {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.4), 0 0 38px rgba(42, 171, 238, 0.45);
    border-color: rgba(255, 255, 255, 0.42);
    outline: none;
}

.hero-cta:hover::after,
.hero-cta:focus-visible::after {
    left: 135%;
}

.hero-cta:active {
    transform: translateY(-1px) scale(0.99);
}

.hero-cta__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
    box-shadow: 0 6px 18px rgba(34, 158, 217, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-cta__icon svg {
    width: 23px;
    height: 23px;
    transform: translateX(-1px);
}

.hero-cta:hover .hero-cta__icon {
    transform: scale(1.08) rotate(-4deg);
}

.hero-cta__pulse {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: heroCtaPulse 2.2s ease-out infinite;
}

@keyframes heroCtaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.hero-cta__title {
    flex: 1 1 auto;
    text-align: center;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: #fff;
    white-space: nowrap;
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .hero-store-card,
    .hero-store-card__flag,
    .hero-store-card__arrow,
    .hero-store-card::after,
    .hero-cta,
    .hero-cta__icon,
    .hero-cta::after {
        transition: none;
    }

    .hero-cta__pulse {
        animation: none;
    }
}

.index-hero-visual {
    position: relative;
}

.index-hero-visual img {
    border-radius: 16px 16px 0 0;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.index-hero-visual::before {
    content: '';
    position: absolute;
    inset: 12% 8% auto;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 639px) {
    .index-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .index-hero-btn {
        width: 100%;
    }

    .hero-store-card {
        width: 100%;
    }

    /* push the arrow to the far right on the full-width mobile cards */
    .hero-store-card__arrow {
        margin-left: auto;
    }
}
