/* ===== AI QR Review: shared styles ===== */
:root {
  --bg: #07070f;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f4f4fb;
  --muted: #a3a3c2;
  --brand: #7c5cff;
  --brand-2: #00d4ff;
  --brand-3: #ff5ca8;
  --gold: #ffc83d;
  --ok: #2ee59d;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; }

/* ---------- Animated background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: float 18s ease-in-out infinite alternate;
}
.blob.b1 { width: 480px; height: 480px; background: var(--brand); top: -120px; left: -100px; }
.blob.b2 { width: 420px; height: 420px; background: var(--brand-2); bottom: -140px; right: -80px; animation-delay: -6s; }
.blob.b3 { width: 340px; height: 340px; background: var(--brand-3); top: 40%; left: 55%; animation-delay: -12s; opacity: 0.35; }
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.15); }
  100% { transform: translate(-60px, 30px) scale(0.95); }
}
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  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: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- Common UI ---------- */
.container { width: min(1120px, 92%); margin: 0 auto; }
.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.grad-text {
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-3), var(--brand-2));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 15px;
  color: #fff; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, opacity .2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(124, 92, 255, 0.6); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -120%; } 100% { left: 160%; } }
.btn-ghost { background: rgba(255,255,255,0.07); border: 1px solid var(--card-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }
.btn-google { background: #fff; color: #1f1f1f; }
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.25); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.chip {
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,0.06); border: 1px solid var(--card-border); color: var(--muted);
  transition: all .2s ease;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.chip.active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 18px rgba(0, 212, 255, 0.3);
}

/* Scroll / load reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px);
  background: #12121f; border: 1px solid var(--card-border); padding: 12px 20px;
  border-radius: 12px; font-size: 14px; z-index: 100; transition: transform .4s cubic-bezier(.2,.9,.3,1.3);
}
.toast.show { transform: translate(-50%, 0); }

/* Confetti */
.confetti {
  position: fixed; top: -12px; width: 10px; height: 14px; z-index: 200; pointer-events: none;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(105vh) rotate(720deg); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== "Developed by Zmedia.Pvt" moving strip (right edge, top -> bottom) ===== */
.dev-strip {
  position: fixed; top: 0; right: 0; bottom: 0; width: 24px; z-index: 120; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, rgba(124,92,255,.55), rgba(255,92,168,.5), rgba(0,212,255,.5));
  box-shadow: -4px 0 18px rgba(124,92,255,.35);
  border-left: 1px solid rgba(255,255,255,.18);
}
.dev-track {
  writing-mode: vertical-rl;
  display: flex; flex-direction: row; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.92);
  line-height: 24px; text-transform: uppercase;
  width: 100%; animation: devDown 18s linear infinite;
}
.dev-track span { padding-inline-end: 28px; }
.dev-track b { font-weight: 800; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); }
.dev-track i { font-style: normal; color: var(--gold); }
/* content starts shifted up by half (one copy) and slides down to 0 -> moves top to bottom, loops seamlessly */
@keyframes devDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* keep page content clear of the strip */
body[data-dev-credit] { padding-right: 24px; }
@media (max-width: 600px) {
  .dev-strip { width: 20px; }
  .dev-track { font-size: 10.5px; line-height: 20px; }
  body[data-dev-credit] { padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .dev-track { animation: none; transform: translateY(-25%); }
}
