/* MTC Telecom — Ultimate Ultra-Responsive Dark Cinematic Gradient Theme */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  /* Core Color System */
  --bg-base: #070913;
  --bg-deep: #0B0F1F;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(26, 36, 66, 0.85);
  --bg-surface: rgba(255, 255, 255, 0.04);
  --bg-surface-elevated: rgba(255, 255, 255, 0.07);

  /* Luminous Gradients & Accents */
  --magenta: #EC4899;
  --magenta-deep: #BE185D;
  --magenta-glow: rgba(236, 72, 153, 0.4);
  --cyan: #06B6D4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --violet: #8B5CF6;
  --violet-glow: rgba(139, 92, 246, 0.35);
  --blue: #3B82F6;
  --amber: #F59E0B;
  --emerald: #10B981;

  /* Typography & Lines */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-light: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(236, 72, 153, 0.35);
  --border-hover: rgba(255, 255, 255, 0.2);

  /* Layout & Sizing */
  --font-main: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Hind Siliguri', 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --nav-h: 70px;
  --max-w: 1240px;
  --pad-x: clamp(16px, 4vw, 32px);
}

html[lang="bn"], body:lang(bn) {
  --font-main: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: clip;
  background-color: var(--bg-base);
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-main);
  background: 
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 100% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 0% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 20% 100%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #070913 0%, #0A0E22 25%, #080C1E 50%, #0A0D20 75%, #050710 100%);
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Background Cyber Matrix Grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

html[lang="bn"] body {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              background 0.22s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary, .btn-login {
  background: linear-gradient(135deg, #EC4899 0%, #D946EF 50%, #8B5CF6 100%);
  background-size: 200% 200%;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-login:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: left 0.75s ease;
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.btn-wa {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.5);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--magenta);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 52px;
  padding: 0 1.75rem;
  font-size: 1.02rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  background: rgba(7, 9, 19, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
  width: 100%;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  color: #FFFFFF;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.on {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34D399;
  margin-left: 8px;
}

.nav-status-pill .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLight 2s infinite;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(236, 72, 153, 0.45);
  color: #FFFFFF;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.25);
  cursor: pointer;
}

.nav-drawer-actions {
  display: none;
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-scrim.show {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: orbDrift 20s infinite alternate ease-in-out;
}

.hero-bg .orb-a {
  width: min(60vw, 600px);
  height: min(60vw, 600px);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35), transparent 70%);
  top: -15%;
  right: -10%;
}

.hero-bg .orb-b {
  width: min(50vw, 520px);
  height: min(50vw, 520px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32), transparent 70%);
  bottom: -10%;
  left: -10%;
  animation-delay: -5s;
}

.hero-bg .orb-c {
  width: min(35vw, 360px);
  height: min(35vw, 360px);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

/* Data flow scan lines inside hero */
.hero-bg .data-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg .data-flow::before,
.hero-bg .data-flow::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(236, 72, 153, 0.7), transparent);
  border-radius: 2px;
  filter: blur(1px);
  animation: dataFlow 4s ease-in-out infinite;
}

.hero-bg .data-flow::before {
  left: 65%;
  top: -30%;
  animation-delay: 0s;
}

.hero-bg .data-flow::after {
  left: 80%;
  top: -30%;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.6), transparent);
  animation-delay: 1.8s;
  height: 20%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #F472B6;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.15);
  backdrop-filter: blur(8px);
}

.eyebrow i {
  color: #F472B6;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-wrap: balance;
}

