/* Public website (marketing pages). The app itself uses app.css. */
:root {
    --site-brand: #0f766e;
    --site-brand-dark: #115e59;
    --site-brand-soft: #ccfbf1;
    --site-accent: #f59e0b;
    --site-ink: #0f172a;
    --site-muted: #475569;
    --site-surface: #f8fafc;
    --site-border: #e2e8f0;
}

/* Brand colours for Bootstrap, only inside the website (pricing cards inside the app use .site too). */
.site {
    --bs-primary: #0f766e;
    --bs-primary-rgb: 15, 118, 110;
    --bs-link-color: #0f766e;
    --bs-link-color-rgb: 15, 118, 110;
    --bs-link-hover-color: #115e59;
    --bs-link-hover-color-rgb: 17, 94, 89;
}

body.site {
    color: var(--site-ink);
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
}

.site .btn-primary {
    --bs-btn-bg: var(--site-brand);
    --bs-btn-border-color: var(--site-brand);
    --bs-btn-hover-bg: var(--site-brand-dark);
    --bs-btn-hover-border-color: var(--site-brand-dark);
    --bs-btn-active-bg: var(--site-brand-dark);
    --bs-btn-active-border-color: var(--site-brand-dark);
    --bs-btn-disabled-bg: var(--site-brand);
    --bs-btn-disabled-border-color: var(--site-brand);
}

.site .btn-outline-primary {
    --bs-btn-color: var(--site-brand);
    --bs-btn-border-color: var(--site-brand);
    --bs-btn-hover-bg: var(--site-brand);
    --bs-btn-hover-border-color: var(--site-brand);
    --bs-btn-active-bg: var(--site-brand-dark);
}

.site .text-brand { color: var(--site-brand) !important; }
.site .bg-brand-soft { background: var(--site-brand-soft); }
.site .text-muted-ink { color: var(--site-muted); }

/* Navigation */
.site-nav {
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--site-border);
}
.site-nav .nav-link { color: var(--site-ink); font-weight: 500; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--site-brand); }
.site-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, #14b8a6, #0f766e); color: #fff;
}

/* Hero */
.site-hero {
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(20, 184, 166, .18), transparent 60%),
        radial-gradient(800px 400px at -10% 20%, rgba(245, 158, 11, .10), transparent 60%),
        var(--site-surface);
    border-bottom: 1px solid var(--site-border);
}
.site-hero h1 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.site-eyebrow {
    display: inline-flex; gap: .4rem; align-items: center;
    padding: .3rem .75rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--site-border);
    font-size: .85rem; color: var(--site-muted);
}
.site-check { list-style: none; padding: 0; }
.site-check li { padding-left: 1.6rem; position: relative; margin-bottom: .35rem; }
.site-check li::before {
    content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0;
    color: var(--site-brand); font-weight: 700;
}

/* Product preview built with HTML (no screenshots needed) */
.preview {
    background: #fff; border: 1px solid var(--site-border); border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .25), 0 10px 20px -10px rgba(15, 23, 42, .1);
    overflow: hidden;
}
.preview-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--site-border); background: var(--site-surface); }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.preview-kpi { border: 1px solid var(--site-border); border-radius: 10px; padding: .6rem .75rem; }
.preview-kpi .value { font-weight: 700; font-size: 1.15rem; }
.preview table { font-size: .82rem; }
.preview .badge-soft { background: var(--site-brand-soft); color: var(--site-brand-dark); }

/* Sections */
.site-section { padding: 5rem 0; }
.site-section-alt { background: var(--site-surface); border-top: 1px solid var(--site-border); border-bottom: 1px solid var(--site-border); }
.site-section h2 { font-weight: 800; letter-spacing: -.01em; }
.feature-card {
    height: 100%; padding: 1.5rem; border-radius: 14px; background: #fff;
    border: 1px solid var(--site-border); transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .2); }
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--site-brand-soft); color: var(--site-brand-dark); font-size: 1.3rem; margin-bottom: .9rem;
}
.step-number {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--site-brand); color: #fff; font-weight: 700;
}

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--site-border); }
.billing-toggle button { border: 0; background: transparent; padding: .45rem 1.1rem; border-radius: 999px; font-weight: 600; color: var(--site-muted); }
.billing-toggle button.active { background: var(--site-brand); color: #fff; }
.price-card {
    height: 100%; border-radius: 16px; border: 1px solid var(--site-border); background: #fff;
    padding: 1.75rem; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--site-brand); box-shadow: 0 20px 40px -20px rgba(15, 118, 110, .45); }
.price-card .ribbon {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--site-brand); color: #fff; font-size: .75rem; font-weight: 700;
    padding: .25rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.price-card .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.price-card ul { list-style: none; padding: 0; margin: 1.25rem 0; flex-grow: 1; }
.price-card li { padding: .3rem 0; display: flex; gap: .5rem; }
.price-card li .bi-check-circle-fill { color: var(--site-brand); }
.price-card li.off { color: #94a3b8; }
.compare-table th, .compare-table td { vertical-align: middle; }
.compare-table .bi-check-lg { color: var(--site-brand); font-size: 1.2rem; }

/* FAQ, CTA, footer */
.site .accordion-button:not(.collapsed) { background: var(--site-brand-soft); color: var(--site-brand-dark); }
.site .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .2); }
.site-cta { background: linear-gradient(135deg, #0f766e, #134e4a); color: #fff; border-radius: 20px; }
.site-footer { background: #0b1220; color: #cbd5e1; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal h2 { font-size: 1.15rem; font-weight: 700; margin-top: 2rem; }

@media (max-width: 767.98px) {
    .site-section { padding: 3.25rem 0; }
    .site-hero h1 { font-size: 2.1rem; }
}
