/* ===== ROOT & RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #7c3aed;
  --primary-light: #a855f7;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --bg-dark: #0a0a0f;
  --bg-card: #13131a;
  --bg-card2: #1a1a24;
  --text: #f1f1f5;
  --text-muted: #9ca3af;
  --border: rgba(124, 58, 237, 0.2);
  --gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ================================================================
   LOADING SCREEN
================================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

#loader.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  visibility: hidden;
}

#loaderCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  animation: gridPan 20s linear infinite;
}

@keyframes gridPan {
  0%   { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.loader-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, rgba(6,182,212,0.08) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
  50%       { transform: translate(-50%,-50%) scale(1.15); opacity: 0.7; }
}

/* ---- Orbit ring ---- */
.orbit-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: orbitSpin 12s linear infinite;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-item {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 50%;
  left: 50%;
  border-radius: 14px;
  background: rgba(13, 13, 20, 0.92);
  border: 1px solid rgba(124,58,237,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(168,85,247,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(124,58,237,0.3), inset 0 0 8px rgba(124,58,237,0.05);
  overflow: hidden;
  padding: 6px;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 45deg))
    translateX(190px)
    rotate(calc(var(--i) * -45deg));
  animation: counterSpin 12s linear infinite;
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  filter: drop-shadow(0 0 4px rgba(168,85,247,0.25));
  padding: 2px;
}

.orbit-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.orbit-item:hover { border-color: var(--primary); }

@keyframes counterSpin {
  from {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 45deg))
      translateX(190px)
      rotate(calc(var(--i) * -45deg));
  }
  to {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 45deg))
      translateX(190px)
      rotate(calc(var(--i) * -45deg - 360deg));
  }
}

/* ---- Core content ---- */
.loader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ---- Infinity SVG ---- */
.loader-symbol {
  position: relative;
  width: 160px;
  height: 80px;
}

.infinity-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.infinity-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawInfinity 2s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}

@keyframes drawInfinity {
  to { stroke-dashoffset: 0; }
}

.infinity-dot {
  animation: travelPath 3s linear 2s infinite;
  offset-path: path("M 100,50 C 100,25 125,10 150,10 C 175,10 190,25 190,50 C 190,75 175,90 150,90 C 125,90 100,75 100,50 C 100,25 75,10 50,10 C 25,10 10,25 10,50 C 10,75 25,90 50,90 C 75,90 100,75 100,50 Z");
  offset-distance: 0%;
}

@keyframes travelPath {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

.loader-symbol::before,
.loader-symbol::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringExpand 2.5s ease-out infinite;
}

.loader-symbol::after { animation-delay: 1.25s; }

@keyframes ringExpand {
  0%   { width: 60px;  height: 60px;  opacity: 0.8; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* ---- Brand text ---- */
.loader-brand { text-align: center; }

.brand-chars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.brand-chars span {
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  animation: charReveal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.brand-chars span:nth-child(1)  { animation-delay: 0.5s; }
.brand-chars span:nth-child(2)  { animation-delay: 0.6s; }
.brand-chars span:nth-child(3)  { animation-delay: 0.7s; }
.brand-chars span:nth-child(4)  { animation-delay: 0.8s; }
.brand-chars span:nth-child(5)  { animation-delay: 0.9s; }
.brand-chars span:nth-child(6)  { animation-delay: 1.0s; }
.brand-chars span:nth-child(7)  { animation-delay: 1.1s; }
.brand-chars span:nth-child(8)  { animation-delay: 1.2s; }
.brand-chars span:nth-child(9)  { animation-delay: 1.3s; }
.brand-chars span:nth-child(10) { animation-delay: 1.4s; }
.brand-chars span:nth-child(11) { animation-delay: 1.5s; }
.brand-chars span:nth-child(12) { animation-delay: 1.6s; }
.brand-chars span:nth-child(13) { animation-delay: 1.7s; }
.brand-space { min-width: 14px; }

@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 2s forwards;
}

/* ---- Progress bar ---- */
.loader-progress-wrap {
  width: 320px;
  opacity: 0;
  animation: fadeSlideUp 0.5s ease 1.8s forwards;
}

.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: visible;
  position: relative;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #a855f7);
  background-size: 200% 100%;
  animation: shimmerBg 2s linear infinite;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 12px 4px rgba(168,85,247,0.8);
}

.progress-glow {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.4), transparent);
  width: 0%;
  transition: width 0.3s ease;
  filter: blur(4px);
}

