/* ============================================
   Bluevy AI Growth Team — Main Stylesheet
   ============================================ */

* { font-family: 'Poppins', sans-serif; }

@keyframes pulse-btn {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234,88,12,0.5); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(234,88,12,0); }
}

@keyframes blink-banner {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pulse-btn { animation: pulse-btn 2s ease-in-out infinite; }
.blink-banner { animation: blink-banner 1.5s ease-in-out infinite; }
.float-card { animation: float-card 4s ease-in-out infinite; }
html { scroll-behavior: smooth; }

body {
    font-size: 20px;
    line-height: 1.7;
}

/* Typography overrides — web-friendly sizing */
.text-xs { font-size: 0.875rem !important; }
.text-sm { font-size: 1rem !important; }
.text-base { font-size: 1.125rem !important; }
.text-lg { font-size: 1.25rem !important; }
.text-xl { font-size: 1.5rem !important; }
.text-2xl { font-size: 1.875rem !important; }
.text-3xl { font-size: 2.25rem !important; }
.text-4xl { font-size: 3rem !important; }
.text-5xl { font-size: 3.75rem !important; }
.text-6xl { font-size: 4.5rem !important; }
.text-7xl { font-size: 5.25rem !important; }

.gradient-text {
    background: linear-gradient(to right, #fb923c, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Depth & Hover */
.card-depth {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-depth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Glow Text */
.glow-orange {
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

/* Fade-in Animation — card-only, safe (no opacity:0 default) */
.fade-card {
    opacity: 1;
    transform: translateY(0);
}
.fade-card.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-card.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Fix */
#mobile-menu {
    background: #08090F !important;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}
.mobile-menu-link {
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(-10px);
}
#mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-link:nth-child(5) { transition-delay: 0.25s; }

/* Smooth Scrolling for Section Nav */
.section-link {
    scroll-margin-top: 100px;
}

/* Card glow border on hover */
.card-glow {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-glow:hover {
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.08);
}

/* Gradient Button Hover Effect */
.btn-gradient {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.3);
}

/* Process Step Number */
.process-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    color: white;
}

/* Growth Loop Diagram */
.growth-loop-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.growth-loop {
    position: relative;
    width: 100%;
    height: 100%;
}

.loop-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f97316, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

.loop-item {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(17, 18, 32, 0.9);
    border: 2px solid rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.loop-item:hover {
    border-color: #f97316;
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.15);
    transform: scale(1.05);
}

/* Position items in a circle around center */
.loop-item-1 { top: 0; left: 50%; transform: translateX(-50%); }          /* Research - top */
.loop-item-2 { top: 50%; right: 0; transform: translateY(-50%); }         /* Create - right */
.loop-item-3 { bottom: 0; left: 50%; transform: translateX(-50%); }       /* Launch - bottom */
.loop-item-4 { top: 50%; left: 0; transform: translateY(-50%); }          /* Analyze - left */
.loop-item-5 { top: 12%; right: 12%; }                                     /* Learn - top-right */
.loop-item-6 { bottom: 12%; left: 12%; }                                   /* Optimize - bottom-left */

.loop-item-5, .loop-item-6 { width: 80px; height: 80px; font-size: 12px; }

.loop-repeat {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #f97316;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
}
.industry-card:hover {
    transform: translateY(-3px);
}

/* Social Proof Toast Notifications */
.social-toast {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 9998;
    background: #1a1d30;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 320px;
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-toast.show {
    transform: translateX(0);
}
.social-toast-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: white;
}
.social-toast-text {
    flex: 1;
    min-width: 0;
}
.social-toast-text p {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.4;
    margin: 0;
}
.social-toast-text p strong {
    color: white;
}
.social-toast-text span {
    font-size: 12px;
    color: #6b7280;
}

/* Exit-Intent Popup */
.exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.exit-overlay.open {
    display: flex;
    opacity: 1;
}
.exit-modal {
    background: #111220;
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 20px;
    padding: 32px 28px 28px;
    max-width: 440px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.exit-overlay.open .exit-modal {
    transform: scale(1) translateY(0);
}
.exit-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.exit-modal-close:hover {
    background: rgba(255,255,255,0.15);
}
.exit-modal-icon {
    font-size: 56px;
    margin-bottom: 12px;
}
.exit-modal h3 {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}
.exit-modal p {
    color: #9ca3af;
    font-size: 16px;
    margin: 0 0 20px;
    line-height: 1.5;
}
.exit-modal .exit-cta {
    display: block;
    background: linear-gradient(to right, #f97316, #dc2626);
    color: white;
    font-weight: 700;
    font-size: 17px;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    border: none;
    width: 100%;
}
.exit-modal .exit-cta:hover {
    opacity: 0.9;
}
.exit-modal .exit-skip {
    display: inline-block;
    margin-top: 14px;
    color: #6b7280;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}
.exit-modal .exit-skip:hover {
    color: #9ca3af;
}

/* Mobile Menu Animation */
#mobile-menu {
    background: #08090F !important;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}
.mobile-menu-link {
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(-10px);
}
#mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll offset for section anchors */
section[id] {
    scroll-margin-top: 100px;
}

/* Sticky Section Nav */
.section-nav {
    position: sticky;
    top: 72px;
    z-index: 40;
    background: rgba(8, 9, 15, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 0;
    display: none;
}
.section-nav.visible {
    display: block;
}
.section-nav-inner {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav-link {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}
.section-nav-link:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}
.section-nav-link.active {
    color: #f97316;
    background: rgba(249, 115, 22, 0.15);
}
.light-mode .section-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
}
.light-mode .section-nav-link {
    color: #6b7280;
}
.light-mode .section-nav-link:hover {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.08);
}
.light-mode .section-nav-link.active {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.12);
}
@media (max-width: 767px) {
    .section-nav {
        top: 64px;
        padding: 4px 0;
    }
    .section-nav-inner {
        justify-content: flex-start;
        gap: 1px;
    }
    .section-nav-link {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

/* Scroll-Triggered CTA Slide-In */
.scroll-cta {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(120%);
    z-index: 9996;
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    writing-mode: vertical-lr;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.scroll-cta.show {
    transform: translateY(-50%) translateX(0);
}
.scroll-cta:hover {
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9997;
    background: rgba(8, 9, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.light-mode .sticky-mobile-cta {
    background: rgba(255,255,255,0.95) !important;
    border-top: 1px solid #e5e7eb !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.light-mode .whatsapp-float {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

/* FAQ Accordion */
.faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.faq-item {
    transition: border-color 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 0;
    background: none;
    border: none;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* Glass Card Effect */
.glass {
    background: rgba(17, 18, 32, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Stats Card */
.stat-card {
    text-align: center;
    padding: 20px 16px;
}
.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(to right, #fb923c, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.stat-label {
    color: #9ca3af;
    font-size: 15px;
    margin-top: 4px;
}

/* Light Mode — Complete Redesign */
.light-mode {
    background: #f8fafc !important;
}

.light-mode .text-white { color: #111827 !important; }
.light-mode .text-gray-100 { color: #1f2937 !important; }
.light-mode .text-gray-200 { color: #374151 !important; }
.light-mode .text-gray-300 { color: #4b5563 !important; }
.light-mode .text-gray-400 { color: #4b5563 !important; }
.light-mode .text-gray-500 { color: #6b7280 !important; }
.light-mode .text-gray-600 { color: #6b7280 !important; }

.light-mode .bg-\[\#111220\] {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04) !important;
}
.light-mode .bg-\[\#08090F\] {
    background: #f8fafc !important;
}
.light-mode .bg-\[\#0D0F1C\] {
    background: #f1f5f9 !important;
}
.light-mode .bg-\[\#0C0D15\] {
    background: #f1f5f9 !important;
}

.light-mode .fixed.top-0 {
    background: rgba(255,255,255,0.95) !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.light-mode footer {
    background: #1f2937 !important;
}
.light-mode footer .text-gray-400 {
    color: #9ca3af !important;
}
.light-mode footer .text-gray-500 {
    color: #9ca3af !important;
}
.light-mode footer .text-gray-600 {
    color: #9ca3af !important;
}
.light-mode footer .text-gray-700 {
    color: #6b7280 !important;
}
.light-mode footer .text-white {
    color: #f3f4f6 !important;
}
.light-mode footer a:hover.text-white {
    color: #f97316 !important;
}

.light-mode .bg-\[\#030a33\] {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}
.light-mode .bg-white\/5 {
    background: rgba(0,0,0,0.02) !important;
}
.light-mode .bg-white\/10 {
    background: rgba(0,0,0,0.04) !important;
    border-color: #e5e7eb !important;
}
.light-mode .border-white\/10 {
    border-color: #e5e7eb !important;
}
.light-mode .border-white\/5 {
    border-color: #e5e7eb !important;
}

.light-mode .text-orange-400, .light-mode .text-orange-500, .light-mode .text-orange-600 {
    color: #ea580c !important;
}
.light-mode .text-orange-300 {
    color: #ea580c !important;
}
.light-mode .bg-orange-500, .light-mode .bg-orange-600 {
    background: #ea580c !important;
}
.light-mode .border-orange-500 {
    border-color: #ea580c !important;
}
.light-mode .from-orange-500 {
    --tw-gradient-from: #ea580c !important;
}
.light-mode .to-red-600 {
    --tw-gradient-to: #dc2626 !important;
}
.light-mode .text-emerald-400 {
    color: #059669 !important;
}
.light-mode .text-emerald-500 {
    color: #059669 !important;
}
.light-mode .text-green-400 {
    color: #059669 !important;
}
.light-mode .bg-green-500\/10 {
    background: rgba(5, 150, 105, 0.08) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
}
.light-mode .bg-orange-500\/10 {
    background: rgba(234, 88, 12, 0.08) !important;
    border-color: rgba(234, 88, 12, 0.25) !important;
}

.light-mode .social-toast {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}
.light-mode .social-toast-text p { color: #4b5563 !important; }
.light-mode .social-toast-text p strong { color: #111827 !important; }

.light-mode .exit-modal {
    background: #ffffff !important;
}
.light-mode .exit-modal h3 { color: #111827 !important; }
.light-mode .exit-modal p { color: #6b7280 !important; }

.light-mode .loop-item {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    color: #111827 !important;
}

.light-mode #hero {
    background: #f8fafc !important;
}
.light-mode #hero > .absolute.inset-0 {
    background: #f1f5f9 !important;
}
.light-mode #hero .bg-gradient-to-b {
    opacity: 0 !important;
}
.light-mode #hero .pulse-btn {
    color: #fff !important;
}
.light-mode #hero a.bg-white\/10 {
    background: rgba(0,0,0,0.05) !important;
    border-color: #d1d5db !important;
    color: #374151 !important;
}

/* Toast and notification animation */
@keyframes toastIn {
    0% { transform: translateX(-120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-120%); opacity: 0; }
}

/* Mobile Overrides */
@media (max-width: 768px) {
    body { font-size: 20px; line-height: 1.6; }
    h1 { font-size: 2.8rem !important; line-height: 1.2 !important; }
    h2 { font-size: 2.2rem !important; line-height: 1.25 !important; }
    h3 { font-size: 1.7rem !important; }
    h4 { font-size: 1.5rem !important; }
    .text-sm { font-size: 1.15rem !important; }
    .text-xs { font-size: 1rem !important; }
    .text-base { font-size: 1.25rem !important; }
    .text-lg { font-size: 1.4rem !important; }
    .text-xl { font-size: 1.6rem !important; }
    .text-2xl { font-size: 1.9rem !important; }
    .text-3xl { font-size: 2.1rem !important; }
    section { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    section > div { padding-left: 1rem !important; padding-right: 1rem !important; }
    .bg-\[\#111220\] { border-radius: 12px !important; }
    .pulse-btn { font-size: 1.2rem !important; padding: 16px 28px !important; width: 100% !important; }

    .social-toast {
        bottom: 80px;
        left: 10px;
        max-width: 280px;
        padding: 10px 14px;
    }
    .exit-modal {
        padding: 28px 20px 24px;
    }
    .exit-modal-icon { font-size: 40px; }
    .exit-modal h3 { font-size: 18px; }
    .scroll-cta { display: none; }
    .stat-number { font-size: 2.2rem; }
    .process-step-number { width: 36px; height: 36px; font-size: 15px; }
    .industry-card { padding: 1rem !important; }

    /* Growth loop mobile */
    .growth-loop-container {
        width: 240px;
        height: 240px;
    }
    .loop-item {
        width: 72px;
        height: 72px;
        font-size: 11px;
    }
    .loop-item-5, .loop-item-6 { width: 60px; height: 60px; font-size: 10px; }
    .loop-center { width: 56px; height: 56px; }
    .loop-center i { font-size: 1.5rem !important; }
    .loop-repeat { font-size: 12px; bottom: -40px; }

    /* Switch table - make responsive on mobile */
    .switch-table { font-size: 0.85rem; }
    .switch-table th, .switch-table td { padding: 8px 10px !important; }
    .switch-table td { font-size: 0.8rem !important; }
}

/* ============================================
   Switch Table (3-column "Why Switch" comparison)
   ============================================ */
.switch-table {
    font-size: 0.95rem;
}
.switch-table th {
    white-space: nowrap;
}
.switch-table td {
    vertical-align: middle;
    font-size: 0.95rem;
}
.light-mode .switch-table .bg-gradient-to-b {
    background: #f8fafc !important;
}
.light-mode .switch-table .border-orange-500\/30 {
    border-color: rgba(234, 88, 12, 0.3) !important;
}

/* ============================================
   Audit Section Cards
   ============================================ */
.audit-card {
    transition: all 0.3s ease;
}
.audit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 115, 22, 0.3) !important;
}

/* ============================================
   Sticky CTA Bar Adjustments
   ============================================ */
.whatsapp-float {
    bottom: 100px !important;
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px !important;
        width: 48px !important;
        height: 48px !important;
    }
    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ============================================
   Revenue Calculator Range Slider
   ============================================ */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    outline: none;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}
.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #dc2626);
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.2);
}
.light-mode .range-slider {
    background: rgba(0,0,0,0.1) !important;
}

/* ============================================
   Pricing Popular Card Glow
   ============================================ */
.pricing-popular {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.15), 0 0 80px rgba(249, 115, 22, 0.05);
    transform: scale(1.02);
}
.light-mode .pricing-popular {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.1), 0 0 80px rgba(249, 115, 22, 0.03) !important;
}
@media (max-width: 768px) {
    .pricing-popular {
        transform: scale(1);
    }
}

/* ============================================
   Timeline / Monthly Progress Section
   ============================================ */
.timeline-card {
    transition: all 0.3s ease;
}
.timeline-card:hover {
    transform: translateX(4px);
    border-color: rgba(249, 115, 22, 0.3) !important;
}
.light-mode .timeline-card {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

/* ============================================
   Who It's NOT For - filter cards
   ============================================ */
.filter-card {
    transition: all 0.3s ease;
}
.filter-card:hover {
    transform: translateY(-2px);
}

/* ============================================
   Responsive pricing cards
   ============================================ */
@media (max-width: 768px) {
    #pricing .grid {
        gap: 1rem;
    }
    #pricing .rounded-xl {
        padding: 1.25rem !important;
    }
}

/* Light mode overrides for new sections */
.light-mode .bg-gradient-to-b.from-orange-500\/10 {
    background: #f8fafc !important;
}
.light-mode .bg-gradient-to-r.from-orange-500\/10 {
    background: rgba(234, 88, 12, 0.04) !important;
}

/* ============================================
   Case Study Cards
   ============================================ */
.case-card {
    transition: all 0.3s ease;
}
.case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.light-mode .case-card {
    background: #ffffff !important;
}

/* ============================================
   Qualification Form Elements
   ============================================ */
#qualify select, #qualify input[type="tel"] {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
#qualify select option {
    background: #111220;
    color: white;
}
.light-mode #qualify select option {
    background: #ffffff;
    color: #111827;
}

/* ============================================
   Case Study Before/After badges
   ============================================ */
.stat-badge-before {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.stat-badge-after {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ============================================
   Revenue Journey Section
   ============================================ */
.revenue-journey-step {
    transition: all 0.3s ease;
}
.revenue-journey-step:hover {
    transform: translateX(4px);
    border-color: rgba(249, 115, 22, 0.3) !important;
}

/* ============================================
   Competitor Intelligence Preview Cards
   ============================================ */
.report-preview-card {
    transition: all 0.3s ease;
}
.report-preview-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.light-mode .report-preview-card {
    background: #ffffff !important;
}

/* ============================================
   WhatsApp Proof Section
   ============================================ */
.whatsapp-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.light-mode .whatsapp-comparison > div {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}

/* ============================================
   WhatsApp Chat Animation
   ============================================ */
.chat-msg {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.chat-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Scroll Reveal Animation System
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Animated Counter */
.counter-animate { display: inline-block; }

/* Card Hover Lift */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* Pulse Ring for CTA */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(249,115,22,0); }
    100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.pulse-ring { animation: pulse-ring 2s infinite; }

/* Animated Progress Bars */
.meter-bar { height: 8px; border-radius: 4px; background: #1a1d30; overflow: hidden; }
.meter-fill { height: 100%; border-radius: 4px; transition: width 1.5s ease-out; width: 0; }
.meter-fill.animate { /* width set by inline style */ }

/* Slide-in from Left/Right */
.slide-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.slide-right { opacity: 0; transform: translateX(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.slide-left.revealed, .slide-right.revealed { opacity: 1; transform: translateX(0); }

/* Activity Notification Toast */
.activity-toast {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 9990;
    background: rgba(17,18,32,0.95);
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}
.activity-toast.show { transform: translateY(0); opacity: 1; }
.activity-toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Exit Intent WhatsApp Popup */
/* ============================================
   Product Tour Section
   ============================================ */
#product-tour img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
#product-tour img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}
#product-tour .group:hover .blur {
    opacity: 1;
}

/* Video Demo Section */
#video-demo iframe {
    border: none;
}

/* Founder Photo */
#founder img {
    transition: transform 0.3s ease;
}
#founder img:hover {
    transform: scale(1.05);
}

/* Product Tour Responsive */
@media (max-width: 768px) {
    #product-tour img {
        max-height: 300px;
        object-fit: contain;
    }
}

/* ============================================
   Lightbox Modal for Screenshots
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}
.lightbox-overlay.open {
    display: flex;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: default;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
/* Clickable screenshot styling */
#product-tour img, .screenshot-grid img {
    cursor: pointer;
}

/* ============================================
   CRO-Ranked Submenu Dropdown
   ============================================ */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #111220;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    z-index: 100;
    margin-top: 4px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}
/* Mobile submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-submenu.open {
    max-height: 600px;
}
.mobile-submenu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 10px 28px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.15s ease;
}
.mobile-submenu a:hover {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}
