/* Sulanza Billing — landing page */
:root {
  --b950: #0f0b3d;
  --b900: #1b1464;
  --b800: #241878;
  --b700: #2e1c92;
  --b600: #3d2bb4;
  --b500: #5640d4;
  --b400: #7a68e6;
  --b200: #cfc8fa;
  --b100: #ece9fd;
  --b50: #f6f4ff;
  --ink: #0e1433;
  --ink2: #3b4266;
  --muted: #6b7294;
  --line: #e7e9f3;
  --bg: #ffffff;
  --tint: #f5f6fc;
  --green: #12a46f;
  --wa: #25d366;
  --amber: #f5a524;
  --grad: linear-gradient(135deg, #1b1464 0%, #2e1c92 45%, #5640d4 100%);
  --grad-text: linear-gradient(90deg, #5640d4, #9a7bff 50%, #22c3a6);
  --r: 18px;
  --shadow: 0 10px 30px rgba(27, 20, 100, .10), 0 2px 6px rgba(27, 20, 100, .06);
  --shadow-lg: 0 30px 80px rgba(27, 20, 100, .25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] body { font-family: var(--font-ar); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 16.5px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(61, 43, 180, .35); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(61, 43, 180, .45); }
.btn-ghost { background: #fff; color: var(--b700); border-color: var(--b100); }
.btn-outline { background: #fff; color: var(--b700); border-color: var(--b200); }
.btn-outline:hover { border-color: var(--b500); }
.btn-white { background: #fff; color: var(--b700); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-wa { background: var(--wa); color: #06351c; }
.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0); transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink); }
.logo img { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 6px 14px rgba(46,28,146,.3); }
.logo b { font-weight: 800; }
.nav:not(.solid) .logo { color: #fff; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink2); }
.nav:not(.solid) .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a:hover { background: rgba(86,64,212,.1); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.cur-select, .lang-btn { height: 40px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 13.5px; padding: 0 10px; color: var(--ink2); cursor: pointer; }
.nav:not(.solid) .cur-select, .nav:not(.solid) .lang-btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.nav:not(.solid) .cur-select option { color: var(--ink); }
.lang-btn { font-family: var(--font-ar); min-width: 58px; }
html[lang="ar"] .lang-btn { font-family: var(--font); }
.nav:not(.solid) .nav-cta { background: #fff; color: var(--b700); box-shadow: none; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 11px; border: 0; background: rgba(255,255,255,.14); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav.solid .menu-btn { background: var(--b50); }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s; }
.nav.solid .menu-btn span { background: var(--b700); }
.nav.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: calc(110px + env(safe-area-inset-top, 0)) 0 90px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: #7a5cff; top: -160px; inset-inline-end: -120px; animation: float 14s ease-in-out infinite; }
.b2 { width: 420px; height: 420px; background: #1fc8a9; bottom: -220px; inset-inline-start: -140px; opacity: .3; animation: float 18s ease-in-out infinite reverse; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 30px); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 700; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ef0c1; box-shadow: 0 0 0 4px rgba(62,240,193,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(62,240,193,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -1.5px; font-weight: 800; margin: 20px 0 18px; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.grad-text { background: linear-gradient(90deg, #ffffff, #c9bcff 40%, #6ff0d2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: rgba(255,255,255,.86); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-primary { background: #fff; color: var(--b700); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.micro { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.75); font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; font-weight: 700; }
.ci { font-size: 14px; }

/* Hero visual: phone + printer */
.hero-visual { position: relative; height: 560px; }
.device { position: absolute; inset-inline-start: 8%; top: 10px; width: 270px; height: 540px; border-radius: 42px; background: #0d0a2e; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(-4deg); animation: bob 6s ease-in-out infinite; z-index: 2; }
html[dir="rtl"] .device { transform: rotate(4deg); }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #0d0a2e; border-radius: 999px; z-index: 3; }
.screen { direction: ltr; height: 100%; border-radius: 32px; background: #f3f5fb; overflow: hidden; padding: 46px 14px 14px; color: var(--ink); font-size: 12px; display: flex; flex-direction: column; gap: 8px; }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-title { font-weight: 800; font-size: 16px; }
.s-badge { font-size: 9.5px; font-weight: 800; background: var(--b100); color: var(--b600); padding: 3px 8px; border-radius: 999px; }
.s-cust { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 14px; padding: 9px; border: 1px solid var(--line); }
.s-cust .av { width: 30px; height: 30px; border-radius: 9px; background: var(--b100); color: var(--b600); font-weight: 800; display: grid; place-items: center; font-size: 11px; }
.s-cust b { display: block; font-size: 12px; } .s-cust small { color: var(--muted); font-size: 9.5px; }
.s-scan { display: flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--b400); border-radius: 12px; padding: 8px 10px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink2); }
.typing { flex: 1; overflow: hidden; white-space: nowrap; width: 0; animation: type 4s steps(12) infinite; border-right: 2px solid var(--b500); }
@keyframes type { 0% { width: 0; } 40%,100% { width: 12ch; } }
.scan-ic { background: var(--b100); color: var(--b700); border-radius: 7px; padding: 1px 5px; font-family: var(--font); }
.mag { color: var(--muted); }
.s-line { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 9px 10px; border: 1px solid var(--line); opacity: 0; animation: lineIn 9s infinite; }
.s-line b { font-size: 12px; } .s-line small { display: block; color: var(--muted); font-size: 10px; }
.l1 { animation-delay: .2s; } .l2 { animation-delay: .9s; } .l3 { animation-delay: 1.6s; }
@keyframes lineIn { 0% { opacity: 0; transform: translateY(8px); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.s-total { margin-top: auto; display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 -6px 20px rgba(27,20,100,.08); }
.s-total small { display: block; color: var(--muted); font-size: 9.5px; } .s-total b { font-size: 17px; }
.s-save { background: var(--grad); color: #fff; font-weight: 800; border-radius: 11px; padding: 9px 14px; font-size: 12px; }

.printer { position: absolute; inset-inline-end: 4%; bottom: 40px; width: 200px; z-index: 3; animation: bob 6s ease-in-out infinite .8s; }
.p-body { position: relative; height: 92px; border-radius: 22px; background: linear-gradient(160deg, #3a3f5c, #151830); box-shadow: 0 24px 50px rgba(0,0,0,.35), inset 0 2px 0 rgba(255,255,255,.12); }
.p-body::after { content: ""; position: absolute; left: 18px; right: 18px; top: 14px; height: 8px; border-radius: 6px; background: #0a0c1a; }
.p-led { position: absolute; bottom: 16px; left: 20px; width: 9px; height: 9px; border-radius: 50%; background: #3ef0c1; box-shadow: 0 0 10px #3ef0c1; animation: pulse 2s infinite; }
.p-name { position: absolute; bottom: 12px; right: 18px; font-size: 10px; font-weight: 800; color: rgba(255,255,255,.55); letter-spacing: 1px; }
.paper { direction: ltr; position: absolute; left: 26px; right: 26px; bottom: 80px; background: #fff; color: #111; font-family: ui-monospace, Menlo, monospace; font-size: 9px; line-height: 1.5; padding: 10px 9px 14px; border-radius: 3px 3px 0 0; box-shadow: 0 -6px 18px rgba(0,0,0,.15); transform-origin: bottom; animation: printOut 9s ease-in-out infinite; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 7px; background: linear-gradient(-45deg, #fff 3px, transparent 0), linear-gradient(45deg, #fff 3px, transparent 0); background-size: 7px 7px; }
@keyframes printOut { 0%, 18% { transform: scaleY(0); opacity: 0; } 20% { opacity: 1; } 45%, 90% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.r-c { text-align: center; } .r-s { font-size: 8px; color: #555; }
.r-hr { border-top: 1px dashed #999; margin: 4px 0; }
.r-row { display: flex; justify-content: space-between; gap: 6px; }
.r-tot { font-weight: 800; font-size: 10.5px; }
.bt-wave { position: absolute; left: 52%; top: 46%; z-index: 1; }
.bt-wave span { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(111, 240, 210, .6); transform: translate(-50%,-50%); animation: wave 2.4s infinite; }
.bt-wave span:nth-child(2) { animation-delay: .8s; } .bt-wave span:nth-child(3) { animation-delay: 1.6s; }
@keyframes wave { from { transform: translate(-50%,-50%) scale(.3); opacity: 1; } to { transform: translate(-50%,-50%) scale(3); opacity: 0; } }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 12px; animation: bob 7s ease-in-out infinite; }
.float-card small { display: block; color: var(--muted); font-size: 11px; } .float-card b { font-size: 14px; }
.fc-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; }
.fc-ic.g { background: #e3f7ef; color: var(--green); } .fc-ic.b { background: var(--b100); color: var(--b600); }
.fc1 { inset-inline-end: 0; top: 36px; animation-delay: 1s; }
.fc2 { inset-inline-start: -2%; bottom: -26px; animation-delay: 2s; }

/* ---------- Sections ---------- */
.sec { padding: 100px 0; }
.sec-tint { background: var(--tint); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--b500); background: var(--b50); border: 1px solid var(--b100); padding: 6px 12px; border-radius: 999px; }
html[lang="ar"] .kicker { letter-spacing: 0; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1px; margin: 16px 0 12px; font-weight: 800; }
html[lang="ar"] .sec-head h2 { letter-spacing: 0; line-height: 1.35; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* old vs new */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.vs-card { border-radius: 24px; padding: 30px; }
.vs-card.old { background: #fafafa; border: 1px solid var(--line); color: var(--ink2); }
.vs-card.new { background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.vs-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.vs-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
.old .vs-ic { background: #fde8eb; color: #d0364b; } .new .vs-ic { background: rgba(255,255,255,.18); }
.vs-card ul { list-style: none; display: grid; gap: 14px; }
.vs-card li { position: relative; padding-inline-start: 26px; font-size: 15.5px; }
.vs-card li::before { content: "•"; position: absolute; inset-inline-start: 6px; font-weight: 800; }
.old li { text-decoration: line-through; text-decoration-color: rgba(208,54,75,.35); }
.new li::before { content: "✓"; color: #6ff0d2; inset-inline-start: 0; }
.vs-arrow { align-self: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--b600); }
html[dir="rtl"] .vs-arrow { transform: scaleX(-1); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.step-n { width: 48px; height: 48px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 20px rgba(61,43,180,.3); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--b200); }
.f-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--b50); border: 1px solid var(--b100); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* who */
.who { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.who span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 700; box-shadow: 0 2px 6px rgba(27,20,100,.04); }

/* free printer band */
.band { background: radial-gradient(circle at 80% 20%, #4b33c9 0, transparent 50%), var(--b950); color: #fff; padding: 80px 0; overflow: hidden; }
.band-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.band-tag { display: inline-block; background: var(--amber); color: #3b2500; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 14px; }
.band h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -1px; margin: 16px 0 14px; }
html[lang="ar"] .band h2 { letter-spacing: 0; line-height: 1.3; }
.band p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 560px; margin-bottom: 26px; }
.band-visual { position: relative; height: 240px; display: grid; place-items: center; }
.mini-printer { position: relative; width: 190px; height: 110px; border-radius: 28px; background: linear-gradient(160deg, #4a4f70, #171a33); box-shadow: 0 30px 60px rgba(0,0,0,.45); transform: rotate(-8deg); }
.mp-led { position: absolute; left: 22px; bottom: 20px; width: 10px; height: 10px; border-radius: 50%; background: #3ef0c1; box-shadow: 0 0 12px #3ef0c1; }
.mp-paper { position: absolute; left: 34px; right: 34px; bottom: 96px; height: 90px; background: repeating-linear-gradient(#fff 0 10px, #eee 10px 11px); border-radius: 3px; animation: mpp 3s ease-in-out infinite alternate; transform-origin: bottom; }
@keyframes mpp { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.gift { position: absolute; top: 10px; inset-inline-end: 6px; background: var(--amber); color: #3b2500; font-weight: 800; font-size: 18px; border-radius: 16px; padding: 10px 16px; transform: rotate(8deg); box-shadow: 0 14px 30px rgba(0,0,0,.35); }

/* pricing */
.cur-switch { display: flex; justify-content: center; gap: 4px; width: max-content; margin: -24px auto 36px; padding: 5px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); }
.cur-switch button { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 14px; color: var(--muted); padding: 9px 20px; border-radius: 10px; cursor: pointer; font-family: var(--font); }
.cur-switch button.on { background: #fff; color: var(--b700); box-shadow: 0 4px 12px rgba(27,20,100,.1); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.plan-sub { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .price { justify-content: flex-end; }
.price .cur { font-weight: 800; color: var(--muted); font-size: 16px; }
.price .amt { font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1; font-family: var(--font); }
.price .per { color: var(--muted); font-weight: 700; }
.plan-note { min-height: 24px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.save-note { color: var(--green); font-weight: 700; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 20px 0 26px; flex: 1; }
.plan li { position: relative; padding-inline-start: 28px; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: #e3f7ef; color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.plan li.hl { font-weight: 800; color: var(--b700); }
.plan li.hl::before { content: "★"; background: #fff4d6; color: #b77700; }
.plan-pop { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2.5px solid transparent; box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.pop-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 18px rgba(61,43,180,.35); white-space: nowrap; }
.plan-alt { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--b600); }
.price-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* printers */
.printers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--line); text-align: center; }
.p-ic { font-size: 32px; display: block; margin-bottom: 10px; }
.pcard h3 { font-size: 18px; margin-bottom: 6px; } .pcard p { color: var(--muted); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--b200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 16.5px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--b50); color: var(--b600); display: grid; place-items: center; font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink2); padding: 0 0 18px; }

/* final */
.final { background: var(--grad); color: #fff; padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 60%); top: -300px; left: 50%; transform: translateX(-50%); }
.final h2 { position: relative; font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -1px; line-height: 1.1; }
html[lang="ar"] .final h2 { letter-spacing: 0; line-height: 1.3; }
.final p { position: relative; color: rgba(255,255,255,.82); font-size: 18px; margin-top: 12px; }
.final .hero-ctas { position: relative; }
.wa-ic { color: #fff; }

/* footer */
.foot { background: var(--b950); color: rgba(255,255,255,.75); padding: 50px 0 calc(30px + env(safe-area-inset-bottom, 0)); }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot .logo { color: #fff; }
.foot-brand p { margin-top: 10px; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot-links a { font-weight: 700; font-size: 14px; color: rgba(255,255,255,.85); }
.foot-links a:hover { color: #fff; }
.foot-copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* floating WhatsApp */
.wa-float { position: fixed; z-index: 60; bottom: calc(20px + env(safe-area-inset-bottom, 0)); inset-inline-end: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); animation: pop .5s ease-out; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-pop { transform: none; order: -1; }
  .band-in { grid-template-columns: 1fr; text-align: center; }
  .band p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-links a, .nav:not(.solid) .nav-links a { color: var(--ink); padding: 13px 14px; font-size: 16px; }
  .nav.open { background: rgba(255,255,255,.96); }
  .nav.open .logo { color: var(--ink); }
  .nav-cta { display: none; }
  .nav-tools { margin-inline-start: auto; gap: 6px; }
  .nav-in { gap: 10px; }
  .vs { grid-template-columns: 1fr; }
  .vs-arrow { justify-self: center; transform: rotate(90deg); }
  html[dir="rtl"] .vs-arrow { transform: rotate(90deg); }
  .steps, .printers { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: calc(96px + env(safe-area-inset-top, 0)); padding-bottom: 60px; }
  .hero-ctas .btn { width: 100%; }
  .sec { padding: 70px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 470px; }
  .device { width: 218px; height: 440px; inset-inline-start: 0; top: 18px; }
  .screen { padding-top: 40px; gap: 6px; font-size: 11px; }
  .s-line { padding: 7px 9px; }
  .printer { width: 156px; bottom: -6px; inset-inline-end: -4px; }
  .p-body { height: 74px; border-radius: 18px; }
  .paper { left: 18px; right: 18px; bottom: 64px; font-size: 7.4px; padding: 8px 6px 10px; }
  .r-tot { font-size: 8.6px; }
  .fc1 { top: -4px; inset-inline-end: 0; }
  .fc2 { display: none; }
  .bt-wave { left: 62%; }
  .float-card { font-size: 11px; padding: 8px 10px; }
  .fc1 { top: 0; }
  .logo span { font-size: 15px; }
  .logo img { width: 32px; height: 32px; }
  .cur-select, .lang-btn { height: 38px; font-size: 13px; }
  .menu-btn { width: 38px; height: 38px; }
  .cur-select { padding: 0 6px; }
  .lang-btn { min-width: 50px; }
  .price .amt { font-size: 46px; }
}
@media (max-width: 340px) {
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .paper { transform: none; opacity: 1; }
  .s-line { opacity: 1; }
  .typing { width: 12ch; }
}

/* line icons */
.f-ic svg, .p-ic svg, .ci svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-ic { color: var(--b600); background: linear-gradient(135deg, var(--b50), #fff); }
.f-ic svg { width: 26px; height: 26px; }
.feat:nth-child(3n+2) .f-ic { color: #0e9f7e; background: linear-gradient(135deg, #e3f7ef, #fff); border-color: #c9efdf; }
.feat:nth-child(3n) .f-ic { color: #c26a00; background: linear-gradient(135deg, #fff4dc, #fff); border-color: #f6e2b6; }
.p-ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px rgba(61,43,180,.28); }
.p-ic svg { width: 28px; height: 28px; }
.ci { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.16); }
.ci svg { width: 14px; height: 14px; }
