/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #0A1E3C;
    --navy-mid:   #12284A;
    --blue:       #0A1E3C;   /* brand navy — name kept so existing rules still resolve */
    --blue-light: #12284A;
    --blue-pale:  #E8ECF3;
    --gold:       #C58B35;   /* logo copper */
    --gold-light: #F7EEDF;
    --copper-text: #9A6620; /* copper readable on white */
    --olive:      #99872D;
    --green:      #2E7D4F;
    --text:       #132238;
    --muted:      #56637A;
    --border:     #E6E0D3;
    --bg:         #F5F2EB;
    --white:      #ffffff;
    --radius:     6px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
    --shadow-lg:  0 20px 48px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Readex Pro', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ────────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--blue-pale); color: var(--blue);
    font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 999px;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue); display: inline-block;
}
.section-label {
    font-size: .8rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--copper-text); margin-bottom: 12px;
}
.section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800; line-height: 1.2; color: var(--text);
}
.section-sub {
    font-size: 1.05rem; color: var(--muted); max-width: 580px;
    margin: 16px auto 0; line-height: 1.7;
}

/* ── Navbar ───────────────────────────────────────────────────────────── */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(245, 242, 235, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    font-size: 1.35rem; font-weight: 800;
    color: var(--white); letter-spacing: -.02em;
}
.navbar-brand span { color: var(--gold); }
.navbar-brand, .footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { height: 38px; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 32px; }
.navbar-links a {
    color: var(--muted); font-size: .9rem; font-weight: 500;
    transition: color .15s;
}
.navbar-links a:hover { color: var(--navy); }
.navbar-cta {
    display: flex; align-items: center; gap: 12px;
}
.btn-nav-outline {
    padding: 8px 18px; border-radius: 8px; font-size: .875rem; font-weight: 600;
    border: 1px solid rgba(10,30,60,.2); color: var(--navy);
    transition: border-color .15s, background .15s;
}
.btn-nav-outline:hover { border-color: rgba(10,30,60,.45); background: rgba(10,30,60,.04); }
.navbar-menu { display: contents; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
    background: var(--bg);
    padding: 96px 0 80px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(197,139,53,.10) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.4rem);
    font-weight: 900; color: var(--navy); line-height: 1.12;
    letter-spacing: -.03em; margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--copper-text); }
.hero-sub {
    font-size: 1.1rem; color: var(--muted); line-height: 1.75;
    margin-bottom: 36px; max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 6px; font-size: 1rem; font-weight: 700;
    background: var(--gold); color: var(--navy);
    box-shadow: none;
    transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-primary:hover { background: #D4953A; transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px; border-radius: 10px; font-size: 1rem; font-weight: 600;
    color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2);
    transition: border-color .15s, color .15s, background .15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.06); }
.btn-arrow { font-size: 1rem; transition: transform .15s; }
.btn-primary:hover .btn-arrow, .btn-secondary:hover .btn-arrow { transform: translateX(3px); }
.hero-note { margin-top: 20px; font-size: .82rem; color: var(--muted); }
.hero-note svg { display: inline; vertical-align: middle; margin-right: 4px; }