@keyframes shimmerBg {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-status {
  font-size: 0.72rem;
  color: rgba(168,85,247,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.progress-pct {
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Bouncing dots ---- */
.loader-dots {
  display: flex;
  gap: 8px;
  opacity: 0;
  animation: fadeSlideUp 0.5s ease 2.2s forwards;
}

.loader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: dotBounce 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--secondary); }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--primary-light); }

@keyframes dotBounce {
  0%, 100% { transform: translateY(0);    opacity: 0.4; }
  50%       { transform: translateY(-8px); opacity: 1; }
}

/* ---- Corner decorations ---- */
.corner-deco {
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.8s forwards;
}

.corner-deco.top-left {
  top: 24px; left: 24px;
  border-top: 2px solid rgba(124,58,237,0.5);
  border-left: 2px solid rgba(124,58,237,0.5);
  border-radius: 4px 0 0 0;
}
.corner-deco.top-right {
  top: 24px; right: 24px;
  border-top: 2px solid rgba(6,182,212,0.5);
  border-right: 2px solid rgba(6,182,212,0.5);
  border-radius: 0 4px 0 0;
}
.corner-deco.bottom-left {
  bottom: 24px; left: 24px;
  border-bottom: 2px solid rgba(6,182,212,0.5);
  border-left: 2px solid rgba(6,182,212,0.5);
  border-radius: 0 0 0 4px;
}
.corner-deco.bottom-right {
  bottom: 24px; right: 24px;
  border-bottom: 2px solid rgba(124,58,237,0.5);
  border-right: 2px solid rgba(124,58,237,0.5);
  border-radius: 0 0 4px 0;
}

/* ---- Shared keyframes ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(124,58,237,0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-logo .logo-infinity {
  font-size: 1.7rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 24px;
  border-radius: 99px;
  font-size: 0.83rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

.hamburger {
  display: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}

.hamburger:hover { background: rgba(124,58,237,0.1); }


/* ================================================================
   HERO
================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 70px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-noise {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.g1 { width: 520px; height: 520px; background: rgba(124,58,237,0.18); top: -100px; left: -80px; }
.g2 { width: 380px; height: 380px; background: rgba(6,182,212,0.12); bottom: -60px; right: 10%; }
.g3 { width: 260px; height: 260px; background: rgba(245,158,11,0.07); top: 40%; left: 45%; }

.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 60px; max-width: 1200px;
  margin: auto; width: 100%;
}

/* ---- pill badge ---- */
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.28);
  padding: 6px 16px 6px 10px; border-radius: 99px;
  font-size: 0.76rem; font-weight: 600;
  color: var(--primary-light); margin-bottom: 26px;
  width: fit-content;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}

.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px #22c55e;
  animation: pulseDot 2s ease-in-out infinite; flex-shrink: 0;
}

@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 4px #22c55e; }
  50%      { box-shadow: 0 0 10px #22c55e, 0 0 20px rgba(34,197,94,0.4); }
}

/* ---- heading ---- */
.hero-content { max-width: 560px; flex-shrink: 0; }

.hero-heading {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 22px;
  animation: fadeSlideUp 0.6s ease 0.25s both;
}

