* { -webkit-font-smoothing: antialiased; }
html, body { overflow-x: hidden; max-width: 100vw; }
::selection { background: rgba(59, 130, 246, 0.3); color: #eff6ff; }

.glass-nav {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gradient-text {
    background: linear-gradient(to bottom, #ffffff, rgba(255,255,255,0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-glow {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), 0 0 60px rgba(59, 130, 246, 0.15);
}
.cta-glow:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 80px rgba(59, 130, 246, 0.25);
}
.card-hover {
    transition: all 300ms ease;
}
.card-hover:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}
.price-strike {
    position: relative;
}
.price-strike::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 3px;
    background: #ef4444;
    transform: rotate(-8deg);
}
.carousel-track {
    transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ebook-shadow {
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(59,130,246,0.1);
}
.urgency-bar {
    background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}
.badge-new {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 700ms ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.count-pulse {
    animation: countPulse 2s ease-in-out infinite;
}
.star-filled { color: #facc15; }

/* ===== MOBILE FIXES ===== */
@media (max-width: 640px) {
    /* Prevent absolute/fixed elements from causing scroll */
    .ebook-shadow {
        box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(59,130,246,0.1);
    }
    /* Urgency bar wraps gracefully */
    .urgency-bar {
        font-size: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
        line-height: 1.4;
    }
    /* Hero section gets enough top padding for double-line urgency bar + nav */
    section:first-of-type {
        padding-top: max(8rem, calc(var(--bar-h, 42px) + 4rem + 64px));
    }
    /* Ticker text stays on one line (clips, doesn't wrap) */
    .ticker-item {
        font-size: 12px;
    }
    /* Price cards full-width comfortable reading */
    .glass-panel.rounded-2xl {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    /* Alert headline smaller on tiny screens */
    .bg-red-600 p {
        font-size: 15px;
    }
}

