:root {
    --bg-main: #fbfbfd; /* Apple-style clean off-white */
    --bg-glow: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.04);
    --primary: #0066cc; /* Apple-style blue */
    --primary-hover: #004499;
    --accent: #5e5ce6;
    --text-main: #1d1d1f; /* Apple-style dark text */
    --text-muted: #86868b; /* Apple-style gray text */
    --bento-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
body::before, body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}

body::before {
    top: -100px;
    left: -100px;
    background: var(--primary);
}

body::after {
    bottom: -200px;
    right: -100px;
    background: var(--accent);
}

/* Typography */
h1, h2, h3, .logo, .tier, .price {
    font-family: 'Outfit', sans-serif;
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(0,0,0,0.05);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Glass Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--bento-shadow);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, #1e40af, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a:not([class*="btn"]) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:not([class*="btn"]):hover {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Mockup Code */
.mockup-code {
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-code .dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-code .dots span {
    width: 12px; height: 12px; border-radius: 50%;
}
.mockup-code .red { background: #ff5f56; }
.mockup-code .yellow { background: #ffbd2e; }
.mockup-code .green { background: #27c93f; }

.mockup-code pre {
    color: #a5b4fc;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Features */
.features, .pricing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Bento Grid Features */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    grid-auto-flow: dense;
    gap: 24px;
    padding: 20px 0;
}

.bento-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--bento-shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.bento-item.wide {
    grid-column: span 2;
}
.bento-item.tall {
    grid-row: span 2;
}

.bento-item .icon {
    font-size: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.wide {
        grid-column: span 1;
    }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,1));
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.tier {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.pricing-card.popular .tier {
    color: #7c3aed;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card .desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    min-height: 40px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex: 1;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-muted);
}

.pricing-card .btn-primary, .pricing-card .btn-outline {
    width: 100%;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    margin-top: 60px;
    background: rgba(255,255,255,0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; padding: 15px 20px; }
    .hamburger { display: block; }
    .nav-links { 
        display: none; 
        width: 100%; 
        flex-direction: column; 
        gap: 15px; 
        margin-top: 20px; 
        text-align: center; 
        background: rgba(15, 23, 42, 0.95);
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .hero { flex-direction: column; text-align: center; padding-top: 130px; }
    .hero h1 { font-size: 32px; }
    .hero p { margin: 0 auto 30px; font-size: 15px; }
    .hero-actions { flex-direction: column; gap: 15px; width: 100%; }
    .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}

/* Social Proof Popup */
.sp-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 300px;
}

.sp-hidden {
    transform: translateY(150px);
    opacity: 0;
    visibility: hidden;
}

.sp-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sp-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sp-icon {
    font-size: 24px;
    background: rgba(59, 130, 246, 0.2);
    padding: 10px;
    border-radius: 50%;
}

.sp-text {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
}

.sp-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Wahnotif AI Support Widget */
#wahnotif-ai-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

#ai-widget-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4c1d95); /* Wahnotif Logo Purple */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    transition: transform 0.3s;
    position: relative;
}

#ai-widget-button:hover {
    transform: scale(1.1) rotate(10deg);
}

#ai-widget-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--bg-dark);
}

#ai-widget-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

#ai-widget-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.ai-widget-header {
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(59,130,246,0.2), rgba(139,92,246,0.2));
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.ai-widget-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-msg {
    display: flex;
    max-width: 85%;
}

.ai-msg.received {
    align-self: flex-start;
}

.ai-msg.sent {
    align-self: flex-end;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.ai-msg.received .msg-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-top-left-radius: 4px;
    color: var(--text-main);
}

.ai-msg.sent .msg-bubble {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-top-right-radius: 4px;
    color: white;
}

.ai-widget-footer {
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
}

#ai-widget-input {
    flex: 1;
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px 15px;
    color: white;
    outline: none;
    font-family: inherit;
}

#ai-widget-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

#ai-widget-send:hover {
    background: var(--primary-hover);
}

@media (max-width: 480px) {
    #ai-widget-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
        height: 60vh;
    }
}

/* WIBI CHAT WIDGET STYLES */
#wibi-chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#wibi-chat-toggle:hover {
    transform: scale(1.1);
}

#wibi-chat-widget {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 140px);
    background: #1e1e2d;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}
#wibi-chat-widget.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#wibi-chat-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #7c3aed, #4c1d95); /* Wahnotif Logo Purple */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wibi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
#wibi-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
}
#wibi-close-btn:hover {
    opacity: 1;
}

#wibi-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.wibi-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.bot-msg {
    background: #2a2a3c;
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.user-msg {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.typing-indicator {
    display: none;
    align-self: flex-start;
    background: #2a2a3c;
    padding: 12px 16px;
    border-radius: 15px;
    border-bottom-left-radius: 4px;
}
.typing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
    margin: 0 2px;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

#wibi-chat-input-area {
    padding: 15px;
    background: #181824;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
#wibi-chat-input {
    flex: 1;
    background: #2a2a3c;
    border: none;
    padding: 12px 15px;
    border-radius: 25px;
    color: white;
    outline: none;
}
#wibi-chat-input::placeholder {
    color: #94a3b8;
}
#wibi-chat-send {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}
#wibi-chat-send:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    #wibi-chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 100px;
        height: 60vh;
    }
}

