:root {
  --bg: #060608;
  --bg-2: #0c0c10;
  --card: #111116;
  --card-2: #16161d;
  --line: #22222b;
  --line-2: #2e2e39;
  --text: #f4f4f6;
  --muted: #9b9ba8;
  --dim: #6b6b78;
  --red: #e3121b;
  --red-hot: #ff2d36;
  --red-soft: rgba(255, 45, 54, .12);
  --silver: #c9ccd3;
  --ok: #2fd07a;
  --warn: #ffb020;
  --radius: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3, .display { font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif; line-height: 1.15; letter-spacing: -.01em; }
.red { color: var(--red-hot); }
.chrome {
  background: linear-gradient(180deg, #fff 0%, #e2e4e9 40%, #8d909a 70%, #d9dbe0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hidden { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .25s, background .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-red {
  color: #fff; background: linear-gradient(180deg, var(--red-hot), var(--red));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 12px 32px -10px rgba(255,45,54,.75);
}
.btn-red:hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 16px 44px -8px rgba(255,45,54,.95); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: #44444f; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: .9rem; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,6,8,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.05rem "Readex Pro", sans-serif; letter-spacing: .3px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 18px rgba(255,45,54,.5); }
.brand small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.nav-links { display: flex; gap: 26px; color: var(--muted); font-size: .94rem; margin-inline-start: auto; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta { margin-inline-start: auto; } .nav-cta .hide-sm { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { /* red stage light */
  content: ""; position: absolute; left: 50%; top: -260px; width: 1300px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,45,54,.42), rgba(227,18,27,.12) 55%, transparent 75%);
}
.hero-bg::after { /* garage floor grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-size: .9rem; color: #e8e8ec;
}
.pill b { background: var(--red); color: #fff; font-size: .75rem; padding: 3px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 800; margin: 26px auto 18px; max-width: 14ch; }
.hero .lead { color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 46ch; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero-meta { margin-top: 16px; color: var(--dim); font-size: .85rem; }

.stage { position: relative; margin: 70px auto 0; width: min(1080px, 100%); perspective: 1600px; }
.stage::before { /* glow under the window */
  content: ""; position: absolute; inset: 12% 8% -6%; background: var(--red); filter: blur(90px); opacity: .35; z-index: -1;
}
.window {
  border-radius: 14px; overflow: hidden; background: #0b0b10; border: 1px solid #2b2b35;
  transform: rotateX(14deg) translateY(10px); transform-origin: 50% 0;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03);
  transition: transform 1.1s var(--ease);
}
.stage.in .window { transform: rotateX(0) translateY(0); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #111117; border-bottom: 1px solid #23232c; direction: ltr; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #34343f; }
.window-bar i:first-child { background: var(--red-hot); }
.window-bar span { margin-left: auto; font: 600 .78rem "Readex Pro", sans-serif; color: var(--dim); }
.window img { width: 100%; height: auto; }

.marquee { margin-top: 70px; border-block: 1px solid var(--line); overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: slide 32s linear infinite; }
.marquee-track span { font: 700 .95rem "Readex Pro", sans-serif; color: var(--dim); letter-spacing: 2px; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "◆"; color: var(--red); font-size: .6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.sec { padding: 110px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--red-hot); font: 700 .85rem "Readex Pro", sans-serif; letter-spacing: 1px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.sec-title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 14px 0 14px; max-width: 18ch; }
.sec-sub { color: var(--muted); max-width: 54ch; font-size: 1.05rem; }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-title, .sec-head.center .sec-sub { margin-inline: auto; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  position: relative; grid-column: span 2; padding: 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile.wide { grid-column: span 3; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; color: var(--red-hot); background: var(--red-soft); border: 1px solid rgba(255,45,54,.28); }
.tile h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: .96rem; }
.tile .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; direction: ltr; justify-content: flex-end; }
.tile .chips span { font: 600 .78rem ui-monospace, Menlo, Consolas, monospace; padding: 5px 10px; border-radius: 8px; background: #1c1c24; border: 1px solid var(--line-2); color: #d5d5dc; }
.tile.glow::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-start: -80px; bottom: -120px; background: var(--red); filter: blur(90px); opacity: .22; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-card::before {
  counter-increment: s; content: "0" counter(s);
  display: block; font: 800 2.6rem "Readex Pro", sans-serif; line-height: 1; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--red-hot), rgba(255,45,54,.15)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: .96rem; }
.step-card kbd { font: 600 .82rem ui-monospace, Menlo, monospace; background: #1c1c24; border: 1px solid var(--line-2); border-bottom-width: 2px; padding: 1px 7px; border-radius: 6px; color: #e5e5ea; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: stretch; }
.price-card {
  position: relative; padding: 38px 34px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, rgba(255,45,54,.25), transparent 60%), var(--card);
  border: 1px solid rgba(255,45,54,.35);
}
.price-card .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; }
.price-card h3 { font-size: 1.3rem; margin: 18px 0 4px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 2px; }
.price-row .now { font: 800 clamp(3.6rem, 8vw, 5rem) "Readex Pro", sans-serif; line-height: 1; }
.price-row .cur { color: var(--muted); font-size: 1.1rem; }
.price-row .was { color: var(--dim); text-decoration: line-through; font-size: 1.4rem; }
.per { color: var(--muted); }
.slots { display: flex; gap: 6px; margin: 24px 0 8px; }
.slots i { flex: 1; height: 8px; border-radius: 4px; background: #262630; }
.slots i.on { background: linear-gradient(90deg, var(--red), var(--red-hot)); box-shadow: 0 0 12px rgba(255,45,54,.6); }
.slots-text { color: #ffb4b8; font-size: .9rem; }
.price-card .btn { margin-top: 26px; }
.incl { list-style: none; display: grid; gap: 14px; padding: 34px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); align-content: center; }
.incl li { display: flex; gap: 12px; align-items: flex-start; }
.incl li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ff2d36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; border: 1px solid rgba(255,45,54,.3); }
.incl li b { display: block; }
.incl li span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 18px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red-hot); font-size: 1.5rem; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; }

