/* ===== DocMate marketing site ===== */
:root {
    --navy: #001A87;
    --navy-dark: #00125e;
    --navy-light: #3A55B8;
    --ink: #0A1428;
    --muted: #5A6B85;
    --line: #E3E9F2;
    --bg: #FFFFFF;
    --bg-alt: #F4F7FC;
    --bg-soft: #EEF3FB;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(0, 26, 135, 0.08);
    --shadow-sm: 0 4px 18px rgba(10, 20, 40, 0.06);
}

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

html { scroll-behavior: smooth; }

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 760px; }

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
    border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); box-shadow: 0 8px 24px rgba(0,26,135,.25); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--bg-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: var(--navy); }
.logo-img { height: 100px; width: auto; display: block; }
.footer .logo-img { height: 80px; filter: brightness(0) invert(1); }
.brand-mark {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--navy); color: #fff; font-size: 16px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ===== Hero ===== */
.hero {
    background: radial-gradient(1200px 500px at 80% -10%, #DCE6FB 0%, transparent 60%), var(--bg);
    padding: 72px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge {
    display: inline-block;
    background: var(--bg-soft); color: var(--navy);
    font-weight: 600; font-size: 13px;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.lead { font-size: 19px; color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone {
    position: relative;
    width: 290px; height: 580px;
    background: #0A1428; border-radius: 42px;
    padding: 14px; box-shadow: 0 30px 70px rgba(0,26,135,.22);
}
.phone-notch {
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 24px; background: #0A1428; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
    background: var(--bg-alt); height: 100%; border-radius: 30px; overflow: hidden;
    padding: 18px 14px; display: flex; flex-direction: column; gap: 0;
}

/* App-mockup (ligner DocMate-appens forside) */
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.mock-greet { font-size: 9px; font-weight: 700; color: var(--muted); letter-spacing: .09em; }
.mock-name { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.mock-role { font-size: 10px; color: var(--muted); }
.mock-avatar { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.mock-h { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mock-stat { background: #fff; border-radius: 11px; padding: 10px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; }
.mock-stat-ic { width: 30px; height: 30px; border-radius: 8px; background: #E7ECF9; display: grid; place-items: center; flex-shrink: 0; }
.mock-stat-val { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1; }
.mock-stat-lab { font-size: 10px; color: var(--muted); }
.mock-sub { font-size: 9px; font-weight: 700; color: var(--muted); letter-spacing: .09em; margin-bottom: 8px; }
.mock-unit { background: #fff; border-radius: 11px; padding: 9px 10px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.mock-unit-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.mock-unit-ic.el { background: #E0E5F5; } .mock-unit-ic.vvs { background: #FCE6D9; } .mock-unit-ic.vent { background: #D9F0F7; }
.mock-unit-main { flex: 1; min-width: 0; }
.mock-unit-name { font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-unit-sub { font-size: 10px; color: var(--muted); }
.mock-pill { font-size: 9px; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.mock-pill.green { background: #DCF3E4; color: #1F7A43; }
.mock-pill.red { background: #FBE0E0; color: #B42323; }
.mock-nav { margin: auto -14px -18px 0; padding: 10px 6px 12px; display: flex; justify-content: space-between; background: #fff; border-top: 1px solid var(--line); }
.mock-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; color: var(--muted); font-size: 8px; font-weight: 600; }
.mock-nav-item.active { color: var(--navy); }
.mock-nav-item svg { width: 18px; height: 18px; }
.app-bar { font-weight: 800; color: var(--navy); font-size: 18px; padding: 12px 6px 4px; }
.app-card {
    background: #fff; border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center;
    box-shadow: var(--shadow-sm);
}
.app-icon {
    width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
    background: #E3EAFb; font-size: 20px; flex-shrink: 0;
}
.app-icon.orange { background: #FCE6D9; }
.app-icon.cyan { background: #D9F0F7; }
.app-title { font-weight: 700; font-size: 14px; }
.app-sub { font-size: 12px; color: var(--muted); }
.app-status {
    font-size: 12.5px; font-weight: 700; padding: 9px 14px; border-radius: 10px;
}
.app-status.green { background: #DCF3E4; color: #1F7A43; }
.app-status.red { background: #FBE0E0; color: #B42323; }

/* ===== Trust ===== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 24px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { color: var(--navy); font-size: 16px; }
.trust-item span { color: var(--muted); font-size: 14px; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { color: var(--navy-light); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 50px; height: 50px; border-radius: 13px; background: var(--bg-soft);
    display: grid; place-items: center; font-size: 24px; margin-bottom: 16px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 10px; }
.step-num {
    width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--navy); color: #fff; font-weight: 800; font-size: 22px;
    display: grid; place-items: center;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry {
    text-align: center; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 32px 22px;
}
.industry-icon { font-size: 38px; }
.industry h3 { margin: 14px 0 6px; font-size: 19px; }
.industry p { color: var(--muted); font-size: 14px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 34px 28px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.price-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--navy); color: #fff; font-size: 13px; font-weight: 700;
    padding: 6px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 22px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price .amount { font-size: 46px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.price .per { color: var(--muted); font-weight: 600; }
.price-desc { color: var(--muted); margin-bottom: 20px; }
.price-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price-card li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; border-bottom: 1px solid var(--bg-alt); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 800; }
.price-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px;
}
.faq summary {
    cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--navy); font-size: 22px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 80px 0; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: 36px; font-weight: 800; letter-spacing: -.5px; }
.cta p { font-size: 19px; opacity: .9; margin: 14px 0 30px; }
.cta .hero-cta { justify-content: center; }

/* Footer */
.footer { background: var(--ink); color: #B7C2D6; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .03em; }
.footer-col a { display: block; color: #B7C2D6; font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: 14px;
}
.footer-bottom .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .hero h1 { font-size: 40px; }
    .feature-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .steps { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 560px) {
    .feature-grid, .industry-grid, .trust-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 33px; }
    .section-head h2 { font-size: 29px; }
    .nav-actions .btn-ghost { display: none; }
}
