:root {
  --navy: #14268a;
  --navy-deep: #0b1650;
  --navy-soft: #e9ecfb;
  --gold: #f5b301;
  --gold-soft: #fff6d9;
  --green: #1e8a4c;
  --red: #d64545;
  --ink: #121a33;
  --muted: #5b6480;
  --line: #e3e6f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 30, 90, .08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Naskh Arabic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code { background: var(--navy-soft); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-text { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand-text small { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.site-nav a:hover, .site-nav a.is-active { color: var(--navy); background: var(--navy-soft); }
.site-nav .nav-cta { background: var(--navy); color: #fff; margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--navy-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s; cursor: pointer; font-size: .98rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-play { background: #000; color: #fff; padding: 10px 20px; }
.btn-play:hover { color: #fff; }
.btn-play svg { width: 26px; height: 26px; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.1rem; text-align: left; }
.btn-play small { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.btn-play.is-soon { cursor: default; opacity: .9; }
.btn-play.is-soon:hover { transform: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(245, 179, 1, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 138, 76, .25), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 80px 0 90px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: rgba(245, 179, 1, .12); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { color: var(--gold); }
.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--gold); }

/* Phone mock-ups */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; margin: 0; width: 250px; height: 520px; border-radius: 38px;
  background: #0a0f2c; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 18px; margin-left: -35px; background: #0a0f2c; border-radius: 999px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.phone.p1 { left: 50%; margin-left: -125px; top: 0; z-index: 3; }
.phone.p2 { left: 0; top: 50px; transform: rotate(-7deg) scale(.88); z-index: 2; }
.phone.p3 { right: 0; top: 50px; transform: rotate(7deg) scale(.88); z-index: 1; }
.screen { height: 100%; border-radius: 30px; background: #f4f6fd; color: var(--ink); padding: 44px 14px 14px; overflow: hidden; font-size: 11px; }
.screen svg { width: 16px; height: 16px; }
.sc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sc-top b { display: block; font-size: 13px; }
.sc-top small { color: var(--muted); font-size: 9.5px; }
.sc-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.sc-bell { margin-left: auto; position: relative; color: var(--navy); }
.sc-bell i { position: absolute; top: -6px; right: -7px; background: var(--red); color: #fff; font-style: normal; font-size: 8px; font-weight: 800; border-radius: 999px; padding: 1px 4px; }
.sc-banner { background: linear-gradient(135deg, var(--navy), #2a3fb8); color: #fff; border-radius: 14px; padding: 12px; margin-bottom: 12px; border-left: 4px solid var(--gold); }
.sc-banner small { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 8.5px; letter-spacing: .06em; }
.sc-banner b { display: block; font-size: 12.5px; margin: 3px 0; }
.sc-banner span { opacity: .85; font-size: 10px; }
.sc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.sc-tiles span { background: #fff; border-radius: 12px; padding: 8px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; color: var(--muted); box-shadow: 0 2px 6px rgba(20, 38, 138, .06); }
.sc-tiles svg { color: var(--navy); }
.sc-section, .sc-title { font-weight: 800; font-size: 12px; margin: 4px 2px 8px; }
.sc-title { font-size: 16px; margin-bottom: 12px; }
.sc-row { display: flex; gap: 10px; background: #fff; border-radius: 12px; padding: 9px 10px; margin-bottom: 6px; }
.sc-row b { color: var(--navy); font-size: 11px; }
.sc-row span { font-weight: 700; }
.sc-row small { display: block; color: var(--muted); font-weight: 500; font-size: 9px; }
.sc-overall { background: linear-gradient(135deg, var(--green), #2fb36a); color: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.sc-overall span { font-size: 10px; opacity: .9; }
.sc-overall b { display: block; font-size: 26px; }
.sc-overall small { opacity: .9; }
.sc-sem { background: #fff; border-radius: 12px; padding: 9px 10px; margin-bottom: 7px; display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.sc-sem span { font-weight: 700; }
.sc-sem b { color: var(--navy); }
.sc-sem i { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--navy) var(--w), var(--navy-soft) var(--w)); }
.sc-sem .w76 { --w: 76%; } .sc-sem .w77 { --w: 77%; } .sc-sem .w79 { --w: 79%; } .sc-sem .w81 { --w: 81%; }
.sc-note { font-size: 9px; color: var(--muted); text-align: center; margin-top: 10px; }
.sc-msg { background: #fff; border-radius: 12px; padding: 9px 10px; margin-bottom: 7px; display: grid; grid-template-columns: 1fr auto; border-left: 3px solid var(--navy-soft); }
.sc-msg b { font-size: 9.5px; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.sc-msg span { grid-column: 1; font-weight: 700; }
.sc-msg small { grid-row: 1; grid-column: 2; color: var(--muted); font-size: 9px; }
.sc-msg.urgent { border-left-color: var(--gold); background: var(--gold-soft); }

/* Strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; }
.strip b { display: block; color: var(--navy); font-size: 1.02rem; }
.strip span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head.left { text-align: left; margin: 0; }
.section-head .eyebrow { color: var(--navy); background: var(--navy-soft); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--navy-soft); color: var(--navy); margin-bottom: 14px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature:nth-child(3n+2) .feature-icon { background: var(--gold-soft); color: #b07d00; }
.feature:nth-child(3n) .feature-icon { background: #e3f4ea; color: var(--green); }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
.center-note { text-align: center; color: var(--muted); margin: 32px auto 0; max-width: 720px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--navy); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { color: var(--muted); }
.faq details > :last-child { padding-bottom: 16px; margin-bottom: 0; }

.cta { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; }
.cta h2 { font-size: 1.7rem; }
.cta p { margin: 0; opacity: .85; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 52px 0 48px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 6px 0; }
.page-hero .meta { opacity: .8; margin: 0; }
.crumbs { margin: 0; font-size: .9rem; opacity: .8; }
.crumbs a { color: #fff; }

.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 44px 0 80px; align-items: start; }
.doc-toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; font-size: .92rem; }
.doc-toc b { margin-bottom: 8px; }
.doc-toc a { text-decoration: none; color: var(--muted); padding: 5px 10px; border-radius: 8px; }
.doc-toc a:hover { background: var(--navy-soft); color: var(--navy); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; scroll-margin-top: 90px; color: var(--navy-deep); }
.doc h3 { font-size: 1.02rem; margin-top: 1.4em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.callout { background: var(--gold-soft); border: 1px solid #f3dd96; border-radius: 14px; padding: 16px 18px; margin: 0 0 24px; }
.wrap > .callout { margin: 24px 0 8px; }

.doc-narrow { max-width: 900px; padding: 44px 0 80px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 20px; }
.panel h2 { font-size: 1.3rem; color: var(--navy-deep); }
.panel > :last-child { margin-bottom: 0; }
.panel li { margin-bottom: .45em; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.option-grid .panel { margin: 0; }
.option { border-top: 4px solid var(--navy); }
.option + .option { border-top-color: var(--gold); }
.option-tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); background: var(--navy-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 28px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: -34px; position: relative; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.contact-card:not(.is-static):hover { transform: translateY(-2px); color: var(--ink); }
.contact-label { display: block; font-size: .78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.contact-card b { display: block; font-size: 1.08rem; word-break: break-word; }
.contact-card small { color: var(--muted); }
.help-section { padding: 30px 0 10px; }
.help-section:last-child { padding-bottom: 80px; }
.help-section h2 { font-size: 1.5rem; color: var(--navy-deep); }
.help-section .btn { margin: 0 8px 8px 0; }
.app-message { margin: 12px 0 16px; padding: 18px 20px; background: var(--navy-soft); border-left: 4px solid var(--navy); border-radius: 12px; color: var(--ink); }
.app-message b { display: block; margin-bottom: 6px; color: var(--navy-deep); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding-top: 52px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { background: #fff; border-radius: 50%; padding: 3px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { display: block; color: rgba(255, 255, 255, .78); text-decoration: none; margin-bottom: 8px; word-break: break-word; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 24px; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 56px 0 40px; }
  .phones { height: 540px; max-width: 520px; margin: 0 auto; width: 100%; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap, .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .doc-toc b { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 20px 18px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps, .option-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .doc { padding: 26px 20px; }
  .panel { padding: 22px 20px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .phones { height: 480px; }
  .phone { width: 210px; height: 440px; }
  .phone.p1 { margin-left: -105px; }
  .phone.p2 { left: -40px; transform: rotate(-7deg) scale(.8); }
  .phone.p3 { right: -40px; transform: rotate(7deg) scale(.8); }
  .hero h1 { font-size: 2rem; }
  .strip-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