.hero-highlight {
  background: linear-gradient(135deg, #a855f7 0%, #06b6d4 60%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub-line {
  color: rgba(241,241,245,0.45); font-weight: 600;
  font-size: 0.82em; display: block; margin-top: 6px;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 0.97rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 34px; max-width: 460px;
  animation: fadeSlideUp 0.6s ease 0.4s both;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

/* ---- buttons ---- */
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 42px;
  animation: fadeSlideUp 0.6s ease 0.55s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff; padding: 13px 28px; border-radius: 99px;
  font-weight: 700; font-size: 0.92rem; border: none;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(124,58,237,0.4);
  letter-spacing: 0.2px; text-decoration: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(124,58,237,0.55); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-muted);
  padding: 13px 22px; border-radius: 99px; font-weight: 600;
  font-size: 0.92rem; border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(124,58,237,0.45); background: rgba(124,58,237,0.07); }
.btn-ghost i { font-size: 0.75rem; }

/* ---- stats ---- */
.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.6s ease 0.7s both;
}

.hstat { display: flex; flex-direction: column; padding: 0 20px 0 0; }

.hstat strong {
  font-size: 1.55rem; font-weight: 900;
  background: linear-gradient(135deg, #fff 30%, #a855f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.hstat span { font-size: 0.7rem; color: var(--text-muted); margin-top: 3px; }

.hstat-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.08); margin-right: 20px; flex-shrink: 0; }

/* ---- trust strip ---- */
.hero-trust {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  animation: fadeSlideUp 0.6s ease 0.85s both;
}
.hero-trust span {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.73rem; color: rgba(156,163,175,0.65); font-weight: 500;
}
.hero-trust i { color: var(--primary-light); font-size: 0.7rem; }

/* ================================================================
   HERO VISUAL — card stack
================================================================ */
.hero-visual { flex-shrink: 0; position: relative; z-index: 1; animation: fadeSlideUp 0.7s ease 0.3s both; }

.hero-card-stack { position: relative; width: 320px; height: 370px; }

.hcard { position: absolute; border-radius: 20px; padding: 24px; }

.hcard-back {
  width: 260px; height: 160px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.14);
  bottom: 20px; right: 0;
  transform: rotate(6deg);
  animation: cardFloat2 5s ease-in-out infinite;
}

.hcard-mid {
  width: 280px; height: 180px;
  background: rgba(20,20,32,0.88);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  bottom: 10px; left: 0;
  transform: rotate(-3deg);
  animation: cardFloat1 4.5s ease-in-out infinite;
  display: flex; flex-direction: column; justify-content: space-between;
}

