/* ============================================================
   MAQDIA — مقضية | Landing Page
   Modern, animated, RTL Arabic — Light (default) + Dark theme
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- THEME TOKENS ---------- */
:root {
  /* Brand (constant across themes) */
  --fuchsia:   #D81FB6;
  --magenta:   #C026D3;
  --violet:    #8B2FE6;
  --purple:    #7C3AED;
  --cyan:      #19B8DE;

  --grad:      linear-gradient(120deg, #D81FB6 0%, #8B2FE6 48%, #19B8DE 100%);
  --grad-2:    linear-gradient(135deg, #8B2FE6 0%, #19B8DE 100%);

  --radius:    22px;
  --radius-lg: 30px;
  --maxw:      1200px;
  --font: "Cairo", "Tajawal", system-ui, sans-serif;

  /* LIGHT theme (default) */
  --bg:        #FBFAFF;
  --bg-2:      #F4F0FC;
  --bg-soft:   #EEE8FA;
  --ink:       #190F2E;
  --muted:     rgba(25,15,46,.64);
  --muted-2:   rgba(25,15,46,.42);
  --line:      rgba(25,15,46,.10);
  --surface:   #FFFFFF;
  --surface-2: #FBF9FE;
  --glass:     rgba(124,58,237,.05);
  --glass-strong: rgba(124,58,237,.09);
  --grad-soft: linear-gradient(135deg, rgba(216,31,182,.10), rgba(25,184,222,.08));
  --accent:    #7C3AED;
  --nav-bg:    rgba(255,255,255,.7);
  --nav-bg-2:  rgba(255,255,255,.9);
  --grid-line: rgba(25,15,46,.05);
  --stroke-text: rgba(25,15,46,.16);
  --shadow:    0 30px 70px -28px rgba(124,58,237,.4);
  --glow:      0 0 0 1px rgba(25,15,46,.05), 0 18px 50px -18px rgba(216,31,182,.45);
  --grain-op:  .025;
  --grain-blend: multiply;
  --blob-op:   .38;
  --wash: radial-gradient(60% 50% at 82% -5%, rgba(216,31,182,.14), transparent 60%),
          radial-gradient(46% 46% at 6% 8%, rgba(124,58,237,.12), transparent 55%),
          radial-gradient(60% 55% at 50% 104%, rgba(25,184,222,.10), transparent 60%);
}

[data-theme="dark"] {
  --bg:        #09030F;
  --bg-2:      #100620;
  --bg-soft:   #160a2a;
  --ink:       #FFFFFF;
  --muted:     rgba(255,255,255,.66);
  --muted-2:   rgba(255,255,255,.45);
  --line:      rgba(255,255,255,.10);
  --surface:   rgba(255,255,255,.03);
  --surface-2: rgba(255,255,255,.05);
  --glass:     rgba(255,255,255,.06);
  --glass-strong: rgba(255,255,255,.10);
  --grad-soft: linear-gradient(135deg, rgba(216,31,182,.18), rgba(25,184,222,.14));
  --accent:    #34D8F0;
  --nav-bg:    rgba(13,5,25,.55);
  --nav-bg-2:  rgba(13,5,25,.82);
  --grid-line: rgba(255,255,255,.04);
  --stroke-text: rgba(255,255,255,.35);
  --shadow:    0 30px 80px -30px rgba(124,58,237,.55);
  --glow:      0 0 0 1px rgba(255,255,255,.06), 0 18px 50px -18px rgba(216,31,182,.6);
  --grain-op:  .05;
  --grain-blend: overlay;
  --blob-op:   .55;
  --wash: radial-gradient(60% 50% at 80% 0%, rgba(124,58,237,.22), transparent 60%),
          radial-gradient(50% 50% at 10% 10%, rgba(216,31,182,.16), transparent 55%),
          radial-gradient(60% 60% at 50% 100%, rgba(25,184,222,.10), transparent 60%);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s ease, color .4s ease;
}
body::before { content: ""; position: fixed; inset: 0; background: var(--wash); z-index: -2; pointer-events: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography helpers ---------- */
.h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.2; letter-spacing: -.5px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: 1px;
  color: var(--accent); padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); margin-bottom: 18px;
}
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--glow); margin-bottom: 26px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

