/* =========================================
   REDINGTON BANGLADESH — PROFESSIONAL CSS
   ========================================= */

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

:root {
  --bg-primary:    #060a12;
  --bg-secondary:  #0a0f1e;
  --bg-card:       #0d1526;
  --bg-card-hover: #111d35;
  --border:        rgba(255,255,255,0.07);
  --border-glow:   rgba(0,212,255,0.25);
  --text-primary:  #f0f4ff;
  --text-secondary:#8899bb;
  --text-muted:    #4a5e82;
  --accent-cyan:   #00d4ff;
  --accent-green:  #00ff88;
  --accent-purple: #aa88ff;
  --accent-orange: #ffaa00;
  --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #0066cc 50%, #aa88ff 100%);
  --gradient-card: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(170,136,255,0.04) 100%);
  --font-main:    'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6,10,18,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; }
.navbar-logo-img { height: 30px; width: auto; object-fit: contain; display: block; }
.navbar-brand-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1;
}
.brand-divider { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
.brand-sub { display: flex; flex-direction: column; gap: 2px; }
.brand-label { font-size: 9px; font-weight: 600; letter-spacing: 0.15em; color: var(--accent-cyan); text-transform: uppercase; }
.brand-title { font-size: 12px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.08em; }

/* Glowing border with traveling light dot */
.badge-glow-wrap {
  position: relative;
  border-radius: 100px;
  padding: 1.5px;
  overflow: visible;
  flex-shrink: 0;
  background: rgba(0,212,255,0.35);
  box-shadow: 0 0 10px rgba(0,212,255,0.3), 0 0 22px rgba(0,212,255,0.15);
}
.official-badge {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: rgba(2,10,20,0.95);
  border-radius: 100px; padding: 8px 16px;
  font-size: 12px; font-weight: 600; color: var(--accent-cyan); white-space: nowrap; flex-shrink: 0;
}
/* JS-injected traveling dot */
.badge-travel-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px 3px #00d4ff, 0 0 14px 6px rgba(0,212,255,0.6);
  pointer-events: none;
  z-index: 10;
  transform: translate(-50%, -50%);
}
.badge-logo-divider { width: 1px; height: 20px; background: rgba(0,212,255,0.4); flex-shrink: 0; }
.badge-outer { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.badge-logo-img { height: 30px; width: auto; object-fit: contain; display: block; }
.badge-sep { color: rgba(255,255,255,0.35); font-size: 18px; font-weight: 300; line-height: 1; }
.badge-dot { width: 7px; height: 7px; background: var(--accent-cyan); border-radius: 50%; animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }

/* ---- MOBILE NAVBAR ---- */
@media (max-width: 640px) {
  .navbar-inner {
    height: auto;
    padding: 10px 16px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .navbar-brand-text { font-size: 15px; letter-spacing: 0.12em; }
  .brand-label { font-size: 8px; }
  .brand-title { font-size: 10px; }
  .brand-sub { align-items: center; }
  .brand-divider { height: 24px; }

  .badge-outer {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .badge-logo-img { height: 20px; }
  .badge-sep { display: none; }

  .badge-glow-wrap {
    flex: 1;
    min-width: 0;
  }
  .official-badge {
    justify-content: center;
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .brand-divider { display: none; }
  .brand-sub { display: none; }
  .badge-logo-img { display: none; }
}

@keyframes pulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(0,212,255,0.4); }
  50%      { opacity:0.7; box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

/* ============================================
   GLOWING BADGES (inline, above reseller heading)
   ============================================ */
.reseller-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.glow-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
  cursor: default;
  backdrop-filter: blur(12px);
}

.badge-warranty {
  background: rgba(0,212,255,0.1);
  border: 1.5px solid rgba(0,212,255,0.55);
  color: #00d4ff;
  animation: glowPulseCyan 2.2s ease-in-out infinite;
}

.badge-verified {
  background: rgba(0,255,136,0.08);
  border: 1.5px solid rgba(0,255,136,0.55);
  color: #00ff88;
  animation: glowPulseGreen 2.2s ease-in-out infinite 1.1s;
}

.gb-icon {
  display: flex; align-items: center; flex-shrink: 0;
  filter: drop-shadow(0 0 5px currentColor);
}

.gb-text {
  background: linear-gradient(90deg, currentColor 0%, rgba(255,255,255,0.95) 40%, currentColor 60%, currentColor 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 2.5s linear infinite;
}

.gb-shine {
  position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  border-radius: inherit;
  animation: shineSweep 2.8s ease-in-out infinite;
}
.badge-verified .gb-shine { animation-delay: 1.4s; }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes badgeFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-9px); }
}
@keyframes glowPulseCyan {
  0%,100% { box-shadow: 0 0 10px rgba(0,212,255,0.3), 0 0 28px rgba(0,212,255,0.12); border-color: rgba(0,212,255,0.45); }
  50%      { box-shadow: 0 0 24px rgba(0,212,255,0.8), 0 0 60px rgba(0,212,255,0.35), 0 0 100px rgba(0,212,255,0.12); border-color: rgba(0,212,255,1); }
}
@keyframes glowPulseGreen {
  0%,100% { box-shadow: 0 0 10px rgba(0,255,136,0.3), 0 0 28px rgba(0,255,136,0.12); border-color: rgba(0,255,136,0.45); }
  50%      { box-shadow: 0 0 24px rgba(0,255,136,0.8), 0 0 60px rgba(0,255,136,0.35), 0 0 100px rgba(0,255,136,0.12); border-color: rgba(0,255,136,1); }
}
@keyframes textShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes shineSweep {
  0%   { left: -75%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

/* ============================================
   RESELLER SECTION
   ============================================ */
.reseller-section { position: relative; z-index: 2; padding: 110px 0 110px; overflow: hidden; }

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

.starlink-big {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-bottom: 32px;
  color: #ffffff;
}

.section-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent-cyan); margin-bottom: 20px;
}
.eyebrow-line { display: block; width: 40px; height: 1px; background: var(--accent-cyan); opacity: 0.4; }

.reseller-title { font-size: clamp(20px,2.5vw,28px); font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 14px; }
.reseller-desc  { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 500px; margin: 0 auto; }

.reseller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- CARD ---- */
.reseller-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,255,0.35);
  box-shadow: 0 0 14px rgba(0,212,255,0.12),
              inset 0 0 20px rgba(0,212,255,0.04);
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