/* Hero — Dashboard Card Mockup */
.hero-visual { position: relative; }
.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}
.dc-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.dc-title { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dc-dot-row { display: flex; gap: 6px; }
.dc-dot { width: 8px; height: 8px; border-radius: 50%; }
.dc-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 20px; }
.dc-stat {
    padding: 14px 12px; text-align: center;
    border-inline-start: 1px solid var(--border);
}
.dc-stat:first-child { border-inline-start: 0; }
.dc-stat-val { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.dc-stat-lbl { font-size: .7rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.dc-chart { margin-bottom: 20px; }
.dc-chart-label { font-size: .72rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.dc-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; border-bottom: 1px solid var(--border); }
.dc-bar { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(to top, #C58B35, #E2B877); }
.dc-rows { display: flex; flex-direction: column; }
.dc-row {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 2px; border-bottom: 1px solid var(--border);
}
.dc-row:last-child { border-bottom: 0; }
.dc-row-icon {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; flex-shrink: 0;
}
.dc-row-info { flex: 1; }
.dc-row-name { font-size: .78rem; font-weight: 600; color: var(--text); }
.dc-row-sub { font-size: .68rem; color: var(--muted); }
.dc-row-badge {
    font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.badge-green { background: rgba(46,125,79,.12); color: var(--green); }
.badge-amber { background: rgba(194,87,12,.12); color: #B4530A; }
.badge-blue { background: rgba(197,139,53,.16); color: var(--copper-text); }
.float-pill {
    position: absolute; display: flex; align-items: center; gap: 8px;
    background: var(--white); border-radius: 999px;
    padding: 8px 14px; box-shadow: var(--shadow-md);
    font-size: .78rem; font-weight: 600; color: var(--text);
    white-space: nowrap;
}
.pill-icon { font-size: 1rem; }
.pill-tl { top: -18px; left: 20px; }
.pill-br { bottom: -18px; right: 20px; }

/* ── Stats Strip ──────────────────────────────────────────────────────── */
.stats-strip {
    background: var(--navy); padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-inner {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 1px; background: rgba(255,255,255,.07); border-radius: 12px; overflow: hidden;
}
.stat-item {
    background: var(--navy); padding: 28px 24px; text-align: center;
}
.stat-val {
    font-size: 1.5rem; font-weight: 800; color: var(--white);
    letter-spacing: -.01em; line-height: 1.25;
}
.stat-val span { color: var(--gold); }
.stat-lbl { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 6px; font-weight: 500; }

/* ── Features ─────────────────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--bg); }
.features-header { text-align: center; margin-bottom: 60px; }
.features-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.feature-card {
    background: var(--white); border-radius: 14px;
    padding: 32px 28px; border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-pale);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.fi-blue  { background: #E8ECF3; }
.fi-green { background: #d1fae5; }
.fi-gold  { background: #FBEADB; }
.fi-purple{ background: #ede9fe; }
.fi-pink  { background: #fce7f3; }
.fi-teal  { background: #ccfbf1; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── How It Works ─────────────────────────────────────────────────────── */
.how { padding: 100px 0; background: var(--white); }
.how-header { text-align: center; margin-bottom: 64px; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.how-grid::before {
    content: '';
    position: absolute; top: 36px; left: calc(16.6% + 20px); right: calc(16.6% + 20px);
    height: 2px; background: repeating-linear-gradient(90deg, var(--blue-pale) 0, var(--blue-pale) 8px, transparent 8px, transparent 16px);
}
.how-step { text-align: center; position: relative; }
.how-number {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--blue); color: var(--white);
    font-size: 1.5rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; position: relative; z-index: 1;
    box-shadow: 0 0 0 8px var(--blue-pale);
}
.how-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.how-step p  { font-size: .9rem; color: var(--muted); line-height: 1.7; max-width: 260px; margin: 0 auto; }

/* ── About / Trust ────────────────────────────────────────────────────── */
.about { padding: 100px 0; background: var(--bg); }
.about-header { text-align: center; margin-bottom: 56px; }
.about-grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 24px; align-items: start;
}
.about-story,
.about-card {
    background: var(--white); border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.about-story {
    padding: 36px;
}
.about-story h3,
.about-card h3 {
    font-size: 1.15rem; font-weight: 800; color: var(--text);
    margin-bottom: 14px; letter-spacing: -.02em;
}
.about-story p,
.about-card p {
    font-size: .96rem; color: var(--muted); line-height: 1.8;
}
.about-story p + p {
    margin-top: 14px;
}
.about-list {
    list-style: none; display: grid; gap: 12px; margin-top: 22px;
}
.about-list li {
    position: relative; padding-left: 20px;
    color: var(--text); font-size: .92rem; line-height: 1.7;
}
.about-list li::before {
    content: '';
    position: absolute; left: 0; top: .7rem;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue);
}
.about-side {
    display: grid; gap: 18px;
}
.about-card {
    padding: 24px;
}
.about-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px; color: var(--blue); font-weight: 700; font-size: .92rem;
}
.about-link:hover {
    color: var(--blue-light);
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: var(--navy);
    text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(197,139,53,.10) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    color: var(--white); line-height: 1.2; margin-bottom: 16px; letter-spacing: -.02em;
}
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white {
    padding: 15px 32px; border-radius: 10px; font-size: 1rem; font-weight: 700;
    background: var(--white); color: var(--navy);
    transition: transform .1s, box-shadow .15s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.btn-cta-outline {
    padding: 15px 32px; border-radius: 10px; font-size: 1rem; font-weight: 600;
    border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.9);
    transition: border-color .15s, background .15s;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); }
.cta-guarantee { margin-top: 20px; font-size: .82rem; color: rgba(255,255,255,.4); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: #080f20; padding: 56px 0 32px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { display: none; }
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; gap: 48px; }
    .how-grid::before { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .navbar-menu {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; gap: 18px; padding: 20px 24px 24px;
        background: var(--bg); border-bottom: 1px solid var(--border);
    }
    .navbar.menu-open .navbar-menu { display: flex; }
    .navbar-links { flex-direction: column; align-items: flex-start; gap: 16px; }
    .navbar-links a { font-size: 1rem; }
    .navbar-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .hamburger { display: flex; }
}

@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── Legal / text pages (Privacy, Error) ─────────────────────────────── */
.page-content { padding: 64px 0 80px; background: var(--white); }
.page-content .container { max-width: 820px; }
.page-content h1 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.page-content h2 { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 32px 0 8px; }
.page-content p, .page-content li { color: var(--text); font-size: .98rem; margin-bottom: 10px; }
.page-content ul { padding-inline-start: 22px; margin-bottom: 10px; }
.page-content a { color: var(--copper-text); text-decoration: underline; }
.page-content em { color: var(--muted); }
