/* ===========================
   FF KHELO BD — DOWNLOAD SITE
   White + Purple Premium Design
   =========================== */

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

:root {
  --white: #ffffff;
  --off-white: #f8f7ff;
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-deeper: #3b0764;
  --purple-light: #ede9fe;
  --purple-xlight: #f5f3ff;
  --purple-mid: #a78bfa;
  --text: #0f0a1e;
  --text-2: #374151;
  --text-3: #6b7280;
  --text-4: #9ca3af;
  --border: #e5e7eb;
  --border-purple: #ddd6fe;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 12px rgba(124,58,237,0.08);
  --shadow-md: 0 8px 40px rgba(124,58,237,0.14);
  --shadow-lg: 0 24px 80px rgba(124,58,237,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 100px 0; }
.accent { color: var(--purple); }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-follower {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--purple-mid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
  opacity: 0.6;
}

/* ===== AOS ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo-text b { color: var(--purple); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--purple); }

.nav-cta {
  padding: 10px 22px;
  background: var(--purple);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.3); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--off-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 80px;
}

/* ORB backgrounds */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.1) 0%, transparent 70%);
  bottom: 0; left: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  top: 50%; left: 40%;
}

/* Grid mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--purple-xlight);
  border: 1px solid var(--border-purple);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.chip-dot {
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}

.hero-h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-h1-accent {
  color: var(--purple);
  display: block;
}

.hero-p {
  font-size: 1.05rem;
  color: var(--text-3);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  background: var(--purple);
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  border-radius: 100px;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--purple-mid); color: var(--purple); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hstat { display: flex; flex-direction: column; }
.hstat-n { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.04em; color: var(--text); }
.hstat-l { font-size: 0.75rem; color: var(--text-4); font-weight: 500; margin-top: 1px; }
.hstat-div { width: 1px; height: 32px; background: var(--border); }

/* ===== PHONE 3D ===== */
.phone-scene { position: relative; }

.phone-3d {
  position: relative;
  width: 280px;
  margin: 0 auto;
  border-radius: 44px;
  background: linear-gradient(145deg, #1a0533, #2d1058);
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.3),
    20px 40px 80px rgba(124,58,237,0.25),
    -4px -4px 20px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
  0%,100% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(-16px); }
}

.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #0f0520;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.phone-button {
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 56px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #0f0520;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PHONE SCREENSHOT ===== */

.phone-ss {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* ===== ORBITING LOGOS ===== */
.phone-scene {
  position: relative;
  width: 320px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Each orbit ring is a circle centered on the phone */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(124,58,237,0.18);
  transform-origin: center center;
  pointer-events: none;
}

/* orbit-logo sits at the top of each ring, counter-rotates to stay upright */
.orbit-logo {
  position: absolute;
  top: -24px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(124,58,237,0.3);
  background: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.18), 0 2px 8px rgba(0,0,0,0.1);
}
.orbit-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Orbit 1 — innermost — Free Fire */
.orbit-1 {
  width: 340px; height: 340px;
  margin-top: -170px; margin-left: -170px;
  animation: orbitSpin 10s linear infinite;
}
.orbit-1 .orbit-logo {
  animation: orbitCounter 10s linear infinite;
}

/* Orbit 2 — mid — Nagad */
.orbit-2 {
  width: 430px; height: 430px;
  margin-top: -215px; margin-left: -215px;
  animation: orbitSpin 14s linear infinite reverse;
}
.orbit-2 .orbit-logo {
  animation: orbitCounter 14s linear infinite reverse;
}

/* Orbit 3 — outer — bKash */
.orbit-3 {
  width: 520px; height: 520px;
  margin-top: -260px; margin-left: -260px;
  animation: orbitSpin 18s linear infinite;
}
.orbit-3 .orbit-logo {
  animation: orbitCounter 18s linear infinite;
}

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



