:root {
    --bg: #F5F7FB;
    --card: #FFFFFF;
    --blue-dark: #10233F;
    --blue-dark-2: #16314F;
    --action: #6C4EF5;
    --action-dark: #5636D1;
    --green: #1FAA6E;
    --text-muted: #57606E;
    --border: #E6E9F2;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow: 0 12px 32px rgba(16, 35, 63, 0.08);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--blue-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: rgba(245, 247, 251, 0.9);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1080px;
    margin: 0 auto;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-dark), var(--action));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.brand-text .brand-name {
    font-weight: 700;
    font-size: 20px;
    color: var(--blue-dark);
    line-height: 1.1;
}

.brand-text .brand-sub {
    font-size: 12px;
    color: var(--text-muted);
}

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

nav.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--blue-dark);
}

nav.main-nav a:hover { color: var(--action); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--blue-dark);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--action);
    color: #fff;
    box-shadow: 0 10px 24px rgba(108, 78, 245, 0.35);
}

.btn-primary:hover { background: var(--action-dark); }

.btn-secondary {
    background: transparent;
    color: var(--blue-dark);
    border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--action); color: var(--action); }

.btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero */
.hero {
    padding: 72px 0 48px;
}

.hero .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--action-dark);
    background: rgba(108, 78, 245, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 52px;
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero .slogan {
    font-size: 22px;
    color: var(--action-dark);
    font-weight: 600;
    margin: 0 0 22px;
}

.hero p.lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 0 32px;
}

.hero-visual {
    margin-top: 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #EEF1FB, #F7EEFF);
    border: 1px solid var(--border);
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
      }

/* Sections */
section { padding: 56px 0; }

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 620px;
    margin: 0 0 36px;
}

/* Cards / grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.step-card .step-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blue-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

.capability-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.capability-item .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(31, 170, 110, 0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Security section */
.security-panel {
    background: var(--blue-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
}

.security-panel h2 { color: #fff; }

.security-panel .lead {
    font-size: 17px;
    color: #DCE3F5;
    max-width: 720px;
    margin-bottom: 28px;
}

.security-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.security-list li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 14.5px;
    color: #E8ECF7;
}

/* Chat example */
.chat-example {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 24px;
    max-width: 560px;
}

.bubble {
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
    font-size: 15px;
    max-width: 85%;
}

.bubble.user {
    background: #EEF1FB;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.bubble.bot {
    background: var(--action);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.bubble .who {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 4px;
}

/* Legal pages */
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin-top: 40px; margin-bottom: 12px; }
.legal p, .legal li { color: #33405A; font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal .callout {
    background: #EEF1FB;
    border-left: 4px solid var(--action);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 24px 0;
}

/* Contact */
.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 18px;
}

.contact-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(108, 78, 245, 0.12);
    color: var(--action-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 64px;
    padding: 40px 0;
}

footer.site-footer .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

footer.site-footer .footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

footer.site-footer .footer-links a { font-size: 14px; color: var(--text-muted); }
footer.site-footer .footer-links a:hover { color: var(--action); }

footer.site-footer .footer-note {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0;
}

/* Mobile */
@media (max-width: 860px) {
    .grid, .grid.two, .capability-list, .security-list { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .hero .slogan { font-size: 19px; }
    .site-header .inner { flex-wrap: wrap; row-gap: 12px; }
    nav.main-nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
    .security-panel { padding: 26px; }
    footer.site-footer .inner { flex-direction: column; align-items: flex-start; }
}