/* cta band */
.band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 32px; text-align: center; border: 1px solid rgba(255,45,54,.3);
  background: radial-gradient(60% 120% at 50% 120%, rgba(255,45,54,.45), transparent 70%), var(--card); }
.band img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 40px rgba(255,45,54,.55); }
.band h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.band p { color: var(--muted); margin-bottom: 28px; }
.band .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer */
footer { padding: 50px 0 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.socials a:hover { border-color: #44444f; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ======================= buy & order pages ======================= */
.page { padding: 110px 0 80px; min-height: 100vh; }
.page-head { margin-bottom: 30px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: var(--muted); }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.panel h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel h2 i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--red); font-size: .9rem; }

.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; border-radius: 15px; background: #0b0b0f; border: 1px solid var(--line); margin-bottom: 16px; }
.method { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 11px; border: 1px solid transparent; background: none; color: var(--muted); font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.method:hover { color: var(--text); }
.method.active { background: var(--card-2); color: var(--text); border-color: var(--line-2); box-shadow: 0 6px 18px -8px rgba(0,0,0,.8); }
.method.active svg { color: var(--red-hot); }
.amount-box { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 20px; border-radius: 16px; background: radial-gradient(80% 120% at 0% 0%, rgba(255,45,54,.22), transparent 70%), #0b0b0f; border: 1px solid rgba(255,45,54,.35); margin-bottom: 18px; }
.amount-box span { color: var(--muted); }
.amount-box b { font: 800 2rem "Readex Pro", sans-serif; }
.amount-box div { display: flex; align-items: baseline; gap: 10px; }
.amount-box s { color: var(--dim); font-size: 1.1rem; }
.bank-rows { display: grid; gap: 10px; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #0b0b0f; border: 1px solid var(--line); }
.bank-row small { display: block; color: var(--muted); font-size: .8rem; }
.bank-row b { font-weight: 600; word-break: break-all; }
.bank-row b.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; direction: ltr; unicode-bidi: isolate; }
.copy { flex: none; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #17171e; color: var(--text); cursor: pointer; font-size: .85rem; transition: border-color .2s; }
.copy:hover { border-color: #4a4a56; }
.copy.done { border-color: var(--ok); color: var(--ok); }
.note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.3); color: #ffd58a; font-size: .9rem; }

label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 7px; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 13px; background: #0b0b0f; border: 1px solid var(--line-2); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--red-hot); box-shadow: 0 0 0 4px rgba(255,45,54,.16); }
.input.ltr { text-align: left; }
.drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 28px 18px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed #3a3a46; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px), #0b0b0f;
  transition: border-color .2s, background-color .2s; margin-bottom: 18px;
}
.drop:hover, .drop.over { border-color: var(--red-hot); background-color: rgba(255,45,54,.05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .d-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-hot); margin-bottom: 4px; }
.drop b { font-weight: 600; }
.drop small { color: var(--dim); }
.drop.has { border-style: solid; border-color: var(--ok); }
.preview { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; }
.preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.preview .pdf { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; background: #1c1c24; font: 800 .9rem "Readex Pro"; color: var(--red-hot); }
.preview div { min-width: 0; }
.preview b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert { padding: 13px 16px; border-radius: 13px; margin-bottom: 16px; font-size: .94rem; }
.alert.err { background: rgba(255,45,54,.1); border: 1px solid rgba(255,45,54,.4); color: #ffc4c7; }
.alert a { text-decoration: underline; }

/* order status */
.status-card { max-width: 600px; margin: 0 auto; text-align: center; padding: 44px 30px; }
.badge-ico { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; }
.badge-ico.review { background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.4); color: var(--warn); }
.badge-ico.approved { background: rgba(47,208,122,.1); border: 1px solid rgba(47,208,122,.45); color: var(--ok); }
.badge-ico.rejected { background: rgba(255,45,54,.1); border: 1px solid rgba(255,45,54,.45); color: var(--red-hot); }
.spin { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-card h1 { font-size: 1.9rem; margin-bottom: 8px; }
.status-card > p { color: var(--muted); margin-bottom: 22px; }
.serial-box { display: grid; gap: 12px; margin: 6px 0 22px; padding: 20px; border-radius: 18px; background: radial-gradient(120% 100% at 50% 0%, rgba(47,208,122,.12), transparent 70%), #0b0b0f; border: 1px solid rgba(47,208,122,.4); }
.serial-box small { color: var(--muted); }
.serial-box code { font: 700 clamp(1.05rem, 4.6vw, 1.5rem) ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1.5px; word-break: break-all; user-select: all; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px dashed #4a4a56; direction: ltr; }
.serial-box .warn { color: #ffd58a; font-size: .86rem; }
.reason { padding: 14px 16px; border-radius: 14px; background: rgba(255,45,54,.08); border: 1px solid rgba(255,45,54,.35); color: #ffc4c7; margin-bottom: 22px; }
.meta { display: grid; gap: 8px; text-align: start; margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; background: #0b0b0f; border: 1px solid var(--line); font-size: .92rem; }
.meta div { display: flex; justify-content: space-between; gap: 12px; }
.meta span { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.save-link { margin-top: 18px; color: var(--dim); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
}