/* =========================================
   DYNAMIC CLIENT LOGOS
   ========================================= */
.client-logos-wrapper {
    background: var(--bg-alt);
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}
.logos-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logos-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}
/* Gradient mask for smooth fade on edges */
.logos-ticker::before, .logos-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.logos-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt) 0%, transparent 100%);
}
.logos-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt) 0%, transparent 100%);
}
.logos-track {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: scrollLogos 30s linear infinite;
    white-space: nowrap;
    padding: 0 25px;
}
.logos-track img {
    height: 35px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}
.logos-track img:hover {
    filter: grayscale(0%) opacity(1);
}
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   DYNAMIC TESTIMONIALS
   ========================================= */
.testimonials-section {
    padding: 80px 5%;
    background: var(--bg-dark);
}

.billing-toggle {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-billing {
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-billing.active {
    background: var(--primary);
    color: white !important;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}
.testimonial-card {
    background: var(--bg-alt);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.testimonial-stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 2px;
}
.testimonial-content {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name {
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
    font-size: 16px;
}
.testimonial-role {
    color: var(--primary);
    font-size: 12px;
    margin: 0;
}

/* =========================================
   WHATSAPP PHONE MOCKUP — HERO SECTION
   ========================================= */

.wa-phone-mockup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floatPhone 4s ease-in-out infinite;
}

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

.wa-phone-frame {
    width: 320px;
    height: 600px;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow:
        0 0 0 8px #1a1a2e,
        0 0 0 10px #2d2d4e,
        0 40px 80px rgba(0,0,0,0.35),
        0 0 60px rgba(37,211,102,0.12);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid #111;
}

/* Notch */
.wa-phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 18px 18px;
    z-index: 20;
}

/* Status Bar */
.wa-status-bar {
    background: #008069;
    padding: 28px 16px 4px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.wa-status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* WA Chat Header */
.wa-chat-header {
    background: #008069;
    padding: 8px 12px 10px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.wa-back-icon {
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    margin-right: 2px;
}

.wa-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.wa-avatar-img {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #128c7e, #25d366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.wa-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #25d366;
    border: 2px solid #008069;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.wa-contact-info {
    flex: 1;
    min-width: 0;
}

.wa-contact-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', sans-serif;
}

.wa-contact-status {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-top: 1px;
}

.wa-header-icons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Chat Body */
.wa-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 10px 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    /* WA chat wallpaper */
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23c8b9a8' opacity='0.4'/%3E%3C/svg%3E");
    scrollbar-width: none;
}

.wa-chat-body::-webkit-scrollbar {
    display: none;
}

/* Date Badge */
.wa-date-badge {
    text-align: center;
    font-size: 11px;
    color: #54656f;
    background: rgba(225,221,216,0.95);
    border-radius: 8px;
    padding: 4px 12px;
    margin: 4px auto 8px auto;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-family: 'Inter', sans-serif;
}

/* Bubble Wrapper */
.wa-bubble-wrap {
    display: flex;
    margin: 2px 0;
    opacity: 0; /* Hidden initially for animation */
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-in {
    justify-content: flex-start;
}

.wa-out {
    justify-content: flex-end;
}

/* Bubbles */
.wa-bubble {
    max-width: 78%;
    border-radius: 8px;
    padding: 7px 10px 4px 10px;
    font-size: 13px;
    line-height: 1.45;
    font-family: 'Inter', sans-serif;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
    word-break: break-word;
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.92) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Incoming (customer) */
.wa-bubble-in {
    background: #fff;
    color: #111;
    border-top-left-radius: 2px;
}

/* Triangle incoming */
.wa-bubble-in::before {
    content: '';
    position: absolute;
    top: 0;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-left: 8px solid transparent;
}

/* Outgoing (Wibi AI) */
.wa-bubble-out {
    background: #d9fdd3;
    color: #111;
    border-top-right-radius: 2px;
}

/* Triangle outgoing */
.wa-bubble-out::after {
    content: '';
    position: absolute;
    top: 0;
    right: -7px;
    width: 0;
    height: 0;
    border-top: 8px solid #d9fdd3;
    border-right: 8px solid transparent;
}

.wa-bubble-text {
    margin-bottom: 3px;
}

.wa-bubble-meta {
    font-size: 10px;
    color: #525252;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    margin-top: 2px;
}

/* Typing Indicator */
.wa-typing-bubble {
    padding: 10px 14px 8px 14px !important;
}

.wa-typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 16px;
}

.wa-typing-dots span {
    width: 7px;
    height: 7px;
    background: #128c7e;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
    display: inline-block;
}

.wa-typing-dots span:nth-child(1) { animation-delay: 0s; }
.wa-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Input Bar */
.wa-input-bar {
    background: #f0f2f5;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e0e0e0;
}

.wa-input-wrap {
    flex: 1;
    background: #fff;
    border-radius: 22px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.wa-input-field {
    flex: 1;
    font-size: 13px;
    color: #aaa;
    font-family: 'Inter', sans-serif;
}

.wa-mic-btn {
    width: 42px;
    height: 42px;
    background: #00a884;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,168,132,0.4);
    transition: transform 0.2s;
}

.wa-mic-btn:hover {
    transform: scale(1.08);
}

/* Floating closing badge */
.wa-closing-badge {
    margin-top: 16px;
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    animation: badgePulse 3s ease-in-out infinite;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .wa-phone-frame {
        width: 270px;
        height: 520px;
    }
    .wa-closing-badge {
        font-size: 11px;
    }
}

/* Interactive AI Showcase Section */
.interactive-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-main) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--glass-border);
}

