/* ==========================================================================
   Hero Visual: Ultra-Clean HD 3D Card Stack (heroCardStack.css)
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 4.5rem 0 4rem;
    background: var(--gradient-hero-bg);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    pointer-events: none;
    animation: meshFloat 12s infinite alternate ease-in-out;
}

.shape-1 {
    width: 420px; height: 420px;
    background: #818cf8;
    top: -100px; left: -100px;
}

.shape-2 {
    width: 380px; height: 380px;
    background: #f472b6;
    bottom: -50px; right: 5%;
    animation-delay: -4s;
}

.shape-3 {
    width: 280px; height: 280px;
    background: #38bdf8;
    top: 30%; left: 35%;
    animation-delay: -8s;
}

@keyframes meshFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    background: rgba(224, 231, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid #c7d2fe;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.16;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 50%; height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    animation: btnShimmerSweep 3.5s infinite;
}

@keyframes btnShimmerSweep {
    0% { left: -60%; }
    30% { left: 140%; }
    100% { left: 140%; }
}

/* Hero Feature Tags Container Pill */
.hero-features-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(224, 231, 255, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(199, 210, 254, 0.8);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.06);
    margin-bottom: 1.75rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a5b4fc;
}

/* Hero Trust Bar Container Pill */
.hero-trust-bar {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-trust-pill {
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(199, 210, 254, 0.85);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.trust-number {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.1;
}

.trust-label { font-size: 0.775rem; color: var(--text-muted); font-weight: 600; }

.trust-divider {
    width: 1px;
    height: 35px;
    background: var(--border-color);
}

/* ==========================================================================
   Hero Visual: Ultra-Clean HD 3D Card Stack
   ========================================================================== */

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 420px;
}

/* Background Glowing Aura Ring */
.stack-glow-aura {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(236, 72, 153, 0.2) 50%, transparent 75%);
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: auraPulse 4s infinite alternate ease-in-out;
}

@keyframes auraPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* 3D Card Stack Container */
.card-stack {
    position: relative;
    width: 360px;
    height: 240px;
    transition: transform 0.3s ease;
    z-index: 5;
}

/* Floating Hint Badge */
.stack-interactive-hint {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.775rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(251, 191, 36, 0.4);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
    z-index: 20;
    pointer-events: none;
    animation: hintPulse 2.5s infinite ease-in-out;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.9; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-3px); }
}

/* Base Card Style */
.hero-card {
    border-radius: 20px;
    position: absolute;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Main VIP Center Card */
.card-main {
    width: 100%;
    height: 100%;
    padding: 1.35rem 1.6rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 50%, #9333ea 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        0 22px 50px rgba(15, 23, 42, 0.4),
        0 0 35px rgba(99, 102, 241, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    z-index: 4;
    transform: rotate(-3deg);
    overflow: hidden;
}

.card-main:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.75),
        0 28px 60px rgba(15, 23, 42, 0.5),
        0 0 45px rgba(99, 102, 241, 0.45);
}

/* Micro-Mesh HD Card Texture Pattern Overlay */
.card-texture-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.5;
    pointer-events: none;
}

/* Metallic Shimmer Sweep */
.card-shimmer-sweep {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    transform: rotate(25deg);
    animation: cardShimmerSweep 3.8s infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes cardShimmerSweep {
    0% { left: -60%; }
    30% { left: 140%; }
    100% { left: 140%; }
}

/* Main Card Rows */
.card-chip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}

.card-chip {
    width: 42px;
    height: 30px;
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    padding: 3px;
}

.chip-line {
    width: 100%;
    height: 1.5px;
    background: rgba(180, 83, 9, 0.6);
}

.card-wifi-icon {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.card-brand-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 0.15rem;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.card-brand-row .brand-icon {
    font-size: 1.45rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

.card-value-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 3;
}

.card-category-badge {
    font-size: 0.725rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    padding: 0.22rem 0.7rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-amount-display {
    font-size: 2.1rem;
    font-weight: 800;
    font-family: var(--font-primary);
    line-height: 1;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 0.5rem;
    font-size: 0.725rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 3;
}

.card-status-badge {
    color: #34d399;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.5));
}

/* Floating Orbit Sub-Cards */
.card-sub {
    width: 130px;
    height: 85px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.85rem;
    color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.card-sub:hover {
    transform: scale(1.15) translate3d(0, -6px, 30px) !important;
    z-index: 15 !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.card-sub-1 {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    top: -20px;
    right: -30px;
    z-index: 5;
    transform: rotate(12deg);
}

.card-sub-2 {
    background: linear-gradient(135deg, #2b2b2b 0%, #111111 100%);
    bottom: -30px;
    left: -30px;
    z-index: 5;
    transform: rotate(-10deg);
}

.card-sub-3 {
    background: linear-gradient(135deg, #171a21 0%, #1b2838 100%);
    bottom: -20px;
    right: -20px;
    z-index: 3;
    transform: rotate(8deg);
}

.brand-icon-sub {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.sub-amount {
    font-weight: 800;
    font-size: 1.1rem;
    text-align: right;
}

/* Hero Live Instant Delivery Notification Ticker */
.hero-live-ticker {
    position: relative;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid #c7d2fe;
    color: var(--text-primary);
    font-size: 0.775rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
    z-index: 12;
    white-space: nowrap;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseGlow 2s infinite;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-features-pill { justify-content: center; margin-left: auto; margin-right: auto; }
    .hero-trust-bar { justify-content: center; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-features-pill {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.55rem 0.85rem;
        padding: 0.65rem 1rem;
        border-radius: var(--radius-lg);
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-divider {
        display: none;
    }

    .hero-trust-pill {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.85rem 0.75rem;
        border-radius: var(--radius-lg);
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.25rem;
    }

    .trust-icon { font-size: 1.25rem; }
    .trust-number { font-size: 1.1rem; }
    .trust-label { font-size: 0.7rem; }
    .trust-divider { display: none; }

    .card-stack {
        transform: scale(0.85);
        transform-origin: center center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.925rem;
    }

    .hero-features-pill {
        padding: 0.65rem 0.85rem;
        border-radius: var(--radius-md);
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.78rem;
    }

    .hero-trust-pill {
        padding: 0.75rem 0.5rem;
        border-radius: var(--radius-md);
        gap: 0.35rem;
    }

    .trust-number { font-size: 0.95rem; }
    .trust-label { font-size: 0.65rem; }

    .card-stack {
        transform: scale(0.72);
        margin: -1.2rem 0;
    }

    .card-sub-1 { right: -10px; }
    .card-sub-2 { left: -10px; }
    .card-sub-3 { right: -5px; }
}
