/* 1. Floating Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #00E676;
    color: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 10px 30px -10px rgba(0, 230, 118, 0.6);
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px -10px rgba(0, 230, 118, 0.8);
}

/* 2. Progress Scroll Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: #00E676;
    width: 0%;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.8);
    transition: width 0.1s ease-out;
}

/* 3. Mouse Glow Effect */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s;
    opacity: 0;
    filter: blur(80px);
}

/* 5. Floating Background Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: floatShape 20s infinite alternate ease-in-out;
    opacity: 0.3;
}
.shape-1 { width: 300px; height: 300px; background: rgba(255, 255, 255, 0.1); top: 10%; left: 10%; }
.shape-2 { width: 400px; height: 400px; background: rgba(0, 230, 118, 0.05); bottom: 20%; right: 5%; animation-delay: -5s; }

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* 7. Hover Cards Enhancement */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

/* 8. Button Shine */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* 9. Result Cards */
.result-card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.result-card-hover:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 30px 60px -10px rgba(0, 230, 118, 0.2);
    border-color: #00E676;
}

/* 10. Success Story Cards */
.story-card {
    transition: all 0.4s ease;
    border: 2px solid transparent;
}
.story-card:hover {
    border-color: #00E676;
    transform: translateY(-5px);
}
.story-card:hover .quote-icon {
    animation: bounce 1s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 13. FAQ Accordion Height */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}
.faq-content.open {
    opacity: 1;
}

/* 17. Floating eBook */
.float-ebook {
    animation: floatEbook 4s ease-in-out infinite;
}
@keyframes floatEbook {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 19. CTA Pulse */
.cta-pulse {
    animation: ctaPulse 8s infinite;
}
@keyframes ctaPulse {
    0%, 90%, 100% { transform: scale(1); box-shadow: 0 10px 30px -10px rgba(0, 230, 118, 0.4); }
    95% { transform: scale(1.05); box-shadow: 0 20px 40px -10px rgba(0, 230, 118, 0.8); }
}

/* 20. Cursor Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(0, 230, 118, 0.4);
    pointer-events: none;
}
@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 22. Green Floating Particles */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}
.particle {
    position: absolute;
    background-color: #00E676;
    border-radius: 50%;
    opacity: 0.15;
    animation: particleFloat 15s infinite linear;
}
@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-1000px) rotate(360deg); opacity: 0; }
}

/* 23. Marquee Strip */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #111111;
    color: white;
    padding: 12px 0;
    display: flex;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}
.marquee-item {
    margin: 0 30px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.marquee-item i {
    color: #00E676;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 25. Premium Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #FFFFFF;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.loading-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    color: #111111;
    opacity: 0;
}
.loading-bar-container {
    width: 200px;
    height: 2px;
    background: #E5E7EB;
    margin-top: 20px;
    overflow: hidden;
    opacity: 0;
}
.loading-bar {
    width: 0%;
    height: 100%;
    background: #00E676;
}
.loading-text {
    margin-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4B5563;
    opacity: 0;
}

/* General Text Reveal Hide */
.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.reveal-text > span {
    display: inline-block;
    transform: translateY(100%);
}

/* Timeline specific styles */
.timeline-circle {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.timeline-circle.active {
    background-color: #00E676;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
    border-color: #00E676;
}
.timeline-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #00E676;
    left: 24px;
    transform-origin: top;
    transform: scaleY(0);
    z-index: 1;
}
@media (min-width: 768px) {
    .timeline-progress {
        left: 50%;
        transform: translateX(-50%) scaleY(0);
    }
}
