/* assets/css/style.css */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    /* --- transform: translateY(0); --- */
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* --- Hero Visual Shapes & Animations --- */
.hero-wrapper {
    min-height: calc(100vh - 80px);
}

.shape-red-top {
    position: absolute;
    top: -12%;
    right: 41%;
    width: 140px;
    height: 140px;
    background-color: #FF4B3A;
    border-radius: 50%;
    z-index: 1;
    animation: floatTop 6s ease-in-out infinite;
}

.shape-green-large {
    position: absolute;
    bottom: -24%;
    right: -30%;
    width: 550px;
    height: 550px;
    background-color: #C7F224;
    border-radius: 50%;
    z-index: 2;
    animation: continuousDrop 8s ease-in-out infinite;
}

.shape-red-bottom {
    position: absolute;
    bottom: -25%;
    left: 10%;
    width: 320px;
    height: 320px;
    background-color: #FF4B3A;
    border-radius: 50%;
    z-index: 3;
    animation: continuousDrop 7s ease-in-out infinite; 
}

/* --- Overlapping Cards --- */
.card-main {
    position: absolute;
    top: 20%;
    right: 10%;
    background-color: #1A1A1A;
    width: 400px;
    padding: 32px;
    border-radius: 24px;
    z-index: 20;
    box-shadow: 0 40px 60px -15px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.card-seo {
    position: absolute;
    top: 61%;
    right: 30%;
    background-color: #C7F224;
    padding: 16px 20px;
    border-radius: 12px;
    transform: rotate(-13deg);
    z-index: 10;
    width: 280px;
    box-shadow: -10px 15px 30px rgba(0,0,0,0.1);
}

/* --- Marquee Animation --- */
.marquee-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #111;
    padding: 12px 0;
    z-index: 30;
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    padding: 0 30px;
    color: white;
    display: flex;
    align-items: center;
}

/* --- CTA Glow Effect --- */
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: #C7F224;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

/* --- Neon Glow Buttons for CTA Section --- */
.btn-whatsapp:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4), inset 0 0 10px rgba(255,255,255,0.2);
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.btn-facebook:hover {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.6), 0 0 30px rgba(24, 119, 242, 0.4), inset 0 0 10px rgba(255,255,255,0.2);
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.btn-gmail:hover {
    background-color: white;
    color: black;
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4), inset 0 0 10px rgba(255,255,255,0.2);
}

.progress-bar-fill {
    width: 0%;
    transition: width 2s ease-out;
}

/* Scroll To Top State */
.scroll-top-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* --- Review Styles --- */
.hide-scroll::-webkit-scrollbar {
    display: none;
}
.hide-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Clamp review text for minimalist card look */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#reviewModal.active, #viewReviewModal.active {
    display: flex;
    opacity: 1;
}

#reviewModal.active > div.relative.z-10, #viewReviewModal.active > div.relative {
    transform: scale(1);
}

.star {
    transition: color 0.2s ease-in-out;
}

/* Keyframes */
@keyframes floatTop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(30px); }
}

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

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.animate-blink { animation: blink 1.5s infinite; }