.hero h1 .grad {
  background: linear-gradient(135deg, #F472B6 0%, #EC4899 40%, #A855F7 80%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero p.lead {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  max-width: 48ch;
  font-weight: 400;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.hero-pills span i {
  color: var(--cyan);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

/* ==========================================================================
   HERO RIGHT: INTERACTIVE TERMINAL / USSD ENGINE DASHBOARD
   ========================================================================== */
.hero-visual-hub {
  position: relative;
  z-index: 2;
}

.terminal-card {
  position: relative;
  background: rgba(11, 15, 31, 0.85);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(236, 72, 153, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #EF4444; }
.terminal-dots span:nth-child(2) { background: #F59E0B; }
.terminal-dots span:nth-child(3) { background: #10B981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

.terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.terminal-content {
  padding: 20px;
}

.terminal-req-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.method-tag {
  background: linear-gradient(135deg, #EC4899, #BE185D);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.endpoint-url {
  color: #E2E8F0;
  word-break: break-all;
}

.terminal-code-body {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  color: #E2E8F0;
}

.c-key { color: #93C5FD; }
.c-str { color: #86EFAC; }
.c-num { color: #FDE047; }
.c-bool { color: #F472B6; }
.c-ok { color: #34D399; font-weight: 700; }

/* Floating Telemetry Chips */
.floating-chip {
  position: absolute;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: floatBounce 6s ease-in-out infinite;
}

.floating-chip.top-left {
  top: -18px;
  left: -20px;
}

.floating-chip.bottom-right {
  bottom: -22px;
  right: -15px;
  animation-delay: -3s;
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.chip-icon.green { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.chip-icon.pink { background: rgba(236, 72, 153, 0.2); color: #F472B6; }

.chip-text strong {
  display: block;
  font-size: 0.82rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.chip-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-container {
  margin-top: clamp(36px, 5vw, 60px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(26, 36, 66, 0.7);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card b {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF, #CBD5E1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat-card small {
  display: block;
  margin-top: 6px;
  color: #F472B6;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   OPERATORS & TRUST STRIP
   ========================================================================== */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.trust-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.operator-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
}

/* ── Marquee infinite scroll track ── */
.operator-marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  padding: 8px 0;
}

.operator-marquee-inner {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.operator-marquee-track:hover .operator-marquee-inner {
  animation-play-state: paused;
}

.op-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  white-space: nowrap;
  transition: all 0.2s ease;
  height: 38px;
}

.op-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.op-img-logo {
  height: 20px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.op-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.op-dot.gp { background: #0088CC; box-shadow: 0 0 8px #0088CC; }
.op-dot.robi { background: #E11A22; box-shadow: 0 0 8px #E11A22; }
.op-dot.bl { background: #FF6600; box-shadow: 0 0 8px #FF6600; }
.op-dot.airtel { background: #ED1C24; box-shadow: 0 0 8px #ED1C24; }
.op-dot.teletalk { background: #009933; box-shadow: 0 0 8px #009933; }
.op-dot.bkash { background: #E2136E; box-shadow: 0 0 8px #E2136E; }
.op-dot.nagad { background: #F7931E; box-shadow: 0 0 8px #F7931E; }
.op-dot.rocket { background: #8C3494; box-shadow: 0 0 8px #8C3494; }

/* ==========================================================================
   FEATURE 1: LIVE NETWORK HEALTH & LATENCY MONITOR
   ========================================================================== */
.latency-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.latency-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.latency-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lat-op-icon {
  height: 24px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.lat-op-icon-i {
  font-size: 1.25rem;
  color: #38BDF8;
}

.latency-info strong {
  display: block;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.latency-info span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
}


.latency-ping {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #34D399;
  display: flex;
  align-items: center;
  gap: 4px;
}

.latency-ping .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLight 1.8s infinite;
  flex-shrink: 0;
}

.latency-ping .dot-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10B981;
  opacity: 0;
  animation: pingRipple 1.8s ease-out infinite;
}

/* ==========================================================================
   FEATURE 2: 3-STEP USSD AUTOMATION ARCHITECTURE FLOW
   ========================================================================== */
.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  margin-top: 20px;
}

.flow-step-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  backdrop-filter: blur(18px);
  position: relative;
  transition: all 0.25s ease;
}

.flow-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.flow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: var(--font-heading);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.35);
  margin-bottom: 18px;
}

.flow-step-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.flow-step-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.flow-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #F472B6;
}

/* ==========================================================================
   FEATURE 3: MULTI-LANGUAGE INTERACTIVE API CODE PLAYGROUND
   ========================================================================== */
.playground-box {
  background: rgba(11, 15, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.playground-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.endpoint-tabs, .lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(139, 92, 246, 0.25));
  border-color: rgba(236, 72, 153, 0.5);
  color: #F472B6;
  font-weight: 700;
}

.playground-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  min-height: 380px;
}

.code-view-panel {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.code-view-panel pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #E2E8F0;
  overflow-x: auto;
  flex: 1;
}

.response-view-panel {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.res-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.response-view-panel pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  color: #86EFAC;
  overflow-x: auto;
  flex: 1;
}

/* ==========================================================================
   FEATURE 4: INTERACTIVE RESELLER PROFIT & COMMISSION CALCULATOR
   ========================================================================== */
.calc-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(20, 18, 48, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-level-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.level-btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.level-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.level-btn.active {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-val-tag {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #F472B6;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.7);
  border: 2px solid #FFFFFF;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-outputs {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.output-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.output-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.output-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.output-val {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
}

.output-val.highlight {
  color: #34D399;
  font-size: 1.7rem;
}

/* ==========================================================================
   FEATURE 5: MANUAL VS AUTOMATED COMPARISON GRID
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(16px);
}

.compare-card.manual {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-card.auto {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 16px 48px rgba(16, 185, 129, 0.12);
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.compare-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compare-badge.red { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; }
.compare-badge.green { background: rgba(16, 185, 129, 0.2); color: #34D399; }

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.compare-list li i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-card.manual .compare-list li i { color: #EF4444; }
.compare-card.auto .compare-list li i { color: #10B981; }

/* ==========================================================================
   FEATURE 6: LIVE TRXID SEARCH & HOLOGRAPHIC VERIFIER WIDGET
   ========================================================================== */
.trx-search-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto 30px;
}

.trx-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.trx-input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.trx-result-card {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 27, 75, 0.92) 100%);
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: none;
  animation: floatIn 0.35s ease forwards;
}

.trx-res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.trx-res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trx-res-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.trx-res-item strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
  font-family: var(--font-mono);
}

/* ==========================================================================
   FEATURE 7: BANGLADESH TELECOM USSD CODE CHEATSHEET
   ========================================================================== */
.ussd-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.ussd-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ussd-tab-btn.active {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

.ussd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ussd-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ussd-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 72, 153, 0.3);
}

.ussd-card code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #34D399;
}

.ussd-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURE 8: APP DOWNLOAD & INSTANT QR CODE SHOWCASE
   ========================================================================== */
.app-showcase-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 75, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.qr-box {
  background: #FFFFFF;
  padding: 14px;
  border-radius: 18px;
  display: inline-block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.qr-box img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  display: block;
}

.qr-box span {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SECTIONS & SECTION HEADINGS
   ========================================================================== */
.section {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(236, 72, 153, 0.12);
  color: #F472B6;
  border: 1px solid rgba(236, 72, 153, 0.3);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Glow shimmer section divider line */
.section + .section::before,
.section + .trust-strip::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(236, 72, 153, 0.5) 30%, rgba(139, 92, 246, 0.6) 55%, rgba(6, 182, 212, 0.5) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: glowShimmer 3s linear infinite;
  pointer-events: none;
}

/* Aurora wave background (used on Services section) */
.section-aurora {
  overflow: hidden;
}

.section-aurora::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 20% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 80% 30%, rgba(236, 72, 153, 0.10) 0%, transparent 55%);
  animation: auroraShift 12s ease-in-out infinite alternate;
  filter: blur(30px);
}

.section-aurora .container {
  position: relative;
  z-index: 1;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.2;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.7;
}

/* ==========================================================================
   PILLARS / CORE FEATURES
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  background: rgba(24, 34, 62, 0.8);
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pillar-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(236, 72, 153, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #F472B6;
  margin-bottom: 16px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   API SHOWCASE GRID
   ========================================================================== */
.api-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.api-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.api-card:hover {
  transform: translateY(-4px);
  background: rgba(22, 32, 60, 0.85);
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.api-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.api-card-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
}

.api-ico-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #FFFFFF;
}

.api-ico-box.tone-blue { background: linear-gradient(135deg, #3B82F6, #1D4ED8); box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3); }
.api-ico-box.tone-violet { background: linear-gradient(135deg, #8B5CF6, #6D28D9); box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3); }
.api-ico-box.tone-navy { background: linear-gradient(135deg, #0284C7, #0369A1); box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3); }
.api-ico-box.tone-teal { background: linear-gradient(135deg, #0D9488, #0F766E); box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3); }
.api-ico-box.tone-green { background: linear-gradient(135deg, #10B981, #059669); box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3); }
.api-ico-box.tone-rose { background: linear-gradient(135deg, #EC4899, #BE185D); box-shadow: 0 6px 18px rgba(236, 72, 153, 0.3); }

.api-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.api-endpoint-pill {
  display: inline-block;
  margin: 6px 0 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #F472B6;
  word-break: break-all;
}

.api-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.api-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F472B6;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
}

.api-card-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.svc-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--svc-accent, #EC4899), transparent);
}

.svc-card.tone-blue { --svc-accent: #3B82F6; }
.svc-card.tone-green { --svc-accent: #10B981; }
.svc-card.tone-violet { --svc-accent: #8B5CF6; }
.svc-card.tone-rose { --svc-accent: #EC4899; }
.svc-card.tone-navy { --svc-accent: #0284C7; }

.svc-card:hover {
  transform: translateY(-4px);
  background: rgba(22, 32, 60, 0.85);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.svc-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.svc-ico-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #FFFFFF;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.svc-card:hover .svc-ico-box {
  transform: rotate(360deg) scale(1.15);
}

.svc-ico-box.tone-blue {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.svc-ico-box.tone-blue:hover,
.svc-card:hover .svc-ico-box.tone-blue {
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.65), 0 0 0 6px rgba(59, 130, 246, 0.15);
}

.svc-ico-box.tone-green {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.svc-card:hover .svc-ico-box.tone-green {
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.65), 0 0 0 6px rgba(16, 185, 129, 0.15);
}

.svc-ico-box.tone-violet {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}
.svc-card:hover .svc-ico-box.tone-violet {
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.65), 0 0 0 6px rgba(139, 92, 246, 0.15);
}

.svc-ico-box.tone-pink {
  background: linear-gradient(135deg, #EC4899, #BE185D);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}
.svc-card:hover .svc-ico-box.tone-pink {
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.65), 0 0 0 6px rgba(236, 72, 153, 0.15);
}

.svc-ico-box.tone-cyan {
  background: linear-gradient(135deg, #06B6D4, #0E7490);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
}
.svc-card:hover .svc-ico-box.tone-cyan {
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.65), 0 0 0 6px rgba(6, 182, 212, 0.15);
}

.svc-ico-box.tone-orange {
  background: linear-gradient(135deg, #F97316, #C2410C);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}
.svc-card:hover .svc-ico-box.tone-orange {
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.65), 0 0 0 6px rgba(249, 115, 22, 0.15);
}


.svc-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.svc-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.svc-points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.svc-points li {
  position: relative;
  padding-left: 20px;
  margin: 9px 0;
  color: #CBD5E1;
  font-size: 0.92rem;
  font-weight: 500;
}

.svc-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #34D399;
  font-weight: 900;
}

.svc-cta-wrap {
  margin-top: auto;
}

/* ==========================================================================
   WHY CHOOSE US & BENTO GRID
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  background: rgba(24, 34, 62, 0.8);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   FAQ ACCORDION & SMART FAQ SEARCH
   ========================================================================== */
.faq-search-wrap {
  max-width: 460px;
  margin: 0 auto 24px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.faq-search-input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.35);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-card[open] {
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(20, 28, 54, 0.8);
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
  color: #FFFFFF;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  user-select: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #F472B6;
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-card[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(236, 72, 153, 0.2);
}

.faq-card p {
  margin: 14px 0 2px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.t-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.stars {
  color: #F59E0B;
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.t-quote {
  margin: 14px 0 20px;
  color: #E2E8F0;
  line-height: 1.65;
  font-size: 0.98rem;
  flex: 1;
}

.t-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.t-who strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.t-who span {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ==========================================================================
   HIGH CONVERTING COSMIC CTA
   ========================================================================== */
.cta-cosmic-wrap {
  position: relative;
  z-index: 5;
  margin-top: clamp(40px, 6vw, 70px);
}

.cta-cosmic-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.95) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(88, 28, 135, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  text-align: center;
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(236, 72, 153, 0.25);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cta-cosmic-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.25), transparent 60%);
  pointer-events: none;
}

.cta-cosmic-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.cta-cosmic-card p {
  margin: 16px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.15rem);
  position: relative;
  z-index: 1;
}

.cta-cosmic-card .hero-cta {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   API DOCS DEVELOPER PORTAL STYLING (STRIPE / MINTLIFY LUXURY DESIGN)
   ========================================================================== */
body.docs-page {
  background-color: var(--bg-base);
}

.docs-hero {
  min-height: 0 !important;
  padding: clamp(48px, 6vw, 75px) 0 clamp(40px, 5vw, 65px) !important;
  text-align: center;
  position: relative;
}

.docs-hero .docs-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.docs-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.docs-hero .lead {
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 54ch;
}

.docs-hero .hero-pills, .docs-hero .hero-cta {
  justify-content: center;
}

.docs-shell {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 40px);
  align-items: start;
}

.docs-side {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - var(--nav-h) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 72, 153, 0.3) transparent;
  z-index: 10;
}

.docs-side::-webkit-scrollbar {
  width: 5px;
}

.docs-side::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.docs-search-wrap {
  margin-bottom: 16px;
  position: relative;
}

.docs-search-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.86rem;
  outline: none;
  font-family: var(--font-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docs-search-input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

.docs-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.docs-nav-group-title {
  margin: 16px 10px 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 800;
}

.docs-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all 0.18s ease;
  margin-bottom: 3px;
}

.docs-nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  transform: translateX(2px);
}

.docs-nav-links a.on {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(139, 92, 246, 0.12));
  color: #F472B6;
  border-left-color: var(--magenta);
  font-weight: 700;
}

.docs-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 6px;
}

.docs-quick .q {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.docs-quick .q:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 72, 153, 0.35);
}

.docs-quick .q i {
  font-size: 1.45rem;
  color: #F472B6;
}

.docs-quick .q strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 1.02rem;
  color: #FFFFFF;
}

.docs-quick .q span {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.doc-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 36px);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.doc-card:hover {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.doc-card-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.doc-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-card .body {
  color: #CBD5E1;
  line-height: 1.7;
  font-size: 0.98rem;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
}

.doc-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-base code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  word-break: break-all;
  color: #F472B6;
}

.btn-copy {
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.84rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, #EC4899, #BE185D);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
  transition: transform 0.2s ease;
}

.btn-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.5);
}

.doc-pre-wrap {
  position: relative;
  margin-top: 18px;
}

.btn-copy-code {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.doc-card pre {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.65;
  font-family: var(--font-mono);
}

/* Status Codes & Parameters Matrix Table */
.docs-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  min-width: 480px;
}

.docs-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.docs-table tr:last-child td {
  border-bottom: none;
}

.docs-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.status-code-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
}

.status-code-tag.ok { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.status-code-tag.warn { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
.status-code-tag.err { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; }

/* Interactive Sandbox Tester */
.docs-sandbox-box {
  background: rgba(11, 15, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.sandbox-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.sandbox-input {
  flex: 1;
  min-width: 130px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER (ULTRA-PREMIUM 4-COLUMN RESPONSIVE DESIGN)
   ========================================================================== */
.site-footer {
  background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.08) 0%, rgba(8, 12, 28, 0.98) 45%, #03050C 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #94A3B8;
  padding: clamp(50px, 6vw, 80px) 0 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.foot-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #E11D48, #F43F5E, transparent);
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.6);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 48px;
}

.foot-col-brand .foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.foot-logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 10px;
}

.foot-blurb {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 20px;
  max-width: 36ch;
}

.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.foot-status-badge,
.foot-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

.foot-pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: footPulse 2s infinite;
}

@keyframes footPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.foot-sec-badge i {
  color: #38BDF8;
}

.foot-social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soc-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.soc-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.soc-wa:hover { background: #10B981; border-color: #10B981; box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); }
.soc-tg:hover { background: #0EA5E9; border-color: #0EA5E9; box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4); }
.soc-fb:hover { background: #3B82F6; border-color: #3B82F6; box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); }
.soc-yt:hover { background: #EF4444; border-color: #EF4444; box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4); }
.soc-play:hover { background: #8B5CF6; border-color: #8B5CF6; box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); }

.foot-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.5;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.foot-title::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #E11D48, transparent);
  border-radius: 2px;
}

.foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot-links li {
  margin-bottom: 10px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #94A3B8;
  font-size: 0.94rem;
  line-height: 1.6;
  text-decoration: none;
  transition: all 0.2s ease;
}

.foot-links a i {
  font-size: 0.9rem;
  color: rgba(244, 63, 94, 0.8);
  transition: transform 0.2s ease, color 0.2s ease;
}

.foot-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.foot-links a:hover i {
  color: #F43F5E;
  transform: scale(1.15);
}

.foot-contact-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.foot-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.foot-contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(225, 29, 72, 0.3);
  transform: translateY(-2px);
}

.cnt-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(225, 29, 72, 0.12);
  color: #F43F5E;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.cnt-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.cnt-lbl {
  font-size: 0.76rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
  margin-bottom: 2px;
}

.cnt-val {
  font-size: 0.92rem;
  color: #F8FAFC;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-all;
  white-space: normal;
}

.foot-wa-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.foot-wa-card:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.12) 100%);
  border-color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.wa-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #10B981;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.wa-card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.wa-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
}

.wa-sub {
  font-size: 0.8rem;
  color: #A7F3D0;
  line-height: 1.4;
}

.wa-arrow {
  color: #10B981;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.foot-wa-card:hover .wa-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   PAYMENT GATEWAY TRUST STRIP (ECOMMERCE STYLE)
   ========================================================================== */
.pay-trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(8, 12, 28, 0.95) 0%, rgba(4, 6, 16, 0.98) 100%);
  padding: 22px 0 26px;
  position: relative;
  overflow: hidden;
}

.pay-trust-header {
  text-align: center;
  margin-bottom: 16px;
}

.pay-trust-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pay-trust-label i {
  color: #10B981;
  font-size: 1rem;
}

/* ── Smooth Horizontal Infinite Marquee ── */
.pay-marquee-track {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  padding: 6px 0;
}

.pay-marquee-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.pay-marquee-track:hover .pay-marquee-inner {
  animation-play-state: paused;
}

/* ── Crisp, High-Contrast Payment Card Badge (White/Light theme like top ecommerce sites) ── */
.pay-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 6px 16px;
  height: 46px;
  min-width: 105px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
  user-select: none;
  flex-shrink: 0;
}

.pay-card-pill:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(236, 72, 153, 0.5);
}

.pay-img-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}


.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(2, 3, 8, 0.95);
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
}



.foot-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: #94A3B8;
}

.brand-highlight {
  color: #FFFFFF;
  font-weight: 700;
}

.foot-copy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.foot-copy-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot-copy-links a:hover {
  color: #F43F5E;
}

.dot-sep {
  color: #475569;
}

@media (max-width: 1024px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 42px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .foot-col-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 24px;
  }
  .foot-bottom {
    /* Extra bottom clearance for mobile so floating WhatsApp FAB never overlaps text */
    padding: 20px 0 calc(85px + env(safe-area-inset-bottom));
  }
  .foot-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .foot-copy-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.6;
  }
  .fab-stack {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .wa-fab {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }
  .top-fab {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP FAB & BACK TO TOP
   ========================================================================== */
.fab-stack {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.wa-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.6);
}

.top-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  display: none;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.top-fab.show {
  display: grid;
}

.top-fab:hover {
  background: rgba(236, 72, 153, 0.3);
  border-color: var(--magenta);
  transform: translateY(-2px);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 25px) scale(0.95); }
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes floatBounce {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-0.5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Operator Badge Marquee */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Latency dot ripple ring */
@keyframes pingRipple {
  0%   { transform: scale(1); opacity: 0.8; }
  80%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Hero data flow scan line */
@keyframes dataFlow {
  0%   { top: -30%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 120%; opacity: 0; }
}

/* Aurora color wave */
@keyframes auroraShift {
  0%   { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50%  { opacity: 0.85; transform: scale(1.08) rotate(4deg); }
  100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
}

/* Section divider glow shimmer */
@keyframes glowShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* Scroll Reveal (AOS Effect) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid children */
.stats-grid .stat-card:nth-child(1) { transition-delay: 0.04s; }
.stats-grid .stat-card:nth-child(2) { transition-delay: 0.10s; }
.stats-grid .stat-card:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .stat-card:nth-child(4) { transition-delay: 0.22s; }

.svc-grid .svc-card:nth-child(1) { transition-delay: 0.05s; }
.svc-grid .svc-card:nth-child(2) { transition-delay: 0.12s; }
.svc-grid .svc-card:nth-child(3) { transition-delay: 0.18s; }
.svc-grid .svc-card:nth-child(4) { transition-delay: 0.24s; }

/* Sticky Navbar Elevation on Scroll */
.site-nav {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.is-scrolled {
  background: rgba(7, 9, 19, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Card Hover Spring Transitions */
.svc-card, .why-card, .stat-card, .latency-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc-card:hover, .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.35);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
  .api-grid, .svc-grid, .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .latency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ussd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  .site-nav-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 1.05rem;
  }

  .brand .nav-status-pill {
    display: none !important;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .nav-action-wa,
  .nav-actions .nav-action-login {
    display: none !important;
  }

  .nav-actions .nav-action-lang {
    display: inline-flex !important;
    padding: 0;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .nav-actions .nav-action-lang .btn-txt {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: var(--pad-x);
    right: var(--pad-x);
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(11, 15, 31, 0.98);
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    max-height: min(75vh, 520px);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-drawer-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .nav-drawer-actions .btn .btn-txt {
    display: inline !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .floating-chip {
    display: none;
  }

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

  .flow-steps-grid {
    grid-template-columns: 1fr;
  }

  .playground-grid {
    grid-template-columns: 1fr;
  }

  .code-view-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

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

  .app-showcase-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .t-track {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-side {
    position: static;
    max-height: none;
    margin-bottom: 16px;
  }

  .docs-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .docs-nav-links a {
    border-left: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
  }

  .docs-quick {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pillars-grid, .api-grid, .svc-grid, .why-grid, .faq-grid, .ussd-grid {
    grid-template-columns: 1fr;
  }

  .latency-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .trx-search-wrap {
    flex-direction: column;
  }

  .trx-search-wrap .btn {
    width: 100%;
  }

  .trx-res-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .wa-fab {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }
}

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