@font-face { font-family: Qomra; src: url(/fonts/Qomra-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Qomra; src: url(/fonts/Qomra-Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Qomra; src: url(/fonts/Qomra-Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #080605;
  --card: #0f0b09;
  --card-2: #15100c;
  --grid: rgba(255, 255, 255, 0.045);
  --line: rgba(239, 138, 60, 0.2);
  --line-soft: rgba(255, 255, 255, 0.08);
  --ember: #c2410c;
  --orange: #ef8a3c;
  --peach: #f4b27a;
  --cream: #f6eadb;
  --text: #ede3d6;
  --muted: #a8968a;
  --ok: #7fc99a;
  --bad: #f08a7a;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Qomra, system-ui, sans-serif; color: var(--text); background: var(--bg);
  line-height: 1.75; -webkit-font-smoothing: antialiased;
}
.page {
  min-height: 100vh;
}
a { color: inherit; }
code { font-family: ui-monospace, monospace; font-size: .9em; color: var(--peach); }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; }
.muted { color: var(--muted); }
.wrap { width: min(1120px, 92vw); margin-inline: auto; }
.narrow { width: min(560px, 92vw); margin-inline: auto; }

/* ---- header ---- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(8, 6, 5, .72); border-bottom: 1px solid var(--line-soft); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); line-height: 1.2; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--cream); }

/* ---- buttons / badges ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 500 15px/1 Qomra, sans-serif; padding: 13px 22px; border-radius: 8px; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--cream); color: #1a110b; box-shadow: 0 6px 30px rgba(239, 138, 60, .18); }
.btn.ghost { background: transparent; color: var(--cream); border-color: #5a2a18; }
.btn.ghost:hover { border-color: var(--orange); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--peach);
  background: rgba(194, 65, 12, .18); border: 1px solid rgba(239, 138, 60, .35); padding: 5px 14px; border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding: 120px 0 110px; overflow: hidden; width: 100%; }
.hero::before {
  content: ''; position: absolute; inset: -220px 0 auto; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 45%, rgba(194, 65, 12, .55), rgba(194, 65, 12, .12) 55%, transparent 75%);
}
.hero > * { position: relative; }
.hero h1 {
  font-size: clamp(36px, 6vw, 68px); margin: 26px auto 22px; max-width: 880px;
  background: linear-gradient(180deg, var(--cream) 10%, var(--peach) 60%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: #d49a6c; max-width: 620px; margin: 0 auto 34px; font-size: 18px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.divider { height: 1px; width: min(560px, 80%); margin: 0 auto; background: linear-gradient(90deg, transparent, var(--ember), transparent); opacity: .6; }

.statement { text-align: center; padding: 90px 0; font-size: clamp(20px, 2.6vw, 28px); max-width: 820px; margin-inline: auto; color: var(--text); }
.statement b { color: var(--orange); font-weight: 500; }

/* ---- sections ---- */
section.block { padding: 90px 0; border-top: 1px solid var(--line-soft); }
.eyebrow { color: var(--orange); font-size: 14px; letter-spacing: .5px; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); margin: 8px 0 14px; color: var(--cream); }
.section-head { margin-bottom: 44px; max-width: 640px; }

.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.card:hover { border-color: var(--line); }
.card h3 { font-size: 19px; color: var(--cream); margin-bottom: 6px; }
.card .en { font-size: 12px; color: var(--muted); display: block; margin-bottom: 10px; letter-spacing: .3px; }
.icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(194, 65, 12, .16); border: 1px solid rgba(239, 138, 60, .3); color: var(--orange); }
.icon svg { width: 20px; height: 20px; }

.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.values span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; color: var(--peach); }

.reg-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 24px; display: block; box-shadow: 0 40px 80px -40px rgba(194, 65, 12, .55); }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid var(--line-soft); }
.tag.hot { color: var(--peach); border-color: rgba(239, 138, 60, .35); background: rgba(194, 65, 12, .14); }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.price { font-size: 26px; font-weight: 700; color: var(--cream); }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.bnpl { font-size: 12.5px; color: var(--muted); }
.bnpl b { color: var(--peach); font-weight: 500; }
.empty { text-align: center; color: var(--muted); padding: 40px; border: 1px dashed var(--line-soft); border-radius: var(--radius); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line-soft); padding: 60px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--peach); }
.copy { text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px; }

/* ---- forms (register / admin) ---- */
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 15px Qomra, sans-serif; color: var(--text); background: #0b0807;
  border: 1px solid var(--line-soft); border-radius: 8px; padding: 11px 13px; outline: none;
}
/* date fields: Chrome reverses the Arabic letters of an empty date's placeholder,
   so we hide it and show our own text until a date is picked */
.date-wrap { position: relative; display: block; }
.date-wrap.no-date::before { content: attr(data-ph); position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.date-wrap.no-date input::-webkit-datetime-edit { color: transparent; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; filter: invert(.7) sepia(1) saturate(4) hue-rotate(-20deg); }
input, select, textarea { color-scheme: dark; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 138, 60, .15); }
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--orange); background: rgba(194, 65, 12, .1); }
.pay-opt input { width: auto; accent-color: var(--orange); }
.pay-opt b { color: var(--cream); font-weight: 500; display: block; }
.pay-opt span { font-size: 13px; color: var(--muted); }
.brands { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.brands i { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--text); border: 1px solid var(--line-soft); border-radius: 5px; padding: 2px 8px; background: rgba(255, 255, 255, .04); direction: ltr; }
.summary { display: grid; gap: 8px; margin: 18px 0; padding: 16px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft); }
.summary div { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.summary b { color: var(--cream); font-weight: 500; }
.summary .total { font-size: 17px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.alert.err { background: rgba(240, 138, 122, .1); border: 1px solid rgba(240, 138, 122, .35); color: var(--bad); }
.alert.info { background: rgba(239, 138, 60, .08); border: 1px solid var(--line); color: var(--peach); }

.reg-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 50px 0 80px; align-items: start; }
.reg-layout ul { padding-inline-start: 20px; margin: 8px 0 0; color: var(--text); }
.reg-layout li { margin-bottom: 4px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.prices button { font: 400 13px Qomra, sans-serif; padding: 14px 12px; border-radius: 10px; border: 1px solid var(--line-soft); background: transparent; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .25s, background .25s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.prices button:hover:not([disabled]) { border-color: var(--line); transform: translateY(-3px); }
.prices button.on { border-color: var(--orange); background: rgba(194, 65, 12, .1); box-shadow: 0 10px 30px -14px rgba(239, 138, 60, .5); }
.prices button[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.prices button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.prices b { display: block; font-size: 20px; color: var(--cream); }
.sticky { position: sticky; top: 90px; }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .reg-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .hero { padding: 80px 0; }
}


.page-head { position: relative; text-align: center; padding: 100px 0 40px; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: -260px 0 auto; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse 45% 45% at 50% 45%, rgba(194, 65, 12, .5), rgba(194, 65, 12, .1) 55%, transparent 75%); }
.page-head > * { position: relative; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); margin: 22px 0 14px; color: var(--cream); }
.page-head p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 17px; }
.filters-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 34px 0 10px; }
.chip { font: 500 14px Qomra, sans-serif; color: var(--muted); background: transparent; border: 1px solid var(--line-soft); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .25s; }
.chip:hover { color: var(--cream); border-color: var(--line); }
.chip.on { color: #1a110b; background: var(--cream); border-color: var(--cream); }


.foot-links { margin-bottom: -28px; }
.foot-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.foot-links a:hover { color: var(--cream); }
