:root {
  --primary: #E8182A;
  --primary-dark: #C5141F;
  --primary-deep: #A50F19;
  --accent: #FF4D5E;
  --text: #0D0D0D;
  --text-2: #606060;
  --hint: #9CA3AF;
  --bg: #FFFFFF;
  --surface: #F3F4F6;
  --card: #F5F6F8;
  --border: #E2E4E8;
  --money: #16A34A;
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; gap: 24px; margin-inline-start: auto; font-weight: 600; color: var(--text-2); }
.nav-links a:hover { color: var(--primary); }
.nav .btn { padding: 9px 20px; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 17px; font-family: inherit;
  border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #fff; opacity: .92; }

/* ---------- Hero ---------- */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 84px 0 96px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset-inline-start: -120px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.35; font-weight: 800; }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); margin-top: 18px; opacity: .95; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 15px; opacity: .8; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(300px, 70vw); border-radius: 42px;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 15px; letter-spacing: .5px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-top: 6px; }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 17px; }
.alt { background: var(--surface); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.card .ico { font-size: 32px; line-height: 1; }
.card h3 { font-size: 19px; font-weight: 700; margin: 14px 0 6px; }
.card p { color: var(--text-2); font-size: 15.5px; }

.step { text-align: center; }
.step .num {
  width: 54px; height: 54px; margin-inline: auto;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  border-radius: 50%; font-size: 22px; font-weight: 800;
}

/* ---------- Provider band ---------- */
.band { background: var(--primary-deep); color: #fff; border-radius: 26px; padding: 54px 40px; text-align: center; }
.band h2 { color: #fff; }
.band p { max-width: 60ch; margin: 14px auto 28px; opacity: .92; font-size: 17px; }

/* ---------- Download ---------- */
.store { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.store .pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--text); color: #fff; padding: 14px 26px; border-radius: 14px;
  font-weight: 600; font-size: 16px;
}
.store .pill span.small { display: block; font-size: 12px; opacity: .7; font-weight: 400; }
.soon { text-align: center; color: var(--hint); margin-top: 18px; font-size: 15px; }

/* ---------- Footer ---------- */
footer { background: var(--text); color: #fff; padding: 48px 0 32px; }
footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer .brand { color: #fff; }
footer p { color: #b8b8b8; font-size: 15px; max-width: 40ch; margin-top: 12px; }
footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #d5d5d5; }
footer nav a:hover { color: var(--accent); }
footer .copy { border-top: 1px solid #2a2a2a; margin-top: 34px; padding-top: 20px; color: #8d8d8d; font-size: 14px; text-align: center; }

/* ---------- Legal page ---------- */
.legal { padding: 56px 0 84px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.legal .updated { color: var(--hint); margin-top: 8px; font-size: 15px; }
.legal h2 { font-size: 23px; margin-top: 40px; }
.legal p, .legal li { color: #333; font-size: 16.5px; }
.legal ul { margin: 12px 24px 0; display: grid; gap: 8px; }
.legal a { color: var(--primary); font-weight: 600; }
.legal .box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px; margin-top: 20px;
}

/* ---------- Forms ---------- */
.form {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-top: 24px;
  display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 15.5px; }
.field .hint { color: var(--hint); font-size: 13.5px; font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,24,42,.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[dir="ltr"] { text-align: right; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--primary); flex: none; }
.form .btn { width: 100%; }
.form-note { color: var(--text-2); font-size: 14.5px; text-align: center; }
.warn {
  background: #FEF2F2; border: 1px solid #FCA5A5; color: #7F1D1D;
  border-radius: var(--radius); padding: 20px 24px; margin-top: 22px;
}
.warn strong { color: #7F1D1D; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .g4 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
