/* =============================================
   PhonesOnCredit.co.ke — Main Stylesheet
   Black / Dark Premium Theme
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand */
  --primary:       #f59e0b;   /* gold accent */
  --primary-dark:  #d97706;
  --gold:          #f59e0b;
  --gold-dark:     #d97706;
  --gold-glow:     rgba(245,158,11,0.25);

  /* Blacks & Greys */
  --black:         #000000;
  --black2:        #0a0a0a;
  --black3:        #111111;
  --black4:        #181818;
  --black5:        #1f1f1f;
  --dark-card:     #141414;
  --dark-border:   #2a2a2a;
  --dark-border2:  #333333;

  /* Text */
  --text-white:    #ffffff;
  --text-light:    #e5e7eb;
  --text-muted:    #888888;
  --text-dim:      #555555;

  /* WhatsApp */
  --whatsapp:      #25d366;
  --whatsapp-dark: #128c7e;

  /* Utility */
  --radius:        14px;
  --radius-sm:     8px;
  --radius-xs:     6px;
  --shadow:        0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-gold:   0 6px 30px rgba(245,158,11,0.3);
  --font:          'Inter', sans-serif;
  --transition:    all 0.25s ease;

  /* Legacy aliases kept for non-homepage pages */
  --dark:          #0a0a0a;
  --dark2:         #111111;
  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --text:          #e5e7eb;
  --muted:         #888888;
  --light:         #f8fafc;
  --border:        #2a2a2a;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body  { font-family: var(--font); color: var(--text-light); background: var(--black); }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--black2);
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.top-bar a { color: var(--text-muted); transition: var(--transition); }
.top-bar a:hover { color: var(--gold); }
.top-bar-item { display: flex; align-items: center; }
.whatsapp-btn-top {
  background: var(--whatsapp);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: var(--transition);
}
.whatsapp-btn-top:hover { background: var(--whatsapp-dark); }

/* =============================================
   NAVBAR
   ============================================= */
