/* Enhanced Premium Icon Styling */

/* Make emoji icons look more premium */
.proof-icon,
.step-icon,
.feature-icon,
.streak-icon {
    font-size: 56px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Premium card containers for icons */
.proof-card,
.step,
.feature-card,
.streak-card {
    position: relative;
    overflow: hidden;
}

.proof-card::before,
.step::before,
.feature-card::before,
.streak-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Animated icon effects on hover */
.proof-card:hover .proof-icon,
.step:hover .step-icon,
.feature-card:hover .feature-icon,
.streak-card:hover .streak-icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

/* Gradient overlays for sections */
.social-proof {
    position: relative;
}

.social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05), transparent 70%);
    pointer-events: none;
}

/* Enhanced phone mockup glow */
.showcase-phone img {
    position: relative;
    z-index: 1;
}

.showcase-phone {
    position: relative;
}

.showcase-phone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 60%);
    z-index: 0;
    animation: phonePulse 3s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Premium number styling */
.stat-number,
.proof-number {
    position: relative;
    display: inline-block;
}

.stat-number::after,
.proof-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover .stat-number::after,
.proof-card:hover .proof-number::after {
    opacity: 1;
}

/* Testimonial avatar gradients */
.testimonial-avatar {
    position: relative;
    overflow: hidden;
}

.testimonial-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.8),
        rgba(168, 85, 247, 0.8),
        rgba(16, 185, 129, 0.8)
    );
    animation: avatarShift 8s ease infinite;
}

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

/* CTA button enhanced */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Feature grid staggered animation */
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.25s; }
.feature-card:nth-child(5) { animation-delay: 0.3s; }
.feature-card:nth-child(6) { animation-delay: 0.35s; }
.feature-card:nth-child(7) { animation-delay: 0.4s; }
.feature-card:nth-child(8) { animation-delay: 0.45s; }
.feature-card:nth-child(9) { animation-delay: 0.5s; }
.feature-card:nth-child(10) { animation-delay: 0.55s; }
.feature-card:nth-child(11) { animation-delay: 0.6s; }
.feature-card:nth-child(12) { animation-delay: 0.65s; }
.feature-card:nth-child(13) { animation-delay: 0.7s; }
.feature-card:nth-child(14) { animation-delay: 0.75s; }
.feature-card:nth-child(15) { animation-delay: 0.8s; }

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

/* Floating particles background effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes particleFloat {
    from {
        background-position: 0 0, 40px 40px;
    }
    to {
        background-position: 50px 50px, 90px 90px;
    }
}

/* Screenshot image enhancement */
.hero-phone img,
.showcase-phone img,
.final-cta-phone img {
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.4s ease;
}

.hero-phone:hover img,
.showcase-phone:hover img,
.final-cta-phone:hover img {
    border-color: rgba(168, 85, 247, 0.6);
    transform: scale(1.02);
}
