:root {
  color-scheme: dark;
  --bg: #060102;
  --bg-2: #0d0305;
  --bg-3: #150407;
  --panel: rgba(18, 5, 8, 0.82);
  --panel-solid: #100407;
  --panel-soft: #14060a;
  --line: rgba(255, 115, 122, 0.14);
  --line-2: rgba(255, 80, 96, 0.32);
  --text: #fff8f8;
  --muted: #c9b0b4;
  --muted-2: #896b72;
  --accent: #ff243e;
  --accent-2: #ff4e5f;
  --accent-3: #ff8b92;
  --accent-glow: rgba(255, 36, 62, 0.25);
  --success: #6ef06c;
  --font-en: Inter, sans-serif;
  --font-ar: Cairo, sans-serif;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  font-family: var(--font-en);
  background:
    radial-gradient(circle at top center, rgba(190, 14, 31, 0.25), transparent 32%),
    linear-gradient(180deg, #040001 0%, #090102 38%, #060102 100%);
  color: var(--text);
  overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.iconify { display: inline-block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 66, 76, 0.12), transparent 28%),
    linear-gradient(rgba(255,255,255,.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.008) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
.ambient i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  animation: ambientMove 18s ease-in-out infinite alternate;
}
.ambient i:nth-child(1) { width: 340px; height: 340px; background: #7e0514; top: -100px; left: -120px; }
.ambient i:nth-child(2) { width: 290px; height: 290px; background: #c21227; top: 28%; right: -100px; animation-delay: -6s; }
.ambient i:nth-child(3) { width: 300px; height: 300px; background: #3f050c; bottom: -150px; left: 24%; animation-delay: -10s; }

.app-shell { width: 100%; }
.step { display: none; min-height: 100svh; }
.step.active { display: block; animation: stepIn .4s cubic-bezier(.2,.8,.2,1) both; }
.step.is-leaving { animation: stepOut .2s ease both; }

.hero-shell {
  width: min(100%, 500px);
  margin: 0 auto;
  position: relative;
  padding-bottom: max(30px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(15, 4, 8, 0.14), rgba(8, 2, 3, 0.06));
  box-shadow: 0 0 80px rgba(170, 0, 28, 0.08);
}
.hero-nav {
  height: 88px;
  padding: max(18px, env(safe-area-inset-top)) 20px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  direction: ltr;
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img {
  width: clamp(148px, 40vw, 220px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(255, 18, 54, 0.18));
}
.brand-logo.compact img { width: 132px; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions button {
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-language { gap: 5px; font-weight: 700; font-size: 13px; }
.nav-language .iconify { font-size: 22px; }
.nav-language .tiny { font-size: 15px; color: #c7a3a7; }
.nav-menu .iconify { font-size: 31px; }

.hero-art-zone {
  height: 650px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 41, 59, 0.14), transparent 34%),
    linear-gradient(180deg, #140407 0%, #0c0204 55%, #070102 100%);
}
.hero-art-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 160, 170, 0.04) 50%, transparent 50.2%),
    linear-gradient(rgba(255, 155, 165, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-art-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(50,0,7,0.06) 35%, rgba(70,0,12,0.18) 62%, rgba(8,2,3,0.1) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 390px;
  height: 390px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 48, 70, 0.26), rgba(160, 6, 28, 0.14) 46%, transparent 72%);
  filter: blur(12px);
  z-index: 1;
  animation: glowBreath 6s ease-in-out infinite;
}
.hero-character {
  position: absolute;
  z-index: 2;
  inset: auto 50% 0 auto;
  transform: translateX(50%);
  width: 112%;
  height: 95%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 35px rgba(0,0,0,.5));
  animation: heroFloat 7s ease-in-out infinite;
}
.hero-fade {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,2,4,.24) 25%, rgba(8,2,3,.84) 72%, #060102 100%);
}
.tech-rail {
  position: absolute;
  z-index: 5;
  font-size: 7px;
  letter-spacing: 1.6px;
  color: #b48e94;
  display: flex;
  gap: 8px;
}
.rail-right {
  right: 13px;
  top: 170px;
  flex-direction: column;
  border-left: 1px solid rgba(255, 131, 143, 0.18);
  padding-left: 10px;
}
.rail-left {
  left: 11px;
  top: 265px;
  writing-mode: vertical-rl;
  align-items: center;
}
.rail-left b { height: 38px; width: 1px; background: rgba(255, 131, 143, 0.5); }

.hero-content {
  position: relative;
  z-index: 6;
  margin-top: -120px;
  padding: 0 20px;
  direction: rtl;
}
.hero-title-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.hero-title-logo img {
  width: min(92%, 760px);
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.38));
}
.hero-content h1 {
  text-align: center;
  font: 900 26px/1.3 var(--font-ar);
  letter-spacing: -0.6px;
}
.hero-content h1 em { color: var(--accent-3); font-style: normal; }
.hero-content > p {
  text-align: center;
  font: 600 14px/1.8 var(--font-ar);
  color: var(--muted);
  margin-top: 4px;
}

