/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 800px; }

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    background: rgba(255,255,255,0.95);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 22px;
}
.logo-icon { font-size: 28px; }
.logo-accent { color: #25d366; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s;
}
.nav-links a:hover { color: #0f172a; }
.btn-nav {
    background: #0f172a;
    color: white !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-nav:hover { background: #25d366; transform: translateY(-1px); }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 211, 102, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1), transparent 50%);
    z-index: 0;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}
.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #0f172a;
}
.gradient-text {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 18px;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 540px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37,211,102,0.35);
    transition: all 0.3s;
}
.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37,211,102,0.5);
}
.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #0f172a !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s;
}
.btn-secondary-lg:hover { border-color: #0f172a; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}
.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 13px;
    color: #64748b;
}

/* ============ HERO PHONE MOCKUP ============ */
.hero-phone {
    display: flex;
    justify-content: center;
}
.phone {
    width: 320px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    position: relative;
}
.phone-notch {
    width: 110px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 0 0 18px 18px;
    margin: 0 auto;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.phone-screen {
    background: #efeae2;
    border-radius: 30px;
    overflow: hidden;
    height: 540px;
    display: flex;
    flex-direction: column;
}
.phone-header {
    background: #075e54;
    padding: 32px 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.phone-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.phone-name { color: white; font-weight: 600; font-size: 14px; }
.phone-status { color: #d4f7e0; font-size: 11px; }
.chat {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}
.msg-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    max-width: 75%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    animation: msg-in 0.4s ease forwards;
    opacity: 0;
}
.msg-customer { background: white; align-self: flex-start; }
.msg-ai { background: #d9fdd3; align-self: flex-end; }
.msg-system {
    background: #fff3cd;
    align-self: center;
    text-align: center;
    font-size: 11px;
    max-width: 90%;
}
@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.delayed-1 { animation-delay: 0.5s; }
.delayed-2 { animation-delay: 1.5s; }
.delayed-3 { animation-delay: 2.5s; }
.delayed-4 { animation-delay: 3.5s; }

.typing { animation-delay: 0.2s; padding: 12px 16px; }
.typing-dots { display: flex; gap: 4px; }
.typing-dots span {
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    animation: typing 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ============ TRUST BAR ============ */
.trust {
    background: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.trust-text {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}
.trust-logo {
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.trust-logo:hover { opacity: 1; }

/* ============ SECTION ============ */
.section { padding: 100px 0; }
.section-dark { background: #0f172a; color: #e2e8f0; }
.section-dark .section-title { color: white; }
.section-dark .section-sub { color: #94a3b8; }
.section-dark .section-tag {
    background: rgba(255,255,255,0.08);
    color: #25d366;
}
.section-light { background: #f8fafc; }
.section-pricing { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    background: rgba(37, 211, 102, 0.1);
    color: #128c7e;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ============ STEPS ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s;
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #25d366;
}
.step-num {
    position: absolute;
    top: -12px;
    left: 24px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.step-icon { font-size: 36px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #64748b; }

/* ============ SOLUTIONS ============ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.solution-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 28px;
    border-radius: 16px;
    transition: all 0.3s;
}
.solution-card:hover {
    background: rgba(37,211,102,0.08);
    border-color: rgba(37,211,102,0.4);
    transform: translateY(-2px);
}
.solution-icon { font-size: 32px; margin-bottom: 14px; }
.solution-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}
.solution-card p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.solution-tag {
    display: inline-block;
    background: rgba(37,211,102,0.15);
    color: #25d366;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: white;
    transition: all 0.3s;
}
.feature:hover {
    border-color: #25d366;
    box-shadow: 0 10px 30px rgba(37,211,102,0.1);
}
.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14px; color: #64748b; }

/* ============ DEMO ============ */
.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.demo-content .section-title { font-size: 36px; margin-bottom: 20px; }
.demo-text {
    font-size: 16px;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.7;
}
.demo-features { display: flex; flex-direction: column; gap: 10px; }
.demo-feature {
    font-size: 15px;
    color: #0f172a;
    font-weight: 500;
}

.chat-window {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
.chat-window-header {
    background: #128c7e;
    color: white;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
}
.chat-area {
    padding: 24px;
    background: #efeae2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><rect width='40' height='40' fill='%23efeae2'/></svg>");
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}
.chat-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 80%;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.chat-bubble.in { background: white; align-self: flex-start; }
.chat-bubble.out { background: #d9fdd3; align-self: flex-end; }
.chat-bubble.system {
    background: #fff3cd;
    align-self: center;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    max-width: 90%;
}

/* ============ PRICING ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.pricing-card.popular {
    border-color: #25d366;
    background: linear-gradient(180deg, white 0%, #f0fdf4 100%);
    transform: scale(1.05);
}
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}
.pricing-name {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-desc {
    color: #64748b;
    font-size: 13px;
    margin: 4px 0 24px;
}
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.price-num {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.price-period { color: #64748b; font-size: 14px; }
.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-features li {
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
}
.pricing-features li.off { color: #94a3b8; }
.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 100px;
    border: 1.5px solid #e2e8f0;
    background: white;
    color: #0f172a;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-pricing:hover { border-color: #0f172a; }
.btn-pricing-primary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(37,211,102,0.3);
}
.btn-pricing-primary:hover { transform: translateY(-1px); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    transition: all 0.2s;
}
.faq-item[open] {
    border-color: #25d366;
    box-shadow: 0 8px 25px rgba(37,211,102,0.08);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #0f172a;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: #94a3b8;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: #25d366; }
.faq-item p {
    margin-top: 12px;
    color: #64748b;
    line-height: 1.7;
}

/* ============ CTA ============ */
.cta-section { padding: 100px 0; background: white; }
.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 32px;
    padding: 70px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(37,211,102,0.2), transparent 50%);
}
.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.02em;
}
.cta-sub {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 32px;
    position: relative;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 24px;
}
.cta-buttons .btn-secondary-lg {
    background: rgba(255,255,255,0.1);
    color: white !important;
    border-color: rgba(255,255,255,0.2);
}
.cta-buttons .btn-secondary-lg:hover {
    background: rgba(255,255,255,0.2);
}
.cta-note {
    font-size: 13px;
    color: #94a3b8;
    position: relative;
}

/* ============ FOOTER ============ */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}
.logo-footer { color: white; margin-bottom: 12px; }
.footer-desc { font-size: 14px; max-width: 320px; }
.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-col a {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-col a:hover { color: #25d366; }
.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
.footer-bottom p { margin-bottom: 4px; }

/* ============ ANIMATIONS ============ */
.animate { opacity: 0; transform: translateY(20px); transition: all 0.6s; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-phone { order: -1; transform: scale(0.85); }
    .steps, .solutions-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .pricing-card.popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 100px 0 60px; }
    .section { padding: 60px 0; }
    .steps, .solutions-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
    .cta-box { padding: 40px 24px; border-radius: 20px; }
    .nav-inner { gap: 12px; }
    .btn-nav { padding: 8px 14px; font-size: 13px; }
}