.hcard-row { display: flex; gap: 5px; }
.hcard-dot { width: 8px; height: 8px; border-radius: 50%; }
.hcard-dot.red    { background: #ef4444; }
.hcard-dot.yellow { background: #f59e0b; }
.hcard-dot.green  { background: #22c55e; }

.hcard-platforms { display: flex; gap: 10px; }
.hcp {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(124,58,237,0.14);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--primary-light);
}

.hcard-front {
  width: 300px;
  background: linear-gradient(145deg, #1a1028, #0f1928);
  border: 1px solid rgba(124,58,237,0.28);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.08);
  top: 0; left: 10px;
  animation: cardFloat1 4s ease-in-out infinite;
  display: flex; flex-direction: column; gap: 16px;
}

.hcard-label {
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(168,85,247,0.65);
}

.hcard-platform-name { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; }
.hcard-platform-name i { font-size: 1.3rem; color: #e50914; }

.hcard-status { display: flex; align-items: center; gap: 7px; font-size: 0.75rem; color: #22c55e; font-weight: 500; }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}

.hcard-divider { height: 1px; background: rgba(255,255,255,0.07); }

.hcard-footer { display: flex; justify-content: space-between; align-items: flex-end; }
.hcf-label { font-size: 0.63rem; color: rgba(156,163,175,0.45); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }
.hcf-val { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.hcf-price {
  font-size: 1rem; font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hcf-price span { font-size: 0.7rem; font-weight: 500; opacity: 0.65; }

.hero-badge-float {
  position: absolute; display: flex; align-items: center; gap: 6px;
  background: rgba(10,10,18,0.92);
  border: 1px solid rgba(124,58,237,0.28);
  backdrop-filter: blur(10px);
  padding: 7px 14px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700; color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); white-space: nowrap;
}
.hero-badge-float i { font-size: 0.68rem; }
.fb1 { top: 155px; right: -24px; animation: cardFloat2 3.5s ease-in-out infinite; }
.fb2 { bottom: 75px; right: -14px; animation: cardFloat1 4.2s ease-in-out infinite; }

@keyframes cardFloat1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes cardFloat2 {
  0%,100% { transform: translateY(0) rotate(6deg); }
  50%      { transform: translateY(8px) rotate(6deg); }
}

/* gradient text utility */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ================================================================
   SECTION COMMON
================================================================ */
section { padding: 90px 5%; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
  display: inline-block;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25);
  padding: 5px 14px; border-radius: 99px; font-size: 0.72rem; font-weight: 600;
  color: var(--primary-light); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}

.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.3px; }
.section-header p { color: var(--text-muted); font-size: 0.97rem; max-width: 480px; margin: auto; line-height: 1.65; }

/* ================================================================
   PLATFORMS
================================================================ */
.platforms { background: var(--bg-dark); padding: 90px 5%; }
.platforms-inner { max-width: 1200px; margin: auto; }

.platforms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.platform-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px; overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(124,58,237,0.3); border-color: rgba(124,58,237,0.3); }

.card-header { position: relative; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.35)); }

.platform-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,0.18); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
  backdrop-filter: blur(8px); position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.card-badge { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--accent); color: #000; font-size: 0.6rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.8px; }