.stats-panel {
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(19, 5, 8, 0.9), rgba(10, 2, 4, 0.96));
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 12px 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 40px rgba(0,0,0,.2);
}
.stat-item {
  min-width: 0;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 112, 125, 0.08);
}
.stat-item:last-child { border-left: 0; }
.stat-icon, .status-orb {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}
.stat-icon { color: var(--accent-2); font-size: 20px; }
.status-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9bff90, var(--success));
  box-shadow: 0 0 12px rgba(110, 240, 108, 0.55);
  animation: statusPulse 1.7s ease-in-out infinite;
}
.stat-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.stat-copy strong {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.15px;
  font-variant-numeric: tabular-nums;
}
.stat-copy span {
  font-size: 8px;
  letter-spacing: .9px;
  color: #ccaab0;
  line-height: 1.5;
}
.stat-copy span b { display: block; font-weight: 600; color: #a8858b; }
.stat-value-line { display: flex; align-items: center; gap: 7px; }
#onlineDelta { color: var(--success); font-size: 7px; font-weight: 800; transition: .2s; }
#onlineDelta.down { color: #ff9ba7; }
.status-stat .stat-copy strong { color: #9eff92; font-size: 7.8px; }

.primary-cta {
  width: min(100%, 530px);
  margin: 22px auto 0;
  min-height: 66px;
  border: 1px solid rgba(255, 110, 120, 0.46);
  border-radius: 999px;
  background: linear-gradient(90deg, #b0071b 0%, #ff1837 52%, #ff5b63 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 900 20px/1 var(--font-ar);
  box-shadow: 0 16px 40px rgba(173, 5, 28, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.primary-cta::before {
  content: "";
  position: absolute;
  inset: -10% auto -10% -30%;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-22deg);
  animation: ctaSweep 7s ease-in-out infinite;
}
.cta-round {
  position: absolute;
  left: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(27, 5, 7, .22), rgba(27, 5, 7, .4));
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.cta-round .iconify { font-size: 28px; }

.hero-secondary-grid { display: grid; gap: 18px; margin-top: 22px; }
.server-card {
  background: linear-gradient(180deg, rgba(18, 5, 8, 0.82), rgba(9, 2, 4, 0.95));
  border: 1px solid rgba(255, 100, 114, 0.16);
  border-radius: 22px;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.server-dots span {
  display: block;
  direction: ltr;
  text-align: left;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #c9afb3;
}
.server-dots div { display: flex; gap: 12px; margin-top: 15px; }
.server-dots i, .server-list span i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8fff8c, var(--success));
  box-shadow: 0 0 12px rgba(110,240,108,.5);
}
.server-list { display: grid; gap: 6px; }
.server-list p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  direction: ltr;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #f4d8db;
}
.server-list p b { font-size: 9px; color: #d2bcc0; }
.server-list span { display: flex; align-items: center; gap: 7px; color: #7cf975; font-size: 8px; font-weight: 800; }
.server-list span i { width: 12px; height: 12px; }
.server-arrow { color: #dfbbc1; font-size: 22px; }

.feature-row {
  background: linear-gradient(180deg, rgba(16, 4, 7, 0.75), rgba(8, 2, 3, 0.82));
  border: 1px solid rgba(255, 95, 109, 0.12);
  border-radius: 22px;
  padding: 18px 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 4px 8px;
}
.feature + .feature { border-right: 1px solid rgba(255, 128, 140, 0.12); }
.feature .iconify { font-size: 42px; color: var(--accent-2); }
.feature strong { font-size: 8px; letter-spacing: 1.3px; direction: ltr; }
.feature small { font: 700 10px/1.5 var(--font-ar); color: var(--muted); }

.steps-card {
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(16, 4, 7, 0.92), rgba(9, 2, 4, 0.96));
  border: 1px solid rgba(255, 90, 108, 0.16);
  border-radius: 24px;
  padding: 22px 16px 16px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.steps-card h2 { font: 900 22px/1.25 var(--font-ar); }
.steps-card > p { font: 700 12px/1.8 var(--font-ar); color: var(--muted); margin-top: 4px; }
.steps-track {
  position: relative;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.track-line {
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 116, 130, 0.18);
  z-index: 0;
}
.track-line span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #f74253, #ff7a84);
  box-shadow: 0 0 12px rgba(247, 66, 83, 0.45);
}
.step-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; color: #b99ba0; }
.step-node i {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 127, 140, 0.28);
  background: #0d0305;
  display: grid; place-items: center;
}
.step-node i .iconify { font-size: 22px; }
.step-node b { font-size: 11px; font-weight: 800; }
.step-node small { font: 700 9px/1.45 var(--font-ar); color: #d5c2c5; }
.step-node.active i {
  border-color: rgba(255, 98, 110, 0.74);
  color: #fff;
  background: radial-gradient(circle at 35% 35%, #ff6a77, #c50a21 70%);
  box-shadow: 0 0 18px rgba(255, 40, 60, 0.38);
}
.step-node.active b, .step-node.active small { color: #fff; }

.flow-shell {
  width: min(100% - 24px, 580px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom));
}
.flow-header {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  direction: ltr;
}
.back-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 120, 0.24);
  background: rgba(19, 5, 8, 0.82);
  color: var(--text);
  display: grid;
  place-items: center;
}
.back-circle .iconify { font-size: 26px; }
.flow-count {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
}
.flow-heading { text-align: center; margin-top: 24px; }
.flow-heading > span { font-size: 9px; letter-spacing: 2px; color: var(--accent-3); }
.flow-heading h2 { font: 900 28px/1.35 var(--font-ar); margin-top: 10px; }
.flow-heading p { font: 600 13px/1.9 var(--font-ar); color: var(--muted); margin-top: 6px; }
.progress-top { display: flex; gap: 7px; margin: 28px auto 8px; width: 190px; }
.setup-dot { height: 3px; flex: 1; border-radius: 4px; background: #281015; }
.setup-dot.active, .setup-dot.complete { background: linear-gradient(90deg, #e22339, #ff7b82); box-shadow: 0 0 9px rgba(255, 64, 87, 0.35); }
.setup-hint { text-align: center; font-size: 9px; letter-spacing: .6px; color: #d6aeb4; }

.setup-card,
.processing-card,
.verification-card {
  margin-top: 18px;
  background: linear-gradient(160deg, rgba(18, 5, 8, 0.96), rgba(9, 2, 4, 0.98));
  border: 1px solid rgba(255, 97, 111, 0.16);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.setup-stage { animation: stageIn .28s ease both; }
.stage-title { display: flex; align-items: flex-start; gap: 12px; direction: rtl; margin-bottom: 19px; }
.stage-title > span {
  font-size: 8px;
  color: var(--accent-3);
  border: 1px solid rgba(255, 106, 120, 0.22);
  border-radius: 8px;
  padding: 5px 7px;
  margin-top: 2px;
}
.stage-title h3 { font: 800 18px var(--font-ar); }
.stage-title p { font: 500 11px/1.8 var(--font-ar); color: var(--muted); margin-top: 4px; }
.id-input-wrap {
  height: 62px;
  border: 1px solid rgba(255, 108, 124, 0.24);
  background: #0a0204;
  border-radius: 15px;
  display: flex;
  align-items: center;
  direction: ltr;
  padding: 0 16px;
  transition: .2s;
}
.id-input-wrap:focus-within {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(255, 43, 72, 0.08), 0 0 24px rgba(255, 43, 72, 0.08);
}
.id-input-wrap > .iconify { color: var(--accent-2); font-size: 23px; }
.form-input {
  border: 0; outline: 0; background: transparent; color: var(--text);
  width: 100%; height: 100%; padding: 0 14px; font-size: 17px; font-weight: 700; letter-spacing: .5px; direction: ltr;
}
.form-input::placeholder { color: #73595e; }
.field-note { font: 500 10px var(--font-ar); color: #997f84; margin: 9px 3px 2px; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-card {
  position: relative;
  min-height: 124px;
  border: 1px solid rgba(255, 104, 118, 0.19);
  background: #0b0205;
  color: #d3babf;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: .2s;
}
.choice-card > .iconify { font-size: 34px; color: #ffc0c5; }
.choice-card strong { font-size: 11px; }
.choice-card:hover { border-color: rgba(255, 120, 132, 0.46); transform: translateY(-2px); }
.choice-card.selected {
  border-color: var(--accent-2);
  background: linear-gradient(180deg, #21060b, #120305);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 100, 114, 0.12), 0 12px 26px rgba(112, 5, 16, 0.18);
}
.choice-check {
  position: absolute; top: 8px; right: 8px; width: 17px; height: 17px;
  border-radius: 50%; border: 1px solid #5a2b31; display: grid; place-items: center; color: transparent; font-style: normal;
}
.choice-card.selected .choice-check { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.choice-check .iconify { font-size: 11px; }

.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pack-card {
  min-height: 155px;
  position: relative;
  border: 1px solid rgba(255, 105, 121, 0.18);
  background: #0a0204;
  color: #fff;
  border-radius: 18px;
  padding: 11px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transition: .22s;
}
.pack-card img { height: 78px; width: 100%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(255, 35, 66, 0.14)); transition: .22s; }
.pack-card > div { display: flex; flex-direction: column; align-items: center; }
.pack-card strong { font-size: 21px; }
.pack-card span { font-size: 7px; letter-spacing: 1.3px; color: #b39196; margin-top: 4px; }
.pack-card > i {
  position: absolute; right: 9px; top: 9px; width: 17px; height: 17px;
  border: 1px solid #5a2b31; border-radius: 50%; display: grid; place-items: center; color: transparent; font-style: normal;
}
.pack-card > i .iconify { font-size: 11px; }
.pack-card.selected {
  border-color: var(--accent-2);
  background: linear-gradient(180deg, #20060a, #120305);
  box-shadow: 0 12px 25px rgba(112, 5, 16, 0.16);
}
.pack-card.selected img { transform: translateY(-4px) scale(1.05); }
.pack-card.selected > i { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.random-pack { justify-content: center; gap: 13px; }
.random-icon { font-size: 48px !important; color: var(--accent-2) !important; margin: 0 !important; }

.flow-continue {
  margin-top: 18px;
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 110, 120, 0.32);
  background: linear-gradient(90deg, #b0071b 0%, #ff1837 52%, #ff5962 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font: 800 16px var(--font-ar);
  box-shadow: 0 12px 28px rgba(152, 3, 24, 0.24);
}
.flow-continue:disabled {
  background: #241014;
  border-color: #34181e;
  color: #6f555a;
  box-shadow: none;
}
.flow-continue > i {
  position: absolute;
  left: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(46, 6, 12, 0.45);
  display: grid;
  place-items: center;
  font-style: normal;
}
.flow-continue > i .iconify { font-size: 21px; }

.processing-shell, .verify-shell { display: flex; flex-direction: column; }
.processing-card, .verification-card { margin-top: 28px; padding: 32px 20px 24px; text-align: center; }
.processing-label, .verify-kicker { font-size: 8px; letter-spacing: 2px; color: var(--accent-3); }
.processing-amount {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-top: 8px;
  background: linear-gradient(180deg, #fff, #ff7d89);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.deploy-icon, .verify-icon {
  width: 78px; height: 78px; margin: 22px auto 19px; border-radius: 24px;
  background: linear-gradient(145deg, #24070d, #120305);
  border: 1px solid rgba(255, 104, 118, 0.3);
  display: grid; place-items: center; color: var(--accent-2);
  box-shadow: 0 0 35px rgba(184, 6, 29, 0.1);
}
.deploy-icon .iconify, .verify-icon .iconify { font-size: 35px; }
.processing-card h2, .verification-card h2 { font: 800 23px/1.6 var(--font-ar); }
.processing-card > p, .verification-card > p { font: 500 12px/1.9 var(--font-ar); color: var(--muted); margin-top: 6px; }
.tech-progress { margin-top: 30px; }
.progress-bar {
  height: 7px;
  border-radius: 999px;
  background: #230b10;
  overflow: hidden;
  border: 1px solid rgba(255, 102, 118, 0.12);
}
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #b3071b, #ff2440, #ff8188);
  box-shadow: 0 0 14px rgba(255, 63, 86, 0.48);
  transition: width .08s linear;
  position: relative;
}
.progress-fill::after {
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 40px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45));
  animation: progressShine 1.1s linear infinite;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  direction: ltr;
  margin-top: 11px;
  font-size: 9px;
  color: #c39da3;
  letter-spacing: .6px;
}
.progress-text { color: var(--accent-3); font-weight: 800; }
.loading-steps { margin-top: 25px; display: grid; gap: 9px; text-align: right; }
.loading-steps span { font: 600 11px var(--font-ar); color: #906e74; display: flex; align-items: center; gap: 9px; }
.loading-steps i { width: 8px; height: 8px; border-radius: 50%; background: #412128; }
.loading-steps span.done { color: #f0d7da; }
.loading-steps span.done i { background: var(--success); box-shadow: 0 0 10px rgba(57, 215, 106, 0.55); }
.lock-transition { height: 0; opacity: 0; overflow: hidden; display: grid; place-items: center; color: var(--accent-3); transition: .35s; }
.lock-transition.show { height: 90px; opacity: 1; margin-top: 12px; }
.lock-transition .iconify { font-size: 50px; animation: lockPop .72s ease both; }

.verify-kicker { display: block; margin-bottom: 13px; }
.verify-details {
  margin-top: 25px;
  border: 1px solid rgba(255, 102, 118, 0.14);
  background: #0a0204;
  border-radius: 18px;
  padding: 4px 15px;
}
.verify-details > div {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  direction: ltr;
}
.verify-details > div + div { border-top: 1px solid rgba(255, 102, 118, 0.08); }
.verify-details span { font-size: 8px; letter-spacing: 1.4px; color: #a17e84; }
.verify-details strong { font-size: 12px; color: #f6e5e7; overflow-wrap: anywhere; }
.flow-continue.final { margin-top: 18px; }

.notification {
  position: fixed;
  z-index: 99;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 115, 126, 0.34);
  background: #18060a;
  color: #fbeef0;
  font: 600 12px/1.7 var(--font-ar);
  box-shadow: 0 18px 45px rgba(0,0,0,.4);
  animation: toastIn .25s ease both;
}

@media (min-width: 900px) {
  .hero-shell {
    width: min(100% - 44px, 1360px);
    margin: 26px auto;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 120, 0.12);
    display: grid;
    grid-template-columns: minmax(460px, 560px) minmax(520px, 1fr);
    grid-template-areas:
      "nav nav"
      "content art";
    align-items: stretch;
    padding-bottom: 0;
  }
  .hero-nav {
    grid-area: nav;
    position: relative;
    height: auto;
    padding: 26px 28px 0;
  }
  .hero-content {
    grid-area: content;
    margin: 0;
    padding: 36px 28px 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    align-self: stretch;
  }
  .hero-title-logo {
    justify-content: flex-start;
    margin-bottom: 12px;
  }
  .hero-title-logo img { width: min(100%, 620px); }
  .hero-content h1,
  .hero-content > p { text-align: right; }
  .hero-content h1 { font-size: 44px; }
  .hero-content > p { font-size: 16px; max-width: 92%; }
  .stats-panel {
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }
  .stat-item {
    min-height: 72px;
    border-left: 0;
    border: 1px solid rgba(255, 103, 118, 0.08);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,.015);
  }
  .stat-copy strong { font-size: 17px; }
  .stat-copy span { font-size: 10px; }
  .status-stat .stat-copy strong { font-size: 14px; }
  .primary-cta {
    width: min(100%, 420px);
    margin: 24px 0 0 auto;
  }
  .hero-secondary-grid {
    grid-template-columns: 1.02fr .98fr;
    align-items: stretch;
    gap: 16px;
    margin-top: 24px;
  }
  .server-card,
  .feature-row { height: 100%; }
  .feature-row { padding: 18px 16px; }
  .feature strong { font-size: 11px; }
  .feature small { font-size: 11px; }
  .steps-card {
    margin-top: 20px;
    padding: 24px 20px 20px;
  }
  .steps-card h2 { font-size: 30px; }
  .steps-card > p { font-size: 15px; }
  .steps-track { margin-top: 24px; gap: 12px; }
  .track-line { top: 24px; left: 8%; right: 8%; }
  .step-node i { width: 48px; height: 48px; }
  .step-node i .iconify { font-size: 24px; }
  .step-node b { font-size: 15px; }
  .step-node small { font-size: 12px; }

  .hero-art-zone {
    grid-area: art;
    height: auto;
    min-height: 880px;
    border-right: 1px solid rgba(255, 110, 120, 0.08);
  }
  .hero-glow {
    top: 32%;
    width: 520px;
    height: 520px;
  }
  .hero-character {
    width: 108%;
    height: 94%;
    right: 48%;
    object-position: center bottom;
  }
  .hero-fade { height: 34%; }
  .rail-left { left: 16px; top: 46%; }
  .rail-right { right: 18px; top: 180px; font-size: 8px; }

  .flow-shell {
    width: min(100% - 48px, 1140px);
    padding-top: 28px;
  }
  .flow-header { grid-template-columns: 50px 1fr auto; }
  .setup-card {
    padding: 26px;
  }
  .device-grid { gap: 12px; }
  .choice-card { min-height: 154px; }
  .pack-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .pack-card { min-height: 190px; }
  .processing-card,
  .verification-card {
    width: min(100%, 720px);
    margin-left: auto;
    margin-right: auto;
    padding: 38px 28px 28px;
  }
}

@media (min-width: 1200px) {
  .hero-shell {
    grid-template-columns: minmax(500px, 600px) minmax(620px, 1fr);
  }
  .hero-content {
    padding: 54px 34px 34px 40px;
  }
  .hero-content h1 { font-size: 50px; }
  .hero-content > p { font-size: 17px; }
  .hero-art-zone { min-height: 940px; }
  .hero-character { width: 104%; right: 49%; }
}

@media (max-width: 380px) {
  .hero-art-zone { height: 620px; }
  .hero-content { padding: 0 13px; margin-top: -108px; }
  .hero-content h1 { font-size: 22px; }
  .hero-content > p { font-size: 12px; }
  .stats-panel { padding: 11px 2px; }
  .stat-item { padding: 2px 4px; gap: 4px; }
  .stat-icon { font-size: 18px; }
  .stat-copy strong { font-size: 11px; }
  .status-orb { width: 15px; height: 15px; }
  .status-stat .stat-copy strong { font-size: 6.8px; }
  .primary-cta { width: 82%; }
  .server-card { padding-left: 12px; grid-template-columns: .9fr 1.1fr auto; }
  .feature { padding: 2px 5px; }
  .feature strong { font-size: 8.5px; }
  .feature small { font-size: 8.8px; }
  .steps-card { padding-left: 6px; padding-right: 6px; }
  .step-node i { width: 38px; height: 38px; }
  .setup-card { padding: 14px; }
  .device-grid { gap: 6px; }
  .choice-card { min-height: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes heroFloat {
  0%,100% { transform: translateX(50%) translateY(0) scale(1); }
  50% { transform: translateX(50%) translateY(-7px) scale(1.008); }
}
@keyframes glowBreath {
  50% { opacity: .62; transform: translate(-50%, -50%) scale(.93); }
}
@keyframes statusPulse {
  50% { transform: scale(.85); opacity: .78; }
}
@keyframes ctaSweep {
  0%,65% { transform: translateX(-150%) skewX(-22deg); }
  100% { transform: translateX(420%) skewX(-22deg); }
}
@keyframes ambientMove { to { transform: translate(40px, 45px) scale(1.1); } }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes stageIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes progressShine { from { transform: translateX(-25px); } to { transform: translateX(40px); } }
@keyframes lockPop {
  0% { opacity: 0; transform: scale(.65); }
  50% { opacity: 1; transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
