:root {
    --navy: #182D44; --navy-2: #22405F; --gold: #C6A462; --gold-soft: #FBF5E8;
    --cream: #FAF7F2; --ink: #1F2A37; --muted: #5B6675; --line: #E7E1D6; --green: #15803D;
    --radius: 18px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Tajawal', Tahoma, Arial, sans-serif; font-size: 18px; line-height: 1.75; }
  a { color: inherit; }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

  header { position: sticky; top: 0; z-index: 10; background: rgba(250,247,242,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; color: var(--navy); }
  .brand img { height: 52px; width: auto; }
  .links { display: flex; gap: 22px; font-weight: 500; }
  .links a { text-decoration: none; color: var(--muted); }
  .links a:hover { color: var(--navy); }
  .nav-cta { display: flex; gap: 10px; align-items: center; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease; }
  .btn:active { transform: translateY(2px); }
  .btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 0 #0E1C2C; }
  .btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 0 #9C7F45; }
  .btn-ghost { border-color: var(--navy); color: var(--navy); background: #fff; }
  .btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

  .hero { padding: 56px 0 40px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
  .eyebrow { display: inline-block; background: var(--gold-soft); color: #8A6A2B; border: 1px solid var(--gold); border-radius: 999px; padding: 2px 14px; font-weight: 700; font-size: 15px; }
  h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.25; color: var(--navy); margin: 14px 0 12px; font-weight: 800; }
  .lead { font-size: 20px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .note { margin-top: 14px; font-size: 15px; color: var(--muted); }
  /* Phone mockups: real app screens (720×1280) inside a CSS frame */
  .phone { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; background: #0E1C2C; padding: 9px;
           box-shadow: 0 24px 50px rgba(24,45,68,.22), inset 0 0 0 2px #2B4560; }
  .phone::before { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px;
                   background: #0E1C2C; border-radius: 0 0 12px 12px; z-index: 2; }
  .phone picture, .phone img { display: block; width: 100%; height: 100%; }
  .phone img { object-fit: cover; border-radius: 26px; background: #fff; }
  .hero-phones { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
  .hero-phones .phone { width: min(270px, 62%); z-index: 1; }
  .hero-phones .phone.back { position: absolute; width: min(230px, 52%); top: 50px; inset-inline-end: 2%; z-index: 0;
                             transform: rotate(6deg); opacity: .96; }
  .hero-phones .phone.front { margin-inline-end: 22%; transform: rotate(-3deg); }
  .glow { position: absolute; inset: 12% 8% 6%; background: radial-gradient(closest-side, rgba(198,164,98,.35), transparent); z-index: -1; }
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
  .gallery figure { margin: 0; text-align: center; }
  .gallery .phone { max-width: 250px; margin: 0 auto; }
  .gallery figcaption { margin-top: 14px; font-weight: 700; color: var(--navy); }
  .gallery figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }

  section { padding: 56px 0; }
  .sec-title { text-align: center; color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; font-weight: 800; }
  .sec-sub { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 40em; }

  .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .card { background: #fff; border: 1.5px solid var(--line); border-bottom-width: 4px; border-radius: var(--radius); padding: 22px; }
  .card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--navy); font-size: 24px; margin-bottom: 10px; }
  .card h3 { margin: 0 0 6px; color: var(--navy); font-size: 19px; }
  .card p { margin: 0; color: var(--muted); font-size: 16px; }

  .stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; counter-reset: st; }
  .station { display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; }
  .station .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
  .station b { display: block; color: var(--navy); }
  .station span { color: var(--muted); font-size: 15px; }
  .tag { margin-inline-start: auto; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
  .tag-free { background: #E7F6EC; color: var(--green); }
  .tag-prem { background: var(--gold-soft); color: #8A6A2B; }

  .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
  .plan { border-radius: 22px; padding: 28px; border: 2px solid var(--line); border-bottom-width: 6px; background: #fff; }
  .plan.premium { background: var(--navy); border-color: var(--gold); color: #fff; }
  .plan h3 { margin: 0; font-size: 26px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
  .plan.premium h3 { color: #fff; }
  .price { font-size: 34px; font-weight: 800; margin: 6px 0 2px; color: var(--green); }
  .plan.premium .price { color: var(--gold); }
  .price small { font-size: 17px; font-weight: 500; }
  .price-alt { color: var(--gold); font-weight: 700; margin: 0 0 8px; }
  .plan ul { list-style: none; padding: 0; margin: 16px 0 22px; }
  .plan li { padding-inline-start: 30px; position: relative; margin-bottom: 8px; }
  .plan li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; font-weight: 800; color: var(--green); }
  .plan.premium li::before { color: var(--gold); }
  .soon { border: 1.5px dashed var(--gold); border-radius: 12px; padding: 10px 14px; color: var(--gold); font-weight: 700; text-align: center; margin-bottom: 14px; }
  .plan .btn { width: 100%; }
  .code-note { text-align: center; margin-top: 18px; color: var(--muted); }

  .orgs { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
  .orgs h2 { margin: 0 0 8px; color: var(--navy); font-size: 28px; }
  .orgs ul { margin: 0; padding-inline-start: 20px; color: var(--muted); }
  .orgs .act { text-align: center; }

  .faq { max-width: 820px; margin: 0 auto; }
  details { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
  summary { cursor: pointer; font-weight: 700; color: var(--navy); }
  details p { margin: 10px 0 0; color: var(--muted); }

  footer { background: var(--navy); color: #D9E1EA; padding: 34px 0; margin-top: 40px; font-size: 15px; }
  .foot { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
  .foot a { color: #D9E1EA; text-decoration: none; }
  .foot a:hover { color: var(--gold); }

  @media (max-width: 900px) {
    .hero-grid, .orgs { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .links { display: none; }
    .mnav { display: flex; }
    .hero-phones .phone.front { margin-inline-end: 18%; }
  }
  @media (max-width: 640px) {
    body { font-size: 17px; }
    .features, .plans { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; gap: 36px; }
    .gallery .phone { max-width: 240px; }
    .hero-phones .phone.back { display: none; }
    .hero-phones .phone.front { margin: 0; transform: none; width: min(250px, 70%); }
    .hero { padding-top: 32px; }
    .nav-cta .btn-ghost { display: none; }
    .brand span { display: none; }
  }

  /* Multi-page site (R74c) */
  .links a[aria-current="page"] { color: var(--navy); font-weight: 800; box-shadow: inset 0 -3px 0 var(--gold); padding-bottom: 4px; }
  .mnav { display: none; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
  .mnav::-webkit-scrollbar { display: none; }
  .mnav a { flex: none; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
  .mnav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
  .page-head { padding: 48px 0 8px; text-align: center; }
  .page-head h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 10px 0 8px; }
  .page-head .lead { margin: 0 auto; }
  .cta-band { text-align: center; }
  .cta-band .wrap { background: var(--navy); color: #fff; border-radius: 24px; padding: 36px 20px; }
  .cta-band h2 { margin: 0 0 6px; font-size: 28px; }
  .cta-band p { margin: 0 0 18px; color: #D9E1EA; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; margin-top: 28px; }
  .steps .card { position: relative; padding-top: 30px; }
  .steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; inset-inline-start: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 26px 16px; } }
  @media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
