/* ============================================================
   ZAPZIA — landing.css
   Estilos exclusivos da landing page pública
   ============================================================ */

/* ── Animações de entrada ──────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse-border {
    0%, 100% { border-color: rgba(124,58,237,0.4); }
    50%       { border-color: rgba(124,58,237,0.9); }
}

/* ── Classes utilitárias de animação ──────────────────────── */
.animate-float    { animation: float 4s ease-in-out infinite; }
.animate-fade-up  { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-left{ animation: fadeInLeft 0.6s ease forwards; }
.animate-pulse-border { animation: pulse-border 2s ease-in-out infinite; }

/* ── Texto com gradiente animado ──────────────────────────── */
.text-shimmer {
    background: linear-gradient(90deg, #a78bfa, #60a5fa, #a78bfa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ── Navbar com scroll effect ─────────────────────────────── */
.navbar-solid {
    background: rgba(9,9,18,0.97) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ── Hero gradiente de fundo ─────────────────────────────── */
.hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,0.2), transparent),
        radial-gradient(ellipse 40% 40% at 80% 60%, rgba(37,99,235,0.1), transparent),
        #030712;
}

/* ── Grade decorativa ────────────────────────────────────── */
.grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ── Cards de preço com destaque ─────────────────────────── */
.plan-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.plan-card-popular {
    background: linear-gradient(145deg, #1a1040, #0f1a35);
    border: 1px solid rgba(124,58,237,0.5);
    box-shadow: 0 0 40px rgba(124,58,237,0.12), 0 0 0 1px rgba(124,58,237,0.15);
}

/* ── Chat mockup ─────────────────────────────────────────── */
.chat-mockup-wrapper {
    filter: drop-shadow(0 32px 64px rgba(0,0,0,0.6));
}
.chat-mockup-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(124,58,237,0.15), transparent 70%);
    border-radius: 2rem;
    z-index: -1;
}

/* ── Cards flutuantes do hero ────────────────────────────── */
.float-card {
    backdrop-filter: blur(12px);
    background: rgba(17,24,39,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ── Seção de features ───────────────────────────────────── */
.feature-card {
    transition: all 0.2s ease;
    border: 1px solid #1f2937;
}
.feature-card:hover {
    border-color: rgba(124,58,237,0.5);
    background: rgba(124,58,237,0.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124,58,237,0.08);
}

/* ── Depoimentos ─────────────────────────────────────────── */
.testimonial-card {
    transition: transform 0.2s ease;
}
.testimonial-card:hover {
    transform: translateY(-3px);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s ease;
}
.faq-answer.open {
    max-height: 300px;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-icon.open {
    transform: rotate(180deg);
}

/* ── CTA final ───────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg,
        rgba(124,58,237,0.08) 0%,
        rgba(37,99,235,0.08) 100%
    );
    border: 1px solid rgba(124,58,237,0.2);
}

/* ── WhatsApp float ──────────────────────────────────────── */
.wpp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 40;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wpp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* ── Números de stats ────────────────────────────────────── */
.stat-number {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scroll reveal (aplicado via JS) ────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .chat-mockup-wrapper { display: none; }
    .hero-bg { min-height: auto; padding-top: 5rem; }
}
@media (max-width: 640px) {
    .plan-card-popular { transform: none; }
}
