/* ============================================================
   Digitaltbankfack.se — fristående landningssida
   ============================================================ */
:root {
    --lp-primary: #1f6fe0;
    --lp-primary-600: #155ec6;
    --lp-primary-700: #1150aa;
    --lp-navy: #14243d;
    --lp-navy-2: #1d3257;
    --lp-ink: #1a2435;
    --lp-muted: #5b6b82;
    --lp-line: #e3ebf5;
    --lp-bg: #f6f9fd;
    --lp-soft: #eef4fd;
    --lp-amber: #e0a92e;
    --lp-green: #15a36b;
    --lp-radius: 16px;
    --lp-shadow: 0 18px 50px -22px rgba(20, 50, 90, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--lp-ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }

.lp-container { width: min(1140px, 92%); margin: 0 auto; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--lp-primary-700); background: var(--lp-soft);
    padding: 6px 13px; border-radius: 999px;
}
.lp-center { text-align: center; }
.lp-muted { color: var(--lp-muted); }

/* ---- Buttons ---- */
.lp-btn {
    display: inline-flex; align-items: center; gap: 9px;
    font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
    padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.lp-btn-primary { background: var(--lp-primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(31,111,224,.7); }
.lp-btn-primary:hover { background: var(--lp-primary-600); transform: translateY(-1px); }
.lp-btn-ghost { background: #fff; color: var(--lp-navy); border-color: var(--lp-line); }
.lp-btn-ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary-700); }
.lp-btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.lp-btn-light:hover { background: rgba(255,255,255,.24); }
.lp-btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---- Brand ---- */
.lp-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.lp-brand-mark {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-700));
    box-shadow: 0 8px 18px -8px rgba(31,111,224,.8);
}
.lp-brand-mark svg { width: 22px; height: 22px; }
.lp-brand-name { font-size: 17px; letter-spacing: -.02em; color: var(--lp-navy); }

/* ---- Nav ---- */
.lp-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-line);
}
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.lp-nav-links { display: flex; align-items: center; gap: 26px; }
.lp-nav-links a.lp-link { font-weight: 600; color: var(--lp-muted); font-size: 15px; }
.lp-nav-links a.lp-link:hover { color: var(--lp-primary-700); }
.lp-nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---- Hero ---- */
.lp-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 460px at 78% -8%, rgba(31,111,224,.16), transparent 60%),
        radial-gradient(760px 420px at 5% 12%, rgba(21,163,107,.10), transparent 55%),
        var(--lp-bg);
    padding: 84px 0 92px;
}
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: var(--lp-navy); margin: 18px 0 0; }
.lp-hero h1 .hl { color: var(--lp-primary); }
.lp-hero p.lead { font-size: 19px; color: var(--lp-muted); margin: 20px 0 30px; max-width: 540px; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 13px; }
.lp-hero-note { margin-top: 18px; font-size: 14px; color: var(--lp-muted); display: flex; align-items: center; gap: 8px; }
.lp-hero-note i { color: var(--lp-green); }

/* Hero visual — a stylized vault card */
.lp-hero-card {
    background: #fff; border: 1px solid var(--lp-line); border-radius: 22px;
    box-shadow: var(--lp-shadow); padding: 26px; transform: rotate(.5deg);
}
.lp-hc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--lp-line); }
.lp-hc-dot { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lp-soft); color: var(--lp-primary); font-size: 20px; }
.lp-hc-row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px dashed var(--lp-line); }
.lp-hc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-hc-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex: none; }
.lp-hc-tt { font-weight: 700; font-size: 14.5px; }
.lp-hc-sub { font-size: 12.5px; color: var(--lp-muted); }
.lp-hc-lock { margin-left: auto; color: var(--lp-green); font-size: 15px; }
.lp-badge-float {
    position: absolute; right: 6%; bottom: 40px; background: #fff; border: 1px solid var(--lp-line);
    border-radius: 14px; box-shadow: var(--lp-shadow); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 14px;
}
.lp-badge-float i { color: var(--lp-primary); font-size: 18px; }