/* ---------- Buttons & Stores ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 1rem; padding: 15px 30px; border-radius: 999px;
  background: var(--grad); color: #fff; position: relative; isolation: isolate;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; box-shadow: var(--glow);
}
.btn--glow::after { content:""; position:absolute; inset:0; border-radius:inherit; background: var(--grad); filter: blur(18px); opacity:.5; z-index:-1; transition: opacity .35s; }
.btn:hover { transform: translateY(-3px); }
.btn--glow:hover::after { opacity: .8; }
.btn--sm { padding: 11px 22px; font-size: .92rem; }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); }

.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--glow);
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s;
}
.store:hover { transform: translateY(-3px); border-color: var(--accent); }
.store__ico { width: 26px; height: 26px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; font-size: 1.05rem; }
.store small { font-weight: 600; font-size: .68rem; color: var(--muted); }
.store--dark { background: #10071f; color: #fff; border-color: transparent; }
.store--dark small { color: rgba(255,255,255,.6); }

/* ============================================================ PRELOADER */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; place-items: center; gap: 22px; width: min(280px, 70vw); }
.preloader__logo { width: 120px; height: 120px; border-radius: 28px; background: #fff; display: grid; place-items: center; padding: 14px; box-shadow: var(--shadow); animation: floaty 3s ease-in-out infinite; }
.preloader__logo img { border-radius: 14px; }
.preloader__bar { width: 100%; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; }
.preloader__count { font-weight: 800; color: var(--muted); letter-spacing: 1px; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ============================================================ GLOBAL FX */
.grain { position: fixed; inset: -50%; z-index: 9998; pointer-events: none; opacity: var(--grain-op); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--fuchsia); }

.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9997; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,.7); transition: transform .18s ease, width .25s, height .25s, background .25s; transform: translate(-50%,-50%); }
.cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%,-50%); }
.cursor.grow { width: 70px; height: 70px; background: rgba(255,255,255,.18); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ============================================================ NAVBAR */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 18px 0; transition: padding .35s; }
.nav.scrolled { padding: 10px 0; }
.nav__inner {
  position: relative;
  width: min(1280px, calc(100% - 28px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 14px;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: background .35s, box-shadow .35s;
}
.nav.scrolled .nav__inner { background: var(--nav-bg-2); box-shadow: 0 14px 40px -22px rgba(80,40,140,.5); }
.nav__brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; min-width: 0; }
.nav__logo { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 5px; flex-shrink: 0; box-shadow: 0 6px 18px -10px rgba(124,58,237,.5); }
.nav__logo img { border-radius: 7px; }
.nav__name { font-weight: 900; font-size: 1.2rem; line-height: 1; display: flex; flex-direction: column; white-space: nowrap; }
.nav__name small { font-size: .58rem; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex-wrap: nowrap;
}
.nav__links a {
  font-size: clamp(.76rem, .95vw, .88rem);
  font-weight: 700;
  color: var(--muted);
  padding: 8px clamp(6px, .9vw, 11px);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--ink); background: var(--glass); }
@media (min-width: 1141px) {
  .nav__link--extra { display: none; }
  .nav__link--extra.is-active { display: block; }
}
.nav__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-toggle { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--glow); transition: transform .3s, border-color .3s; }
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; color: var(--ink); }
.theme-toggle .ico-moon { display: none; }
.theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================ HERO */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 150px 0 80px; overflow: hidden; }
.hero__aurora { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--blob-op); }
.blob--1 { width: 520px; height: 520px; background: var(--fuchsia); top: -120px; right: -60px; animation: drift1 18s ease-in-out infinite; }
.blob--2 { width: 460px; height: 460px; background: var(--violet); bottom: -120px; left: -60px; animation: drift2 22s ease-in-out infinite; }
.blob--3 { width: 380px; height: 380px; background: var(--cyan); top: 38%; left: 42%; opacity: calc(var(--blob-op) * .7); animation: drift3 20s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-60px,50px) scale(1.15)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(70px,-40px) scale(1.1)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,-60px)} }

