/* =====================================================
   CirculTrak — Public Pages Shared Styles
   Exact same design system as index.html
   ===================================================== */

:root {
    --bg-body: #f1f5f9; --bg-white: #ffffff; --bg-sidebar: #0f172a;
    --border: #e2e8f0; --border-hover: #cbd5e1;
    --text-main: #0f172a; --text-secondary: #334155; --text-muted: #64748b;
    --accent-blue: #2563eb; --accent-blue-light: #dbeafe;
    --accent-emerald: #059669; --accent-emerald-light: #d1fae5;
    --accent-coral: #dc2626; --accent-coral-light: #fee2e2;
    --accent-amber: #d97706; --accent-amber-light: #fef3c7;
    --accent-purple: #7c3aed; --accent-purple-light: #ede9fe;
    --radius-lg: 12px; --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06); --shadow-md: 0 4px 12px rgba(0,0,0,0.08); --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
body { background: var(--bg-body); color: var(--text-main); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ---- Navbar (same as index.html) ---- */
nav { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 20px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.logo span { color: #34d399; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a.active-link { color: var(--accent-blue); font-weight: 600; }
.nav-links .btn-primary { color: #fff !important; }
.nav-links .btn-primary:hover { color: #fff !important; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all 0.15s; }
.btn-primary { background: var(--accent-blue); color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,0.25); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-outline { background: var(--bg-white); color: var(--text-secondary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 10px; }

/* ---- Page Hero ---- */
.page-hero { background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 64px 0 56px; text-align: center; }
.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 12px; }
.page-hero p { font-size: 15px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ---- Section ---- */
section { padding: 64px 0; }
.section-label { font-size: 11px; font-weight: 700; color: var(--accent-blue); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-title { font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--text-muted); max-width: 520px; line-height: 1.6; }

/* ---- Cards ---- */
.card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.card:hover { box-shadow: var(--shadow-md); }

/* ---- CTA Box ---- */
.cta-box { background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 56px; text-align: center; box-shadow: var(--shadow-sm); }
.cta-box h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.cta-box p { font-size: 15px; color: var(--text-muted); max-width: 460px; margin: 0 auto 28px; }

/* ---- Footer (same as index.html) ---- */
footer { background: var(--bg-sidebar); padding: 40px 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: #94a3b8; transition: color 0.2s; }
.footer-links a:hover { color: #34d399; }

/* ---- Mobile nav toggle ---- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text-main); stroke-width: 2; fill: none; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 60px; left: 0; right: 0;
        flex-direction: column; background: var(--bg-white); border-bottom: 1px solid var(--border);
        padding: 16px 24px; gap: 12px; box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links .btn-primary { text-align: center; justify-content: center; }
    nav .container { position: relative; }
    .container { padding: 0 16px; }
    .page-hero { padding: 40px 0 32px; }
    .page-hero h1 { font-size: 26px; }
    section { padding: 40px 0; }
    .section-title { font-size: 22px; }
    .cta-box { padding: 32px 20px; }
    .cta-box h2 { font-size: 22px; }
    footer .container { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
