/* Premium Visual Effects & Polish */

/* Glassmorphism for cards */
.feature-card,
.proof-card,
.streak-card,
.testimonial-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Premium gradient text effects */
.hero-title {
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.section-title {
    background: linear-gradient(135deg, #FFFFFF 0%, #3B82F6 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

/* Premium shadows */
.phone-mockup {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(168, 85, 247, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Smooth reveal animations for sections */
@media (prefers-reduced-motion: no-preference) {
    .hero-phone {
        animation: slideInRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    
    .hero-text {
        animation: slideInLeft 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Premium hover states for buttons */
.btn {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Spotlight effect on cards */
.feature-card,
.proof-card,
.streak-card {
    position: relative;
}

.feature-card::after,
.proof-card::after,
.streak-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(59, 130, 246, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::after,
.proof-card:hover::after,
.streak-card:hover::after {
    opacity: 1;
}

/* Premium scroll progress indicator */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    width: var(--scroll-progress, 0%);
    transition: width 0.1s ease;
}

/* Enhanced FAQ accordion */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Testimonial scroll shadow indicators */
.testimonials-scroll {
    position: relative;
}

.testimonials-scroll::before,
.testimonials-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 2;
}

.testimonials-scroll::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-darker), transparent);
}

.testimonials-scroll::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-darker), transparent);
}

/* Premium stats counter animation trigger */
.stat-number,
.proof-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

/* Enhanced section transitions */
.showcase {
    transition: background-color 0.6s ease;
}

/* Premium logo shine effect */
.logo img {
    animation: logoShine 4s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.8));
    }
}

/* Mobile menu smooth transition */
.mobile-menu {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-menu-content {
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer enhancement */
.footer {
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    background: linear-gradient(180deg, var(--bg-darker) 0%, #0A0A0F 100%);
}

/* CTA section dramatic effect */
.final-cta {
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 50%);
    animation: rotateBg 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.final-cta .container {
    position: relative;
    z-index: 1;
}
