/* SverigeFokus umbrella landing — modern pass (2026-07-07) */
:root {
  --blue: #005293;
  --blue-dark: #003a69;
  --blue-deep: #04264a;
  --yellow: #fecb00;
  --ink: #0e2038;
  --muted: #56677a;
  --bg: #f7f9fc;
  --card: #ffffff;
  --line: #e3eaf3;
  --green: #14804a;
  --radius: 20px;
  --shadow-sm: 0 2px 10px #04264a0f;
  --shadow-md: 0 12px 32px #04264a1a;
  --shadow-lg: 0 24px 64px #04264a26;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Manrope", "Inter", sans-serif; letter-spacing: -0.02em; }
a { color: var(--blue); text-decoration: none; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Topbar (glass) ── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  background: #ffffffd9;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-size: 1.12rem; font-family: "Manrope", sans-serif; font-weight: 800; }
.flag {
  width: 26px; height: 17px; border-radius: 3px; display: inline-block;
  box-shadow: var(--shadow-sm);
  background:
    linear-gradient(to bottom, transparent 40%, var(--yellow) 40%, var(--yellow) 60%, transparent 60%),
    linear-gradient(to right, transparent 31%, var(--yellow) 31%, var(--yellow) 44%, transparent 44%),
    var(--blue);
}
.topnav { display: flex; gap: 24px; margin-left: auto; }
.topnav a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .15s; }
.topnav a:hover { color: var(--blue-dark); }
.lang-toggle { display: flex; gap: 4px; background: #eef3f9; border-radius: 999px; padding: 3px; }
.lang-toggle button {
  background: transparent; color: var(--muted); border: none;
  padding: 5px 13px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .85rem;
}
.lang-toggle button.active { background: var(--blue); color: #fff; }

/* ── Hero ── */
.hero { position: relative; text-align: center; padding: 96px 24px 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(620px 340px at 12% 0%, #bcd9f280, transparent 70%),
    radial-gradient(720px 400px at 88% 8%, #fdeea680, transparent 70%),
    radial-gradient(500px 300px at 50% 100%, #d3f2e14d, transparent 70%),
    linear-gradient(180deg, #e9f2fb, var(--bg));
}
.hero-eyebrow {
  display: inline-block; font-weight: 700; font-size: .9rem; color: var(--blue-dark);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 18px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; color: var(--blue-deep);
  line-height: 1.08;
}
.hero .sub { font-size: 1.25rem; color: var(--muted); margin: 18px auto 44px; max-width: 620px; }
.hero-cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.hero-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px 30px; width: 320px; text-align: left; color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hero-card:nth-child(1) { background: linear-gradient(165deg, #fffdf4, #fdf6dd); border-color: #f3e6b3; }
.hero-card:nth-child(2) { background: linear-gradient(165deg, #f6fdf9, #e4f7ec); border-color: #c8e9d6; }
.hero-card h3 { margin: 12px 0 6px; color: var(--blue-deep); font-size: 1.45rem; font-weight: 800; }
.hero-card p { color: var(--muted); font-size: .95rem; }
.card-arrow {
  position: absolute; right: 22px; bottom: 18px; font-size: 1.2rem; color: var(--blue);
  transition: transform .18s ease;
}
.hero-card:hover .card-arrow { transform: translateX(4px); }
.tag { font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.tag.premium { background: #fff3c4; color: #7a5b00; }
.tag.free { background: #d9f2e0; color: var(--green); }

/* ── Product sections (soft color washes) ── */
.product {
  display: flex; gap: 72px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 96px 24px;
}
#blisvensk {
  background:
    radial-gradient(560px 300px at 88% 18%, #fff0b833, transparent 70%),
    linear-gradient(160deg, #eaf3fc, #f3f8fd 55%, #fdf9ec);
}
#sfiprov {
  background:
    radial-gradient(560px 300px at 12% 18%, #d5ecfa44, transparent 70%),
    linear-gradient(200deg, #eafaf1, #f2fbf6 55%, #eef6fd);
}
.product > * { max-width: 1120px; }
.product.alt { flex-direction: row-reverse; }
.product-copy { max-width: 500px; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .08em;
  font-size: .76rem; font-weight: 800; color: var(--blue);
  background: #e3eefb; border-radius: 999px; padding: 5px 14px;
}
.kicker.green { color: var(--green); background: #ddf1e6; }
.product-copy h2 { font-size: 2.6rem; font-weight: 800; color: var(--blue-deep); margin: 14px 0 12px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.chips { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.chips li {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 11px 14px; box-shadow: var(--shadow-sm); font-weight: 500; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.chips li:hover { transform: translateX(3px); box-shadow: var(--shadow-md); }
.chip-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; font-size: .95rem; font-weight: 700;
}
.i-video { background: #efe5fb; color: #6b2fb3; }
.i-q     { background: #e3eefb; color: var(--blue); }
.i-timer { background: #fdeaea; color: #b3261e; }
.i-img   { background: #e6f5f0; color: #0d7a5f; }
.i-chart { background: #fff3c4; color: #7a5b00; }
.i-book  { background: #e3eefb; color: var(--blue); }
.i-ai    { background: #efe5fb; color: #6b2fb3; }
.i-game  { background: #fdeaea; color: #b3261e; }
.i-doc   { background: #e6f5f0; color: #0d7a5f; }

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 22px; }
.price-now { font-family: "Manrope", sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--blue-deep); }
.price-now.free { color: var(--green); }
.price s { color: #9aa8b8; font-size: 1.1rem; }
.price-note { color: var(--muted); font-size: .92rem; width: 100%; }

.store-launch-note {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 10px; color: var(--green); font-size: .78rem;
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.store-launch-note::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px #dff5ed;
}

/* CTAs + store badges */
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0d1117; color: #fff; border-radius: 12px; padding: 8px 18px 8px 14px;
  line-height: 1.15; transition: transform .15s ease, opacity .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge small { display: block; font-size: .66rem; font-weight: 500; opacity: .85; }
.store-badge b { font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; }
.store-badge.soon { background: #9aa5b1; cursor: default; }
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--blue); color: #fff; padding: 10px 22px; border-radius: 12px;
  font-weight: 700; box-shadow: 0 6px 18px #00529340;
  transition: transform .15s ease, background .15s ease;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--blue-dark); border: 1.5px solid var(--blue);
  padding: 10px 22px; border-radius: 12px; font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}
.btn-secondary:hover { background: #e3eefb; transform: translateY(-2px); }

/* ── Phone mockups ── */
.product-media { position: relative; }
.phone-glow {
  position: absolute; inset: -12% -18%; z-index: -1; filter: blur(48px); opacity: .5;
  background: radial-gradient(closest-side, #7db4e666, transparent);
}
.phone-glow.green { background: radial-gradient(closest-side, #7ed9a866, transparent); }
.phone {
  position: relative; width: 290px; aspect-ratio: 9 / 19;
  background: #0b0d12; border-radius: 40px; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2f3a;
}
.phone-notch {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px; background: #0b0d12; border-radius: 999px; z-index: 3;
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #0b1e33; display: block;
}

/* Mini in-app screen mock: 16:9 video top, description, quiz button bottom */
.app-screen {
  display: flex; flex-direction: column; height: 100%;
  background: #f4f7fb; border-radius: 30px; overflow: hidden;
}
.app-topbar {
  background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem;
  padding: 30px 14px 10px; display: flex; align-items: center; gap: 8px;
}
.flag.tiny { width: 18px; height: 12px; box-shadow: none; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #000; flex-shrink: 0; }
.video-wrap video { width: 100%; height: 100%; object-fit: contain; display: block; }
.app-body { padding: 16px 15px 0; flex: 1; }
.app-body h4 { color: var(--blue-deep); font-size: .98rem; margin-bottom: 6px; }
.app-body p { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.quiz-btn {
  margin: 0 15px 20px; padding: 13px; border: none; border-radius: 13px;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .9rem;
  font-family: "Inter", sans-serif; cursor: default; box-shadow: 0 4px 14px #7a5b0033;
}
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%; border: none; cursor: pointer;
  background: #ffffffe6; color: var(--blue-dark);
  box-shadow: 0 8px 24px #00000066;
  transition: transform .15s ease;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn.hidden { display: none; }
.shots { display: flex; }
.phone.small { width: 226px; }
.phone.small.back { margin-left: -64px; transform: rotate(6deg) translateY(26px); opacity: .95; }

/* ── Blog strip ── */
.blog-strip { padding: 0 24px 32px; }
.blog-inner {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff; border-radius: var(--radius); padding: 30px 36px; box-shadow: var(--shadow-md);
}
.blog-inner h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
.blog-inner p { color: #cfe0f2; font-size: .95rem; max-width: 520px; }
.blog-inner .btn-secondary { border-color: #fff; color: #fff; background: transparent; }
.blog-inner .btn-secondary:hover { background: #ffffff22; }

/* ── Test band ── */
.test-band { padding: 4px 24px 40px; }
.test-inner {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--card); border: 1.5px solid var(--line); border-left: 6px solid var(--yellow);
  border-radius: var(--radius); padding: 26px 32px; box-shadow: var(--shadow-sm);
}
.test-inner h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.test-inner p { color: var(--muted); font-size: .95rem; max-width: 560px; }
.btn-test {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: var(--yellow); color: var(--blue-deep);
  padding: 12px 26px; border-radius: 12px; font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-test:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── Trust + footer ── */
.trust { text-align: center; padding: 44px 24px; background: #eef3f8; border-top: 1px solid var(--line); }
.trust p { max-width: 720px; margin: 0 auto 8px; font-size: .95rem; }
.muted { color: var(--muted); font-size: .9rem; }
.footer { text-align: center; padding: 44px 24px 52px; background: var(--blue-deep); }
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px; color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.footer nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer nav a { color: #b9cde2; font-weight: 600; font-size: .92rem; }
.footer nav a:hover { color: #fff; }
.footer .muted { color: #7e97b2; }
.socials { display: flex; gap: 14px; justify-content: center; margin-bottom: 16px; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #ffffff14; color: #b9cde2; transition: background .15s, color .15s;
}
.socials a:hover { background: var(--yellow); color: var(--blue-deep); }

.only-desktop { display: inline; }
@media (max-width: 720px) {
  .topnav { display: none; }
  .hero { padding: 64px 20px 56px; }
  .product { padding: 60px 20px; gap: 44px; }
  .product.alt { flex-direction: column; }
  .product > * { max-width: 100%; min-width: 0; }
  .product-media { max-width: 100%; }
  .phone { width: min(290px, 78vw); }
  .phone.small { width: min(168px, 42vw); }
  .phone.small.back { margin-left: min(-40px, -11vw); }
  .phone-glow { inset: -8% -6%; }
  .stats div { min-width: 130px; padding: 12px 18px; }
  .only-desktop { display: none; }
  .blog-inner { padding: 26px 24px; }
}