/* top glow line */
.reseller-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.reseller-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,212,255,0.75);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.55),
    0 0 22px rgba(0,212,255,0.28),
    0 0 50px rgba(0,212,255,0.12),
    inset 0 0 24px rgba(0,212,255,0.06);
}

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

/* ---- LOGO AREA ---- */
.rc-thumb {
  position: relative;
  height: 140px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rc-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  transition: transform 0.4s ease;
}

.reseller-card:hover .rc-logo-wrap { transform: scale(1.05); }

.rc-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rc-initials {
  font-size: 44px;
  font-weight: 900;
  color: rgba(0,0,0,0.12);
  letter-spacing: 0.04em;
  user-select: none;
  align-items: center;
  justify-content: center;
}

/* verified pill */
.rc-verified {
  position: absolute;
  top: 10px; right: 10px;
  display: flex; align-items: center; gap: 4px;
  background: rgba(0,12,6,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,255,136,0.38);
  border-radius: 100px;
  padding: 4px 9px;
  font-size: 10px; font-weight: 700;
  color: #00ff88;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ---- CARD BODY ---- */
.rc-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  background: linear-gradient(160deg, rgba(14,22,38,0.95) 0%, rgba(8,14,26,0.98) 100%);
}

.rc-name {
  font-size: 15px;
  font-weight: 700;
  color: #f0f4ff;
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0;
}

/* CTA button */
.rc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,212,255,0.75);
  border: 1px solid rgba(0,212,255,0.22);
  background: rgba(0,212,255,0.06);
  padding: 7px 16px;
  border-radius: 100px;
  transition: color 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease,
              transform 0.25s ease;
  margin-top: auto;
}

.reseller-card:hover .rc-cta {
  color: #00d4ff;
  background: rgba(0,212,255,0.13);
  border-color: rgba(0,212,255,0.45);
  transform: translateX(3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer { position: relative; z-index: 2; background: var(--bg-secondary); }
.footer-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80%; height: 1px; background: linear-gradient(90deg,transparent,rgba(0,212,255,0.3),transparent); }
.footer-top { padding: 48px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-logo-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}
.footer-logo-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 340px;
}

/* RIGHT */
.footer-legal { text-align: right; }
.footer-legal-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.footer-legal-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* BOTTOM BAR */
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom-inner p { font-size: 12px; color: var(--text-muted); }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #25d366;
  padding: 8px 18px;
  border-radius: 100px;
  box-shadow: 0 0 14px rgba(37,211,102,0.35);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.back-to-top { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease; }
.back-to-top:hover { color: var(--accent-cyan); }


.whatsapp-btn:hover {
  background: #1ebe5d;
  box-shadow: 0 0 24px rgba(37,211,102,0.6);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { text-align: left; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .reseller-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .reseller-section { padding: 100px 0 60px; }
  .reseller-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr; }
  .starlink-big  { font-size: clamp(30px, 4vw, 40px); }
}
@media (max-width: 480px) {
  .reseller-grid { grid-template-columns: 1fr; }
  .reseller-badges { flex-direction: column; align-items: center; }
}
@media (max-width: 640px) {
  .reseller-section { padding: 130px 0 60px; }
}
@media (max-width: 380px) {
  .reseller-section { padding: 110px 0 60px; }
}
