:root {
    --primary: #0284C7;
    --primary-hover: #0369A1;
    --primary-light: #E0F2FE;
    --primary-glow: rgba(2, 132, 199, 0.15);
    --secondary: #0F172A;
    --accent: #10B981;
    --wa-green: #25D366;
    --wa-header: #075E54;
    --wa-bg: #EFEAE2;
    --wa-bubble-user: #D9FDD3;
    --wa-bubble-ai: #FFFFFF;
    --dark: #0F172A;
    --slate: #334155;
    --slate-light: #64748B;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-page: #F8FAFC;
    --card-bg: #FFFFFF;
    --border: #E2E8F0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 45px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0284C7, #38BDF8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.brand-logo svg {
    width: 24px;
    height: 24px;
}

.brand-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 99px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-emerald {
    background: #10B981;
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 15.5px;
    border-radius: 12px;
}

.btn-outline {
    background: white;
    color: var(--slate);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: #F1F5F9;
    color: var(--dark);
    transform: translateY(-2px);
}

.hero {
    padding: 80px 24px 50px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero h1 span.gradient {
    background: linear-gradient(135deg, #0284C7, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-ribbon {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
}

.ribbon-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
}

.usecase-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.usecase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.usecase-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.usecase-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E0F2FE;
    color: var(--primary);
    flex-shrink: 0;
}

.usecase-badge svg {
    width: 22px;
    height: 22px;
}


.usecase-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.usecase-tags {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.usecase-list {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.usecase-item {
    font-size: 13.5px;
    color: var(--slate);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.usecase-item svg {
    width: 16px;
    height: 16px;
    color: #10B981;
    flex-shrink: 0;
    margin-top: 3px;
}

.ingest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 60px;
}

.ingest-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ingest-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.ingest-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ingest-icon svg {
    width: 24px;
    height: 24px;
}

.ingest-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.ingest-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.input-group {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.text-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.text-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.status-badge {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: none;
}

.status-badge.success {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.status-badge.error {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.status-badge.loading {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.playground-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}

.tab-btn {
    padding: 11px 26px;
    border-radius: 99px;
    font-size: 14.5px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: white;
    color: var(--slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.tab-btn svg {
    width: 19px;
    height: 19px;
}

.tab-btn.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    box-shadow: var(--shadow-md);
}

.sim-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 660px;
}

.sim-pane {
    display: none;
    width: 100%;
    max-width: 450px;
}

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

.web-widget-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    height: 630px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.widget-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.widget-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-logo {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0284C7, #0EA5E9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.widget-logo svg {
    width: 19px;
    height: 19px;
}

.widget-info-title {
    font-size: 14.5px;
    font-weight: 700;
}

.widget-info-status {
    font-size: 11.5px;
    color: #10B981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
}

.chat-body {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #F8FAFC;
}

.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.msg-bubble-wrap {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: msgFade 0.2s ease;
}

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

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

.msg-bubble-wrap.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.bubble-txt {
    padding: 11px 15px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 16px;
    word-break: break-word;
}

.msg-bubble-wrap.ai .bubble-txt {
    background: white;
    border: 1px solid var(--border);
    color: var(--dark);
    border-bottom-left-radius: 4px;
}

.msg-bubble-wrap.user .bubble-txt {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-foot {
    padding: 14px;
    background: white;
    border-top: 1px solid var(--border);
}

.quick-chip-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.quick-chip-row::-webkit-scrollbar {
    display: none;
}

.quick-chip {
    padding: 5px 11px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.quick-chip:hover {
    background: var(--primary);
    color: white;
}

.chat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F1F5F9;
    border-radius: 99px;
    padding: 6px 6px 6px 14px;
}

.chat-input-field {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-send-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.06);
}

.chat-send-btn svg {
    width: 17px;
    height: 17px;
}

.phone-frame {
    background: #111827;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.35);
    border: 4px solid #374151;
    height: 660px;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.notch-bar {
    width: 70px;
    height: 5px;
    background: #374151;
    border-radius: 99px;
}

.wa-screen {
    flex: 1;
    background: var(--wa-bg);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wa-topbar {
    background: var(--wa-header);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 15px;
}

.wa-name-wrap {
    display: flex;
    flex-direction: column;
}

.wa-contact-name {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wa-contact-status {
    font-size: 11px;
    opacity: 0.85;
}

.wa-actions {
    display: flex;
    gap: 12px;
    opacity: 0.85;
}

.wa-actions svg {
    width: 18px;
    height: 18px;
}

.wa-chat-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-bubble-wrap {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    animation: msgFade 0.2s ease;
}

.wa-bubble-wrap.ai {
    align-self: flex-start;
}

.wa-bubble-wrap.user {
    align-self: flex-end;
}

.wa-bubble {
    padding: 9px 13px;
    font-size: 13px;
    line-height: 1.45;
    border-radius: 8px;
    word-break: break-word;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.wa-bubble-wrap.ai .wa-bubble {
    background: var(--wa-bubble-ai);
    color: #111827;
}

.wa-bubble-wrap.user .wa-bubble {
    background: var(--wa-bubble-user);
    color: #111827;
}

.wa-time-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 10px;
    color: #6B7280;
    margin-top: 2px;
}

.wa-input-bar {
    padding: 8px 10px;
    background: #F0F2F5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-input-box {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.wa-text-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: inherit;
}

.wa-send-btn {
    width: 34px;
    height: 34px;
    background: #00A884;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wa-send-btn svg {
    width: 16px;
    height: 16px;
}

.guarantees-card {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: white;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
    margin-top: 20px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 36px;
}

.guarantee-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guarantee-title {
    font-size: 17px;
    font-weight: 700;
    color: #38BDF8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guarantee-desc {
    font-size: 13.5px;
    color: #94A3B8;
    line-height: 1.6;
}

.founder-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.founder-info {
    max-width: 600px;
}

.founder-title-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.founder-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.founder-bio {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.founder-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate);
    text-decoration: none;
}

.contact-row:hover {
    color: var(--primary);
}

.contact-row svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.founder-action-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 260px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
    background: white;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary);
}

@media (max-width: 860px) {
    .navbar { padding: 16px 20px; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.3rem; }
    .ingest-grid { grid-template-columns: 1fr; }
    .founder-card { flex-direction: column; align-items: flex-start; }
    .founder-action-btns { width: 100%; }
}