.interactive-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.interactive-content {
    flex: 1;
}

.interactive-content h2 {
    font-size: 42px;
    margin: 20px 0;
    line-height: 1.1;
    font-weight: 800;
}

.interactive-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.scenario-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scenario-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.scenario-btn:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border-color: rgba(0, 102, 204, 0.2);
}

.scenario-btn.active {
    border-color: var(--primary);
    background: rgba(0, 102, 204, 0.04);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
}

.scenario-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.scenario-btn.active .scenario-icon {
    background: var(--primary);
    color: white;
}

.scenario-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.scenario-text span {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
}

.interactive-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.interactive-mockup {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
    .interactive-container {
        flex-direction: column;
        gap: 40px;
    }
    .interactive-mockup {
        transform: scale(0.95);
    }
}

/* 3-Column Interactive AI Showcase */
.interactive-container.three-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1300px;
}

.scenario-column {
    display: flex;
    flex-direction: column;
}

.scenario-column.center-phone {
    display: flex;
    justify-content: center;
}

.scenario-column.right-scenarios {
    margin-top: 50px; /* Align nicely with the left side headers */
}

@media (max-width: 1024px) {
    .interactive-container.three-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }
    
    .scenario-column.center-phone {
        order: -1; /* Move phone to top on mobile */
        margin-bottom: 20px;
    }
    
    .scenario-column.right-scenarios {
        margin-top: 0;
    }
    
    /* On mobile, make buttons stack nicely in a 2-column grid if possible, or just standard column */
    .scenario-column {
        width: 100%;
    }
    
    .scenario-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .scenario-buttons {
        grid-template-columns: 1fr;
    }
}

/* Tabbed Feature Showcase */
.tab-showcase-container {
    max-width: 1100px;
    margin: 40px auto 0;
    background: var(--bg-glow);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    overflow: hidden;
}

.showcase-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--glass-border);
    background: #f8fafc;
}

.showcase-tab {
    flex: 1;
    padding: 20px 15px;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.showcase-tab:hover {
    color: var(--primary);
    background: rgba(0, 102, 204, 0.02);
}

.showcase-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #ffffff;
}

.showcase-tab i {
    margin-right: 8px;
}

.showcase-content-area {
    padding: 40px;
    background: #ffffff;
}

.showcase-pane {
    display: none;
    animation: fadeUpTab 0.4s ease forwards;
}

.showcase-pane.active {
    display: block;
}

@keyframes fadeUpTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.showcase-split {
    display: flex;
    gap: 40px;
    align-items: center;
}

.showcase-text {
    flex: 1;
}

.showcase-text .showcase-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.showcase-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.3;
}

.showcase-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.showcase-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-main);
}

.showcase-bullets li i {
    color: #10b981;
    font-size: 18px;
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-ui {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    overflow: hidden;
}

.mockup-ui.dark {
    background: #1e1e1e;
    border-color: #333;
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.mockup-ui.dark .mockup-header {
    background: #2d2d2d;
    color: #a3a3a3;
    border-bottom-color: #444;
}

.mockup-body {
    padding: 24px;
}

/* Chat Mockup */
.chat-mockup .chat-row {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}
.chat-mockup .chat-row.user {
    background: #f1f5f9;
    color: var(--text-main);
    margin-right: auto;
    border-bottom-left-radius: 4px;
}
.chat-mockup .chat-row.ai {
    background: #eff6ff;
    color: #1e3a8a;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Table Mockup */
.table-mockup .table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}
.table-mockup .table-row:last-child {
    border-bottom: none;
}
.tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.tag-hot { background: #fee2e2; color: #b91c1c; }
.tag-angry { background: #ffedd5; color: #c2410c; }
.tag-neutral { background: #e0f2fe; color: #0369a1; }

/* Code Mockup */
.code-mockup {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
}
.code-mockup code {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
    color: #334155;
}
.code-mockup.dark-code {
    color: #d4d4d4;
}

@media (max-width: 768px) {
    .showcase-split {
        flex-direction: column;
    }
    .showcase-content-area {
        padding: 24px;
    }
}
