:root {
  --navy: #0b1f3a;
  --navy-2: #16345e;
  --royal: #2f3bd9;
  --royal-grad: linear-gradient(150deg, #3b3fe0, #2563eb);
  --sky: #38bdf8;
  --sky-deep: #0284c7;
  --sky-soft: #e0f2fe;
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #e3e8f0;
  --text: #0b1f3a;
  --muted: #5b6b82;
  --green: #15803d;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* header */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #e0e7ff; font-weight: 600; font-size: 15px; }
.lang { border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 4px 12px; color: #fff !important; }

/* hero */
.hero { background: var(--royal-grad); color: #fff; padding-bottom: 80px; border-radius: 0 0 36px 36px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 30px; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -1.2px; margin: 18px 0 16px; font-weight: 900; }
h1 span { color: #a5f3fc; }
.lead { font-size: 18px; color: #e0e7ff; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 800; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn-sky { background: #fff; color: var(--royal); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.soon { font-size: 12px; font-weight: 600; opacity: .75; display: block; }
.badges { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; color: #e0e7ff; font-size: 14px; }
.badges b { color: #fff; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 32px; border: 8px solid #0b1f3a; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); overflow: hidden; background: #000; }
.phone.p1 { right: 120px; top: 0; z-index: 2; }
.phone.p2 { right: 0; top: 70px; transform: rotate(4deg); opacity: .95; }

/* sections */
section { padding: 70px 0; }
h2 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.8px; margin: 0 0 10px; font-weight: 900; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--royal); color: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; border: 1px solid var(--line); }
.shots figcaption { text-align: center; color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--navy); font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.trust { background: var(--royal-grad); color: #fff; border-radius: 28px; padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.trust .ic { margin: 0; width: 64px; height: 64px; font-size: 30px; background: var(--sky); color: var(--navy); }
.trust p { color: #e0e7ff; margin: 6px 0 0; }

/* footer */
footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.foot .brand { color: var(--navy); font-size: 16px; }
.foot .brand img { width: 30px; height: 30px; border-radius: 9px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* legal pages */
.legal-hero { background: var(--royal-grad); color: #fff; padding-bottom: 40px; border-radius: 0 0 28px 28px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); margin-top: 20px; }
.legal { max-width: 780px; margin: 0 auto; padding: 40px 20px 20px; }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal p, .legal li { color: #2b3b52; }
.legal .updated { color: var(--muted); font-size: 14px; }
.note { background: var(--sky-soft); border-radius: 14px; padding: 16px 18px; color: #075985; font-weight: 600; }

/* language switch */
[lang-en] { display: none; }
body.en [lang-en] { display: revert; }
body.en [lang-sw] { display: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 470px; }
  .phone { width: 210px; }
  .phone.p1 { left: 50%; right: auto; transform: translateX(-75%); }
  .phone.p2 { left: 50%; right: auto; transform: translateX(-10%) rotate(4deg); }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(5, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots figure { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .nav-links a:not(.lang) { display: none; }
  .grid, .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; padding: 28px; }
}
