@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;900&display=swap');

:root {
    --navy: #3A3F47;
    --navy-dark: #252A30;
    --teal: #2E7D52;
    --teal-dark: #1A5436;
    --hero-bg: #252A30;
    --blue-cta: #2E7D52;
    --blue-cta-hover: #1A5436;
    --gray: #F4F6F9;
    --gray-mid: #e2e8f0;
    --text-dark: #0f172a;
    --text-mid: #475569;
    --text-light: #94a3b8;
    --white: #ffffff;
}

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

body {
    font-family: 'Barlow', sans-serif;
    color: var(--text-dark);
    background: var(--white);
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--gray-mid);
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    font-family: system-ui, sans-serif;
}

.logo { text-decoration: none; display: inline-flex; align-items: center; }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--gray); color: var(--text-dark); }
.nav-links a.active { background: var(--gray); color: var(--text-dark); }
.chevron { font-size: 0.6rem; opacity: 0.5; }

.nav-ctas { display: flex; gap: 12px; align-items: center; }

.btn-signin {
    background: none; border: none; font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: 1rem; color: var(--text-dark); cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-nav-cta {
    background: var(--blue-cta); color: white; border: none;
    padding: 10px 22px; border-radius: 6px; font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: background 0.2s; letter-spacing: 0.02em; text-decoration: none;
    display: inline-block;
}
.btn-nav-cta:hover { background: var(--blue-cta-hover); }

.nav-right { display: flex; gap: 10px; align-items: center; }
.btn-text { background: none; border: none; font-weight: 600; font-size: 0.93rem; cursor: pointer; padding: 8px 12px; border-radius: 6px; color: var(--text-mid); font-family: 'Barlow', sans-serif; transition: background 0.15s; }
.btn-text:hover { background: var(--gray); }
.btn-demo { background: var(--teal); color: #fff; border: none; padding: 9px 22px; border-radius: 7px; font-weight: 800; font-size: 0.93rem; cursor: pointer; font-family: system-ui, sans-serif; white-space: nowrap; transition: background 0.2s; }
.btn-demo:hover { background: #1A5436; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    background-color: var(--hero-bg);
    padding: 90px 48px 80px;
    text-align: center;
}

.page-hero .eyebrow {
    display: inline-block;
    background: rgba(46,125,82,0.15);
    color: var(--teal);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}

.page-hero h1 {
    font-family: 'Barlow', sans-serif;
    font-size: 4rem; font-weight: 900;
    color: white; line-height: 1.05;
    letter-spacing: -0.02em; margin-bottom: 20px;
    max-width: 800px; margin-left: auto; margin-right: auto;
}

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

.page-hero p {
    font-size: 1.15rem; color: rgba(255,255,255,0.65);
    line-height: 1.75; max-width: 580px;
    margin: 0 auto 36px;
}

/* ── SHARED BUTTONS ── */
.btn-primary {
    background: var(--blue-cta); color: white; border: none;
    padding: 14px 36px; font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: background 0.2s; display: inline-block; text-decoration: none;
}
.btn-primary:hover { background: var(--blue-cta-hover); }

.btn-outline {
    background: none; border: 2px solid var(--text-dark);
    color: var(--text-dark); padding: 12px 28px;
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.2s;
    text-transform: uppercase; letter-spacing: 0.06em;
    display: inline-block; text-decoration: none;
}
.btn-outline:hover { background: var(--text-dark); color: white; }

.btn-outline-white {
    background: none; border: 2px solid rgba(255,255,255,0.4);
    color: white; padding: 12px 28px;
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.2s;
    text-transform: uppercase; letter-spacing: 0.06em;
    display: inline-block; text-decoration: none;
}
.btn-outline-white:hover { border-color: var(--teal); color: var(--teal); }

/* ── SECTION LABELS ── */
.eyebrow {
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 14px; display: block;
}

/* ── SECTION COMMON ── */
.section { padding: 60px 48px; }
.section.gray { background: var(--gray); }
.section.dark { background: var(--hero-bg); }
.section.navy { background: var(--navy); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 36px; }

.section-header h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 2.6rem; font-weight: 900;
    color: var(--text-dark); line-height: 1.1;
    letter-spacing: -0.02em; margin-bottom: 16px;
}

.section-header.white h2 { color: white; }

.section-header p {
    font-size: 1.05rem; color: var(--text-mid); line-height: 1.8;
}

.section-header.white p { color: rgba(255,255,255,0.65); }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 44px 48px 24px; }

.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo { margin-bottom: 10px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 230px; margin-bottom: 14px; }
.footer-contact { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 2.1; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: var(--teal); }

.footer-col h4 {
    color: white; font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.35); text-decoration: none;
    font-size: 0.85rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
    padding-top: 18px; font-size: 0.75rem; color: rgba(255,255,255,0.2);
}