/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.fc-title { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.fc-sub { font-size: 0.74rem; color: var(--text-4); margin-top: 1px; }

.float-card-1 { top: 40px; left: -80px; animation: floatA 5s ease-in-out infinite; }
.float-card-2 { bottom: 100px; right: -80px; animation: floatA 5s ease-in-out infinite 1.5s; }
.float-card-3 { top: 50%; left: -90px; transform: translateY(-50%); animation: floatA 5s ease-in-out infinite 0.8s; }

@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-3 { animation: floatB 5s ease-in-out infinite 0.8s; }
@keyframes floatB {
  0%,100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-wheel {
  width: 24px; height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 5px;
  margin: 0 auto;
}
.scroll-ball {
  width: 4px; height: 8px;
  background: var(--purple);
  border-radius: 4px;
  animation: scrollBall 2s ease infinite;
}
@keyframes scrollBall {
  0%,100% { transform:translateY(0); opacity:1; }
  80% { transform:translateY(12px); opacity:0; }
}

/* ===== LOGO BAR ===== */
.logobar {
  background: var(--purple);
  padding: 16px 0;
  overflow: hidden;
}
.logobar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
}
.lb-city { color: #fff; font-weight: 600; }
.lb-sep { color: rgba(255,255,255,0.4); }

/* ===== SECTION HEADERS ===== */
.section-label {
  display: inline-block;
  padding: 5px 14px;
  background: var(--purple-xlight);
  border: 1px solid var(--border-purple);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-p {
  font-size: 1rem;
  color: var(--text-3);
  max-width: 520px;
  margin-bottom: 64px;
}

/* ===== FEATURES ===== */
.features { background: var(--white); }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feat-main { grid-column: span 2; }

.feat-main, .feat-side {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feat-main::after, .feat-side::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.feat-main:hover, .feat-side:hover {
  border-color: var(--border-purple);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.feat-main:hover::after, .feat-side:hover::after { opacity: 1; }

.feat-icon-wrap {
  width: 56px; height: 56px;
  background: var(--purple-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  margin-bottom: 20px;
}
.feat-icon-sm {
  width: 46px; height: 46px;
  border-radius: 12px;
}
.feat-main h3, .feat-side h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.feat-main p, .feat-side p {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.7;
}
.feat-pill {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
}

/* ===== HOW IT WORKS ===== */
.how {
  background: var(--purple-deeper);
  position: relative;
  overflow: hidden;
}
.how-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
}
.how .section-label { background: rgba(167,139,250,0.15); border-color: rgba(167,139,250,0.3); color: var(--purple-mid); }
.how .section-h2 { color: var(--white); }
.how .section-h2 .accent { color: var(--purple-mid); }

.steps-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  position: relative;
}
.step-num {
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(167,139,250,0.12);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}
.step-icon {
  width: 64px; height: 64px;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-mid);
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}
.step-line {
  width: 60px; height: 1px;
  background: rgba(167,139,250,0.2);
}

/* ===== STATS ===== */
.stats-section { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== DOWNLOAD ===== */
.dl-section { background: var(--white); }
.dl-wrap {
  background: var(--purple-xlight);
  border: 1px solid var(--border-purple);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 360px;
  overflow: hidden;
}
.dl-left { padding: 64px; }
.dl-h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.dl-p {
  font-size: 1rem;
  color: var(--text-3);
  margin-bottom: 28px;
}
.dl-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.dl-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--purple);
  border-radius: 16px;
  color: #fff;
  transition: all 0.2s;
  width: fit-content;
  margin-bottom: 18px;
}
.dl-btn:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(124,58,237,0.3); }
.dl-btn-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.dl-btn-top { font-size: 0.75rem; opacity: 0.75; font-weight: 600; margin-bottom: 2px; }
.dl-btn-bot { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }

.dl-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-4);
}

.dl-right {
  background: linear-gradient(135deg, var(--purple-xlight), #e8e0ff);
  border-left: 1px solid var(--border-purple);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 0 0;
  overflow: hidden;
}
.dl-phone-wrap { position: relative; width: 200px; }
.dl-phone {
  border-radius: 36px;
  background: linear-gradient(145deg, #1a0533, #2d1058);
  padding: 10px;
  box-shadow: 0 -12px 48px rgba(124,58,237,0.2), 0 0 0 1px rgba(124,58,237,0.2);
}
.dl-phone-notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 18px;
  background: #0f0520;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.dl-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  height: 380px;
  background: #0f0520;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-phone-shadow {
  height: 40px;
  background: linear-gradient(transparent, rgba(124,58,237,0.15));
  margin: 0 16px;
}

/* ===== CONTACT ===== */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all 0.25s;
}
.contact-card:hover {
  border-color: var(--border-purple);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.cc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-icon-wa { background: #dcfce7; color: #16a34a; }
.cc-icon-tg { background: #e0f2fe; color: #0284c7; }
.cc-icon-web { background: var(--purple-light); color: var(--purple); }
.cc-body { flex: 1; }
.cc-name { font-size: 0.82rem; color: var(--text-4); font-weight: 500; margin-bottom: 2px; }
.cc-val { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.cc-arrow { color: var(--text-4); transition: transform 0.2s; }
.contact-card:hover .cc-arrow { color: var(--purple); transform: translateX(4px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  padding: 40px 0;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-name b { color: var(--purple-mid); }
.footer-copy { font-size: 0.83rem; color: rgba(255,255,255,0.4); }
.footer-copy a { color: var(--purple-mid); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-3d { transform: none; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
  .float-card-3 { display: none; }

  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-main { grid-column: span 2; }

  .steps-wrap { flex-direction: column; }
  .step-connector { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .dl-wrap { grid-template-columns: 1fr; }
  .dl-right { padding: 32px; }
  .dl-phone-wrap { width: 160px; }
  .dl-phone-screen { height: 300px; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-main { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .nav-menu { display: none; }
  .hero-h1 { font-size: 2.4rem; }
}

/* ===== POWERED BY SECTION ===== */
.poweredby {
  padding: 80px 0 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.pb-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.pb-label::before, .pb-label::after {
  content: '';
  width: 60px; height: 1px;
  background: var(--border);
}

.pb-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.pb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: default;
}

.pb-card-inner {
  perspective: 600px;
}

.pb-card-front {
  position: relative;
  width: 120px; height: 120px;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.pb-card:hover .pb-card-front {
  transform: perspective(600px) rotateY(-15deg) rotateX(8deg) scale(1.08);
}

.pb-logo-ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-purple);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 40px rgba(124,58,237,0.12),
    0 2px 8px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.pb-card:hover .pb-logo-ring {
  border-color: var(--purple-mid);
  box-shadow:
    0 20px 60px rgba(124,58,237,0.2),
    0 4px 16px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.pb-logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Coloured glow behind each logo */
.pb-glow {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  filter: blur(28px);
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.pb-card:hover .pb-glow { opacity: 1; }

.pb-glow-ff    { background: rgba(255, 140, 0, 0.3); }
.pb-glow-nagad { background: rgba(255, 102, 0, 0.3); }
.pb-glow-bkash { background: rgba(231, 0, 116, 0.25); }

.pb-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.pb-desc {
  font-size: 0.78rem;
  color: var(--text-4);
  font-weight: 500;
  margin-top: -8px;
}

@media (max-width: 640px) {
  .pb-grid { gap: 32px; }
  .pb-logo-ring { width: 96px; height: 96px; }
  .pb-card-front { width: 96px; height: 96px; }
}

