:root {
  --bg: #090a10;
  --bg-alt: #0e0f18;
  --surface: #141522;
  --surface-2: #1b1c2e;
  --surface-glass: rgba(20, 21, 34, 0.75);
  --border: #23253a;
  --border-glow: #383b5e;
  
  --text: #f8f9fe;
  --muted: #a3a6c2;
  --faint: #6c7094;
  
  --primary: #7c3aed;
  --primary-light: #9d65ff;
  --primary-glow: rgba(124, 58, 237, 0.4);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.35);
  
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  
  --pink: #ec4899;
  --warn: #fbbf24;
  --danger: #ef4444;
  
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --header-h: 70px;
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px -5px var(--primary-glow);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
  background-image: 
    radial-gradient(900px 500px at 80% -100px, rgba(124, 58, 237, 0.18), transparent 70%),
    radial-gradient(800px 400px at 15% 150px, rgba(6, 182, 212, 0.12), transparent 70%),
    radial-gradient(600px 400px at 50% 1200px, rgba(16, 185, 129, 0.08), transparent 70%);
  background-repeat: no-repeat;
  padding-bottom: 70px; 
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color 0.15s ease, opacity 0.15s ease; }
a:hover { color: #c4b5fd; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 16, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.brand:hover { color: #fff; }
.brand-name {
  background: linear-gradient(135deg, #ffffff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.nav-list a:hover {
  color: #fff;
  background: var(--surface);
}
.nav-list a[aria-current="page"] {
  color: #fff;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.nav-list .nav-cta a {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  margin-left: 8px;
  border: none;
}
.nav-list .nav-cta a:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.28s ease, visibility 0.28s ease;
  }
  .site-nav.is-open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 24px;
    gap: 4px;
  }
  .nav-list a { padding: 12px 16px; font-size: 1rem; }
  .nav-list .nav-cta a { margin: 10px 0 0; text-align: center; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.6);
}
.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.8);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0c16 !important;
  font-weight: 800;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.5);
}
.btn-gold:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 28px -6px rgba(245, 158, 11, 0.75);
}

.btn-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55);
}
.btn-purple:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 28px -6px rgba(139, 92, 246, 0.8);
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px -6px rgba(6, 182, 212, 0.5);
}
.btn-cyan:hover {
  filter: brightness(1.12);
  box-shadow: 0 12px 28px -6px rgba(6, 182, 212, 0.75);
}

.btn-outline {
  border-color: var(--border-glow);
  color: #fff !important;
  background: var(--surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  background: var(--surface-2);
}
.btn-ghost {
  color: var(--cyan) !important;
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.1);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.18);
}
.btn-lg {
  min-height: 54px;
  padding: 15px 30px;
  font-size: 1.05rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.badge-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }
.badge-gold { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.3); }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #67e8f9; border-color: rgba(6, 182, 212, 0.3); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: pulseAnim 2s infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-home {
  padding: 60px 0 45px;
  position: relative;
}
.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}
.hero-home h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 900;
}
.grad-home {
  background: linear-gradient(135deg, #ffffff 20%, #a78bfa 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-home p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 16px;
  max-width: 640px;
}
.hero-home-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}
.facts-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.facts-home li {
  background: rgba(20, 21, 34, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}
.facts-home strong { display: block; font-size: 1.05rem; color: #fff; }
.facts-home span { font-size: 0.82rem; color: var(--faint); }

.phone-mockup {
  position: relative;
  z-index: 1;
  width: min(310px, 80vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #33364f, #141522);
  box-shadow: 0 0 0 1px #414566, 0 30px 65px -15px rgba(0, 0, 0, 0.85), 0 0 50px -10px var(--primary-glow);
  transition: transform 0.3s ease;
}
.phone-mockup:hover { transform: translateY(-4px) scale(1.01); }
.phone-mockup img {
  border-radius: 36px;
  width: 100%;
  aspect-ratio: 360/730;
  object-fit: cover;
  background: #11121c;
}

.hero-download {
  padding: 55px 0 40px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(16, 185, 129, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-download h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.grad-download {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 75%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.apk-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}
.apk-spec-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
.apk-spec-item strong { color: #fff; margin-left: 4px; }
.install-steps-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.install-step-card {
  background: rgba(20, 21, 34, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.install-step-card span {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 6px;
  background: var(--emerald);
  color: #fff;
  font-weight: 800;
  margin-right: 6px;
}

.hero-auth {
  padding: 55px 0 40px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(124, 58, 237, 0.15), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}
.hero-auth h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.grad-auth {
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 70%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-box-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-preview-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.auth-preview-card.featured {
  border-color: var(--primary-light);
  box-shadow: 0 10px 35px -5px var(--primary-glow);
}
.auth-preview-card h3 { margin: 0 0 8px; font-size: 1.15rem; color: #fff; }
.auth-preview-card p { font-size: 0.88rem; color: var(--muted); margin: 0 0 16px; }

.hero-finance {
  padding: 55px 0 40px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(6, 182, 212, 0.15), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-finance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}
.hero-finance h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.grad-finance {
  background: linear-gradient(135deg, #ffffff 30%, #22d3ee 70%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wallet-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}
.wallet-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.wallet-badge-pill.easypaisa { border-color: rgba(16, 185, 129, 0.4); color: #34d399; }
.wallet-badge-pill.jazzcash { border-color: rgba(245, 158, 11, 0.4); color: #fbbf24; }
.finance-phone-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.finance-phone-pair .phone-mockup {
  width: min(210px, 45vw);
  padding: 8px;
  border-radius: 32px;
}
.finance-phone-pair .phone-mockup img { border-radius: 24px; }

.hero-rewards {
  padding: 55px 0 40px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(245, 158, 11, 0.15), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-rewards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-rewards h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.grad-rewards {
  background: linear-gradient(135deg, #ffffff 20%, #fbbf24 65%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rewards-tiers-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.reward-tier-chip {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fde68a;
}
.reward-phone-frame {
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.5), 0 30px 65px -15px rgba(0, 0, 0, 0.85), 0 0 55px -10px var(--gold-glow);
}

.hero-updates {
  padding: 55px 0 40px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(139, 92, 246, 0.15), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-updates h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.grad-updates {
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.update-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 14px;
}

.hero-faq {
  padding: 55px 0 40px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(6, 182, 212, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-faq h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
.grad-faq {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.faq-search-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--faint);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 18px 0 22px;
}
.faq-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faq-topic-chip {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-contact {
  padding: 50px 0 35px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(16, 185, 129, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}
.grad-contact {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-about {
  padding: 50px 0 35px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(139, 92, 246, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.grad-about {
  background: linear-gradient(135deg, #ffffff 30%, #c084fc 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-rg {
  padding: 50px 0 35px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(245, 158, 11, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.grad-rg {
  background: linear-gradient(135deg, #ffffff 30%, #fbbf24 70%, #f87171 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-blog {
  padding: 50px 0 35px;
  background: radial-gradient(800px 350px at 50% 0%, rgba(124, 58, 237, 0.14), transparent 70%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.grad-blog {
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-article {
  padding: 40px 0 25px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-article h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.2;
  margin: 12px 0 16px;
  font-weight: 800;
}

.hero-legal {
  padding: 40px 0 25px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.hero-legal h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 12px 0 10px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-home-grid,
  .hero-download-grid,
  .hero-auth-grid,
  .hero-finance-grid,
  .hero-rewards-grid,
  .hero-updates-grid,
  .hero-faq-grid,
  .hero-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .phone-mockup { width: min(260px, 75vw); }
  .finance-phone-pair { flex-direction: row; }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.88rem;
  color: var(--faint);
}
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--faint); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding: 10px 0 50px;
}
.page-grid.has-toc { grid-template-columns: minmax(0, 1fr) 260px; }
@media (max-width: 1079px) {
  .page-grid.has-toc { grid-template-columns: minmax(0, 1fr); }
  .page-grid.has-toc .toc { order: -1; }
}

.toc {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 1079px) { .toc { position: static; } }
.toc details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 6px;
}
.toc summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--faint); font-weight: 800; }
.toc details[open] summary::after { content: "–"; }
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0 8px 14px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.toc a:hover { background: var(--surface-2); color: #fff; }

.prose { min-width: 0; }
.prose > .intro p, .prose section > p, .prose section > ul, .prose section > ol { max-width: 820px; }
.prose p { margin: 0 0 16px; color: #d5d7ea; font-size: 1.02rem; }
.prose strong { color: #fff; }
.prose section {
  padding: 34px 0 10px;
  border-top: 1px solid var(--border);
  display: flow-root;
}
.prose section:first-of-type { border-top: 0; padding-top: 10px; }
.prose h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 800;
  color: #fff;
}
.prose h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  margin-bottom: 12px;
}
.prose h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 24px 0 10px;
  font-weight: 700;
  color: #fff;
}
.prose ul { list-style: none; padding: 0; margin: 0 0 20px; }
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 10px;
  color: #d5d7ea;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.prose ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 22px; }
.prose ol > li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 58px;
  margin: 0 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #dcdfee;
  line-height: 1.55;
}
.prose ol > li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
}

.note {
  margin: 10px 0 22px;
  padding: 16px 20px;
  border-left: 4px solid var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border-radius: 0 12px 12px 0;
  max-width: 820px;
}
.note p { margin: 0; color: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 14px 0 24px;
  clear: both;
}
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 14px;
  transition: all 0.2s ease;
}
.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; color: #fff; }
.card p { font-size: 0.95rem; color: var(--muted); margin: 0 0 10px; }

.content-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
  margin: 26px 0 32px;
  max-width: 820px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.content-cta-box .cta-text h3 { margin: 0 0 6px; font-size: 1.25rem; color: #fff; }
.content-cta-box .cta-text p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.table-wrap {
  overflow-x: auto;
  margin: 12px 0 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.95rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.table-wrap th { background: var(--surface-2); color: #fff; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { color: #fff; font-weight: 600; }
.table-wrap td { color: #d0d2e4; }

.faq-list { display: grid; gap: 12px; margin: 12px 0 26px; max-width: 860px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color 0.2s; }
.faq[open] { border-color: var(--border-glow); background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 54px 16px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  position: relative;
  line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 6px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2334d399' stroke-width='2'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 20px 16px; }
.faq .faq-a p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.shot { margin: 10px 0 26px; }
.shot.right { float: right; margin: 0 0 20px 28px; }
@media (max-width: 719px) { .shot.right { float: none; margin: 10px auto 26px; display: flex; justify-content: center; } }
.shot.center { display: flex; justify-content: center; margin: 16px 0 32px; }

.phone.sm {
  width: min(260px, 72vw);
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(160deg, #303348, #131420);
  box-shadow: 0 0 0 1px #3d415e, 0 25px 50px -15px rgba(0, 0, 0, 0.7);
}
.phone.sm img { border-radius: 28px; width: 100%; aspect-ratio: 360/730; object-fit: cover; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 16px 0 28px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}
.post-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.post-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; color: #fff; }
.post-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.post-card .more { margin-top: auto; padding-top: 8px; color: #34d399; font-weight: 700; font-size: 0.9rem; }
.cover {
  position: relative;
  aspect-ratio: 16/7;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(124, 58, 237, 0.55), transparent 55%),
              radial-gradient(120% 140% at 100% 100%, rgba(6, 182, 212, 0.3), transparent 55%), #15131f;
}
.cover svg { position: relative; z-index: 1; width: 56px; height: 56px; color: #fff; opacity: 0.95; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
}

.ph {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed rgba(251, 191, 36, 0.6);
  border-radius: 6px;
  color: var(--warn);
  background: rgba(251, 191, 36, 0.08);
  font-size: 0.82em;
  font-weight: 600;
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(14, 15, 24, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-glow);
  padding: 10px 16px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}
.mobile-sticky-inner {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-sticky-inner .btn { flex: 1; min-height: 46px; padding: 10px 16px; font-size: 0.92rem; }

@media (max-width: 768px) {
  .mobile-sticky-bar { display: block; }
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 55px 0 28px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.footer-brand p { color: var(--muted); margin: 14px 0 0; max-width: 360px; line-height: 1.6; }
.footer-brand .rg { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--faint); font-size: 0.86rem; }
.site-footer h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin: 0 0 14px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-size: 0.86rem;
}
@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .facts-home { grid-template-columns: 1fr; }
  .auth-box-cards { grid-template-columns: 1fr; }
  .install-steps-preview { grid-template-columns: 1fr; }
}