.hero__grid-lines { position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 58px 58px;
  mask-image: radial-gradient(75% 65% at 50% 40%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 40%, #000 30%, transparent 82%); }

.hero__content { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 30px; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 900; line-height: 1.08; letter-spacing: -1.2px; margin: 4px 0 22px; }
.hero__title .line { display: block; }
.hero__title .line--grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero__sub b { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero__meta .sep { width: 1px; height: 26px; background: var(--line); }
.hero__meta b { color: var(--ink); font-size: 1.1rem; }
.stars { color: #FFB02E; letter-spacing: 2px; }

/* Hero visual cluster */
.hero__visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero__orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--grad); filter: blur(8px); opacity: .9; z-index: 0;
  box-shadow: 0 40px 120px -20px rgba(216,31,182,.55); animation: orbPulse 6s ease-in-out infinite; }
@keyframes orbPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }

.phone { position: relative; width: 270px; aspect-ratio: 9 / 19.3; border-radius: 42px; padding: 9px;
  background: linear-gradient(150deg, #2a2440, #0f0a1c); box-shadow: 0 40px 90px -30px rgba(80,30,120,.6), inset 0 0 0 2px rgba(255,255,255,.07); }
.phone__notch { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 104px; height: 24px; background: #060309; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; }
.phone__glow { position: absolute; inset: 0; border-radius: 42px; box-shadow: inset 0 0 40px rgba(124,58,237,.2); pointer-events: none; }

.phone-float { will-change: transform; }
.phone-float--main { position: relative; z-index: 2; animation: floatA 5.5s ease-in-out infinite; }
.phone-float--back { position: absolute; z-index: 1; top: 9%; left: -9%; animation: floatB 6.5s ease-in-out infinite; }
.phone--main { width: clamp(262px, 29vw, 320px); }
.phone--back { width: clamp(195px, 22vw, 238px); transform: rotate(-9deg); opacity: .92; filter: saturate(1.05); }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(14px)} }

.hero__card { position: absolute; z-index: 4; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(12px); padding: 12px 16px; }
.hero__card--rating { top: 2%; right: -4%; display: grid; gap: 2px; text-align: center; }
.hero__card--rating b { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.hero__card--rating small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.hero__card--rating .stars { font-size: .8rem; }
.hero__card--order { bottom: 4%; right: -3%; display: flex; align-items: center; gap: 10px; max-width: 215px; }
.hero__card--order .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-2); display: grid; place-items: center; flex-shrink: 0; }
.hero__card--order .dot::after { content: "✓"; color: #fff; font-weight: 900; }
.hero__card--order b { display: block; font-size: .92rem; }
.hero__card--order small { color: var(--muted); font-size: .76rem; }
.hero__card--photo { bottom: 4%; left: -2%; width: 120px; height: 120px; padding: 6px; border-radius: 22px; }
.hero__card--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.float-chip { position: absolute; z-index: 4; font-weight: 800; font-size: .88rem; padding: 10px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); white-space: nowrap; }
.chip--a { top: 40%; right: -9%; }
.chip--b { bottom: 30%; left: -7%; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid var(--line); border-radius: 99px; display: grid; justify-items: center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 99px; background: var(--accent); animation: scrolly 1.6s infinite; }
@keyframes scrolly { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 60%{opacity:1;transform:translateY(12px)} 100%{opacity:0;transform:translateY(16px)} }

/* ============================================================ MARQUEE */
.marquee { padding: 26px 0; border-block: 1px solid var(--line); background: var(--glass); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 900; color: transparent; -webkit-text-stroke: 1px var(--stroke-text); white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ============================================================ STATS */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 70px 24px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); }
.stat__num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat__num--text { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.stat__label { color: var(--muted); margin-top: 10px; font-weight: 600; font-size: .95rem; }

/* ============================================================ ABOUT */
.about { padding: 90px 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.about__badge { position: absolute; bottom: 18px; right: 18px; width: 70px; height: 70px; border-radius: 18px; background: #fff; padding: 9px; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.about__badge img { border-radius: 10px; }
.about__text p { color: var(--muted); margin: 18px 0 26px; font-size: 1.05rem; }
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-right: 38px; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before { content:"✓"; position: absolute; right: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }

/* ============================================================ SERVICES */
.services { padding: 90px 0; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); overflow: hidden; transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s; }
.svc::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition: opacity .4s; }
.svc:hover { transform: translateY(-8px); border-color: var(--accent); }
.svc:hover::before { opacity: 1; }
.svc__ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); margin-bottom: 16px; position: relative; z-index: 1; box-shadow: 0 14px 30px -12px rgba(216,31,182,.6); }
.svc:nth-child(even) .svc__ico { background: var(--grad-2); box-shadow: 0 14px 30px -12px rgba(25,184,222,.5); }
.svc__ico svg { width: 30px; height: 30px; color: #fff; }
.svc h3 { font-size: 1.12rem; font-weight: 800; position: relative; z-index: 1; }
.svc p { color: var(--muted); font-size: .9rem; margin-top: 4px; position: relative; z-index: 1; }

/* ============================================================ HOW */
.how { padding: 90px 0; }
.how__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { position: relative; padding: 40px 28px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); overflow: hidden; }
.step::after { content:""; position:absolute; top:0; right:0; width: 140px; height: 140px; background: var(--grad); filter: blur(60px); opacity:.18; }
.step__num { font-size: 3rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ============================================================ ROLES */
.roles { padding: 90px 0; }
.roles__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.role-card { position: relative; padding: 36px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s; overflow: hidden; }
.role-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.role-card--feature { background: var(--grad-soft); border-color: rgba(216,31,182,.3); }
.role-card__ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--glass-strong); border: 1px solid var(--line); margin-bottom: 20px; }
.role-card__ico svg { width: 30px; height: 30px; color: var(--accent); }
.role-card--feature .role-card__ico svg { color: var(--fuchsia); }
.role-card h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.role-card p { color: var(--muted); margin-bottom: 18px; }
.role-card__tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--accent); }
.role-card--feature .role-card__tag { background: var(--grad); color: #fff; border-color: transparent; }

/* ============================================================ SHOWCASE */
.showcase { padding: 90px 0; overflow: hidden; }
.showcase__head { text-align: center; margin-bottom: 50px; }
.showcase__rail { display: flex; gap: 30px; padding: 20px 24px 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.showcase__rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shot .phone { width: clamp(220px, 24vw, 268px); }
.shot figcaption { margin-top: 18px; font-weight: 800; color: var(--muted); }

/* ============================================================ PROMO */
.promo { padding: 40px 0 90px; }
.promo__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background: #000; }
.promo__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 92px; height: 92px; border-radius: 50%; z-index: 3; background: rgba(255,255,255,.96); color: #10071f; display: grid; place-items: center; transition: transform .3s; animation: ring 2.4s infinite; }
.promo__play svg { width: 40px; height: 40px; margin-right: -4px; }
.promo__play:hover { transform: translate(-50%,-50%) scale(1.08); }
@keyframes ring { 0%{box-shadow:0 0 0 0 rgba(216,31,182,.55)} 70%{box-shadow:0 0 0 26px rgba(216,31,182,0)} 100%{box-shadow:0 0 0 0 rgba(216,31,182,0)} }
.promo__overlay { position: absolute; inset: auto 32px 28px auto; text-align: right; z-index: 2; max-width: 70%; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.promo__overlay .eyebrow { color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.promo__overlay h3 { font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 900; }
.promo__overlay p { color: rgba(255,255,255,.85); }
.promo__card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(9,3,15,.7), transparent 55%); z-index:1; pointer-events:none; transition: opacity .4s; }
.promo__card.playing .promo__play, .promo__card.playing .promo__overlay { opacity: 0; visibility: hidden; transition: opacity .3s; }
.promo__card.playing::after { opacity: 0; }

/* ============================================================ FEATURES */
.features { padding: 90px 0; }
.bento { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 1fr; gap: 18px; }
.bento__cell { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); overflow: hidden; transition: transform .4s, border-color .4s; }
.bento__cell:hover { transform: translateY(-6px); border-color: var(--accent); }
.bento__cell--lg { grid-row: span 2; background: var(--grad-soft); border-color: rgba(124,58,237,.3); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.bento__cell--wide { grid-column: span 2; }
.bento__ico { font-size: 2.2rem; margin-bottom: 16px; }
.bento__cell h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.bento__cell--lg h3 { font-size: 1.7rem; }
.bento__cell p { color: var(--muted); }

/* ============================================================ PROVIDERS */
.providers { padding: 90px 0; }
.providers__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.providers__text p { color: var(--muted); font-size: 1.08rem; margin: 18px 0 28px; }
.providers__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.providers__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.providers__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ============================================================ DOWNLOAD */
.download { padding: 70px 0 110px; }
.download__inner { position: relative; text-align: center; padding: 70px 30px; border-radius: 40px; overflow: hidden; background: var(--grad-soft); border: 1px solid var(--line); box-shadow: var(--shadow); }
.download__aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.download__aurora .blob--1 { width: 400px; height: 400px; background: var(--fuchsia); top: -100px; right: 10%; }
.download__aurora .blob--2 { width: 380px; height: 380px; background: var(--cyan); bottom: -120px; left: 10%; }
.download__logo { width: 88px; height: 88px; border-radius: 24px; background: #fff; padding: 12px; margin: 0 auto 24px; box-shadow: var(--shadow); }
.download__logo img { border-radius: 12px; }
.download__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.15; }
.download__sub { color: var(--muted); margin: 16px auto 32px; max-width: 520px; font-size: 1.05rem; }
.download__stores { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ FOOTER */
.footer { border-top: 1px solid var(--line); padding-top: 64px; background: var(--glass); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 50px; }
.footer__brand p { color: var(--muted); margin: 16px 0 20px; max-width: 360px; }
.footer__brand .nav__logo { width: 50px; height: 50px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; }
.footer__social a:hover { transform: translateY(-3px); background: var(--grad); border-color: transparent; color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
.footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer__col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); padding: 6px 0; font-size: .94rem; transition: color .25s, padding-right .25s; }
.footer__col a:hover { color: var(--ink); padding-right: 6px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .88rem; }
.footer__tag { color: var(--accent); font-weight: 800; letter-spacing: .5px; }

/* ============================================================ REVEAL */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.js [data-split] { opacity: 0; }
[data-split].is-in { opacity: 1; }
.word { display: inline-block; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1140px) {
  .nav__inner { grid-template-columns: 1fr max-content; }
  .nav__links {
    display: none;
    grid-column: 1 / -1;
  }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    background: var(--nav-bg-2);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    padding: 14px;
    border-radius: 22px;
    z-index: 10;
  }
  .nav__links.open a { padding: 12px 16px; font-size: .95rem; white-space: normal; }
  .nav__burger { display: flex; }
}

@media (max-width: 980px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__visual { min-height: 480px; }
  .about__inner, .providers__inner { grid-template-columns: 1fr; gap: 36px; }
  .providers__media { order: -1; max-width: 460px; margin-inline: auto; }
  .services__grid { grid-template-columns: repeat(3,1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav__cta .btn { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); padding: 50px 24px; }
  .services__grid { grid-template-columns: repeat(2,1fr); }
  .how__steps, .roles__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--lg, .bento__cell--wide { grid-column: auto; grid-row: auto; }
  .promo__card { aspect-ratio: 4/5; }
  .footer__cols { grid-template-columns: repeat(2,1fr); }
  .hero__title { line-height: 1.18; }
  .hero { padding-top: 120px; }
  .hero__card--photo { width: 92px; height: 92px; }
  .float-chip { font-size: .78rem; padding: 8px 12px; }
}
@media (max-width: 460px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { padding: 20px 16px; }
  .download__inner { padding: 48px 20px; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__card--rating { right: 0; } .hero__card--order { right: -2%; }
}

/* ============================================================ HERO EXTRAS */
.hero__card--pay { bottom: 6%; left: -5%; display: flex; align-items: center; gap: 10px; max-width: 215px; }
.hero__card-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.hero__card--pay b { display: block; font-size: .9rem; }
.hero__card--pay small { color: var(--muted); font-size: .74rem; }

.hero__card--rating { animation: bob 4.6s ease-in-out infinite; }
.hero__card--order  { animation: bob 5.4s ease-in-out infinite .3s; }
.hero__card--pay    { animation: bob 5s   ease-in-out infinite .6s; }
.hero__card--photo  { animation: bob 6s   ease-in-out infinite .15s; }
.float-chip.chip--a { animation: bob 4.8s ease-in-out infinite .4s; }
.float-chip.chip--b { animation: bob 5.6s ease-in-out infinite .2s; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.spark { position: absolute; width: 34px; height: 34px; z-index: 5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%2319B8DE' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 2v6'/%3E%3Cpath d='M4 6l3.5 3.5'/%3E%3Cpath d='M20 6l-3.5 3.5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  animation: twinkle 2.6s ease-in-out infinite; }
.spark--1 { top: 3%; left: 16%; }
.spark--2 { top: 42%; right: 0; width: 26px; height: 26px; animation-delay: .8s; }
.spark--3 { bottom: 14%; left: 28%; width: 30px; height: 30px; animation-delay: 1.4s; }
@keyframes twinkle { 0%,100%{opacity:.25; transform:scale(.8) rotate(0)} 50%{opacity:1; transform:scale(1.1) rotate(15deg)} }

.hero__wave { width: clamp(220px, 26vw, 300px); height: 16px; margin: -10px 0 26px; display: block; }
.hero__wave path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s ease-out forwards 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 28px; }
.hero__points li { position: relative; padding-right: 26px; color: var(--ink); font-weight: 700; font-size: .95rem; }
.hero__points li::before { content: "✓"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 6px; background: var(--grad); color: #fff; font-size: .7rem; font-weight: 900; display: grid; place-items: center; }
@media (max-width: 980px) { .hero__points { justify-content: center; } }

/* ============================================================ TRUST */
.trust { padding: 90px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.trust-card { position: relative; padding: 30px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); overflow: hidden; transition: transform .4s, border-color .4s; }
.trust-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.trust-card::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition:opacity .4s; }
.trust-card:hover::before { opacity:1; }
.trust-card > * { position: relative; z-index:1; }
.trust-card__ic { width: 58px; height: 58px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; box-shadow: 0 14px 30px -12px rgba(216,31,182,.6); }
.trust-card:nth-child(even) .trust-card__ic { background: var(--grad-2); }
.trust-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.trust-card p { color: var(--muted); font-size: .94rem; }

/* ============================================================ GALLERY */
.gallery { padding: 70px 0 90px; overflow: hidden; }
.gallery__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.gallery__marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery__track { display: flex; gap: 20px; width: max-content; animation: gmarquee 55s linear infinite; padding: 10px 0; }
.gallery__marquee:hover .gallery__track { animation-play-state: paused; }
@keyframes gmarquee { to { transform: translateX(50%); } }
.gallery__item { flex: 0 0 auto; width: 250px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; transition: transform .35s; background: var(--surface); }
.gallery__item:hover { transform: translateY(-8px) scale(1.02); }
.gallery__item img { width: 100%; height: 320px; object-fit: cover; display: block; }
.gallery__cta { text-align: center; margin-top: 36px; }

/* ============================================================ LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 9996; background: rgba(5,2,12,.86); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 460px); max-height: 88vh; border-radius: 18px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); }
.lightbox__close { position: absolute; top: 22px; left: 22px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; border: 1px solid rgba(255,255,255,.25); }
.lightbox__close:hover { background: rgba(255,255,255,.22); }

@media (max-width: 980px) { .trust__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 760px) { .gallery__item { width: 200px; } .gallery__item img { height: 260px; } .hero__wave { margin-inline: auto; } }
@media (max-width: 460px) { .trust__grid { grid-template-columns: 1fr; } }

/* ---------- Screenshot mode ---------- */
.shot .hero { min-height: 760px; }
.shot .preloader { display: none; }

/* ============================================================ SUPPORT PAGE */
.support-page { padding-top: 88px; }
.support-hero {
  position: relative; padding: 72px 0 48px; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.support-hero__aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.support-hero__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.support-hero__title { margin: 16px 0 18px; }
.support-hero__sub { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.support-section { padding: 80px 0; }
.support-section--alt { background: var(--glass); border-block: 1px solid var(--line); }
.support-contact { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.support-card__btn { margin-top: 18px; display: inline-flex; }
.trust-card strong { color: var(--ink); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--glow); overflow: hidden; transition: border-color .3s;
}
.faq__item.is-open { border-color: var(--accent); }
.faq__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; text-align: right; font: inherit; font-size: 1.02rem; font-weight: 800;
  color: var(--ink); background: transparent; border: none; cursor: pointer;
}
.faq__toggle:hover { background: var(--glass); }
.faq__chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); transition: transform .3s; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__panel { padding: 0 22px 20px; }
.faq__panel p { color: var(--muted); line-height: 1.75; font-size: .96rem; }

.support-form-card {
  max-width: 820px; margin: 0 auto; padding: 40px 36px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow);
}
.sec-head--compact { margin-bottom: 36px; }
.support-form { display: grid; gap: 18px; }
.support-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support-field { display: grid; gap: 8px; }
.support-field span { font-size: .9rem; font-weight: 700; color: var(--ink); }
.support-field input,
.support-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink); font: inherit; font-size: .96rem;
  transition: border-color .25s, box-shadow .25s;
}
.support-field input:focus,
.support-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.support-field textarea { resize: vertical; min-height: 140px; }
.support-form__actions { display: flex; justify-content: center; padding-top: 8px; }

@media (max-width: 760px) {
  .support-contact { grid-template-columns: 1fr; }
  .support-form__grid { grid-template-columns: 1fr; }
  .support-form-card { padding: 28px 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .blob, .hero__orb { animation: none; }
}