#mainNav {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--dark-border);
  padding: 0.6rem 0;
  transition: var(--transition);
  z-index: 1000;
  backdrop-filter: blur(12px);
}
#mainNav.scrolled {
  background: rgba(0,0,0,0.98);
  box-shadow: 0 2px 30px rgba(0,0,0,0.8);
}
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-size: 1.1rem;
}
.brand-text  { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name  { font-weight: 800; font-size: 1rem; color: #fff; }
.brand-sub   { font-size: 0.7rem; color: var(--gold); font-weight: 600; }

.nav-link {
  font-weight: 500;
  color: #ccc !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.92rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold) !important;
  background: rgba(245,158,11,0.08);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-apply {
  background: var(--gold);
  color: #000 !important;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-apply:hover { background: var(--gold-dark); color: #000 !important; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Noise texture overlay */
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245,158,11,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(245,158,11,0.04) 0%, transparent 60%);
}

.hero-bg-video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}
.hero-bg-image {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.25;
}

.hero-inner-row {
  min-height: calc(100vh - 120px);
  padding: 80px 0 48px;
}

/* CTA buttons — row on desktop, full-width stacked on mobile */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Badge pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Hero title */
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.5px;
}
.hero-accent {
  background: linear-gradient(90deg, var(--gold), #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: #999;
  max-width: 500px;
  line-height: 1.7;
}

/* Perk chips */
.hero-perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.hero-perk-chip .bi { color: var(--gold); font-size: 0.75rem; }

/* CTA Buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #000 !important;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 28px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-hero-whatsapp {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-hero-whatsapp:hover {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}
.btn-hero-whatsapp .bi-whatsapp { color: var(--whatsapp); transition: var(--transition); }
.btn-hero-whatsapp:hover .bi-whatsapp { color: #fff; }

/* Stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--dark-border2);
}

/* Hero showcase card */
.hero-showcase-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: 24px;
  padding: 32px 28px;
  min-width: 260px;
  max-width: 300px;
  text-align: center;
  overflow: hidden;
}
.hero-showcase-glow {
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-showcase-img {
  width: 160px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 12px 32px rgba(245,158,11,0.25));
}
.hero-showcase-placeholder {
  width: 160px; height: 200px;
  background: var(--black5);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: #333;
  margin: 0 auto 20px;
}
.hero-showcase-info { display: flex; flex-direction: column; gap: 4px; }
.showcase-brand {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.showcase-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.showcase-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--dark-border);
}
.showcase-deposit { font-size: 0.78rem; color: #888; }
.showcase-deposit strong { color: #ccc; }
.showcase-monthly {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
}
.showcase-monthly small { font-size: 0.7rem; font-weight: 500; color: #777; }
.showcase-cta {
  display: block;
  margin-top: 16px;
  background: var(--gold);
  color: #000 !important;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 0;
  transition: var(--transition);
}
.showcase-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Decorative grid (no hero phone) */
.hero-deco-grid {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.deco-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: 18px;
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  font-size: 0.82rem;
  color: #ccc;
  font-weight: 600;
}
.deco-card-sm { width: 130px; }
.deco-card-lg { width: 160px; }
.deco-icon {
  width: 56px; height: 80px;
  background: var(--black5);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #444;
  margin-bottom: 4px;
}
.deco-icon-lg {
  width: 80px; height: 120px;
  font-size: 2.8rem;
}
.deco-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Showroom bar */
.hero-showroom-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid var(--dark-border);
}

/* =============================================
   BRAND TICKER
   ============================================= */
.brand-ticker-wrap {
  background: var(--black2);
  border-bottom: 1px solid var(--dark-border);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.brand-ticker {
  display: inline-flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 28px;
  border-right: 1px solid var(--dark-border);
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   SHARED SECTION UTILITIES
   ============================================= */
.section-chip {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.section-title-dark {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -0.3px;
}
.section-sub-dark {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 6px 0 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.btn-view-all {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--dark-border2);
  color: #ccc !important;
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-view-all:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* =============================================
   FEATURED PHONES SECTION
   ============================================= */
.section-featured {
  background: var(--black);
  padding: 64px 0;
  border-top: 1px solid var(--dark-border);
}

/* Dark Phone Card */
.dark-phone-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dark-phone-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-gold);
  transform: translateY(-4px);
}

/* Badge */
.dark-phone-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.badge-hot-deal   { background: rgba(220,38,38,0.2);  color: #f87171; border: 1px solid rgba(220,38,38,0.3); }
.badge-popular    { background: rgba(245,158,11,0.2);  color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.badge-new        { background: rgba(22,163,74,0.2);   color: #4ade80; border: 1px solid rgba(22,163,74,0.3); }
.badge-premium    { background: rgba(124,58,237,0.2);  color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }
.badge-best-value { background: rgba(59,130,246,0.2);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }

/* Image wrap */
.dark-phone-img-wrap {
  height: 190px;
  background: var(--black3);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.dark-phone-img {
  max-height: 160px;
  object-fit: contain;
  transition: var(--transition);
}
.dark-phone-card:hover .dark-phone-img { transform: scale(1.06); }
.dark-phone-img-fallback {
  width: 72px; height: 96px;
  background: var(--black5);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: #333;
}

/* Body */
.dark-phone-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dark-phone-brand {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dark-phone-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.3;
}

/* Pricing box */
.dark-pricing-box {
  margin-top: 12px;
  background: var(--black3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dp-item { display: flex; flex-direction: column; align-items: center; flex: 1; }
.dp-label { font-size: 0.65rem; color: #555; font-weight: 600; text-transform: uppercase; }
.dp-value { font-size: 0.8rem; font-weight: 700; color: #ccc; margin-top: 2px; }
.dp-value.accent { color: var(--gold); }
.dp-divider { width: 1px; height: 28px; background: var(--dark-border2); margin: 0 4px; }

/* Card buttons */
.btn-dark-outline {
  border: 1.5px solid var(--dark-border2);
  color: #aaa !important;
  background: transparent;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-dark-outline:hover { border-color: var(--gold); color: var(--gold) !important; }

.btn-dark-accent {
  background: var(--gold);
  color: #000 !important;
  border: 1.5px solid var(--gold);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-dark-accent:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* =============================================
   HOW IT WORKS — DARK
   ============================================= */
.section-how-dark {
  background: var(--black2);
  padding: 80px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.how-steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.how-step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.how-step:hover {
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.how-step-featured {
  border-color: rgba(245,158,11,0.5);
  background: linear-gradient(160deg, var(--dark-card) 0%, rgba(245,158,11,0.05) 100%);
}

.how-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--dark-border2);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 60px;
}

.how-step-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.how-step-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #ccc;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.how-step:hover .how-step-icon { border-color: var(--gold); color: var(--gold); }
.how-step-icon-gold {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.4);
  color: var(--gold) !important;
}
.how-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.how-step-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   WHY CHOOSE US — DARK
   ============================================= */
.section-why-dark {
  background: var(--black);
  padding: 80px 0;
}

.why-dark-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
}
.why-dark-card:hover {
  border-color: var(--dark-border2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.why-dark-card-gold {
  border-color: rgba(245,158,11,0.3);
  background: linear-gradient(160deg, var(--dark-card) 0%, rgba(245,158,11,0.04) 100%);
}
.why-dark-card-gold:hover { border-color: rgba(245,158,11,0.6); }

.why-dark-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #888;
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-dark-card:hover .why-dark-icon { color: #ccc; }
.why-dark-icon-gold {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: var(--gold) !important;
}
.why-dark-card-gold:hover .why-dark-icon-gold { color: var(--gold) !important; }

.why-dark-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.why-dark-desc {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   TESTIMONIALS — DARK
   ============================================= */
.section-testimonials-dark {
  background: var(--black2);
  padding: 80px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.dark-testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}
.dark-testimonial-card:hover {
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.dark-stars { display: flex; gap: 3px; }
.dark-stars .bi { color: var(--gold); font-size: 0.82rem; }
.dark-testimonial-text {
  color: #bbb;
  font-size: 0.91rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}
.dark-testimonial-author { display: flex; align-items: center; gap: 12px; }
.dark-avatar {
  width: 42px; height: 42px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.dark-author-name { font-size: 0.88rem; font-weight: 700; color: #fff; display: block; }
.dark-author-meta { font-size: 0.74rem; color: #555; display: block; margin-top: 2px; }

/* =============================================
   BLOG — DARK
   ============================================= */
.section-blog-dark {
  background: var(--black);
  padding: 80px 0;
  border-top: 1px solid var(--dark-border);
}

.dark-blog-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.dark-blog-card:hover {
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.dark-blog-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.dark-blog-img-placeholder {
  height: 170px;
  background: linear-gradient(135deg, var(--black3), var(--black5));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: #333;
}
.dark-blog-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dark-blog-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
}
.dark-blog-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}
.dark-blog-date {
  font-size: 0.72rem;
  color: #555;
  margin-top: auto;
}

/* =============================================
   CTA SECTION — DARK
   ============================================= */
.section-cta-dark {
  background: var(--black2);
  padding: 64px 0;
  border-top: 1px solid var(--dark-border);
}

.dark-cta-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: 20px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.dark-cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.dark-cta-left { flex: 1; min-width: 260px; }
.dark-cta-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.dark-cta-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 420px;
}
.dark-cta-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

/* =============================================
   PAGE HEADER  (non-home pages)
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--black3) 100%);
  border-bottom: 1px solid var(--dark-border);
  padding: 40px 0 32px;
}
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.5); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.85); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.page-header-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; margin: 0 0 6px; letter-spacing: -0.3px; }
.page-header-subtitle { color: #888; margin: 0; }

/* =============================================
   FILTER SIDEBAR
   ============================================= */
.filter-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px;
}
.filter-heading { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.filter-group { margin-bottom: 18px; }
.filter-label { font-size: 0.8rem; font-weight: 600; color: #ccc; margin-bottom: 8px; display: block; }
.brand-list .form-check { margin-bottom: 6px; }
.brand-list .form-check-label { font-size: 0.88rem; color: #aaa; }
.filter-wa-cta {
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

/* =============================================
   PHONE LISTING CARDS  (phones.index)
   ============================================= */
.phone-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-card:hover {
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-gold);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.phone-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.phone-img-wrap {
  height: 200px;
  background: var(--black3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.phone-img {
  max-height: 170px;
  object-fit: contain;
  transition: var(--transition);
}
.phone-card:hover .phone-img { transform: scale(1.05); }
.phone-img-fallback {
  width: 80px; height: 100px;
  background: var(--black5);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: #333;
}
.phone-img-fallback.lg {
  width: 120px; height: 160px;
  font-size: 3.5rem;
}
.phone-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.phone-brand { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; }
.phone-card-name { font-size: 1rem; font-weight: 700; color: #fff; margin: 4px 0 0; }
.phone-pricing {
  margin-top: 12px;
  background: var(--black3);
  border-radius: 10px;
  padding: 10px 12px;
}
.price-row { display: flex; align-items: center; justify-content: space-between; }
.price-item { display: flex; flex-direction: column; align-items: center; flex: 1; }
.price-label { font-size: 0.7rem; color: #555; font-weight: 500; }
.price-value { font-size: 0.82rem; font-weight: 700; color: #ccc; margin-top: 2px; }
.price-value.highlight { color: var(--gold); }
.price-divider { width: 1px; height: 30px; background: var(--dark-border2); margin: 0 4px; }
.btn-outline-details {
  border: 1.5px solid var(--dark-border2);
  color: #aaa !important;
  background: transparent;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}
.btn-outline-details:hover { border-color: var(--gold); color: var(--gold) !important; }
.btn-get-phone {
  background: var(--gold);
  color: #000 !important;
  border: 1.5px solid var(--gold);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
}
.btn-get-phone:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* =============================================
   PHONE DETAIL PAGE
   ============================================= */
.phone-detail-img-wrap {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.phone-detail-img { max-height: 340px; object-fit: contain; }
.phone-detail-name { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 900; color: #fff; margin: 0; }
.phone-detail-price-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px;
}
.price-box-item {
  background: var(--black3);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex; flex-direction: column;
}
.price-box-item.featured { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.3); }
.pbi-label { font-size: 0.72rem; color: #555; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.pbi-value { font-size: 1rem; font-weight: 800; color: #fff; margin-top: 4px; }
.pbi-value.accent { color: var(--gold); }
.phone-detail-desc { color: #999; font-size: 0.95rem; line-height: 1.6; }
.phone-specs { background: var(--dark-card); border-radius: var(--radius); padding: 16px; }
.specs-heading { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.spec-item {
  background: var(--black3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex; flex-direction: column;
}
.spec-key { font-size: 0.7rem; color: #555; font-weight: 600; text-transform: uppercase; }
.spec-val { font-size: 0.85rem; font-weight: 600; color: #ddd; margin-top: 2px; }
.trust-badges {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
}
.trust-item span { font-size: 0.75rem; color: #666; font-weight: 500; }

/* =============================================
   SECTION BUTTONS (legacy compat)
   ============================================= */
.btn-primary-cta {
  display: inline-flex; align-items: center;
  background: var(--gold);
  color: #000 !important;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 800;
  padding: 12px 28px;
  transition: var(--transition);
}
.btn-primary-cta:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: #000 !important;
}
.btn-whatsapp-cta {
  display: inline-flex; align-items: center;
  background: var(--whatsapp);
  color: #fff !important;
  border: 2px solid var(--whatsapp);
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 12px 28px;
  transition: var(--transition);
}
.btn-whatsapp-cta:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-1px);
  color: #fff !important;
}
.btn-outline-view {
  border: 2px solid var(--dark-border2);
  color: #ccc !important;
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.btn-outline-view:hover { border-color: var(--gold); color: var(--gold) !important; }

/* =============================================
   APPLY FORM
   ============================================= */
.apply-form-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 32px;
}
.apply-form-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.plan-selector { display: flex; gap: 12px; flex-wrap: wrap; }
.plan-btn {
  border: 2px solid var(--dark-border2) !important;
  color: #aaa !important;
  background: var(--black3) !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-weight: 600;
  font-size: 0.88rem !important;
  flex: 1;
  min-width: 90px;
  transition: var(--transition) !important;
}
.btn-check:checked + .plan-btn {
  border-color: var(--gold) !important;
  background: rgba(245,158,11,0.1) !important;
  color: var(--gold) !important;
}
.apply-info-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.apply-info-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.apply-checklist { list-style: none; padding: 0; margin: 0; }
.apply-checklist li { padding: 6px 0; font-size: 0.88rem; color: #aaa; }
.apply-steps { padding-left: 20px; margin: 0; }
.apply-steps li { padding: 5px 0; font-size: 0.88rem; color: #aaa; }
.apply-wa-card {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius);
  padding: 24px;
}

/* =============================================
   SUCCESS PAGE
   ============================================= */
.success-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: var(--shadow);
}
.success-icon { font-size: 5rem; line-height: 1; }
.success-steps { background: var(--black3); border-radius: 12px; padding: 20px; }
.success-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark-border);
}
.success-step:last-child { border-bottom: none; }
.ss-num {
  width: 28px; height: 28px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.ss-text { font-size: 0.9rem; color: #aaa; padding-top: 4px; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.stat-pill {
  display: flex; flex-direction: column;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
}
.stat-pill strong { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.stat-pill span { font-size: 0.75rem; color: #666; margin-top: 2px; }
.about-img-wrap {
  background: var(--dark-card);
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: #333;
}
.about-img-placeholder i { font-size: 5rem; }
.about-img-placeholder span { font-size: 0.9rem; font-weight: 600; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 42px; height: 42px;
  background: rgba(245,158,11,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-icon.whatsapp { background: rgba(37,211,102,0.1); color: var(--whatsapp); }
.ci-content { display: flex; flex-direction: column; }
.ci-content strong { font-size: 0.85rem; font-weight: 700; color: #fff; }
.ci-content a, .ci-content span { font-size: 0.88rem; color: #777; }
.ci-content a:hover { color: var(--gold); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--black2); border-top: 1px solid var(--dark-border); }
.footer-desc { color: #555; font-size: 0.88rem; line-height: 1.6; max-width: 320px; }
.footer-heading { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #555; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: #555; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: #555; }
.footer-contact li i { margin-top: 2px; color: var(--gold); flex-shrink: 0; }
.footer-contact a { color: #555; }
.footer-contact a:hover { color: var(--gold); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #555;
  font-size: 0.95rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.footer-divider { border-color: var(--dark-border); margin: 0; }
.footer-copy { font-size: 0.82rem; color: #444; }
.footer-badge { font-size: 0.75rem; color: #444; }
.footer-badge i { color: var(--gold); }

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: var(--transition);
}
.whatsapp-float:hover { background: var(--whatsapp-dark); transform: scale(1.1); color: #fff; }
.whatsapp-tooltip {
  position: absolute;
  right: 64px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination-custom { gap: 4px; }
.pagination-custom .page-link {
  border-radius: 8px !important;
  border: 1.5px solid var(--dark-border2);
  color: #aaa;
  background: var(--dark-card);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  transition: var(--transition);
}
.pagination-custom .page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.pagination-custom .page-link:hover { background: rgba(245,158,11,0.1); border-color: var(--gold); color: var(--gold); }

/* =============================================
   FORMS
   ============================================= */
.form-control, .form-select {
  border: 1.5px solid var(--dark-border2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 10px 14px;
  transition: var(--transition);
  color: #ddd;
  background: var(--black3);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
  background: var(--black3);
  color: #fff;
}
.form-control::placeholder { color: #444; }
.form-label { color: #aaa; font-size: 0.88rem; font-weight: 600; }
.input-group-text {
  background: var(--black5);
  border: 1.5px solid var(--dark-border2);
  font-size: 0.88rem;
  color: #555;
}

/* =============================================
   SCROLL ANIMATIONS
   js-animate class is added by JS before observing,
   so elements without JS always stay visible.
   ============================================= */
.animate-ready {
  /* visible by default — JS will set opacity:0 via js-animate */
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-animate {
  opacity: 0;
  transform: translateY(28px);
}
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =============================================
   SECTION — legacy aliases (non-home pages)
   ============================================= */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.section-subtitle { color: #666; font-size: 1rem; margin: 4px 0 0; }
.section-label {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Step cards (non-home how-it-works) */
.section-how { background: var(--black2); }
.step-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-card-center { border-color: rgba(245,158,11,0.4); }
.step-number {
  position: absolute;
  top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  font-size: 0.9rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--black);
  box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
.step-card-center .step-number { background: var(--gold); }
.step-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #888;
  margin: 0 auto 16px;
}
.step-icon-wrap.accent { background: rgba(245,158,11,0.1); color: var(--gold); }
.step-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.step-desc { color: #666; font-size: 0.9rem; margin: 0; }

/* Why cards (non-home) */
.section-why { background: var(--black); }
.why-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-card-featured { border-color: rgba(245,158,11,0.3); background: linear-gradient(160deg,var(--dark-card) 0%,rgba(245,158,11,0.04) 100%); }
.why-icon { width: 52px; height: 52px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #888; margin-bottom: 14px; }
.why-icon.accent { background: rgba(245,158,11,0.1); color: var(--gold); }
.why-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.why-desc { color: #666; font-size: 0.88rem; margin: 0; }

/* Testimonial cards (non-home) */
.section-testimonials { background: var(--black2); }
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 24px; height: 100%;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial-text { color: #999; font-size: 0.92rem; line-height: 1.6; font-style: italic; margin: 0; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; background: var(--gold); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 0.9rem; font-weight: 700; color: #fff; }
.author-meta { font-size: 0.75rem; color: #555; }

/* CTA box (non-home) */
.section-cta { background: var(--black); }
.cta-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border2);
  border-radius: 20px;
  padding: 60px 40px;
  color: #fff;
}
.cta-icons { font-size: 2rem; color: #333; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: #fff; margin: 0 0 8px; }
.cta-subtitle { color: #666; font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* =============================================
   UTILITY
   ============================================= */
.mt-6 { margin-top: 4rem !important; }
.fw-600 { font-weight: 600; }

/* 4-col grid tweaks */
.section-featured .dark-phone-img-wrap { height: 170px; }
.section-featured .dark-phone-body    { padding: 12px; }
.section-featured .dark-phone-name    { font-size: .9rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
/* ── Tablet (≤991px) ── */
@media (max-width: 991.98px) {
  .hero-inner-row    { min-height: auto; padding: 60px 0 40px; }
  .how-connector     { display: none; }
  .how-steps-grid    { gap: 16px; }
  .dark-cta-box      { padding: 36px 28px; flex-direction: column; text-align: center; }
  .dark-cta-right    { justify-content: center; }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767.98px) {
  /* Hero: compact, centred text, no minimum height */
  .hero-inner-row {
    min-height: auto;
    padding: 44px 0 32px;
    text-align: center;
  }
  .hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge-pill { align-self: center; }
  .hero-title   { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-subtitle { font-size: 0.95rem; max-width: 440px; }

  /* Perks — centred wrap */
  .hero-text-col > .d-flex.flex-wrap { justify-content: center; }

  /* CTA buttons — full width stacked */
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Stats — centred with top border separator */
  .hero-stats-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }
  .hero-stat strong  { font-size: 1.2rem; }
  .hero-stat span    { font-size: 0.68rem; }
  .hero-stat-divider { height: 26px; }

  /* Showroom bar — stack vertically */
  .hero-showroom-bar .container > .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 6px !important;
  }
  .hero-showroom-bar .btn { align-self: center; }

  /* Forms */
  .apply-form-card { padding: 24px 18px; }
  .success-card    { padding: 32px 20px; }
  .plan-selector   { flex-direction: row; }
}

/* ── Small mobile (≤575px) ── */
@media (max-width: 575.98px) {
  .hero-inner-row  { padding: 36px 0 24px; }
  .hero-title      { font-size: clamp(1.65rem, 8vw, 2rem); }
  .hero-subtitle   { font-size: 0.88rem; }
  .hero-badge-pill { font-size: 0.72rem; padding: 5px 12px; }
  .hero-perk-chip  { font-size: 0.76rem; padding: 4px 11px; }

  /* Phone cards */
  .section-featured, .section-how-dark, .section-why-dark,
  .section-testimonials-dark, .section-blog-dark, .section-cta-dark { padding: 44px 0; }
  .dark-phone-body      { padding: 10px; }
  .dark-phone-name      { font-size: .82rem; }
  .dark-phone-brand     { font-size: .65rem; }
  .dark-phone-img-wrap  { height: 130px; padding: 10px; }
  .dp-label { font-size: .62rem; }
  .dp-value { font-size: .75rem; }
  .btn-dark-outline, .btn-dark-accent { font-size: .75rem; padding: 6px 8px; }

  /* Hide right-side decorative elements */
  .hero-deco-grid    { display: none; }
  .hero-showcase-card { display: none; }

  /* Floating WhatsApp */
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }

  /* CTA section */
  .dark-cta-box   { padding: 28px 16px; }
  .dark-cta-title { font-size: 1.25rem; }
}


/* =============================================
   THEME SWITCHER BUTTON
   ============================================= */
.theme-switcher {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.theme-switcher-track {
  display: flex;
  align-items: center;
  width: 52px;
  height: 28px;
  background: var(--dark-border2);
  border-radius: 14px;
  border: 1.5px solid var(--dark-border2);
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
  padding: 2px;
}
.theme-switcher:hover .theme-switcher-track {
  border-color: var(--gold);
}
.theme-switcher-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
  position: relative;
  transform: translateX(0);
  flex-shrink: 0;
}
/* Dark theme: moon visible, sun hidden, thumb at left */
[data-theme="dark"] .theme-icon-dark  { display: block; color: #000; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-switcher-thumb { transform: translateX(0); }
[data-theme="dark"] .theme-switcher-track { background: #2a2a2a; }

/* Light theme: sun visible, moon hidden, thumb slides right */
[data-theme="light"] .theme-icon-dark  { display: none; }
[data-theme="light"] .theme-icon-light { display: block; color: #000; }
[data-theme="light"] .theme-switcher-thumb { transform: translateX(24px); background: #f59e0b; }
[data-theme="light"] .theme-switcher-track { background: #e5e7eb; border-color: #d1d5db; }

/* =============================================
   LIGHT THEME OVERRIDES  [data-theme="light"]
   ============================================= */
[data-theme="light"] {
  --black:         #ffffff;
  --black2:        #f9fafb;
  --black3:        #f3f4f6;
  --black4:        #e5e7eb;
  --black5:        #e9ecef;
  --dark-card:     #ffffff;
  --dark-border:   #e5e7eb;
  --dark-border2:  #d1d5db;
  --text:          #1f2937;
  --text-white:    #111827;
  --text-light:    #374151;
  --text-muted:    #6b7280;
  --text-dim:      #9ca3af;
  --dark:          #ffffff;
  --dark2:         #f9fafb;
  /* Keep gold accent + whatsapp unchanged */
}

/* ── Body & base ── */
[data-theme="light"] body {
  background: #ffffff;
  color: #1f2937;
}

/* ── Top bar ── */
[data-theme="light"] .top-bar {
  background: #1f2937;
  border-bottom-color: #374151;
}

/* ── Navbar ── */
[data-theme="light"] #mainNav {
  background: rgba(255,255,255,0.97);
  border-bottom-color: #e5e7eb;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] #mainNav.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
[data-theme="light"] .brand-name  { color: #111827; }
[data-theme="light"] .nav-link    { color: #374151 !important; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--gold) !important;
  background: rgba(245,158,11,0.07);
}
[data-theme="light"] .navbar-toggler { border-color: #d1d5db; }
[data-theme="light"] .navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(0);
}

/* ── Hero ── */
[data-theme="light"] .hero-section {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #334155 100%);
}
[data-theme="light"] .hero-bg-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(245,158,11,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 5% 90%,  rgba(245,158,11,0.06) 0%, transparent 60%);
}
/* Light theme hero keeps white text — it's a dark hero in a light-themed page */
[data-theme="light"] .hero-title    { color: #ffffff; }
[data-theme="light"] .hero-accent   {
  background: linear-gradient(90deg, var(--gold), #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .hero-subtitle { color: rgba(255,255,255,0.75); }
[data-theme="light"] .hero-badge-pill {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.4);
  color: var(--gold);
}
[data-theme="light"] .hero-perk-chip {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
[data-theme="light"] .hero-perk-chip .bi { color: var(--gold); }
[data-theme="light"] .hero-stat strong { color: var(--gold); }
[data-theme="light"] .hero-stat span   { color: rgba(255,255,255,0.5); }
[data-theme="light"] .hero-stat-divider { background: rgba(255,255,255,0.15); }
[data-theme="light"] .hero-stats-row   { border-top-color: rgba(255,255,255,0.1); }
[data-theme="light"] .hero-showcase-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 60px rgba(245,158,11,0.1);
  backdrop-filter: blur(16px);
}
[data-theme="light"] .showcase-name    { color: #ffffff; }
[data-theme="light"] .showcase-brand   { color: var(--gold); }
[data-theme="light"] .showcase-deposit { color: rgba(255,255,255,0.5); }
[data-theme="light"] .showcase-deposit strong { color: rgba(255,255,255,0.85); }
[data-theme="light"] .showcase-monthly { color: var(--gold); }
[data-theme="light"] .showcase-price-row { border-top-color: rgba(255,255,255,0.12); }
[data-theme="light"] .hero-showcase-placeholder {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.2);
}
[data-theme="light"] .deco-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .deco-icon { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }
[data-theme="light"] .hero-showroom-bar {
  background: rgba(0,0,0,0.25);
  border-top-color: rgba(255,255,255,0.08);
}
/* Ensure hero buttons keep full opacity on light theme */
[data-theme="light"] .btn-hero-primary  { background: var(--gold); color: #000 !important; border-color: var(--gold); }
[data-theme="light"] .btn-hero-whatsapp { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.3); }
[data-theme="light"] .btn-hero-whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); }

/* ── Brand ticker ── */
[data-theme="light"] .brand-ticker-wrap {
  background: #f3f4f6;
  border-bottom-color: #e5e7eb;
}
[data-theme="light"] .ticker-item {
  color: #9ca3af;
  border-right-color: #e5e7eb;
}
/* ── Featured phones section ── */
[data-theme="light"] .section-featured {
  background: #ffffff;
  border-top-color: #f3f4f6;
}
[data-theme="light"] .dark-phone-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .dark-phone-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(245,158,11,0.15);
}
[data-theme="light"] .dark-phone-img-wrap { background: #f9fafb; }
[data-theme="light"] .dark-phone-img-fallback {
  background: #f3f4f6;
  color: #d1d5db;
}
[data-theme="light"] .dark-phone-name  { color: #111827; }
[data-theme="light"] .dark-pricing-box { background: #f9fafb; }
[data-theme="light"] .dp-label { color: #9ca3af; }
[data-theme="light"] .dp-value { color: #374151; }
[data-theme="light"] .dp-divider { background: #e5e7eb; }
[data-theme="light"] .btn-dark-outline {
  border-color: #e5e7eb;
  color: #6b7280 !important;
}
[data-theme="light"] .btn-dark-outline:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* ── How it works ── */
[data-theme="light"] .section-how-dark {
  background: #f9fafb;
  border-top-color: #e5e7eb;
  border-bottom-color: #e5e7eb;
}
[data-theme="light"] .how-step {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .how-step:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
[data-theme="light"] .how-step-featured {
  border-color: rgba(245,158,11,0.4);
  background: #fffbeb;
}
[data-theme="light"] .how-step-icon {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
}
[data-theme="light"] .how-step-title { color: #111827; }
[data-theme="light"] .how-step-desc  { color: #6b7280; }
[data-theme="light"] .how-connector  { color: #d1d5db; }

/* ── Why choose us ── */
[data-theme="light"] .section-why-dark { background: #ffffff; }
[data-theme="light"] .why-dark-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .why-dark-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
[data-theme="light"] .why-dark-card-gold { background: #fffbeb; border-color: rgba(245,158,11,0.3); }
[data-theme="light"] .why-dark-icon {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
}
[data-theme="light"] .why-dark-title { color: #111827; }
[data-theme="light"] .why-dark-desc  { color: #6b7280; }

/* ── Testimonials ── */
[data-theme="light"] .section-testimonials-dark {
  background: #f9fafb;
  border-top-color: #e5e7eb;
  border-bottom-color: #e5e7eb;
}
[data-theme="light"] .dark-testimonial-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .dark-testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
[data-theme="light"] .dark-testimonial-text { color: #4b5563; }
[data-theme="light"] .dark-author-name { color: #111827; }
[data-theme="light"] .dark-author-meta { color: #9ca3af; }

/* ── Blog ── */
[data-theme="light"] .section-blog-dark {
  background: #ffffff;
  border-top-color: #f3f4f6;
}
[data-theme="light"] .dark-blog-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .dark-blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); border-color: rgba(245,158,11,0.4); }
[data-theme="light"] .dark-blog-img-placeholder {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #d1d5db;
}
[data-theme="light"] .dark-blog-title { color: #111827; }
[data-theme="light"] .dark-blog-date  { color: #9ca3af; }

/* ── CTA ── */
[data-theme="light"] .section-cta-dark {
  background: #f9fafb;
  border-top-color: #e5e7eb;
}
[data-theme="light"] .dark-cta-box {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .dark-cta-title { color: #111827; }
[data-theme="light"] .dark-cta-sub   { color: #6b7280; }

/* ── Section labels ── */
[data-theme="light"] .section-title-dark { color: #111827; }
[data-theme="light"] .section-sub-dark   { color: #6b7280; }
[data-theme="light"] .btn-view-all { border-color: #d1d5db; color: #6b7280 !important; }
[data-theme="light"] .btn-view-all:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ── Phone listing page ── */
[data-theme="light"] .phone-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .phone-card:hover {
  box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(245,158,11,0.15);
}
[data-theme="light"] .phone-img-wrap { background: #f9fafb; }
[data-theme="light"] .phone-card-name { color: #111827; }
[data-theme="light"] .phone-pricing   { background: #f9fafb; }
[data-theme="light"] .price-label     { color: #9ca3af; }
[data-theme="light"] .price-value     { color: #374151; }
[data-theme="light"] .price-divider   { background: #e5e7eb; }
[data-theme="light"] .btn-outline-details {
  border-color: #e5e7eb; color: #6b7280 !important;
}
[data-theme="light"] .btn-outline-details:hover {
  border-color: var(--gold); color: var(--gold) !important;
}

/* ── Filter sidebar ── */
[data-theme="light"] .filter-card { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .filter-heading { color: #111827; }
[data-theme="light"] .filter-label   { color: #374151; }
[data-theme="light"] .brand-list .form-check-label { color: #374151; }

/* ── Phone detail ── */
[data-theme="light"] .phone-detail-img-wrap { background: #f9fafb; border-color: #e5e7eb; }
[data-theme="light"] .phone-detail-name     { color: #111827; }
[data-theme="light"] .phone-detail-price-box { background: #f9fafb; border-color: #e5e7eb; }
[data-theme="light"] .price-box-item  { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .price-box-item.featured { background: #fffbeb; border-color: rgba(245,158,11,0.3); }
[data-theme="light"] .pbi-label { color: #9ca3af; }
[data-theme="light"] .pbi-value { color: #111827; }
[data-theme="light"] .phone-detail-desc { color: #6b7280; }
[data-theme="light"] .phone-specs { background: #f9fafb; }
[data-theme="light"] .specs-heading { color: #111827; }
[data-theme="light"] .spec-item { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .spec-key  { color: #9ca3af; }
[data-theme="light"] .spec-val  { color: #111827; }

/* ── Forms ── */
[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
  background: #ffffff;
  border-color: #d1d5db;
  color: #111827;
}
[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
  background: #ffffff;
  color: #111827;
}
[data-theme="light"] .form-control::placeholder { color: #9ca3af; }
[data-theme="light"] .form-label { color: #374151; }
[data-theme="light"] .input-group-text {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #9ca3af;
}
[data-theme="light"] .apply-form-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
[data-theme="light"] .apply-form-title { color: #111827; }
[data-theme="light"] .apply-info-card  { background: #f9fafb; border-color: #e5e7eb; }
[data-theme="light"] .apply-info-title { color: #111827; }
[data-theme="light"] .apply-checklist li,
[data-theme="light"] .apply-steps li   { color: #4b5563; }
[data-theme="light"] .plan-btn {
  border-color: #d1d5db !important;
  color: #374151 !important;
  background: #f9fafb !important;
}
[data-theme="light"] .btn-check:checked + .plan-btn {
  border-color: var(--gold) !important;
  background: #fffbeb !important;
  color: #92400e !important;
}

/* ── Page header ── */
[data-theme="light"] .page-header {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

/* ── Step cards (non-home) ── */
[data-theme="light"] .section-how   { background: #f9fafb; }
[data-theme="light"] .step-card     { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .step-card-center { border-color: rgba(245,158,11,0.4); }
[data-theme="light"] .step-title    { color: #111827; }
[data-theme="light"] .step-desc     { color: #6b7280; }
[data-theme="light"] .step-number   { border-color: #f9fafb; }
[data-theme="light"] .step-icon-wrap { background: #f3f4f6; color: #9ca3af; }

/* ── Why cards (non-home) ── */
[data-theme="light"] .section-why   { background: #fff; }
[data-theme="light"] .why-card      { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .why-card-featured { background: #fffbeb; border-color: rgba(245,158,11,0.3); }
[data-theme="light"] .why-icon      { background: #f3f4f6; color: #9ca3af; }
[data-theme="light"] .why-title     { color: #111827; }
[data-theme="light"] .why-desc      { color: #6b7280; }

/* ── Testimonial cards (non-home) ── */
[data-theme="light"] .section-testimonials { background: #f9fafb; }
[data-theme="light"] .testimonial-card { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .testimonial-text { color: #4b5563; }
[data-theme="light"] .author-name   { color: #111827; }
[data-theme="light"] .author-meta   { color: #9ca3af; }

/* ── CTA box (non-home) ── */
[data-theme="light"] .section-cta  { background: #fff; }
[data-theme="light"] .cta-box      { background: #1f2937; border-color: #374151; }

/* ── Success page ── */
[data-theme="light"] .success-card { background: #fff; border-color: #e5e7eb; }
[data-theme="light"] .success-steps { background: #f9fafb; }
[data-theme="light"] .success-step { border-bottom-color: #e5e7eb; }
[data-theme="light"] .ss-text { color: #4b5563; }

/* ── About page ── */
[data-theme="light"] .stat-pill { background: #fffbeb; border-color: rgba(245,158,11,0.2); }
[data-theme="light"] .about-img-wrap { background: #f3f4f6; }
[data-theme="light"] .about-img-placeholder { color: #d1d5db; }

/* ── Contact page ── */
[data-theme="light"] .ci-icon         { background: #fffbeb; }
[data-theme="light"] .ci-content strong { color: #111827; }
[data-theme="light"] .ci-content a,
[data-theme="light"] .ci-content span  { color: #6b7280; }

/* ── Footer ── */
[data-theme="light"] .footer { background: #1f2937; border-top-color: #374151; }
[data-theme="light"] .footer-desc    { color: #9ca3af; }
[data-theme="light"] .footer-heading { color: #6b7280; }
[data-theme="light"] .footer-links a { color: #6b7280; }
[data-theme="light"] .footer-links a:hover { color: var(--gold); }
[data-theme="light"] .footer-contact li  { color: #6b7280; }
[data-theme="light"] .footer-contact a   { color: #6b7280; }
[data-theme="light"] .footer-contact a:hover { color: var(--gold); }
[data-theme="light"] .social-links a    { background: rgba(255,255,255,0.06); border-color: #374151; color: #6b7280; }
[data-theme="light"] .social-links a:hover { background: var(--gold); color: #000; border-color: var(--gold); }
[data-theme="light"] .footer-divider   { border-color: #374151; }
[data-theme="light"] .footer-copy,
[data-theme="light"] .footer-badge     { color: #6b7280; }

/* ── Pagination ── */
[data-theme="light"] .pagination-custom .page-link {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}
[data-theme="light"] .pagination-custom .page-link:hover {
  background: #fffbeb;
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Smooth transition on theme change ── */
body,
#mainNav, .top-bar,
.dark-phone-card, .dark-testimonial-card, .dark-blog-card,
.how-step, .why-dark-card, .dark-cta-box, .section-featured,
.section-how-dark, .section-why-dark, .section-testimonials-dark,
.section-blog-dark, .section-cta-dark, .brand-ticker-wrap,
.hero-section, .hero-showcase-card, .phone-card,
.filter-card, .apply-form-card, .form-control, .form-select {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