/* ---- Sections ---- */
.lp-section { padding: 84px 0; }
.lp-section.alt { background: var(--lp-bg); }
.lp-section.navy { background: linear-gradient(160deg, var(--lp-navy), var(--lp-navy-2)); color: #fff; }
.lp-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.lp-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--lp-navy); }
.lp-section.navy .lp-head h2 { color: #fff; }
.lp-head p { font-size: 17px; color: var(--lp-muted); margin-top: 14px; }
.lp-section.navy .lp-head p { color: rgba(255,255,255,.75); }

/* ---- Steps ---- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-step { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 30px 26px; position: relative; }
.lp-step-n { position: absolute; top: -16px; left: 26px; width: 36px; height: 36px; border-radius: 10px; background: var(--lp-primary); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 16px -8px rgba(31,111,224,.8); }
.lp-step h3 { font-size: 19px; margin: 14px 0 8px; color: var(--lp-navy); }
.lp-step p { color: var(--lp-muted); font-size: 15px; margin: 0; }

/* ---- Features ---- */
.lp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-feat { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 26px; transition: transform .15s ease, box-shadow .2s ease; }
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); }
.lp-feat-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--lp-soft); color: var(--lp-primary); margin-bottom: 16px; }
.lp-feat h3 { font-size: 18px; color: var(--lp-navy); margin-bottom: 7px; }
.lp-feat p { color: var(--lp-muted); font-size: 14.5px; margin: 0; }

/* ---- Security (navy) list ---- */
.lp-sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; }
.lp-sec-item { display: flex; gap: 15px; }
.lp-sec-item i { color: #6db5ff; font-size: 22px; flex: none; margin-top: 2px; }
.lp-sec-item h3 { font-size: 17px; color: #fff; margin-bottom: 4px; }
.lp-sec-item p { color: rgba(255,255,255,.72); font-size: 14.5px; margin: 0; }

/* ---- Pricing ---- */
.lp-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.lp-plan { background: #fff; border: 1px solid var(--lp-line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.lp-plan.featured { border: 2px solid var(--lp-primary); box-shadow: var(--lp-shadow); position: relative; }
.lp-plan-tag { position: absolute; top: -13px; left: 32px; background: var(--lp-primary); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.lp-plan h3 { font-size: 20px; color: var(--lp-navy); }
.lp-plan .price { font-size: 38px; font-weight: 800; color: var(--lp-navy); margin: 10px 0 2px; }
.lp-plan .price span { font-size: 15px; font-weight: 600; color: var(--lp-muted); }
.lp-plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.lp-plan li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.lp-plan li i { color: var(--lp-green); font-size: 16px; }
.lp-plan li.off { color: var(--lp-muted); }
.lp-plan li.off i { color: #c2ccd9; }
.lp-plan .lp-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---- FAQ ---- */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 13px; padding: 4px 20px; margin-bottom: 12px; }
.lp-faq summary { cursor: pointer; font-weight: 700; color: var(--lp-navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; color: var(--lp-primary); font-weight: 400; transition: transform .2s ease; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { color: var(--lp-muted); font-size: 15px; margin: 0 0 18px; }

/* ---- CTA band ---- */
.lp-cta { background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-700)); border-radius: 24px; padding: 56px; text-align: center; color: #fff; box-shadow: var(--lp-shadow); }
.lp-cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.lp-cta p { color: rgba(255,255,255,.85); font-size: 17px; margin: 14px auto 28px; max-width: 520px; }
.lp-cta .lp-hero-cta { justify-content: center; }

/* ---- Footer ---- */
.lp-footer { background: var(--lp-navy); color: rgba(255,255,255,.7); padding: 48px 0 36px; }
.lp-footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lp-footer .lp-brand-name { color: #fff; }
.lp-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-footer-links a { color: rgba(255,255,255,.7); font-size: 14.5px; font-weight: 600; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-bottom { padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-hero-visual { order: -1; }
    .lp-steps, .lp-feat-grid, .lp-sec-grid, .lp-price-grid { grid-template-columns: 1fr; }
    .lp-nav-links .lp-link { display: none; }
    .lp-badge-float { display: none; }
    .lp-section { padding: 60px 0; }
    .lp-cta { padding: 40px 24px; }
}
