.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 90;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.page-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 45%, #06b6d4 100%);
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.32);
    transition: width 0.14s linear;
}

.hero-copy > * {
    animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.48s; }

.hero-visual {
    min-height: 620px;
}

.motion-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.orb-one {
    top: 10%;
    right: 8%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, rgba(37, 99, 235, 0) 72%);
    animation: floatOrb 7s ease-in-out infinite;
}

.orb-two {
    bottom: 7%;
    left: 4%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(6, 182, 212, 0) 72%);
    animation: floatOrb 9s ease-in-out infinite reverse;
}

.visual-shell,
.floating-note,
.floating-stat {
    z-index: 1;
}

.visual-shell {
    animation: panelFloat 6.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

.dashboard-card img,
.showcase-image img,
.module-media img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.module-card:hover .module-media img,
.showcase-card:hover .showcase-image img {
    transform: scale(1.035);
    filter: saturate(1.04);
}

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

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 140%;
}

.tilt-card {
    will-change: transform;
    transform-style: preserve-3d;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tilt-card:hover {
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.11);
    border-color: rgba(37, 99, 235, 0.16);
}

.stat-card,
.trust-card,
.audience-card,
.testimonial-card,
.pricing-box,
.proof-chip,
.client-pill {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.stat-card:hover,
.pricing-box:hover,
.proof-chip:hover,
.client-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
    border-color: rgba(37, 99, 235, 0.14);
}

.module-card:hover,
.trust-card:hover,
.audience-card:hover,
.testimonial-card:hover,
.showcase-card:hover,
.demo-panel:hover,
.faq-panel:hover,
.pricing-banner:hover {
    border-color: rgba(37, 99, 235, 0.16);
}

.reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-slide-left {
    transform: translateX(-42px);
}

.reveal-slide-right {
    transform: translateX(42px);
}

.reveal-zoom {
    transform: translateY(28px) scale(0.94);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.faq-item {
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #2563eb, #06b6d4);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.faq-item.active::before {
    opacity: 1;
}

.cta-panel,
.pricing-banner,
.demo-panel {
    isolation: isolate;
}

.cta-panel::before,
.cta-panel::after {
    animation: pulseGlow 7s ease-in-out infinite;
}

.pricing-banner::after,
.demo-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.demo-panel::after {
    inset: -30% auto auto -8%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.09) 0%, rgba(6, 182, 212, 0) 70%);
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -14px, 0) scale(1.06);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy > *,
    .motion-orb,
    .visual-shell,
    .cta-panel::before,
    .cta-panel::after,
    .reveal,
    .dashboard-card img,
    .showcase-image img,
    .module-media img {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .hero-visual {
        min-height: auto;
    }

    .page-progress {
        height: 3px;
    }

    .motion-orb {
        opacity: 0.55;
    }
}
