/* ═══════════════════════════════════════════════════
   DEMO PAGE — PREMIUM UI OVERHAUL
   ═══════════════════════════════════════════════════ */

/* ── Floating Particles ── */
.demo-a2z .background-effects::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(168,85,247,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(99,102,241,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 20%, rgba(244,114,182,0.35) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 50%, rgba(34,211,165,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(168,85,247,0.25) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 90% 10%, rgba(99,102,241,0.25) 0%, transparent 100%),
        radial-gradient(2px 2px at 50% 50%, rgba(251,191,36,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 55%, rgba(244,114,182,0.3) 0%, transparent 100%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1.05); opacity: 1; }
}

/* ── Marquee Bar Premium ── */
.demo-a2z .marquee-bar {
    background: linear-gradient(90deg,
        rgba(168,85,247,0.12) 0%,
        rgba(99,102,241,0.15) 30%,
        rgba(244,114,182,0.12) 60%,
        rgba(168,85,247,0.12) 100%);
    border-bottom: 1px solid rgba(168,85,247,0.2);
    backdrop-filter: blur(8px);
}

.demo-a2z .marquee-track span {
    color: rgba(255,255,255,0.8);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.demo-a2z .marquee-track i {
    color: #e879f9;
    font-size: 0.75rem;
    filter: drop-shadow(0 0 4px rgba(232,121,249,0.5));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Navbar Glass ── */
.demo-a2z .navbar {
    background: rgba(3,3,6,0.6);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(168,85,247,0.15);
}

.demo-a2z .navbar.scrolled {
    background: rgba(3,3,6,0.85);
    border-color: rgba(168,85,247,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(168,85,247,0.08);
}

/* ── Brand 3D ── */
.demo-a2z .site-brand-icon {
    background: linear-gradient(145deg, #f472b6 0%, #a855f7 40%, #6366f1 100%);
    box-shadow:
        0 4px 18px rgba(168,85,247,0.5),
        0 0 30px rgba(168,85,247,0.15),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.demo-a2z .site-brand:hover .site-brand-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow:
        0 8px 28px rgba(168,85,247,0.6),
        0 0 40px rgba(168,85,247,0.2);
}

.demo-a2z .site-brand-name {
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.demo-a2z .site-brand-accent {
    background: linear-gradient(135deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* ── Nav CTA Button 3D Overhauled ── */
.demo-a2z .nav-cta {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #000 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 12px !important;
    box-shadow:
        0 4px 0 0 #c2410c,
        0 6px 15px rgba(249,115,22,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    font-weight: 800;
    letter-spacing: 0.3px;
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.demo-a2z .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 0 #c2410c,
        0 10px 25px rgba(249,115,22,0.4),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.demo-a2z .nav-cta:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 0 #c2410c,
        0 4px 10px rgba(249,115,22,0.2);
}

/* ── Nav Link ── */
.demo-a2z .nav-link {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    transition: all 0.2s ease;
}

.demo-a2z .nav-link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(168,85,247,0.4);
}

.demo-a2z .nav-link i {
    color: #c084fc;
}

/* ── Hero Badge ── */
.demo-a2z .badge {
    background: rgba(168,85,247,0.08);
    border: 1px solid rgba(168,85,247,0.25);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e879f9;
    text-shadow: 0 0 15px rgba(232,121,249,0.3);
}

.demo-a2z .badge-pulse {
    width: 10px;
    height: 10px;
    background: #22d3a5;
    box-shadow: 0 0 15px #22d3a5, 0 0 30px rgba(34,211,165,0.3);
}

/* ── Main Title 3D Animated ── */
.demo-a2z .main-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow:
        0 0 40px rgba(168,85,247,0.15),
        0 4px 8px rgba(0,0,0,0.3);
    animation: titleFloat 4s ease-in-out infinite alternate;
}

@keyframes titleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.demo-a2z .gradient-text {
    background: linear-gradient(
        135deg,
        #e879f9 0%,
        #c084fc 20%,
        #818cf8 40%,
        #f472b6 60%,
        #fbbf24 80%,
        #e879f9 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(168,85,247,0.3));
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

/* ── Sub Title ── */
.demo-a2z .sub-title {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ── Video Shell Premium ── */
.demo-a2z .a2z-demo-video {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.demo-a2z .a2z-video-shell {
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 2px rgba(168,85,247,0.3),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 80px rgba(168,85,247,0.1);
    transition: all 0.4s ease;
}

.demo-a2z .a2z-video-shell:hover {
    box-shadow:
        0 0 0 2px rgba(168,85,247,0.5),
        0 30px 80px rgba(0,0,0,0.6),
        0 0 100px rgba(168,85,247,0.15);
    transform: translateY(-4px);
}

/* ── 3D BUTTONS ── */
.demo-a2z .btn-primary.btn-demo-buy {
    position: relative;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ea580c 100%);
    color: #000 !important;
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    padding: 18px 36px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.25) !important;
    box-shadow:
        0 8px 0 0 #c2410c,
        0 12px 30px rgba(249,115,22,0.35),
        0 0 40px rgba(249,115,22,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(0);
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
    animation: btnPulse 2.5s ease-in-out infinite;
}

.demo-a2z .btn-primary.btn-demo-buy:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 0 0 #c2410c,
        0 18px 40px rgba(249,115,22,0.45),
        0 0 60px rgba(249,115,22,0.15),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.demo-a2z .btn-primary.btn-demo-buy:active {
    transform: translateY(6px);
    box-shadow:
        0 2px 0 0 #c2410c,
        0 4px 15px rgba(249,115,22,0.25),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow:
            0 8px 0 0 #c2410c,
            0 12px 30px rgba(249,115,22,0.35),
            0 0 40px rgba(249,115,22,0.1),
            inset 0 1px 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow:
            0 8px 0 0 #c2410c,
            0 16px 40px rgba(249,115,22,0.5),
            0 0 80px rgba(249,115,22,0.2),
            inset 0 1px 0 rgba(255,255,255,0.3);
    }
}

.demo-a2z .btn-demo-off {
    font-size: 0.82rem;
    opacity: 0.8;
}

/* ── Shimmer Override ── */
.demo-a2z .shimmer::after {
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent);
    animation: shimmerPremium 2.5s ease-in-out infinite;
}

@keyframes shimmerPremium {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

/* ── Timer Premium ── */
.demo-a2z .timer-container.timer-premium {
    background: rgba(14,14,24,0.8);
    border: 1px solid rgba(244,114,182,0.25);
    border-radius: 18px;
    padding: 22px 28px;
    backdrop-filter: blur(12px);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.3),
        0 0 30px rgba(244,114,182,0.05),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.demo-a2z .timer-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #f472b6;
    text-shadow: 0 0 15px rgba(244,114,182,0.4);
}

.demo-a2z .time-box span:first-child {
    background: rgba(10,10,18,0.9);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    min-width: 60px;
    padding: 14px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    text-shadow: 0 0 10px rgba(168,85,247,0.3);
}

.demo-a2z .time-box span.tick {
    color: #c084fc;
    text-shadow: 0 0 15px rgba(192,132,252,0.5);
}

.demo-a2z .colon {
    color: rgba(255,255,255,0.3);
    font-size: 1.8rem;
    text-shadow: 0 0 8px rgba(168,85,247,0.3);
}

.demo-a2z .time-box .label {
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── Section Tag Neon ── */
.demo-a2z .section-tag {
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.3);
    color: #c084fc;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 8px 20px;
    text-shadow: 0 0 12px rgba(192,132,252,0.4);
    box-shadow: 0 0 20px rgba(168,85,247,0.08);
}

.demo-a2z .section-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ── Demo Cards Glassmorphism ── */
.demo-a2z .demo-card {
    position: relative;
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(168,85,247,0.5) 0%,
        rgba(99,102,241,0.3) 30%,
        rgba(244,114,182,0.4) 60%,
        rgba(168,85,247,0.5) 100%
    );
    background-size: 200% 200%;
    animation: cardBorderGlow 4s ease infinite;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}

@keyframes cardBorderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.demo-a2z .demo-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(168,85,247,0.2);
}

.demo-a2z .demo-card-inner {
    background: rgba(14,14,24,0.95);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 6px;
}

.demo-a2z .demo-tag {
    background: linear-gradient(135deg, #e879f9, #a855f7);
    color: #fff;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow:
        0 4px 15px rgba(168,85,247,0.5),
        0 0 20px rgba(168,85,247,0.15);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
}

.demo-a2z .demo-media-wrapper {
    border-radius: 14px;
    overflow: hidden;
}

.demo-a2z .demo-card:hover .demo-media-wrapper img {
    transform: scale(1.08);
}

/* ── Bottom CTA Premium ── */
.demo-a2z .demo-cta-bottom {
    margin-top: 56px;
}

.demo-a2z .demo-unlock-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.demo-a2z .demo-unlock-text strong {
    color: #fff;
    background: linear-gradient(135deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-a2z .guarantee {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.demo-a2z .guarantee i {
    color: #22d3a5;
    filter: drop-shadow(0 0 6px rgba(34,211,165,0.4));
}

/* ── Sticky Bar Premium ── */
.demo-a2z .sticky-buy-bar {
    background: rgba(3,3,6,0.95);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid rgba(168,85,247,0.25);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.5), 0 -2px 20px rgba(168,85,247,0.08);
}

.demo-a2z .sticky-buy-bar .btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #000 !important;
    font-weight: 800;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow:
        0 4px 0 0 #c2410c,
        0 6px 15px rgba(249,115,22,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 0 1px 2px rgba(255,255,255,0.2);
}

.demo-a2z .sticky-buy-bar .btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 0 #c2410c,
        0 10px 25px rgba(249,115,22,0.4),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.demo-a2z .sticky-buy-bar .btn:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 0 #c2410c,
        0 4px 10px rgba(249,115,22,0.2);
}

.demo-a2z .sticky-info strong {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(168,85,247,0.3);
}

.demo-a2z .sticky-info span {
    color: rgba(255,255,255,0.5);
}

/* ── Footer Premium ── */
.demo-a2z footer {
    background: rgba(10,10,18,0.95);
    border-top: 1px solid rgba(168,85,247,0.12);
    backdrop-filter: blur(8px);
}

.demo-a2z .footer-brand .site-brand-accent {
    background: linear-gradient(135deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-a2z .footer-links a {
    color: rgba(255,255,255,0.45);
    transition: all 0.2s ease;
}

.demo-a2z .footer-links a:hover {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(192,132,252,0.3);
}

/* ── Scroll Progress Neon ── */
.demo-a2z .scroll-progress {
    background: linear-gradient(90deg,
        #e879f9 0%,
        #a855f7 25%,
        #6366f1 50%,
        #f472b6 75%,
        #22d3a5 100%);
    height: 3px;
    box-shadow: 0 0 10px rgba(168,85,247,0.5);
}

/* ── Hero Load Animation ── */
.demo-a2z .hero-load {
    opacity: 0;
    transform: translateY(30px);
    animation: heroLoadPremium 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}

.demo-a2z .hero-load:nth-child(1) { animation-delay: 0.1s; }
.demo-a2z .hero-load:nth-child(2) { animation-delay: 0.2s; }
.demo-a2z .hero-load:nth-child(3) { animation-delay: 0.3s; }
.demo-a2z .hero-load:nth-child(4) { animation-delay: 0.4s; }
.demo-a2z .hero-load:nth-child(5) { animation-delay: 0.5s; }

@keyframes heroLoadPremium {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Reveal Enhanced ── */
.demo-a2z .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.demo-a2z .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Responsive ── */
@media (max-width: 600px) {
    .demo-a2z .main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .demo-a2z .btn-primary.btn-demo-buy {
        font-size: 0.92rem;
        padding: 15px 24px;
        border-radius: 14px;
        box-shadow:
            0 6px 0 0 #5b21b6,
            0 10px 25px rgba(168,85,247,0.35),
            inset 0 1px 0 rgba(255,255,255,0.15);
    }

    .demo-a2z .btn-primary.btn-demo-buy:active {
        transform: translateY(3px);
        box-shadow:
            0 2px 0 0 #5b21b6,
            0 4px 12px rgba(168,85,247,0.25);
    }

    .demo-a2z .demo-card:hover {
        transform: none;
    }

    .demo-a2z .timer-container.timer-premium {
        padding: 16px 20px;
    }

    .demo-a2z .time-box span:first-child {
        font-size: 1.3rem;
        min-width: 46px;
        padding: 10px;
    }

    .demo-a2z .a2z-video-shell {
        border-radius: 14px;
    }

    .demo-a2z .a2z-video-shell:hover {
        transform: none;
    }
}

@media (max-width: 420px) {
    .demo-a2z .main-title {
        font-size: 1.4rem;
    }

    .demo-a2z .sub-title {
        font-size: 0.85rem;
    }
}

/* ── Clean Desktop Background to match Mobile ── */
.demo-a2z .background-effects {
    background: linear-gradient(180deg, #08080f 0%, #030306 100%) !important;
}

.demo-a2z .aurora,
.demo-a2z .mesh-gradient,
.demo-a2z .bg-spotlight,
.demo-a2z .bg-spotlight-hero,
.demo-a2z .bg-spotlight-left,
.demo-a2z .bg-spotlight-right,
.demo-a2z .noise-overlay {
    display: none !important;
}

