/* ========================================================================
   LANDING PAGE — public marketing site
   Standalone stylesheet: does NOT depend on dashboard.css or Bootstrap.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #0b1018;
    --ink-2: #10182a;
    --surface: #141d31;
    --surface-2: #18223a;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #d9a441;
    --accent-dark: #8a6210;      /* accent readable on cream/white backgrounds */
    --accent-soft: rgba(217, 164, 65, 0.14);
    --text: #eaeefa;
    --muted: #8f9dba;
    --cream: #f6f4ee;
    --cream-muted: #515c73;
    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    background: var(--ink);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

.serif {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.12;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------- Nav */
.nav-outer { padding: 18px 20px 0; }

.nav {
    max-width: var(--maxw);
    margin: 0 auto;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--ink);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name { color: var(--ink); font-weight: 700; font-size: 1.02rem; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.nav-links a {
    color: #46536b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.18s;
}

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

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

.nav-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}

/* ------------------------------------------------------------ Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s, background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

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

.btn-ghost-dark { border-color: #d3cec1; color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--ink); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #1b2434; }

.btn-accent {
    background: var(--accent);
    color: #241a05;
    box-shadow: 0 10px 24px -12px rgba(217, 164, 65, 0.9);
}
.btn-accent:hover { background: #e6b352; }

.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }

.btn-lg { padding: 13px 26px; font-size: 0.95rem; }

/* --------------------------------------------------------------- Hero */
.hero { padding: 76px 0 60px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-block;
    border: 1px solid rgba(217, 164, 65, 0.45);
    background: var(--accent-soft);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin-bottom: 20px; }

.hero-sub {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 30rem;
    margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-note { margin-top: 18px; color: #6f7d97; font-size: 0.82rem; }

/* Hero visual panel */
.panel {
    background: linear-gradient(160deg, var(--surface) 0%, var(--ink-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
}

.panel-row + .panel-row { border-top: 1px solid var(--line); }

.panel-label { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 0.88rem; }

.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot.amber { background: var(--accent); }
.dot.green { background: #4ade80; }
.dot.blue { background: #60a5fa; }

.panel-value { font-size: 0.88rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.panel-value.muted { color: var(--muted); font-weight: 500; }

.panel-divider { height: 1px; background: var(--line); margin: 14px 0; }

.panel-stock { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 0.85rem; }
.panel-stock span:first-child { color: var(--text); }
.panel-stock span:last-child { color: var(--muted); }

/* ------------------------------------------------------------ Trusted */
.trusted { padding: 26px 0 66px; text-align: center; }

.trusted-label {
    color: #6f7d97;
    font-size: 0.73rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.trusted-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    flex-wrap: wrap;
    opacity: 0.55;
}

.trusted-row span { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.3rem; color: var(--text); }

/* ----------------------------------------------------- Light section */
.light-section {
    background: var(--cream);
    color: var(--ink);
    border-radius: 26px;
    margin: 0 20px;
    padding: 54px 0;
}

.light-section .wrap { padding: 0 40px; }

.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 34rem; margin: 0 auto; font-size: 0.96rem; }

.light-section .section-head p { color: var(--cream-muted); }

/* The amber accent is far too light to read on the cream background —
   use a darkened amber inside the light section so it still meets contrast. */
.light-section .eyebrow { color: var(--accent-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.split-card { border-radius: var(--radius); padding: 26px; border: 1px solid transparent; }

.split-card.dark { background: var(--ink); color: var(--cream); }
.split-card.light { background: #fff; border-color: #e4e0d5; }

.split-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.split-card p { font-size: 0.9rem; margin-bottom: 16px; }
.split-card.dark p { color: #9aa7c0; }
.split-card.light p { color: var(--cream-muted); }

.learn { font-size: 0.86rem; font-weight: 600; color: var(--accent); }
.split-card.light .learn { color: var(--accent-dark); }
.learn:hover { text-decoration: underline; }

/* -------------------------------------------------------- Platform */
.platform { padding: 76px 0; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px 18px;
    transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
}

.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); background: var(--surface-2); }

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 14px;
}

.feature h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------- Integrations */
.integrations { padding: 0 0 76px; }

.integration-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.integration {
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 15px;
}

.integration i { color: var(--accent); font-size: 0.95rem; width: 18px; text-align: center; flex-shrink: 0; }
.integration strong { display: block; font-size: 0.87rem; font-weight: 600; }
.integration small { color: var(--muted); font-size: 0.76rem; }

/* ----------------------------------------------------------- CTA band */
.cta-band { padding: 0 20px 76px; }

.cta-inner {
    background: linear-gradient(135deg, var(--surface) 0%, #1d1608 100%);
    border: 1px solid rgba(217, 164, 65, 0.28);
    border-radius: 26px;
    padding: 56px 30px;
    text-align: center;
    max-width: var(--maxw);
    margin: 0 auto;
}

.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 12px; }
.cta-inner p { color: var(--muted); max-width: 32rem; margin: 0 auto 26px; }

.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------- Footer */
.footer { border-top: 1px solid var(--line); padding: 54px 0 30px; }

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 34px;
    margin-bottom: 42px;
}

.footer-about p { color: var(--muted); font-size: 0.87rem; margin: 14px 0 18px; max-width: 22rem; }

.social { display: flex; gap: 9px; }

.social a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.18s, border-color 0.18s;
}

.social a:hover { color: var(--accent); border-color: var(--accent); }

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 0.87rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--text); }

.business {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-bottom: 26px;
}

.business-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.business-title i { color: var(--accent); }

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
}

.business-item dt {
    color: #6f7d97;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.business-item dd { font-size: 0.88rem; font-weight: 500; }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-bottom .legal { display: flex; gap: 22px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.footer-bottom .legal a { font-size: 0.83rem; }

/* --------------------------------------------------------- Responsive */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 820px) {
    .nav-links,
    .nav-cta { display: none; }

    .nav-toggle { display: block; }

    .nav.open .nav-links,
    .nav.open .nav-cta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
        margin: 0;
        padding-top: 14px;
    }

    .nav.open { flex-wrap: wrap; }
    .nav.open .nav-cta { border-top: 1px solid #e2ded1; padding-top: 14px; }
    .nav.open .nav-cta .btn { width: 100%; }

    .split { grid-template-columns: 1fr; }
    .light-section .wrap { padding: 0 22px; }
    .hero { padding: 54px 0 44px; }
}

@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .trusted-row { gap: 26px; }
    .hero-actions .btn { width: 100%; }
    .cta-inner { padding: 40px 20px; }
    .integration-box { padding: 22px; }
}
