:root {
  --primary: #1D4ED8;
  --primary-dark: #1E3A8A;
  --primary-light: #3B82F6;
}

.welcome-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Tajawal', system-ui, sans-serif;
  color: #0F172A;
  background: #F8FAFC;
  overflow-x: hidden;
  direction: rtl;
}

.welcome-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(29,78,216,.20), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(13,148,136,.10), transparent 50%),
    linear-gradient(165deg, #EEF2FF 0%, #F8FAFC 45%, #ECFEFF 100%);
  overflow: hidden;
}
.welcome-bg .blob {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: .45;
  animation: blobMove 14s ease-in-out infinite;
}
.welcome-bg .b1 {
  width: 380px; height: 380px; top: -80px; left: -60px;
  background: rgba(59,130,246,.35);
}
.welcome-bg .b2 {
  width: 300px; height: 300px; bottom: 10%; right: -40px;
  background: rgba(13,148,136,.28);
  animation-delay: -4s;
}
.welcome-bg .b3 {
  width: 220px; height: 220px; top: 40%; left: 35%;
  background: rgba(251,146,60,.18);
  animation-delay: -7s;
}
.welcome-bg .spark {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: #60A5FA; opacity: .55;
  box-shadow: 0 0 12px rgba(96,165,250,.8);
  animation: sparkFloat 7s ease-in-out infinite;
}
.welcome-bg .s1 { top: 18%; right: 22%; animation-delay: 0s; }
.welcome-bg .s2 { top: 55%; right: 12%; width: 6px; height: 6px; background: #2DD4BF; animation-delay: -1.5s; }
.welcome-bg .s3 { top: 30%; left: 18%; width: 5px; height: 5px; background: #FBBF24; animation-delay: -3s; }
.welcome-bg .s4 { bottom: 22%; left: 28%; animation-delay: -2.2s; }
.welcome-bg .s5 { top: 70%; right: 40%; width: 4px; height: 4px; background: #FB7185; animation-delay: -4.5s; }
.welcome-bg .s6 { top: 12%; left: 42%; width: 7px; height: 7px; animation-delay: -5.5s; }

.welcome-nav, .welcome-hero, .welcome-section, .welcome-foot {
  position: relative; z-index: 1;
}

.welcome-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 7vw;
}
.welcome-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 17px;
}
.welcome-logo-sm {
  width: 42px; height: 42px; object-fit: contain;
  border-radius: 12px; background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.1); padding: 4px;
}
.welcome-links {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.welcome-links a:not(.btn) {
  font-weight: 800; font-size: 13.5px; color: #475569;
}
.welcome-links a:not(.btn):hover { color: #1D4ED8; }
.welcome-nav-cta { padding: 10px 18px; border-radius: 999px; }

.welcome-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 28px 7vw 48px;
  min-height: calc(100vh - 96px);
}
.welcome-eyebrow {
  display: inline-flex; margin: 0 0 14px; padding: 6px 12px;
  border-radius: 999px; background: rgba(29,78,216,.1);
  color: #1E3A8A; font-size: 12.5px; font-weight: 800;
}
.welcome-eyebrow.light {
  background: rgba(255,255,255,.16); color: #fff;
}
.welcome-hero h1, .welcome-section h2 {
  margin: 0; font-weight: 900; letter-spacing: -.04em; line-height: 1.15;
}
.welcome-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.welcome-section h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 12px; }
.welcome-hero h1 span, .welcome-section h2 span, .anim-title span {
  background: linear-gradient(120deg, #1D4ED8, #0D9488, #3B82F6, #1D4ED8);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.welcome-lead, .section-banner > div > p, .showcase-copy > p, .admin-cta p {
  color: #475569; font-size: 15.5px; line-height: 1.75; font-weight: 600;
}
.welcome-lead { margin: 18px 0 26px; max-width: 540px; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.welcome-btn-lg { padding: 14px 22px; border-radius: 14px; font-size: 15px; }

.welcome-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.welcome-pills span, .pill-pop {
  padding: 7px 12px; border-radius: 999px; background: #fff;
  border: 1px solid #E2E8F0; font-size: 12px; font-weight: 800; color: #334155;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
  animation: pillIn .7s ease both; animation-delay: var(--d, 0s);
}

.welcome-hero-visual {
  position: relative; min-height: 440px; display: grid; place-items: center;
  transition: transform .35s ease-out;
}
.welcome-orb {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.55), rgba(29,78,216,.08) 60%, transparent 70%);
  filter: blur(4px); animation: floaty 8s ease-in-out infinite, orbPulse 5s ease-in-out infinite;
}
.welcome-ring {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(29,78,216,.25);
  animation: spinSlow 28s linear infinite;
}
.welcome-ring.r1 { width: 300px; height: 300px; }
.welcome-ring.r2 {
  width: 380px; height: 380px; border-style: solid; border-color: rgba(13,148,136,.15);
  animation-direction: reverse; animation-duration: 36s;
}
.welcome-logo-card {
  position: relative; z-index: 2; width: min(320px, 86%);
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,.9); border-radius: 28px;
  padding: 28px 24px 22px; text-align: center;
  box-shadow: 0 30px 60px rgba(15,23,42,.12);
  animation: rise 1s ease both, cardGlow 4.5s ease-in-out infinite 1s;
}
.welcome-logo-card img {
  width: 148px; height: 148px; object-fit: contain;
  margin: 0 auto 16px; display: block;
  filter: drop-shadow(0 12px 24px rgba(29,78,216,.2));
  animation: logoPulse 3.8s ease-in-out infinite, logoTilt 6s ease-in-out infinite;
}
.welcome-logo-meta strong { display: block; font-size: 22px; font-weight: 900; }
.welcome-logo-meta span { color: #64748B; font-size: 13px; font-weight: 700; }

.welcome-float {
  position: absolute; z-index: 3; padding: 10px 14px; border-radius: 14px;
  background: #fff; border: 1px solid #E2E8F0; font-weight: 900; font-size: 13px;
  box-shadow: 0 14px 30px rgba(15,23,42,.1);
  animation: floaty 5.5s ease-in-out infinite, chipIn .9s ease both;
}
.welcome-float.f1 { top: 10%; right: 4%; color: #B45309; animation-delay: .2s, .4s; }
.welcome-float.f2 { bottom: 18%; left: 2%; color: #1D4ED8; animation-delay: .8s, .55s; }
.welcome-float.f3 { top: 38%; left: 4%; color: #0F766E; animation-delay: 1.2s, .7s; }
.welcome-float.f4 { top: 18%; left: 18%; color: #BE123C; animation-delay: 1.6s, .85s; }

.anim-slide { animation: slideInSoft .8s ease both; }
.anim-title { animation: titleReveal 1s cubic-bezier(.2,.8,.2,1) both; }
.anim-title span { animation: shimmerText 4s ease-in-out infinite; }
.anim-fade { animation: fadeUp .9s ease both; animation-delay: var(--d, .12s); }
.btn-glow {
  position: relative; overflow: hidden;
  animation: btnPulse 2.8s ease-in-out infinite;
}
.btn-glow::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 3.2s ease-in-out infinite;
}
.wf-ico { animation: iconBob 3.5s ease-in-out infinite; }
.card-lift.in .wf-ico { animation-delay: calc(var(--i, 1) * .12s); }
.journey-step.in .jn { animation: popIn .55s cubic-bezier(.2,1.4,.3,1) both; }
.admin-cta-logo { animation: logoPulse 4s ease-in-out infinite; }

.welcome-section { padding: 28px 7vw 20px; }

/* Phone showcase */
.phone-showcase {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 300px) 1fr;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.phone-callouts {
  display: grid;
  gap: 14px;
}
.phone-feat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: right;
  width: 100%;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  font-family: inherit;
  color: inherit;
}
.phone-feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
}
.phone-feat.is-active {
  border-color: rgba(29,78,216,.35);
  background: linear-gradient(145deg, #EFF6FF, #fff);
  box-shadow: 0 16px 36px rgba(29,78,216,.14);
}
.pf-dot {
  width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(29,78,216,.08);
}
.pf-dot.tone-blue { background: #2563EB; }
.pf-dot.tone-amber { background: #D97706; }
.pf-dot.tone-teal { background: #0D9488; }
.pf-dot.tone-mint { background: #059669; }
.pf-dot.tone-indigo { background: #4F46E5; }
.pf-dot.tone-rose { background: #E11D48; }
.pf-body { display: grid; gap: 4px; }
.pf-body strong { font-size: 14.5px; font-weight: 900; }
.pf-body em {
  font-style: normal; color: #64748B; font-size: 12.5px; line-height: 1.55; font-weight: 600;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.phone-glow {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.35), transparent 70%);
  filter: blur(10px);
  animation: orbPulse 5s ease-in-out infinite;
}
.phone-device {
  position: relative; z-index: 1;
  width: min(280px, 78vw);
  animation: phoneFloat 6s ease-in-out infinite;
}
.phone-bezel {
  background: linear-gradient(160deg, #111827, #0B1220 55%, #1E293B);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(15,23,42,.35),
    inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; border-radius: 999px;
  background: #020617; z-index: 3;
}
.phone-screen {
  position: relative;
  background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 40%, #ECFEFF 100%);
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
  padding: 34px 14px 18px;
}
.phone-homebar {
  width: 110px; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,.35);
  margin: 10px auto 2px;
}
.ps-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 800; color: #334155; margin-bottom: 12px;
}
.ps-signal { letter-spacing: 1px; font-size: 9px; color: #64748B; }

.ps-panel {
  display: none;
  animation: screenIn .45s ease both;
}
.ps-panel.is-active { display: block; }

.ps-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.ps-top img {
  width: 36px; height: 36px; object-fit: contain;
  border-radius: 10px; background: #fff; padding: 3px;
  box-shadow: 0 6px 14px rgba(15,23,42,.1);
}
.ps-top strong { display: block; font-size: 13px; font-weight: 900; }
.ps-top span { font-size: 11px; color: #64748B; font-weight: 700; }

.ps-head {
  font-size: 15px; font-weight: 900; margin-bottom: 12px; color: #0F172A;
}

.ps-wallet-card {
  background: linear-gradient(135deg, #1E3A8A, #1D4ED8 55%, #3B82F6);
  color: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 14px 28px rgba(29,78,216,.3);
  margin-bottom: 12px;
}
.ps-wallet-card span, .ps-wallet-card small {
  display: block; opacity: .85; font-size: 11px; font-weight: 700;
}
.ps-wallet-card strong {
  display: block; font-size: 26px; font-weight: 900; margin: 4px 0 6px;
}
.ps-wallet-card.compact strong { font-size: 24px; margin-bottom: 0; }

.ps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.ps-grid > div {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 10px;
}
.ps-grid b { display: block; font-size: 10px; color: #64748B; font-weight: 800; margin-bottom: 2px; }
.ps-grid span { font-size: 14px; font-weight: 900; color: #0F172A; }

.ps-shortcuts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.ps-shortcuts span {
  text-align: center; font-size: 10px; font-weight: 800; color: #1E3A8A;
  background: #EFF6FF; border-radius: 12px; padding: 10px 4px;
}

.ps-offer {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 14px;
  padding: 12px; margin-bottom: 8px;
}
.ps-offer strong { display: block; font-size: 12.5px; font-weight: 900; }
.ps-offer span { font-size: 11px; color: #64748B; font-weight: 700; }
.ps-offer em {
  font-style: normal; font-size: 10px; font-weight: 800;
  padding: 4px 8px; border-radius: 999px; background: #EFF6FF; color: #1D4ED8;
}
.ps-offer.sell em { background: #FEF3C7; color: #B45309; }
.ps-offer.buy em { background: #DBEAFE; color: #1D4ED8; }
.ps-offer.teal em { background: #CCFBF1; color: #0F766E; }
.ps-offer.indigo em { background: #E0E7FF; color: #4338CA; }

.ps-note {
  font-size: 11px; line-height: 1.5; color: #64748B; font-weight: 700;
  background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 12px;
  padding: 10px; margin: 10px 0;
}
.ps-cta, .ps-row-btns span {
  display: block; text-align: center; font-size: 12px; font-weight: 900;
  background: linear-gradient(145deg, #3B82F6, #1D4ED8); color: #fff;
  border-radius: 12px; padding: 11px;
  box-shadow: 0 8px 16px rgba(29,78,216,.28);
}
.ps-row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ps-row-btns span:last-child {
  background: #fff; color: #1D4ED8; border: 1px solid #BFDBFE; box-shadow: none;
}

.ps-list { display: grid; gap: 8px; }
.ps-list > div {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 10px 12px;
  font-size: 12px; font-weight: 800;
}
.ps-list span { flex: 1; }
.ps-list b { font-size: 12px; }
.ps-list b.ok { color: #059669; }
.ps-list b.warn { color: #DC2626; }
.ps-list i { font-style: normal; font-size: 10px; color: #94A3B8; font-weight: 700; }
.ps-list.alerts > div { flex-wrap: wrap; }
.ps-list.alerts span { flex: 1 1 100%; margin-bottom: 2px; }

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-banner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start;
  background: rgba(255,255,255,.78); border: 1px solid #E2E8F0; border-radius: 28px;
  padding: 32px; box-shadow: 0 18px 50px rgba(15,23,42,.06);
}
.about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-points li {
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 16px; padding: 14px 16px;
  animation-delay: calc(var(--i, 1) * .08s);
}
.about-points strong { display: block; font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.about-points span { color: #64748B; font-size: 13px; font-weight: 600; line-height: 1.5; }

.section-head-center { text-align: center; margin-bottom: 26px; }
.section-head-center .welcome-lead { margin-inline: auto; }

.welcome-features {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px;
}
.features-6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.welcome-features article {
  background: rgba(255,255,255,.86); border: 1px solid #E2E8F0; border-radius: 20px;
  padding: 20px; box-shadow: 0 10px 30px rgba(15,23,42,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,23,42,.1);
}
.wf-ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; font-size: 16px; margin-bottom: 12px;
}
.wf-ico.tone-amber { background: linear-gradient(145deg,#FBBF24,#D97706); }
.wf-ico.tone-blue { background: linear-gradient(145deg,#60A5FA,#1D4ED8); }
.wf-ico.tone-teal { background: linear-gradient(145deg,#2DD4BF,#0D9488); }
.wf-ico.tone-indigo { background: linear-gradient(145deg,#818CF8,#4F46E5); }
.wf-ico.tone-rose { background: linear-gradient(145deg,#FB7185,#E11D48); }
.wf-ico.tone-mint { background: linear-gradient(145deg,#34D399,#059669); }
.welcome-features h3 { margin: 0 0 8px; font-size: 16px; font-weight: 900; }
.welcome-features p { margin: 0; color: #64748B; font-size: 13.5px; line-height: 1.6; font-weight: 600; }

.journey-track {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px;
}
.journey-step {
  position: relative;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; padding: 20px 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.journey-step .jn {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg,#3B82F6,#1D4ED8); color: #fff;
  font-weight: 900; margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(29,78,216,.3);
}
.journey-step h3 { margin: 0 0 8px; font-size: 15px; font-weight: 900; }
.journey-step p { margin: 0; color: #64748B; font-size: 13px; line-height: 1.6; font-weight: 600; }

.showcase-banner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
  padding: 38px 36px; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, #0B1628 0%, #1E3A8A 48%, #1D4ED8 100%);
  background-size: 180% 180%;
  box-shadow: 0 24px 60px rgba(29,78,216,.28);
  overflow: hidden; position: relative;
  animation: bannerGradient 12s ease-in-out infinite;
}
.showcase-banner.in { animation: bannerGradient 12s ease-in-out infinite, bannerShine 8s ease-in-out infinite; }
.sb-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sb-orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
  animation: sbOrb 9s ease-in-out infinite;
}
.sb-orb.o1 { width: 220px; height: 220px; top: -60px; left: -40px; animation-duration: 8s; }
.sb-orb.o2 { width: 160px; height: 160px; bottom: -50px; right: 18%; background: radial-gradient(circle, rgba(45,212,191,.28), transparent 70%); animation-duration: 11s; animation-delay: -3s; }
.sb-orb.o3 { width: 120px; height: 120px; top: 30%; right: -30px; background: radial-gradient(circle, rgba(251,191,36,.22), transparent 70%); animation-duration: 10s; animation-delay: -5s; }
.sb-ring {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
  right: -80px; top: 50%; transform: translateY(-50%);
  animation: spinSlow 40s linear infinite;
}
.sb-beam {
  position: absolute; inset: -40% -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  animation: sbBeam 5.5s ease-in-out infinite;
}
.sb-spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #93C5FD; box-shadow: 0 0 10px rgba(147,197,253,.9);
  animation: sparkFloat 6s ease-in-out infinite;
}
.sb-spark.sp1 { top: 18%; right: 12%; }
.sb-spark.sp2 { top: 62%; right: 28%; width: 4px; height: 4px; background: #5EEAD4; animation-delay: -1.5s; }
.sb-spark.sp3 { bottom: 22%; left: 18%; background: #FDE68A; animation-delay: -2.8s; }
.sb-spark.sp4 { top: 28%; left: 42%; width: 5px; height: 5px; animation-delay: -4s; }
.sb-spark.sp5 { top: 12%; left: 22%; width: 4px; height: 4px; background: #FDA4AF; animation-delay: -5.2s; }
.sb-grid {
  position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%);
  animation: sbGrid 18s linear infinite;
}
.sb-dots { position: absolute; inset: 0; }
.sb-dots i {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: #BFDBFE;
  box-shadow: 0 0 10px rgba(191,219,254,.85);
  opacity: .75;
  animation: dotDrift 7s ease-in-out infinite;
  animation-delay: var(--d);
}
.sb-dots i:nth-child(3n) { background: #99F6E4; box-shadow: 0 0 10px rgba(153,246,228,.8); }
.sb-dots i:nth-child(4n) { background: #FDE68A; box-shadow: 0 0 10px rgba(253,230,138,.75); }
.sb-dots i:nth-child(5n) { background: #FDA4AF; box-shadow: 0 0 10px rgba(253,164,175,.7); }
.sb-dots i.soft {
  background: rgba(255,255,255,.35);
  box-shadow: none;
  filter: blur(1px);
  opacity: .45;
  animation-name: softPulse;
  animation-duration: 5s;
}

.showcase-banner::after { display: none; }
.showcase-copy, .showcase-stats { position: relative; z-index: 1; }
.showcase-copy h2, .sb-title { color: #fff; margin-bottom: 12px; }
.showcase-copy p, .sb-lead { color: rgba(255,255,255,.82); }
.sb-eyebrow { animation: fadeUp .7s ease both; }
.sb-title { animation: titleReveal .9s ease both .1s; }
.sb-lead { animation: fadeUp .8s ease both .2s; }

.sb-flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 22px;
}
.sb-step {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  animation: flowPulse 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .45s);
}
.sb-step span {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: #1D4ED8;
  font-size: 11px; font-weight: 900;
}
.sb-step b { font-size: 12.5px; font-weight: 800; }
.sb-arrow {
  width: 22px; height: 2px; position: relative;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.7));
  border-radius: 2px;
  overflow: hidden;
}
.sb-arrow::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: sheen 2.2s ease-in-out infinite;
}

.showcase-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.showcase-stats .ss {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 16px; backdrop-filter: blur(8px);
  transition: transform .25s ease, background .25s ease;
  animation: ssIn .7s ease both;
  animation-delay: calc(var(--i, 1) * .1s + .2s);
}
.showcase-stats .ss::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 1) * .5s);
}
.showcase-stats .ss:hover { transform: translateY(-5px) scale(1.02); background: rgba(255,255,255,.18); }
.ss-ico {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 10px; margin-bottom: 8px;
  background: rgba(255,255,255,.16); font-size: 13px;
  animation: iconBob 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 1) * .2s);
}
.showcase-stats strong { display: block; font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.showcase-stats span:not(.ss-ico) { font-size: 12.5px; opacity: .8; font-weight: 700; }

.sb-chips {
  position: absolute; z-index: 2; inset: 0; pointer-events: none;
}
.sb-chip {
  position: absolute; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 800;
  animation: floaty 5.5s ease-in-out infinite, chipIn .8s ease both;
  white-space: nowrap;
}
.sb-chip.c1 { top: 12%; left: 18%; color: #FDE68A; animation-delay: 0s, .3s; }
.sb-chip.c2 { top: 8%; left: 32%; color: #A5F3FC; animation-delay: .8s, .5s; }
.sb-chip.c3 { bottom: 28%; left: 14%; color: #BBF7D0; animation-delay: 1.4s, .7s; }
.sb-chip.c4 { top: 22%; left: 8%; color: #C4B5FD; animation-delay: .5s, .9s; }
.sb-chip.c5 { bottom: 40%; left: 22%; color: #FBCFE8; animation-delay: 1.1s, 1.1s; }

.sb-ticker {
  position: relative; z-index: 2;
  grid-column: 1 / -1;
  margin: 8px -36px -38px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sb-ticker-track {
  display: flex; align-items: center; gap: 18px;
  width: max-content;
  font-size: 13px; font-weight: 800;
  color: rgba(255,255,255,.88);
  animation: tickerRtl 28s linear infinite;
}
.sb-ticker-track span:nth-child(odd) {
  padding: 4px 0;
}
.sb-ticker-track span:nth-child(even) {
  opacity: .4; font-weight: 700;
}

@keyframes bannerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes sbOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .7; }
  50% { transform: translate(18px, -14px) scale(1.12); opacity: 1; }
}
@keyframes sbBeam {
  0%, 100% { transform: translateX(-30%) rotate(8deg); opacity: .35; }
  50% { transform: translateX(20%) rotate(8deg); opacity: .7; }
}
@keyframes sbGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 42px 42px, 42px 42px; }
}
@keyframes flowPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
}
@keyframes ssIn {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dotDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .35; }
  35% { transform: translate(10px, -16px) scale(1.35); opacity: .95; }
  70% { transform: translate(-8px, 10px) scale(.9); opacity: .55; }
}
@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: .25; }
  50% { transform: scale(1.4); opacity: .5; }
}
@keyframes tickerRtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.admin-cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 24px;
  padding: 22px 24px; box-shadow: 0 14px 40px rgba(15,23,42,.06);
}
.admin-cta-logo {
  width: 64px; height: 64px; object-fit: contain; border-radius: 16px;
  background: #EFF6FF; padding: 8px;
}
.admin-cta h2 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.admin-cta p { margin: 0; max-width: 520px; }
.admin-cta .btn { margin-inline-start: auto; }

.welcome-foot {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 28px 7vw 36px; color: #64748B; font-size: 13px; font-weight: 700;
}
.welcome-foot img { border-radius: 8px; object-fit: contain; }

/* Motion / reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--i, 0) * .07s);
}
.reveal.delay { transition-delay: .15s; }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes logoTilt {
  0%, 100% { rotate: 0deg; }
  50% { rotate: -2deg; }
}
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 30px 60px rgba(15,23,42,.12); }
  50% { box-shadow: 0 30px 70px rgba(29,78,216,.22); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pillIn {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}
@keyframes sparkFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
  50% { transform: translateY(-28px) scale(1.35); opacity: .9; }
}
@keyframes orbPulse {
  0%, 100% { opacity: .85; filter: blur(4px); }
  50% { opacity: 1; filter: blur(6px); }
}
@keyframes slideInSoft {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(29,78,216,.28); }
  50% { box-shadow: 0 10px 28px rgba(29,78,216,.45); }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes iconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes chipIn {
  from { opacity: 0; transform: scale(.8) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes bannerShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1100px) {
  .welcome-features, .features-6, .journey-track { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-banner, .showcase-banner { grid-template-columns: 1fr; }
  .phone-showcase { grid-template-columns: 1fr; gap: 18px; }
  .phone-stage { order: -1; min-height: 500px; }
  .phone-callouts { grid-template-columns: 1fr; }
  .sb-chip { font-size: 10.5px; padding: 5px 9px; }
  .sb-chip.c4, .sb-chip.c5 { display: none; }
  .sb-ring { opacity: .4; }
  .sb-ticker { margin: 8px -20px -28px; }
}

@media (max-width: 960px) {
  .welcome-nav {
    padding: 14px 5vw;
    gap: 10px;
  }
  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 12px 5vw 32px;
  }
  .welcome-hero-copy { order: 1; text-align: center; }
  .welcome-hero-visual { order: 0; min-height: 280px; }
  .welcome-lead { margin-inline: auto; }
  .welcome-actions { justify-content: center; }
  .welcome-pills { justify-content: center; }
  .welcome-links a:not(.btn) { display: none; }
  .welcome-section { padding: 20px 5vw 12px; }
  .section-banner { padding: 22px 18px; gap: 16px; }
  .welcome-orb { width: 260px; height: 260px; }
  .welcome-ring.r1 { width: 220px; height: 220px; }
  .welcome-ring.r2 { width: 280px; height: 280px; }
  .welcome-logo-card { width: min(260px, 78%); padding: 20px 16px 16px; }
  .welcome-logo-card img { width: 110px; height: 110px; }
  .welcome-float.f3, .welcome-float.f4 { display: none; }
  .welcome-float { font-size: 12px; padding: 8px 10px; }
}

@media (max-width: 640px) {
  .welcome-nav {
    padding: 12px 4.5vw;
  }
  .welcome-brand span { font-size: 15px; }
  .welcome-logo-sm { width: 36px; height: 36px; }
  .welcome-nav-cta { padding: 9px 14px; font-size: 13px; }

  .welcome-hero { padding: 8px 4.5vw 24px; gap: 14px; }
  .welcome-hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .welcome-section h2 { font-size: clamp(22px, 6.5vw, 30px); margin-bottom: 8px; }
  .welcome-lead,
  .section-banner > div > p,
  .showcase-copy > p,
  .admin-cta p {
    font-size: 14px;
    line-height: 1.65;
  }
  .welcome-lead { margin: 12px auto 18px; }
  .welcome-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .welcome-btn-lg {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 14.5px;
  }
  .welcome-pills {
    margin-top: 16px;
    gap: 6px;
    justify-content: center;
  }
  .welcome-pills span, .pill-pop {
    font-size: 11px;
    padding: 6px 10px;
  }

  .welcome-hero-visual { min-height: 240px; }
  .welcome-orb { width: 200px; height: 200px; }
  .welcome-ring.r1 { width: 170px; height: 170px; }
  .welcome-ring.r2 { width: 210px; height: 210px; }
  .welcome-logo-card { width: min(220px, 72%); border-radius: 22px; }
  .welcome-logo-card img { width: 88px; height: 88px; margin-bottom: 10px; }
  .welcome-logo-meta strong { font-size: 18px; }
  .welcome-logo-meta span { font-size: 12px; }
  .welcome-float.f1, .welcome-float.f2 { font-size: 11px; padding: 6px 9px; }

  .welcome-section { padding: 16px 4.5vw 10px; }
  .section-head-center { margin-bottom: 16px; }
  .section-banner {
    padding: 18px 14px;
    border-radius: 20px;
    gap: 12px;
  }
  .about-points { gap: 8px; }
  .about-points li { padding: 12px 12px; border-radius: 14px; }

  .phone-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .phone-stage {
    grid-column: 1 / -1;
    order: -1;
    min-height: auto;
    padding: 8px 0 4px;
  }
  .phone-device { width: min(240px, 78vw); }
  .phone-screen { min-height: 440px; padding: 30px 12px 14px; }
  .phone-callouts-start,
  .phone-callouts-end {
    display: contents;
  }
  .phone-feat {
    padding: 12px 10px;
    border-radius: 14px;
    gap: 8px;
  }
  .pf-body strong { font-size: 13px; }
  .pf-body em { font-size: 11.5px; line-height: 1.4; }

  .welcome-features,
  .features-6,
  .journey-track {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .welcome-features article,
  .journey-step {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .welcome-features h3,
  .journey-step h3 { font-size: 15px; }
  .welcome-features p,
  .journey-step p { font-size: 13px; }

  .showcase-banner {
    padding: 22px 14px 0;
    border-radius: 22px;
    gap: 16px;
  }
  .sb-title { font-size: clamp(24px, 7vw, 32px); }
  .sb-flow {
    gap: 6px;
    margin-top: 16px;
  }
  .sb-step {
    padding: 7px 10px;
  }
  .sb-step b { font-size: 11.5px; }
  .sb-step span { width: 20px; height: 20px; font-size: 10px; }
  .sb-arrow { width: 12px; }
  .showcase-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .showcase-stats .ss { padding: 12px; border-radius: 14px; }
  .showcase-stats strong { font-size: 14px; }
  .showcase-stats span:not(.ss-ico) { font-size: 11.5px; }
  .ss-ico { width: 24px; height: 24px; font-size: 12px; margin-bottom: 6px; }
  .sb-chip { display: none; }
  .sb-ticker {
    margin: 10px -14px 0;
    padding: 10px 0;
  }
  .sb-ticker-track { font-size: 12px; gap: 12px; }

  .admin-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 16px;
    gap: 12px;
    border-radius: 18px;
  }
  .admin-cta-logo { margin-inline: auto; }
  .admin-cta .btn {
    margin-inline-start: 0;
    width: 100%;
  }
  .admin-cta p { max-width: none; }

  .welcome-foot {
    padding: 20px 4.5vw 28px;
    font-size: 12px;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .phone-showcase { grid-template-columns: 1fr; }
  .showcase-stats { grid-template-columns: 1fr; }
  .sb-flow { justify-content: center; }
  .welcome-hero-visual { min-height: 210px; }
}

