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

:root {
    --green: #007A2F;
    --green-mid: #009938;
    --green-light: #E8F5EE;
    --green-pale: #F2FAF5;
    --white: #FFFFFF;
    --ink: #0D1F14;
    --ink-mid: #3A4D3F;
    --ink-soft: #6B7F70;
    --border: #D4E8DB;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
    height: 80px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 99;
}

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

.brand-logo {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 12px;
}

.brand-text .name {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.brand-text .tagline {
    font-size: 14px;
    font-weight: 700;
    color: #0D1F14;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.brand-text .tagline {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-mid);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-cta a { text-decoration: none; }

.btn-ghost {
    padding: 9px 20px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--ink-mid);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-primary {
    padding: 9px 22px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover { background: #005E23; }

/* ── HERO ── */
.hero-wrapper {
    background: var(--green-pale);
    width: 100%;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px 80px;
    width: 100%;
}

.hero-text {
    padding-left: 0;
}
.hero-wrapper {
    background: var(--green-pale);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    border: 1px solid var(--border);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 12px;
}

.hero h1 span { color: var(--green); }

.hero-sub {
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

#fileInput { display: none; }

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}

.btn-hero:hover {
    background: #005E23;
    transform: translateY(-1px);
}

.btn-outline-hero {
    padding: 14px 28px;
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-hero:hover { background: var(--green-light); }

/* ── HERO MOCKUP ── */
.hero-visual {
    display: flex;
    justify-content: center;
}

.chat-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0,100,40,0.15), 0 4px 16px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.mockup-header {
    background: var(--green);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-header-text .title {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.mockup-header-text .status {
    color: rgba(255,255,255,0.75);
    font-size: 11px;
}

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 260px;
}

.msg-ai {
    background: var(--green-light);
    border-radius: 4px 14px 14px 14px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--ink);
    max-width: 85%;
    line-height: 1.5;
}

.msg-user {
    background: var(--green);
    color: white;
    border-radius: 14px 14px 4px 14px;
    padding: 12px 16px;
    font-size: 13px;
    max-width: 85%;
    align-self: flex-end;
    line-height: 1.5;
}

.mockup-input {
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.mockup-input-field {
    flex: 1;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--ink-soft);
}

.mockup-send {
    width: 36px;
    height: 36px;
    background: var(--green);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── TRUST BAR ── */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
}

/* ── HOW IT WORKS ── */
.section {
    padding: 96px 64px;
    background: white;
}

.section-label {
    text-align: center;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 64px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.step {
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.step:hover {
    box-shadow: 0 12px 40px rgba(0,122,47,0.12);
    transform: translateY(-3px);
}

.step-num {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* ── FEATURES ── */
.features-section {
    background: var(--green);
    padding: 80px 64px;
}

.features-title {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feat {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 28px 22px;
}

.feat-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.feat h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feat p {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    line-height: 1.6;
}

/* ── FOOTER ── */
footer {
    background: var(--ink);
    color: white;
    padding: 64px 64px 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .name {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #5DDB8A;
    margin-bottom: 4px;
}

.footer-brand .sub {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    margin-bottom: 14px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.7;
    max-width: 240px;
}

.footer-col h5 {
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-col ul li:hover { color: #5DDB8A; }

.footer-newsletter h5 {
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    margin-bottom: 14px;
}

.email-form {
    display: flex;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.email-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 11px 14px;
    color: white;
    font-size: 13px;
    outline: none;
}

.email-form input::placeholder { color: rgba(255,255,255,0.35); }

.email-form button {
    background: var(--green-mid);
    border: none;
    padding: 11px 16px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* ── CHAT PAGE ── */
.chat-page {
    display: flex;
    gap: 24px;
    width: 95%;
    max-width: 1300px;
    margin: 36px auto;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
}

.chat-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.doc-badge {
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--ink);
    word-break: break-all;
}

.doc-badge.muted { color: var(--ink-soft); }

.doc-status {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.doc-status.ready { color: var(--green); }
.doc-status.general { color: #cc7700; }

.model-badge {
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--ink);
}

.company-badge {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--green);
}

.upload-new-btn {
    display: block;
    text-align: center;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: auto;
}

.upload-new-btn:hover { background: #005E23; }

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-window {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    min-height: 650px;
    max-height: 750px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-bubble {
    max-width: 85%;
}

.user-bubble {
    max-width: 85%;
}

.msg-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.ai-row { justify-content: flex-start; }
.user-row { justify-content: flex-end; }

.msg-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.ai-bubble {
    background: var(--green-light);
    border-radius: 4px 16px 16px 16px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--ink);
    max-width: 70%;
    line-height: 1.6;
}

.user-bubble {
    background: var(--green);
    color: white;
    border-radius: 16px 16px 4px 16px;
    padding: 14px 18px;
    font-size: 15px;
    max-width: 70%;
    line-height: 1.6;
}

.chat-form {
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    padding: 16px 20px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.chat-input:focus { border-color: var(--green); }

.chat-send-btn {
    background: var(--green);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

.chat-send-btn:hover { background: #005E23; }
/* ── STATS ── */
.stats-section {
    background: var(--ink);
    padding: 60px 120px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #5DDB8A;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
    padding: 96px 120px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial {
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stars {
    color: #F5A623;
    font-size: 18px;
    letter-spacing: 2px;
}

.testimonial p {
    color: var(--ink-mid);
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--ink-soft);
}

/* ── PRICING ── */
.pricing-section {
    background: var(--green);
    padding: 96px 120px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: left;
    position: relative;
}

.pricing-card.featured {
    background: var(--ink);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #F5A623;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-name {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--ink);
}

.pricing-card.featured .plan-name { color: white; }

.plan-price {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
}

.pricing-card.featured .plan-price { color: #5DDB8A; }

.plan-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-soft);
}

.pricing-card.featured .plan-price span { color: rgba(255,255,255,0.5); }

.plan-desc {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-card.featured .plan-desc {
    color: rgba(255,255,255,0.6);
    border-bottom-color: rgba(255,255,255,0.15);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.plan-features li {
    font-size: 14px;
    color: var(--ink-mid);
}

.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.8); }

.plan-btn {
    width: 100%;
    padding: 14px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.plan-btn:hover { background: #005E23; }

.plan-btn-outline {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.plan-btn-outline:hover {
    background: var(--green-light);
}

/* ── CTA BANNER ── */
.cta-section {
    background: var(--green-pale);
    padding: 96px 120px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--ink-soft);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
/* ── MAX WIDTH WRAPPER ── */
.section {
    padding: 96px 140px;
    background: white;
}

.features-section {
    background: var(--green);
    padding: 80px 140px;
}

.stats-section {
    background: var(--ink);
    padding: 60px 140px;
}

.testimonials-section {
    padding: 96px 140px;
    background: white;
}

.pricing-section {
    background: var(--green);
    padding: 96px 140px;
    text-align: center;
}

.cta-section {
    background: var(--green-pale);
    padding: 96px 140px;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer {
    background: var(--ink);
    color: white;
    padding: 64px 140px 32px;
}
.ai-bubble strong { color: var(--ink); }
.ai-bubble ul, .ai-bubble ol {
    margin: 8px 0 8px 20px;
}
.ai-bubble li {
    margin-bottom: 4px;
}
.ai-bubble h1, .ai-bubble h2, .ai-bubble h3 {
    margin: 12px 0 6px;
    color: var(--green);
    font-size: 15px;
}
.ai-bubble p {
    margin-bottom: 8px;
}
/* ── TYPING INDICATOR ── */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

#typingDots {
    animation: blink 1s infinite;
    font-weight: bold;
    color: #007A2F;
}
/* ── DARK MODE ── */
body.dark {
    background: #0D1F14;
    color: #E8F5EE;
}

body.dark nav {
    background: #0D1F14;
    border-bottom-color: #1E3A28;
}

body.dark .brand-text .name { color: #5DDB8A; }
body.dark .brand-text .tagline { color: #6B9E7A; }

body.dark .nav-links a { color: #A8C9B4; }
body.dark .nav-links a:hover { color: #5DDB8A; }

body.dark .btn-ghost {
    background: transparent;
    border-color: #2E5C3E;
    color: #A8C9B4;
}

body.dark .btn-ghost:hover {
    border-color: #5DDB8A;
    color: #5DDB8A;
}

body.dark .hero-wrapper {
    background: #0A1A0F;
}

body.dark .hero h1 { color: #E8F5EE; }
body.dark .hero h1 span { color: #5DDB8A; }
body.dark .hero-sub { color: #A8C9B4; }

body.dark .hero-eyebrow {
    background: #1E3A28;
    border-color: #2E5C3E;
    color: #5DDB8A;
}

body.dark .chat-mockup {
    background: #1A2E1F;
    border-color: #2E5C3E;
}

body.dark .mockup-body { background: #1A2E1F; }
body.dark .msg-ai {
    background: #1E3A28;
    color: #E8F5EE;
}

body.dark .mockup-input {
    background: #1A2E1F;
    border-top-color: #2E5C3E;
}

body.dark .mockup-input-field {
    background: #0D1F14;
    border-color: #2E5C3E;
    color: #A8C9B4;
}

body.dark .trust-bar {
    background: #0A1A0F;
    border-bottom-color: #1E3A28;
}

body.dark .trust-item { color: #A8C9B4; }

body.dark .section { background: #0D1F14; }

body.dark .section-title { color: #E8F5EE; }
body.dark .section-sub { color: #A8C9B4; }

body.dark .step {
    background: #1A2E1F;
    border-color: #2E5C3E;
}

body.dark .step h3 { color: #5DDB8A; }
body.dark .step p { color: #A8C9B4; }

body.dark .pricing-card {
    background: #1A2E1F;
    border-color: #2E5C3E;
}

body.dark .plan-name { color: #E8F5EE; }
body.dark .plan-desc { color: #A8C9B4; border-bottom-color: #2E5C3E; }
body.dark .plan-features li { color: #A8C9B4; }

body.dark .plan-btn-outline {
    color: #5DDB8A;
    border-color: #5DDB8A;
}

body.dark footer { background: #060F09; }

body.dark .footer-bottom { border-top-color: rgba(255,255,255,0.05); }

/* Chat page dark mode */
body.dark .chat-sidebar-inner {
    background: #1A2E1F;
    border-right-color: #2E5C3E;
}

body.dark .chat-header-bar {
    background: #1A2E1F;
    border-bottom-color: #2E5C3E;
}

body.dark .chat-messages-area {
    background: #0D1F14;
}

body.dark .ai-bubble-msg {
    background: #1A2E1F;
    border-color: #2E5C3E;
    color: #E8F5EE;
}

body.dark .chat-input-area {
    background: #1A2E1F;
    border-top-color: #2E5C3E;
}

body.dark .chat-input-area input {
    background: #0D1F14;
    border-color: #2E5C3E;
    color: #E8F5EE;
}

/* Dark mode toggle button */
.dark-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dark-toggle:hover {
    border-color: var(--green);
}
/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {

    /* Navbar */
    nav {
        padding: 0 20px;
        height: 64px;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .brand-text .name { font-size: 20px; }
    .brand-text .tagline { font-size: 11px; }
    .brand-logo { width: 40px; height: 40px; }

    .nav-cta {
        gap: 6px;
    }

    .btn-ghost { padding: 7px 12px; font-size: 12px; }
    .btn-primary { padding: 7px 14px; font-size: 12px; }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }

    .hero h1 { font-size: 42px; }
    .hero-sub { font-size: 15px; }

    .hero-visual { display: none; }

   .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hero-actions form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.hero-actions form label {
    flex: 1;
    text-align: center;
}

.btn-outline-hero {
    width: 100%;
    text-align: center;
}

    /* Trust bar */
    .trust-bar {
        padding: 16px 20px;
        gap: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .trust-item { white-space: nowrap; font-size: 12px; }

    /* How it works */
    .section { padding: 48px 24px; }

    .section-title { font-size: 28px; }

    .steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Features */
    .features-section { padding: 48px 24px; }
    .features-title { font-size: 26px; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    /* Pricing */
    .pricing-section { padding: 48px 24px; }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.featured { transform: scale(1); }

    /* Footer */
    footer { padding: 40px 24px 24px; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    /* Chat page */
    .chat-page {
        flex-direction: column;
    }

    .chat-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #D4E8DB;
        padding: 16px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .chat-window {
        min-height: 400px;
        max-height: 500px;
        padding: 16px;
    }

    .ai-bubble, .user-bubble {
        max-width: 90%;
    }

    .chat-form {
        padding: 12px 16px;
    }

    .chat-input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .chat-send-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Get started page */
    .get-started-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 34px; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-cta .btn-ghost:not(:last-child) { display: none; }
}