/* ── FEATURE MOCK UI ── */
.mock-window {
    background: white; border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    overflow: hidden; border: 1px solid var(--gray-mid);
}
.mock-titlebar {
    background: var(--navy); padding: 12px 16px;
    display: flex; gap: 6px; align-items: center;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-body { padding: 24px; }
.mock-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--gray);
}
.mock-row:last-child { border-bottom: none; }
.mock-line { height: 9px; border-radius: 4px; background: var(--gray-mid); }
.mock-badge {
    padding: 4px 12px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700; margin-left: auto; flex-shrink: 0;
}
.mock-badge.green { background: rgba(46,125,82,0.15); color: var(--teal); }
.mock-badge.yellow { background: rgba(251,191,36,0.15); color: #d97706; }
.mock-badge.blue { background: rgba(26,108,240,0.15); color: #1a6cf0; }
.mock-badge.red { background: rgba(239,68,68,0.15); color: #dc2626; }

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: var(--gray);
    border-radius: 12px;
    border: 2px dashed var(--gray-mid);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; color: var(--text-light);
}
.img-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.4; }
.img-placeholder .ph-label {
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-light); opacity: 0.6;
}

/* ── CARD GRID ── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
    background: white; border-radius: 10px; padding: 36px 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top: 3px solid var(--teal);
}

.card-icon {
    width: 52px; height: 52px; background: rgba(46,125,82,0.1);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 20px; font-size: 1.5rem;
}

.card h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem; font-weight: 800;
    color: var(--text-dark); margin-bottom: 12px; letter-spacing: -0.01em;
}
.card p { color: var(--text-mid); line-height: 1.7; font-size: 0.97rem; }

/* ── FEATURE ROW ── */
.feature-row { display: flex; align-items: center; gap: 80px; padding: 60px 48px; }
.feature-row.alt { flex-direction: row-reverse; background: var(--gray); }
.feature-row-content { flex: 1; }
.feature-row-image { flex: 1; }

.feature-row-content h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 2.4rem; font-weight: 900;
    color: var(--text-dark); line-height: 1.1;
    margin-bottom: 18px; letter-spacing: -0.02em;
}
.feature-row-content p {
    color: var(--text-mid); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px;
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--navy); padding: 52px 48px;
    display: flex; justify-content: center; gap: 80px; text-align: center;
}
.stat-item h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 3rem; font-weight: 900; color: var(--teal);
    margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat-item p { color: rgba(255,255,255,0.65); font-size: 1rem; font-weight: 500; line-height: 1.4; }

/* ── TESTIMONIAL ── */
.testimonial-block { background: var(--hero-bg); padding: 64px 48px; text-align: center; }
.testimonial-block blockquote {
    font-family: 'Barlow', sans-serif;
    font-size: 1.8rem; font-weight: 700; color: white;
    max-width: 760px; margin: 0 auto 32px; line-height: 1.45; letter-spacing: -0.01em;
}
.quote-mark { color: var(--teal); font-size: 4rem; line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.testimonial-author { color: rgba(255,255,255,0.5); font-size: 1rem; font-weight: 500; }
.testimonial-author strong { color: var(--teal); }

/* ── FINAL CTA BAND ── */
.cta-band { padding: 64px 48px; text-align: center; background: var(--gray); }
.cta-band h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 2.8rem; font-weight: 900; color: var(--text-dark);
    margin-bottom: 16px; letter-spacing: -0.02em;
}
.cta-band p { color: var(--text-mid); font-size: 1.1rem; margin-bottom: 40px; }

.cta-band.dark { background: var(--navy); }
.cta-band.dark h2 { color: white; }
.cta-band.dark p { color: rgba(255,255,255,0.6); }

/* ── SKIP LINK ── */
.skip-link {
    position: absolute; left: 8px; top: -48px;
    background: var(--blue-cta); color: white; text-decoration: none;
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.9rem;
    padding: 10px 18px; border-radius: 6px; z-index: 1000;
    transition: top 0.15s;
}
.skip-link:focus { top: 8px; }

/* ── MOBILE NAV ── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.25s; }
.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); }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 99; padding: 20px 24px 40px; flex-direction: column; gap: 2px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; font-weight: 700; font-size: 1.1rem; color: var(--text-dark); padding: 13px 14px; border-radius: 8px; transition: background 0.15s; }
.mobile-menu a:hover { background: var(--gray); }
.mobile-menu hr { border: none; border-top: 1px solid var(--gray-mid); margin: 10px 0; }
.mobile-menu .btn-demo { margin-top: 6px; padding: 15px; border-radius: 10px; font-size: 1rem; display: block; text-align: center; width: 100%; }

@media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links, .nav-right, .nav-ctas { display: none; }
    .hamburger { display: flex; }
    .mobile-menu .btn-demo { width: auto; }

    .page-hero { padding: 56px 24px 48px; }
    .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }

    .section, .cta-band, .feature-row, .feature-row.alt, .testimonial-block, .stats-bar { padding: 48px 24px; }
    .feature-row, .feature-row.alt { flex-direction: column; gap: 32px; }

    .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }

    .stats-bar { flex-direction: column; gap: 24px; }

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