/* ==========================================================================
   Shababe Developers — shared design system
   Every page sets its own accent through --a1 / --a2 / --a3 on <body>,
   so one stylesheet themes the hub and all five product pages.
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-2: #0a0e1a;
  --ink: #eef2ff;
  --ink-2: #b6bfd6;
  --ink-3: #7c86a2;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --radius: 22px;
  --radius-lg: 32px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* default accent (hub) — overridden per product page */
  --a1: #7c5cff;
  --a2: #00d4c8;
  --a3: #ff5ea8;
  --a1-rgb: 124, 92, 255;
  --a2-rgb: 0, 212, 200;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-native: var(--font-body);

  --mx: 50vw;
  --my: 30vh;
}

/* ---------- product accents ---------- */
.t-urdu-news   { --a1: #00b097; --a2: #2fd6bb; --a3: #7cf5dc; --a1-rgb: 0, 176, 151;  --a2-rgb: 47, 214, 187;  --font-native: "Noto Nastaliq Urdu", serif; }
.t-hindi-news  { --a1: #2d50e6; --a2: #ff9933; --a3: #a8beff; --a1-rgb: 45, 80, 230;  --a2-rgb: 255, 153, 51;  --font-native: "Noto Sans Devanagari", sans-serif; }
.t-bangla-news { --a1: #e0262a; --a2: #00a86b; --a3: #ff9e9c; --a1-rgb: 224, 38, 42;  --a2-rgb: 0, 168, 107;  --font-native: "Hind Siliguri", "Noto Sans Bengali", sans-serif; }
.t-saudi-news  { --a1: #2f9e5b; --a2: #d4b26a; --a3: #8fd79b; --a1-rgb: 47, 158, 91;  --a2-rgb: 212, 178, 106; --font-native: "Tajawal", "Noto Kufi Arabic", sans-serif; }
.t-urdu-recipes{ --a1: #ff7a2f; --a2: #3fc66b; --a3: #ffc857; --a1-rgb: 255, 122, 47; --a2-rgb: 63, 198, 107;  --font-native: "Noto Nastaliq Urdu", serif; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--a1-rgb), 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 8px; }

.native { font-family: var(--font-native); }
[dir="rtl"].native, .native[dir="rtl"] { text-align: right; }
.t-urdu-news .native, .t-urdu-recipes .native { line-height: 2.25; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Ambient background: aurora orbs, grid, noise, cursor spotlight
   ========================================================================== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient::before { /* grid */
  content: ""; position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.ambient::after { /* film grain */
  content: ""; position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  will-change: transform;
}
.orb-1 { width: 560px; height: 560px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(var(--a1-rgb), 0.9), transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.orb-2 { width: 520px; height: 520px; right: -160px; top: 18vh; background: radial-gradient(circle, rgba(var(--a2-rgb), 0.75), transparent 65%); animation: drift2 26s var(--ease) infinite alternate; }
.orb-3 { width: 420px; height: 420px; left: 30vw; bottom: -220px; background: radial-gradient(circle, rgba(var(--a1-rgb), 0.5), transparent 65%); animation: drift1 30s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { to { translate: 90px 60px; scale: 1.15; } }
@keyframes drift2 { to { translate: -80px 90px; scale: 0.9; } }

.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(var(--a2-rgb), 0.07), transparent 60%);
}

/* ==========================================================================
   Glass primitives
   ========================================================================== */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 20px 50px -20px rgba(0,0,0,0.6);
}

/* card whose border lights up under the pointer (set --x/--y in JS) */
.glow-card { position: relative; isolation: isolate; overflow: hidden; }
.glow-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 0%), rgba(var(--a2-rgb), 0.85), rgba(var(--a1-rgb), 0.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease);
}
.glow-card::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(var(--a1-rgb), 0.12), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.glow-card:hover::before, .glow-card:hover::after { opacity: 1; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 50;
  width: min(100% - 24px, 1120px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.6);
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.6);
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px/1 "Outfit", var(--font-display); letter-spacing: -0.01em; }
/* Shababe Developers logo: two interlocking chevrons. Navy in the original artwork, white on this dark site; teal is constant. */
.brand-mark { width: auto; height: 30px; flex: none; overflow: visible; filter: drop-shadow(0 0 10px rgba(0, 185, 198, 0.55)); }
.brand-mark .bm-a { stroke: #ffffff; }
.brand-mark .bm-b { stroke: #00b9c6; }
.brand small { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-body); color: var(--ink-2); letter-spacing: 0; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.brand small img { width: 24px; height: 24px; border-radius: 7px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 4px 12px -4px rgba(var(--a1-rgb), .8); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.nav-cta { background: linear-gradient(135deg, var(--a1), var(--a2)) !important; color: #fff !important; font-weight: 600; box-shadow: 0 6px 24px -6px rgba(var(--a1-rgb), 0.8); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 10px; border-radius: 22px; background: rgba(10,14,26,0.92); border: 1px solid var(--line);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; translate: 0 -8px; transition: opacity .3s var(--ease), translate .3s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; translate: 0 0; }
  .nav-links a { padding: 13px 16px; }
  .nav { background: rgba(10,14,26,0.6); border-color: var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .brand small span { display: none; }
  .brand small { padding-left: 10px; }
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 0 0 rgba(var(--a2-rgb), 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--a2-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--a2-rgb), 0); } }

.grad {
  background: linear-gradient(100deg, var(--a3) 0%, var(--a2) 30%, #fff 50%, var(--a2) 70%, var(--a1) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { display: inline-block; font: 600 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--a2); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 18.5px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { min-height: min(100svh, 980px); padding: 120px 0 70px; display: flex; align-items: center; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.3vw, 70px); margin-top: 24px; letter-spacing: -0.035em; }
.hero .native-title { margin-top: 14px; font-size: clamp(19px, 2.1vw, 27px); color: var(--ink); opacity: .92; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 560px; }
.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; color: var(--ink-3); font-size: 14.5px; }
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.star { color: #ffc857; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; min-width: 196px;
  border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store .s-txt { display: flex; flex-direction: column; line-height: 1.1; }
.store .s-txt small { font-size: 11.5px; color: var(--ink-2); letter-spacing: .02em; }
.store .s-txt strong { font: 600 19px/1.15 var(--font-display); letter-spacing: -0.01em; }
.store::after { /* sheen */
  content: ""; position: absolute; inset: 0; translate: -120% 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transition: translate .8s var(--ease);
}
.store:hover { transform: translateY(-3px); border-color: rgba(var(--a2-rgb), 0.6); box-shadow: 0 14px 40px -12px rgba(var(--a1-rgb), 0.8), 0 0 0 4px rgba(var(--a2-rgb), 0.08); }
.store:hover::after { translate: 120% 0; }
.store.primary { background: linear-gradient(135deg, rgba(var(--a1-rgb), 0.95), rgba(var(--a2-rgb), 0.75)); border-color: transparent; box-shadow: 0 12px 40px -12px rgba(var(--a1-rgb), 0.9); }
.store.primary .s-txt small { color: rgba(255,255,255,0.85); }
.store.soon { opacity: .6; cursor: default; }
.store.soon:hover { transform: none; box-shadow: none; border-color: var(--line-2); }
.store.soon:hover::after { translate: -120% 0; }

/* ==========================================================================
   Phone mockup (pure CSS — the screen content is per-page HTML)
   ========================================================================== */
.stage { position: relative; height: 640px; perspective: 1400px; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--a1-rgb), 0.6), transparent 70%); filter: blur(40px); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(var(--a2-rgb), 0.18); }
.ring-1 { width: 460px; height: 460px; animation: spin 40s linear infinite; border-style: dashed; }
.ring-2 { width: 580px; height: 580px; border-color: rgba(255,255,255,0.06); }
@keyframes spin { to { rotate: 360deg; } }

.phone {
  position: relative; width: 290px; height: 600px; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2a2f3d, #0d1018 60%, #1d2230);
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.12) inset,
    0 60px 120px -30px rgba(0,0,0,0.85),
    0 0 90px -10px rgba(var(--a1-rgb), 0.55);
  transform-style: preserve-3d;
}
.phone::before { /* island */
  content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3;
}
.phone::after { /* glare */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, transparent 28%, transparent 70%, rgba(255,255,255,0.05) 100%);
}
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #0f1218; display: flex; flex-direction: column; }
.sb { height: 50px; flex: none; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 26px 6px; font: 600 12px/1 var(--font-body); color: #fff; }
.appbar { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 14px; color: #fff; }
.appbar .ttl { font-size: 17px; font-weight: 600; }
.appbar i { width: 18px; height: 2px; background: #fff; display: block; border-radius: 2px; box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff; opacity: .9; }
.appbar .srch { width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; position: relative; opacity: .9; }
.appbar .srch::after { content: ""; position: absolute; width: 7px; height: 2px; background: #fff; right: -6px; bottom: -3px; rotate: 45deg; }
.chips { display: flex; gap: 6px; padding: 0 12px 12px; overflow: hidden; flex: none; }
.chip { flex: none; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; background: rgba(255,255,255,0.08); color: #dfe5f2; white-space: nowrap; }
.chip.on { background: var(--a1); color: #fff; }
.feed { flex: 1; overflow: hidden; padding: 0 8px; position: relative; }
.feed-track { display: flex; flex-direction: column; gap: 8px; animation: feedscroll 18s var(--ease) infinite; }
@keyframes feedscroll { 0%, 12% { transform: translateY(0); } 45%, 57% { transform: translateY(-190px); } 90%, 100% { transform: translateY(0); } }
.card {
  position: relative; height: 172px; border-radius: 18px; overflow: hidden; flex: none;
  background: var(--img, linear-gradient(135deg, #234, #123));
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.82)); }
.card .art { position: absolute; inset: 0; }
.card .src { position: absolute; top: 10px; inset-inline-start: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.92); color: #111; font-size: 10.5px; font-weight: 600; }
.card .hl { position: absolute; inset-inline: 12px; bottom: 12px; color: #fff; font-size: 14px; line-height: 1.5; font-weight: 600; }
.card .hl small { display: block; font-size: 10px; opacity: .7; font-weight: 400; margin-top: 2px; font-family: var(--font-body); }
.t-urdu-news .card .hl, .t-urdu-recipes .card .hl { font-size: 13px; line-height: 2; }
.tabbar { flex: none; height: 58px; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid rgba(255,255,255,0.06); background: #0b0e14; }
.tabbar b { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,0.14); }
.tabbar b.on { background: var(--a1); box-shadow: 0 0 14px rgba(var(--a1-rgb), 0.8); }

/* floating glass chips around the phone */
.float {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px; font-size: 13.5px; white-space: nowrap;
  background: rgba(14, 18, 30, 0.55); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.7);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-weight: 600; color: var(--ink); }
.float span { color: var(--ink-3); font-size: 12px; }
.float .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 0 20px rgba(var(--a1-rgb), 0.6); flex: none; }
.float .ic svg { width: 18px; height: 18px; color: #fff; }
.f1 { top: 70px; left: -30px; }
.f2 { top: 46%; right: -40px; animation-delay: -2s; }
.f3 { bottom: 60px; left: 0; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -12px; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .stores, .hero-meta { justify-content: center; }
  .stage { height: 600px; margin-top: 10px; }
  .f1 { left: 2%; } .f2 { right: 2%; } .f3 { left: 6%; }
}
@media (max-width: 520px) {
  .stage { height: 560px; transform: scale(.9); }
  .float { display: none; }
  .ring-2 { display: none; }
  .store { min-width: 0; flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Marquee (sources / categories)
   ========================================================================== */
.marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,0.015); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 10px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.marquee-track span.native { font-size: 15px; line-height: 1.6; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track, .marquee[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 30px 26px; }
.stat .num { font: 700 clamp(36px, 4vw, 50px)/1 var(--font-display); letter-spacing: -0.03em; }
.stat .num em { font-style: normal; color: var(--a2); }
.stat p { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Feature bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feat { padding: 30px; grid-column: span 2; min-height: 230px; display: flex; flex-direction: column; }
.feat.wide { grid-column: span 3; }
.feat.xl { grid-column: span 4; }
.feat .ficon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(var(--a1-rgb), 0.25), rgba(var(--a2-rgb), 0.12));
  border: 1px solid rgba(var(--a2-rgb), 0.3);
  box-shadow: 0 0 30px -6px rgba(var(--a1-rgb), 0.6);
}
.feat .ficon svg { width: 24px; height: 24px; color: var(--a3); }
.feat h3 { font-size: 21px; letter-spacing: -0.015em; }
.feat p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.feat .native { margin-top: auto; padding-top: 18px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 980px) { .feat, .feat.wide, .feat.xl { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .feat, .feat.wide, .feat.xl { grid-column: auto; } }

/* ==========================================================================
   Facts table (quotable, GEO-friendly)
   ========================================================================== */
.facts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.facts { padding: 10px 0; }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.facts .row:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); font-size: 15px; }
.facts dd { margin: 0; color: var(--ink); font-size: 16px; }
.facts dd a { color: var(--a2); text-decoration: underline; text-decoration-color: rgba(var(--a2-rgb), .4); text-underline-offset: 3px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 17.5px; }
.prose strong { color: var(--ink); }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr; } .facts .row { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   Sources / tags
   ========================================================================== */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--line); font-size: 16px; color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.tag:hover { transform: translateY(-2px); border-color: rgba(var(--a2-rgb), .5); background: var(--glass-2); }
.tag .native { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 10px var(--a2); flex: none; }

/* ==========================================================================
   Native-language block
   ========================================================================== */
.native-block { padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.native-block::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -140px; top: -160px; background: radial-gradient(circle, rgba(var(--a1-rgb), .35), transparent 70%); filter: blur(30px); z-index: -1; }
.native-block h2 { font-family: var(--font-native); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.6; letter-spacing: 0; font-weight: 700; }
.native-block p { font-family: var(--font-native); color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.native-block ul { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.native-block li { font-family: var(--font-native); color: var(--ink); font-size: 17px; display: flex; gap: 12px; align-items: baseline; }
.native-block li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--a2); box-shadow: 0 0 10px var(--a2); translate: 0 -2px; }
.t-urdu-news .native-block p, .t-urdu-recipes .native-block p { line-height: 2.3; }
.t-urdu-news .native-block li, .t-urdu-recipes .native-block li { line-height: 2.2; }
@media (max-width: 700px) { .native-block ul { grid-template-columns: 1fr; } }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 30px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 700 15px/1 var(--font-display); color: var(--a2); letter-spacing: .1em; margin-bottom: 18px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { padding: 0; border-radius: 20px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font: 600 18px/1.4 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: rotate .4s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); translate: -50% -50%; }
.faq summary .pm::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary .pm { background: rgba(var(--a1-rgb), .35); rotate: 180deg; }
.faq details[open] summary .pm::after { rotate: 0deg; }
.faq .ans { padding: 0 26px 24px; color: var(--ink-2); font-size: 16.5px; }
.faq .ans.native { font-size: 17px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding: clamp(40px, 7vw, 80px); text-align: center; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(var(--a1-rgb), .5), transparent 30%, rgba(var(--a2-rgb), .4), transparent 60%);
  animation: spin 14s linear infinite; filter: blur(50px);
}
.cta::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: rgba(8, 11, 20, 0.82); z-index: -1; }
.cta .app-icon { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 60px -10px rgba(var(--a1-rgb), .9); }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); }
.cta p { margin: 16px auto 0; max-width: 560px; color: var(--ink-2); font-size: 18px; }
.cta .stores { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); margin-top: 60px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer p { color: var(--ink-3); font-size: 14.5px; max-width: 420px; margin-top: 14px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.footer nav a:hover { color: var(--ink); }
.footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13.5px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-top: 22px; }
.crumbs a:hover { color: var(--ink); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* split-word headline reveal */
.js .split .w { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 70ms + .1s); }
.js .split.in .w { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .split .w { opacity: 1; transform: none; filter: none; }
}

/* specificity fixes */
.faq summary.native { font-family: var(--font-native); font-weight: 700; font-size: 18px; line-height: 2; }
.footer nav.crumbs { gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-top: 22px; }

/* home: brand palette taken from the Shababe Developers logo (teal #00b9c6 on deep navy) */
.t-hub { --a1: #00a3b4; --a2: #2fdbe8; --a3: #a5f3fc; --a1-rgb: 0, 163, 180; --a2-rgb: 47, 219, 232; --bg: #050a10; }
.t-hub .orb-3 { background: radial-gradient(circle, rgba(47, 98, 220, 0.4), transparent 65%); }
.t-hub .grad { background-image: linear-gradient(100deg, #a5f3fc 0%, #2fdbe8 30%, #fff 50%, #00b9c6 70%, #3b82f6 100%); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values .feat { grid-column: auto; min-height: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.faq .ans a { color: var(--a2); text-decoration: underline; text-decoration-color: rgba(var(--a2-rgb), .4); text-underline-offset: 3px; }


/* ==========================================================================
   Home (studio): hero visual, buttons, contact form
   ========================================================================== */
.store.btn { min-width: 0; padding: 12px 24px; }
.footer p a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* code window + small phone */
.studio .code-win {
  position: absolute; left: -40px; top: 255px; z-index: 2; width: 350px; border-radius: 18px; overflow: hidden;
  background: rgba(12, 15, 26, 0.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 50px -20px rgba(var(--a1-rgb), .6);
}
.cw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: 8px; font: 500 12px/1 "JetBrains Mono", monospace; color: var(--ink-3); }
.code-win pre { margin: 0; padding: 16px 18px 20px; font: 400 12.5px/1.75 "JetBrains Mono", ui-monospace, monospace; color: #c9d1e8; white-space: pre; overflow: hidden; }
.code-win .k { color: #c792ea; } .code-win .t { color: #7cd5ff; } .code-win .f { color: #82e2b4; } .code-win .s { color: #ffcb8b; } .code-win .m { color: #ff7eb6; }
.caret { display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -3px; background: var(--a2); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.studio .phone-sm { width: 250px; height: 520px; border-radius: 42px; margin-left: 250px; margin-top: 0; }
.studio .phone-sm .screen { border-radius: 32px; }
.skel-wrap { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; }
.skel-hero, .skel-av, .skel-lines b, .skel-btn {
  background: linear-gradient(90deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.14) 40%, rgba(255,255,255,.06) 80%);
  background-size: 300% 100%; animation: skel 2.4s ease-in-out infinite;
}
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.skel-hero { height: 120px; border-radius: 16px; background-color: rgba(var(--a1-rgb), .2); }
.skel-row { display: flex; gap: 10px; align-items: center; }
.skel-av { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.skel-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.skel-lines b { display: block; height: 9px; border-radius: 6px; }
.skel-btn { margin-top: auto; height: 40px; border-radius: 14px; background-color: rgba(var(--a2-rgb), .35); }
.studio .f1 { top: 40px; left: auto; right: -30px; }
.studio .f2 { top: 150px; right: auto; left: 0; }
.studio .f3 { bottom: 30px; left: auto; right: -20px; }
@media (max-width: 980px) {
  .studio .code-win { left: 50%; translate: -95% 0; }
  .studio .phone-sm { margin-left: 160px; }
}
@media (max-width: 640px) {
  .studio .code-win { display: none; }
  .studio .phone-sm { margin-left: 0; margin-top: 0; }
}

.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding: clamp(28px, 5vw, 60px); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(var(--a1-rgb), .35), transparent 70%); filter: blur(30px); z-index: -1; }
.contact-info .kicker { display: inline-block; font: 600 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--a2); margin-bottom: 16px; }
.contact-info h2 { font-size: clamp(32px, 4.2vw, 50px); }
.contact-info p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 440px; }
.mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line-2); transition: border-color .3s, transform .3s var(--ease); }
.mail:hover { border-color: rgba(var(--a2-rgb), .6); transform: translateY(-2px); }
.mail .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 0 24px rgba(var(--a1-rgb), .6); }
.mail .ic svg { width: 20px; height: 20px; color: #fff; }
.mail small { display: block; font-size: 12.5px; color: var(--ink-3); }
.mail span:last-child { font: 600 18px/1.3 var(--font-display); }

.cform { display: grid; gap: 16px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--ink);
  padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b6bfd6' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #0f1320; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(var(--a2-rgb), .7); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 4px rgba(var(--a2-rgb), .12); }
.field.invalid input, .field.invalid textarea { border-color: #ff6b81; box-shadow: 0 0 0 4px rgba(255,107,129,.12); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { justify-content: center; cursor: pointer; font: inherit; color: inherit; width: 100%; margin-top: 4px; }
.send .arrow { width: 20px; height: 20px; transition: translate .3s var(--ease); }
.send:hover .arrow { translate: 4px 0; }
.send[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; font-size: 15px; color: var(--ink-2); }
.form-status.ok { color: #6ee7b7; }
.form-status.err { color: #ff8fa3; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Legal / privacy pages
   ========================================================================== */
.doc { padding: 150px 0 40px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 22px; }
.doc .updated { margin-top: 14px; color: var(--ink-3); font-size: 15px; }
.doc .summary { margin-top: 36px; padding: 28px 30px; }
.doc .summary h2 { font-size: 20px; margin-bottom: 14px; }
.doc .summary ul { display: grid; gap: 10px; }
.doc .summary li { position: relative; padding-left: 22px; color: var(--ink-2); }
.doc .summary li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 10px var(--a2); }
.doc .summary a { color: var(--a2); text-decoration: underline; text-decoration-color: rgba(var(--a2-rgb), .4); text-underline-offset: 3px; }
.doc article { margin-top: 48px; }
.doc article h2 { font-size: 24px; margin: 44px 0 14px; scroll-margin-top: 100px; }
.doc article h3 { font-size: 18px; margin: 26px 0 8px; color: var(--ink); }
.doc article p, .doc article li { color: var(--ink-2); font-size: 16.5px; }
.doc article p + p { margin-top: 12px; }
.doc article ul { margin: 10px 0 0 0; display: grid; gap: 8px; }
.doc article ul li { padding-left: 22px; position: relative; }
.doc article ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--a2); }
.doc article a, .footer .legal a, .footer p a { color: var(--a2); text-decoration: underline; text-decoration-color: rgba(var(--a2-rgb), .4); text-underline-offset: 3px; }
.doc article strong { color: var(--ink); }
.doc .back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.doc .back:hover { color: var(--ink); }

/* "Shababe Developers" stays on one line; slightly smaller on phones */
.brand { white-space: nowrap; }
@media (max-width: 520px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { height: 26px; }
  .brand small { padding-left: 8px; margin-left: 0; }
}
/* decorative rings behind the hero phone must never cause sideways scrolling */
.hero { overflow-x: hidden; overflow-x: clip; }