.card-badge.popular { background: #ef4444; color: #fff; }
.card-badge.anime   { background: #f97316; color: #fff; }

.netflix-bg     { background: linear-gradient(135deg, #1a0000, #e50914); }
.prime-bg       { background: linear-gradient(135deg, #003459, #00A8E0); }
.hotstar-bg     { background: linear-gradient(135deg, #120048, #4f46e5); }
.spotify-bg     { background: linear-gradient(135deg, #0d3320, #1DB954); }
.sony-bg        { background: linear-gradient(135deg, #001a4d, #00AEEF); }
.zee-bg         { background: linear-gradient(135deg, #2d0050, #9333ea); }
.yt-bg          { background: linear-gradient(135deg, #1a0000, #FF0000); }
.jio-bg         { background: linear-gradient(135deg, #001440, #3b82f6); }
.mx-bg          { background: linear-gradient(135deg, #0d0d1f, #e94560); }
.crunchyroll-bg { background: linear-gradient(135deg, #1a0d00, #f97316); }

.card-body { padding: 18px 20px 20px; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.card-body > p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }

.price-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 14px; }
.price { font-size: 1.9rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.price-note { font-size: 0.75rem; color: var(--text-muted); }

.features { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.features li { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(241,241,245,0.7); }
.features li i { color: #10b981; font-size: 0.65rem; background: rgba(16,185,129,0.12); width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.card-btn { display: block; text-align: center; background: var(--gradient); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; transition: opacity 0.2s, transform 0.2s; }
.card-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ================================================================
   HOW IT WORKS
================================================================ */
.how-it-works { background: rgba(124,58,237,0.04); border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); padding: 90px 5%; }
.how-it-works .section-header { margin-bottom: 52px; }

.steps-grid { display: flex; align-items: stretch; justify-content: center; max-width: 860px; margin: auto; gap: 0; }

.step-card {
  flex: 1; min-width: 190px; max-width: 240px; text-align: center;
  padding: 32px 20px; background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 18px;
  position: relative; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.4); box-shadow: 0 16px 40px rgba(124,58,237,0.1); }

.step-num { font-size: 2.8rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.2; line-height: 1; margin-bottom: 14px; }
.step-icon { width: 52px; height: 52px; background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin: 0 auto 14px; color: var(--primary-light); }
.step-card h4 { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.step-arrow { display: flex; align-items: center; padding: 0 12px; color: rgba(124,58,237,0.3); font-size: 1.1rem; flex-shrink: 0; margin-top: -20px; }

/* ================================================================
   FAQ
================================================================ */
.faq { padding: 90px 5%; }
.faq-inner { max-width: 720px; margin: auto; }
.faq-container { display: flex; flex-direction: column; gap: 10px; }

.faq-item { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: rgba(124,58,237,0.35); background: rgba(124,58,237,0.04); }

.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 0.92rem; user-select: none; gap: 16px; transition: background 0.2s; }
.faq-question:hover { background: rgba(124,58,237,0.04); }

.faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(124,58,237,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--primary-light); transition: transform 0.3s ease, background 0.2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(124,58,237,0.15); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-answer p { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.86rem; line-height: 1.72; }
.faq-item.open .faq-answer { max-height: 220px; }

/* ================================================================
   CONTACT
================================================================ */
.contact { padding: 90px 5%; background: rgba(124,58,237,0.03); border-top: 1px solid rgba(255,255,255,0.04); }
.contact-inner { max-width: 1100px; margin: auto; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }

.contact-form-wrap { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; padding: 36px; }
.contact-form-wrap h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.contact-form-wrap .form-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: rgba(241,241,245,0.5); text-transform: uppercase; letter-spacing: 0.8px; }

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 12px 15px; color: var(--text);
  font-family: 'Poppins', sans-serif; font-size: 0.88rem; outline: none;
  transition: border-color 0.2s, background 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(124,58,237,0.6); background: rgba(124,58,237,0.04); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(156,163,175,0.45); }
.form-group select option { background: #1a1a24; }
.form-group textarea { resize: vertical; min-height: 96px; }

.form-submit { width: 100%; justify-content: center; border: none; font-family: 'Poppins', sans-serif; margin-top: 4px; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }

.contact-card { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 16px 20px; transition: border-color 0.25s, transform 0.2s, background 0.2s; }
.contact-card:hover { border-color: rgba(124,58,237,0.35); background: rgba(124,58,237,0.04); transform: translateX(3px); }

.contact-card-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: var(--gradient); }
.contact-card-icon i { color: #fff; }
.contact-card-body h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.contact-card-body p { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-link { font-size: 0.78rem; font-weight: 600; color: var(--primary-light); transition: color 0.2s; }
.contact-link:hover { color: var(--secondary); }

.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.badge { display: flex; align-items: center; gap: 6px; background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2); padding: 7px 14px; border-radius: 99px; font-size: 0.74rem; font-weight: 600; color: var(--primary-light); white-space: nowrap; }

/* ================================================================
   FOOTER
================================================================ */
.footer { background: #080810; border-top: 1px solid rgba(255,255,255,0.05); }

.footer-main { max-width: 1200px; margin: auto; padding: 52px 5% 32px; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.footer-logo .logo-infinity { font-size: 1.7rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.footer-tagline { color: var(--text-muted); font-size: 0.82rem; max-width: 260px; line-height: 1.65; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.08); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: var(--text-muted); transition: all 0.22s; }
.footer-socials a:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: translateY(-2px); }

.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.84rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary-light); }

.footer-bottom { max-width: 1200px; margin: auto; padding: 16px 5%; border-top: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.76rem; color: rgba(156,163,175,0.5); }
.footer-bottom i { color: #ef4444; }

/* ================================================================
   TOAST
================================================================ */
.toast { position: fixed; bottom: 28px; right: 28px; background: #0d9e6e; color: #fff; padding: 13px 22px; border-radius: 12px; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; z-index: 9999; transform: translateY(80px); opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 8px 24px rgba(13,158,110,0.35); }
.toast.show { transform: translateY(0); opacity: 1; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 52px; }
  .hero-content { max-width: 600px; }
  .hero-pill   { margin: 0 auto 26px; }
  .hero-desc   { margin-left: auto; margin-right: auto; }
  .hero-btns   { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-trust  { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(8,8,12,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 20px 5%; gap: 18px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; margin-top: 0; }
  .step-card { max-width: 320px; width: 100%; }

  section { padding: 70px 5%; }
  .hero-stats { gap: 0; }
  .hstat-sep { display: block; }

  .platforms-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

  .orbit-ring { width: 280px; height: 280px; }
  .orbit-item { width: 40px; height: 40px; transform: translate(-50%,-50%) rotate(calc(var(--i)*45deg)) translateX(140px) rotate(calc(var(--i)*-45deg)); }
}

@media (max-width: 600px) {
  .hero { padding: 90px 5% 60px; }
  .hero-heading { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-card-stack { width: 280px; height: 320px; }
  .hcard-front { width: 260px; }
  .hcard-mid   { width: 240px; }
  .fb1, .fb2   { display: none; }
  .hstat strong { font-size: 1.25rem; }
  .hero-trust span:last-child { display: none; }
  .contact-form-wrap { padding: 22px; }
  .platforms-grid { grid-template-columns: 1fr; }
  .trust-badges { justify-content: center; }
  .footer-main { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .orbit-ring { width: 220px; height: 220px; }
  .orbit-item { width: 34px; height: 34px; transform: translate(-50%,-50%) rotate(calc(var(--i)*45deg)) translateX(110px) rotate(calc(var(--i)*-45deg)); }
}

/* ================================================================
   PRODUCT DETAIL OVERLAY
================================================================ */

/* Backdrop */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.pd-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Side panel */
.pd-panel {
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: var(--bg-dark);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pd-panel::-webkit-scrollbar { width: 4px; }
.pd-panel::-webkit-scrollbar-track { background: var(--bg-dark); }
.pd-panel::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.pd-overlay.open .pd-panel {
  transform: translateX(0);
}

/* Close button */
.pd-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.45);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.pd-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

/* Banner */
.pd-banner {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.pd-banner-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.pd-banner-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: none;
}
.pd-banner-badge.visible { display: block; }

/* Body */
.pd-body {
  padding: 28px 28px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Title row */
.pd-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.pd-category-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.pd-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}
.pd-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 320px;
}
.pd-price-box {
  text-align: right;
  flex-shrink: 0;
}
.pd-price {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.pd-price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.pd-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pd-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-section-title i {
  color: var(--primary-light);
  font-size: 0.85rem;
}

/* Features list */
.pd-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pd-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px 14px;
}
.pd-features li i {
  color: var(--primary-light);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Category info card */
.pd-category-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.pd-category-info strong {
  color: var(--text);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.pd-category-info .cat-platforms {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-category-info .cat-tag {
  font-size: 0.72rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* Buy button */
.pd-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  text-decoration: none;
}

/* Related products grid */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

/* Mini product card for related section */
.pd-mini-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pd-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 12px 32px rgba(124,58,237,0.12);
}
.pd-mini-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}
.pd-mini-body {
  padding: 12px 14px 14px;
}
.pd-mini-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.pd-mini-price {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.pd-mini-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  color: var(--primary-light);
  background: rgba(124,58,237,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pd-mini-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
  .pd-panel { max-width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .pd-overlay { align-items: flex-end; }
  .pd-panel { height: 92vh; border-radius: 20px 20px 0 0; }
  .pd-title-row { flex-direction: column; }
  .pd-price-box { text-align: left; }
  .pd-features { grid-template-columns: 1fr; }
  .pd-body { padding: 20px 18px 40px; }
}

/* ================================================================
   PAYMENT GATEWAY MODAL
================================================================ */

/* Backdrop */
.pay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pay-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal box */
.pay-modal {
  width: 100%;
  max-width: 460px;
  background: #0f0f18;
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,58,237,0.1);
}
.pay-modal::-webkit-scrollbar { width: 4px; }
.pay-modal::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.pay-overlay.open .pay-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.06));
}
.pay-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
}
.pay-logo .logo-infinity {
  font-size: 1.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 4px;
}
.pay-secure {
  font-size: 0.68rem;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}
.pay-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pay-close:hover { background: #ef4444; color: #fff; transform: rotate(90deg); }

/* Step indicators */
.pay-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px 14px;
  gap: 0;
}
.pay-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0.35;
  transition: opacity 0.3s;
}
.pay-step.active { opacity: 1; }
.pay-step.done { opacity: 0.8; }
.pay-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s;
}
.pay-step.active .pay-step-dot {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(124,58,237,0.5);
}
.pay-step.done .pay-step-dot {
  background: #22c55e;
  border-color: transparent;
  color: #fff;
}
.pay-step span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.pay-step.active span { color: var(--primary-light); }
.pay-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 6px;
  margin-bottom: 18px;
  max-width: 60px;
  transition: background 0.3s;
}
.pay-step-line.done { background: #22c55e; }

/* Screens */
.pay-screen { padding: 6px 22px 26px; }
.pay-screen.hidden { display: none; }

/* ── Screen 1: Order Summary ── */
.pay-order-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.pay-order-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}
.pay-order-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.pay-order-plan {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.pay-order-amount {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.pay-breakdown {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.pay-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 0;
}
.pay-free { color: #22c55e; font-weight: 600; }
.pay-breakdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 0;
}
.pay-total-row {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.pay-upi-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 10px;
  padding: 10px 13px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.pay-upi-note i { color: #22c55e; margin-top: 2px; flex-shrink: 0; }
.pay-proceed-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s, transform 0.2s;
  font-family: 'Poppins', sans-serif;
}
.pay-proceed-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Screen 2: QR / UPI ── */
.pay-amount-chip {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  padding-top: 4px;
}
.pay-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 5px;
}
.pay-tab {
  flex: 1;
  padding: 9px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.pay-tab.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.pay-tab-content.hidden { display: none; }

/* QR code wrap */
.pay-qr-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 14px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.pay-qr-img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pay-qr-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--primary);
  border-style: solid;
}
.pay-qr-corner.tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.pay-qr-corner.tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.pay-qr-corner.bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.pay-qr-corner.br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.pay-qr-scanner-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 8px var(--primary);
  animation: scanLine 2s ease-in-out infinite;
  border-radius: 1px;
}
@keyframes scanLine {
  0%   { top: 14px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% - 14px); opacity: 0; }
}
.pay-qr-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pay-upi-apps {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.upi-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.upi-app-icon img { width: 100%; height: 100%; object-fit: contain; }

/* UPI ID tab */
.pay-upi-id-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
}
.pay-upi-id-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pay-upi-id-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pay-copy-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: rgba(124,58,237,0.1);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Poppins', sans-serif;
}
.pay-copy-btn:hover { background: var(--primary); color: #fff; }
.pay-copy-btn.copied { background: #22c55e; border-color: #22c55e; color: #fff; }

.pay-upi-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}
.pay-ustep {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pay-ustep span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-ustep strong { color: var(--text); }

/* Timer */
.pay-timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 14px 0 16px;
}
.pay-timer-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.pay-timer-count.urgent { color: #ef4444; animation: timerPulse 1s ease infinite; }
@keyframes timerPulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

.pay-paid-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s, transform 0.2s;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}
.pay-paid-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.pay-back-link {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.pay-back-link:hover { color: var(--primary-light); }

/* ── Screen 3: Verify / Success ── */
.pay-verify-wrap, .pay-success-wrap {
  padding: 30px 10px;
  text-align: center;
}
.pay-verify-wrap.hidden, .pay-success-wrap.hidden { display: none; }

.pay-verify-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(124,58,237,0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-verify-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pay-verify-sub { font-size: 0.8rem; color: var(--text-muted); }

.pay-success-icon {
  font-size: 3.5rem;
  color: #22c55e;
  margin-bottom: 16px;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.pay-success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.pay-success-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.pay-success-order {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 7px 16px;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.pay-done-btn {
  padding: 13px 36px;
  border-radius: 12px;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
  font-family: 'Poppins', sans-serif;
}
.pay-done-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Mobile adjustments */
@media (max-width: 480px) {
  .pay-modal { border-radius: 20px 20px 0 0; max-height: 95vh; }
  .pay-overlay { align-items: flex-end; padding: 0; }
  .pay-qr-wrap { width: 180px; height: 180px; }
}

/* ================================================================
   PAYMENT REDIRECT TRANSITION
================================================================ */
.pay-redirect {
  position: fixed;
  inset: 0;
  background: #050508;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pay-redirect.active {
  opacity: 1;
  pointer-events: all;
}
.pay-redirect.fade-out {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.pay-redirect-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 0 24px;
}

/* Animated rings + lock */
.pay-redirect-icon {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.pri-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}
.pri-ring1 {
  inset: 0;
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: priSpin 1s linear infinite;
}
.pri-ring2 {
  inset: 10px;
  border-bottom-color: var(--secondary);
  border-left-color: var(--secondary);
  animation: priSpin 0.75s linear infinite reverse;
}
@keyframes priSpin { to { transform: rotate(360deg); } }

.pri-lock {
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: priPulse 1.5s ease-in-out infinite;
}
@keyframes priPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.12); opacity: 0.8; }
}

/* Title */
.pri-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.2px;
  animation: fadeSlideUp 0.5s ease 0.1s both;
}
.pri-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  animation: fadeSlideUp 0.5s ease 0.2s both;
}

/* Progress bar */
.pri-bar-track {
  width: 260px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  animation: fadeSlideUp 0.5s ease 0.25s both;
}
.pri-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.25s ease;
  box-shadow: 0 0 10px rgba(124,58,237,0.6);
}

/* Status */
.pri-status {
  font-size: 0.7rem;
  color: rgba(168,85,247,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  min-height: 18px;
  animation: fadeSlideUp 0.5s ease 0.3s both;
}

/* UPI strip */
.pri-upi-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeSlideUp 0.5s ease 0.35s both;
}
.pri-upi-strip span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pri-upi-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.pri-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 72px;
}
.pri-trust-badge i {
  font-size: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pri-trust-badge span {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-transform: none;
}

/* ── Payment Pending State ── */
.pay-pending-icon {
  font-size: 3.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  animation: pendingPulse 1.8s ease-in-out infinite;
}
@keyframes pendingPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.1); opacity: 0.7; }
}

.pay-telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0088cc, #006aaa);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 6px 24px rgba(0,136,204,0.35);
  flex-direction: column;
  gap: 4px;
}
.pay-telegram-btn i {
  font-size: 1.3rem;
  position: absolute;
  left: 20px;
}
.pay-telegram-btn {
  position: relative;
  padding-left: 20px;
  flex-direction: row;
  gap: 10px;
}
.pay-telegram-btn:hover { opacity: 0.88; transform: translateY(-2px); }

.pay-tg-handle {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
  background: rgba(255,255,255,0.15);
  padding: 2px 8px;
  border-radius: 20px;
}

.pay-pending-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 10px;
  padding: 11px 13px;
  margin-bottom: 20px;
  line-height: 1.65;
  text-align: left;
}
.pay-pending-note i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

/* ================================================================
   PLATFORM CARD SKELETON LOADER
================================================================ */
.platform-card-skeleton {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  position: relative;
}
.platform-card-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(124,58,237,0.06) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: skelShimmer 1.6s ease-in-out infinite;
}
@keyframes skelShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
