html { scroll-behavior: smooth; }

/* Navbar scroll transition */
.navbar-transparent { background: transparent; transition: all 0.3s ease; }
.navbar-solid { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.navbar-solid .nav-link, .navbar-solid .nav-brand { color: #1e293b !important; }
.navbar-solid .nav-cta { background: #2563EB !important; color: #fff !important; }

/* Hero dot pattern */
.dot-pattern {
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Floating blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: blobFloat 8s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}
.faq-item.active .faq-answer {
    max-height: 600px;
    padding-bottom: 4px;
}
.faq-item .faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* WhatsApp phone mockup */
.phone-mockup {
    width: 280px;
    border-radius: 32px;
    border: 4px solid #333;
    overflow: hidden;
    background: #e5ddd5;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.phone-notch {
    height: 28px;
    background: #333;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    width: 50%;
}
.chat-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}
.chat-bubble.incoming { background: #fff; border-top-left-radius: 0; }
.chat-bubble.outgoing { background: #dcf8c6; border-top-right-radius: 0; margin-left: auto; }

/* Video modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}
.video-modal.active { display: flex; }

/* Mobile hamburger animation */
.hamburger span { display: block; width: 24px; height: 2px; background: currentColor; transition: all 0.3s ease; margin: 6px 0; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Counter animation */
@keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.counter-animate { animation: countUp 0.5s ease forwards; }

/* Pricing highlight pulse */
@keyframes pricePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.3); } 50% { box-shadow: 0 0 0 8px rgba(37,99,235,0); } }
.price-highlight { animation: pricePulse 2s ease-in-out infinite; }

/* Smooth gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Self-hosted plan card */
.self-hosted-card {
    background: linear-gradient(135deg, #0B1D35 0%, #1e3a5f 50%, #0d2847 100%);
    position: relative;
    overflow: hidden;
}
.self-hosted-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.self-hosted-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.self-hosted-badge {
    background: linear-gradient(135deg, #06B6D4, #2563EB);
    animation: badgeGlow 3s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(6,182,212,0.4); }
    50% { box-shadow: 0 0 20px rgba(6,182,212,0.6); }
}
.self-hosted-price-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}
.self-hosted-cta {
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}
.self-hosted-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.5);
}
.self-hosted-check {
    color: #06B6D4;
    filter: drop-shadow(0 0 4px rgba(6,182,212,0.4));
}
