/* static/css/landing.css */

/* Custom global overrides */
html {
    scroll-behavior: smooth;
}

/* Glassmorphism containers spec */
.glassmorphism-container {
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scrollbars overrides */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #1f1f23;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #25D366;
}

/* Micro animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out forwards;
}

/* Highlight style */
.glow-text-whatsapp {
    text-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}
.glow-border-blue {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

/* Float Badges Animations */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes floatAnimDelayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: floatAnim 4s ease-in-out infinite;
}
.animate-float-delayed {
    animation: floatAnimDelayed 4.2s ease-in-out infinite 1.5s;
}
.animate-float-slow {
    animation: floatAnim 5s ease-in-out infinite 0.5s;
}
.animate-float-fast {
    animation: floatAnimDelayed 3.8s ease-in-out infinite 2s;
}

/* Waveform animations for the WhatsApp simulated vocal note */
.wave-bar {
    display: inline-block;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.35);
    margin: 0 1px;
    border-radius: 1px;
    transition: background-color 0.3s;
}
.wave-bar-active {
    background-color: #25D366;
}
@keyframes waveGrow {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(2.2);
    }
}
.wave-bar.animating:nth-child(2n) {
    animation: waveGrow 1.2s ease-in-out infinite;
}
.wave-bar.animating:nth-child(3n) {
    animation: waveGrow 0.8s ease-in-out infinite 0.25s;
}
.wave-bar.animating:nth-child(5n) {
    animation: waveGrow 1s ease-in-out infinite 0.45s;
}

/* Phone Mockup responsive viewport overrides of scale */
@media (max-width: 360px) {
    .phone-mock-wrapper {
        transform: scale(0.8);
        transform-origin: top center;
    }
}
@media (min-width: 361px) and (max-width: 390px) {
    .phone-mock-wrapper {
        transform: scale(0.86);
        transform-origin: top center;
    }
}
@media (min-width: 391px) and (max-width: 430px) {
    .phone-mock-wrapper {
        transform: scale(0.92);
        transform-origin: top center;
    }
}

/* Typing state dots blink */
.typing-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    animation: typingJump 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingJump {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
}
