/* ============================================================
   KING DIGITAL STORE — Premium UI Redesign
   Design System: Dark Glassmorphism + Indigo-Cyan Accent
   CRO-Optimized + Psychological Triggers Built-In
   ============================================================ */

/* Google Fonts — Sora (headings/numbers) + Inter (body) */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Base Colors */
  --bg: #060a12;
  --bg1: #0a1020;
  --bg2: #0f1629;
  --surface: rgba(15, 25, 50, 0.70);
  --surface2: rgba(20, 35, 70, 0.55);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-hover: rgba(255, 255, 255, 0.07);

  /* Accent Palette — Indigo → Cyan (Digital Products) */
  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --cyan: #22d3ee;
  --green: #22c55e;
  --green-dark: #16a34a;
  --amber: #f59e0b;
  --rose: #f43f5e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --grad-wa: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --grad-card: linear-gradient(160deg, rgba(20, 32, 65, 0.90), rgba(10, 18, 40, 0.95));
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.22), transparent);

  /* Text */
  --text: #e2e8f8;
  --text-muted: #8892a4;
  --text-subtle: #5a6478;

  /* Borders & Shadows */
  --line: rgba(99, 102, 241, 0.18);
  --line-subtle: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.70);
  --glow-indigo: 0 0 40px rgba(99, 102, 241, 0.20);
  --glow-green: 0 0 30px rgba(34, 197, 94, 0.25);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Transitions */
  --t-fast: 0.14s ease;
  --t-med: 0.22s ease;
  --t-slow: 0.35s ease;
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image: var(--grad-hero);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 0 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}


/* ══════════════════════════════════════
   TOPBAR
══════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line-subtle);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 11.5px;
  padding: 5px 10px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-full);
  color: var(--text-muted);
  background: transparent;
  transition: all var(--t-fast);
}

.chip:hover {
  background: var(--glass);
  color: var(--text);
  border-color: var(--indigo);
}

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

.link.subtle {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.link.subtle:hover {
  color: var(--text);
}


/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
.header {
  position: sticky;
  top: 42px;
  z-index: 50;
  background: rgba(6, 10, 18, 0.80);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 1px solid rgba(99, 102, 241, 0.30);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.20);
}

.brand__name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.2px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brand__tag {
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 1px;
}

/* Nav */
.nav {
  display: flex;
  gap: 22px;
}

.nav__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Currency select */
.select {
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  outline: none;
  cursor: pointer;
  transition: border-color var(--t-fast);
}

.select:focus {
  border-color: rgba(99, 102, 241, 0.50);
}

.select option {
  background: #0f1629;
  color: var(--cyan);
  font-weight: 700;
}

/* Cart badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--r-full);
  background: var(--indigo);
  color: #fff;
}

/* Mobile nav buttons */
.navbtn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--line-subtle);
  color: var(--text);
  border-radius: var(--r-md);
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 18px;
}

.hamburger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--text-muted);
}

.mobileNav {
  display: none;
  border-top: 1px solid var(--line-subtle);
  padding: 14px 0 18px;
  text-align: center;
  background: rgba(6, 10, 18, 0.95);
}

.mobileNav a {
  display: block;
  padding: 13px 0;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 15px;
  transition: color var(--t-fast);
}

.mobileNav a:hover {
  color: var(--text);
}


/* ══════════════════════════════════════
   BUTTONS (CRO-Optimized)
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-subtle);
  background: var(--glass);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--glass-hover);
  border-color: var(--line);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — Indigo/Cyan gradient (main action) */
.btn--primary {
  border: none;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.35);
  font-weight: 800;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 38px rgba(99, 102, 241, 0.45);
  filter: brightness(1.06);
}

/* WhatsApp Order — Green (high-CRO, psychological: action color) */
.btn--wa-order {
  border: none;
  background: var(--grad-wa);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.35);
}

.btn--wa-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 38px rgba(34, 197, 94, 0.45);
  filter: brightness(1.06);
}

/* ─── Universal WhatsApp Green Rule ────────────────────────
   ANY element with data-wa attribute = green, always.
   This covers btn--primary, btn--ghost, social__btn, etc.
   Specificity is higher than individual btn classes.
──────────────────────────────────────────────────────────── */
.btn[data-wa],
a[data-wa].btn,
a[data-wa].btn--primary,
a[data-wa].btn--ghost,
a[data-wa].btn--sm,
a[data-wa].social__btn,
a[data-wa].iconBtn {
  border: none !important;
  background: var(--grad-wa) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.35) !important;
}

.btn[data-wa]:hover,
a[data-wa].btn:hover,
a[data-wa].btn--primary:hover,
a[data-wa].btn--ghost:hover,
a[data-wa].btn--sm:hover,
a[data-wa].social__btn:hover,
a[data-wa].iconBtn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 38px rgba(34, 197, 94, 0.50) !important;
  filter: brightness(1.06) !important;
}

/* Ghost */
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-subtle);
}

.btn--ghost:hover {
  background: var(--glass);
  border-color: var(--line);
}

/* Small */
.btn--sm {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: var(--r-sm);
}

/* Cart icon btn */
.iconBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-subtle);
  background: var(--glass);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
}

.iconBtn:hover {
  background: var(--glass-hover);
  border-color: var(--line);
}

.iconBtn .badge {
  margin-left: 4px;
}

.iconBtn--sq {
  width: 42px;
  padding: 0;
}

.viewToggle {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.viewToggle .iconBtn {
  user-select: none;
}

.viewToggle .iconBtn.is-active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: var(--indigo);
}


/* ══════════════════════════════════════
   HERO SECTION (CRO: Above-fold impact)
══════════════════════════════════════ */
.main {
  padding: 24px 0 80px;
}

.hero {
  padding: 36px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: stretch;
}

/* Hero Card — glassmorphism */
.heroCard {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.20);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), var(--glow-indigo);
  padding: 30px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.heroCard::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 0% 0%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(34, 211, 238, 0.08), transparent 60%);
}

.heroTitle {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 14px;
  background: linear-gradient(135deg, #fff 40%, rgba(99, 102, 241, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.heroText {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 56ch;
}

.heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Trust badges on hero (psychological: authority) */
.heroBadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.heroBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(99, 102, 241, 0.08);
  color: rgba(226, 232, 248, 0.90);
  font-weight: 700;
  font-size: 12.5px;
}

/* Stat box */
.statBox {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stat {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-med);
}

.stat:hover {
  border-color: rgba(99, 102, 241, 0.30);
}

.stat__k {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat__v {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 5px;
  line-height: 1.5;
}


/* ══════════════════════════════════════
   SECTION LAYOUT
══════════════════════════════════════ */
.section {
  margin-top: 36px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 16px;
}

.section__title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 60%, rgba(99, 102, 241, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section__sub {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 5px 0 0;
  max-width: 60ch;
}


/* ══════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ══════════════════════════════════════
   PRODUCT CARD (Heart of CRO)
══════════════════════════════════════ */
.card {
  background: var(--grad-card);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  backdrop-filter: blur(8px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.30);
  border-color: rgba(99, 102, 241, 0.40);
}

/* Image zone */
.cardTop {
  position: relative;
  background: #fff;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.cardTop img {
  width: auto;
  height: auto;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform var(--t-slow);
  position: relative;
  z-index: 1;
}

.card:hover .cardTop img {
  transform: scale(1.04);
}

/* Category pill */
.pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}

.pill--dark {
  background: var(--indigo-dark);
}

/* Rating */
.rating {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 700;
  color: #78350f;
  background: rgba(251, 191, 36, 0.95);
}

/* Overlay "View Details" on hover */
.overlayBtn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%);
  background: rgba(6, 10, 20, 0.88);
  color: #fff;
  border: 1.5px solid rgba(99, 102, 241, 0.55);
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.60);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  /* sits above the img (z-index:1) */
  transition: opacity var(--t-med), transform var(--t-med);
  white-space: nowrap;
  text-decoration: none;
}

/* Dark scrim behind the button so it reads clearly on any image */
.cardTop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2;
  /* above img, below overlayBtn */
  transition: background var(--t-med);
  pointer-events: none;
}

.cardTop:hover::after {
  background: rgba(0, 0, 0, 0.38);
}

.cardTop:hover .overlayBtn,
.cardTop:focus-within .overlayBtn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Verified badge */
.verified {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(34, 197, 94, 0.95);
  color: #052e16;
  border-radius: var(--r-full);
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  gap: 5px;
  align-items: center;
  box-shadow: var(--glow-green);
}

/* Card body */
.cardBody {
  padding: 16px;
}

.cardTitle {
  font-family: 'Sora', sans-serif;
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text);
  line-height: 1.3;
}

.cardDesc {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 14px;
  min-height: 32px;
  line-height: 1.55;
}

/* Plan box — price/duration area */
.planBox {
  background: rgba(6, 12, 28, 0.70);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: var(--r-md);
  padding: 12px 14px;
  backdrop-filter: blur(4px);
}

.planRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.planLabel {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12.5px;
}

.popBadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--r-full);
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: rgba(226, 232, 248, 0.92);
  font-size: 11.5px;
  font-weight: 700;
}

/* Price display (psychological: anchoring) */
.price {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-top: 10px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

.durationTag {
  font-size: 11.5px;
  color: var(--text-subtle);
  margin-left: 4px;
}

.priceRow {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.per {
  color: var(--text-subtle);
  font-size: 11.5px;
  margin-left: 6px;
}

.secRow {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: var(--text-subtle);
  font-size: 12px;
}

.secRow .k {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Feature list */
.miniBtn {
  width: 100%;
  margin-top: 10px;
  background: var(--glass);
  border: 1px solid var(--line-subtle);
  color: var(--text-muted);
  border-radius: var(--r-md);
  padding: 11px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.miniBtn:hover {
  background: var(--glass-hover);
  color: var(--text);
}

.features {
  list-style: none;
  padding: 0;
  margin: 13px 0 0;
  display: grid;
  gap: 8px;
}

.features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.features .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green);
  flex: 0 0 20px;
  margin-top: 2px;
  font-size: 11px;
}

/* Card action buttons */
.cardActions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.cardActions .btn {
  width: 100%;
}


/* ══════════════════════════════════════
   SHOP FILTERS BAR
══════════════════════════════════════ */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.input {
  flex: 1 1 240px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-md);
  padding: 11px 14px;
  color: var(--text);
  outline: none;
  font-size: 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.input::placeholder {
  color: var(--text-subtle);
}

.input:focus {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.10);
}

textarea.input {
  min-height: 90px;
  resize: vertical;
}


/* ══════════════════════════════════════
   HOME FILTER / SEARCH
══════════════════════════════════════ */
.homeFilter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.homeFilter__label {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.homeSearch {
  flex: 1;
  min-width: 220px;
}

.homeSearch .input {
  width: 100%;
}


/* ══════════════════════════════════════
   FEATURE CARDS (Why Choose Us)
══════════════════════════════════════ */
.featureGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.featureCard {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: var(--r-lg);
  padding: 18px;
  backdrop-filter: blur(8px);
  transition: transform var(--t-med), border-color var(--t-med);
  position: relative;
  overflow: hidden;
}

.featureCard::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.10), transparent 70%);
}

.featureCard:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.28);
}

.featureTitle {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 7px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.featureText {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}


/* ══════════════════════════════════════
   METRIC GRID (Social Proof Numbers)
   Psychology: Authority + Social Proof
══════════════════════════════════════ */
.metricGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.metric {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: var(--r-lg);
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.metric__n {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

.metric__l {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 6px;
}


/* ══════════════════════════════════════
   TOOL FINDER
══════════════════════════════════════ */
.finder {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.finder .select {
  flex: 1;
  min-width: 200px;
}


/* ══════════════════════════════════════
   PAGE WRAPPER (product detail, static)
══════════════════════════════════════ */
.page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.page h1 {
  font-family: 'Sora', sans-serif;
  margin-top: 0;
}

.page p,
.page li {
  color: var(--text-muted);
  line-height: 1.65;
}

.page a {
  color: var(--cyan);
}

/* Two-column layout (product detail) */
.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


/* ══════════════════════════════════════
   PRODUCT DETAIL PAGE
══════════════════════════════════════ */
.toolFAQ {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  padding: 16px;
  backdrop-filter: blur(6px);
}

.toolFAQ__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.toolFAQ__title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--text);
}

.toolFAQ__meta {
  color: var(--text-muted);
  font-size: 13px;
}

/* Duration selector */
.durGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.durOpt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-subtle);
  background: var(--glass);
  cursor: pointer;
  transition: all var(--t-fast);
}

.durOpt:hover {
  background: var(--glass-hover);
  border-color: var(--line);
}

.durOpt input {
  margin-top: 3px;
  accent-color: var(--indigo);
}

.durOpt:has(input:checked) {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.10);
}

.durOpt__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.durOpt__label {
  font-weight: 800;
  font-size: 14px;
}

.durOpt__price {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--cyan);
}

/* FAQ accordion */
details {
  margin-top: 10px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  user-select: none;
}

summary:hover {
  color: var(--cyan);
}

details p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}


/* ══════════════════════════════════════
   MISC ELEMENTS
══════════════════════════════════════ */
.kicker {
  color: var(--text-subtle);
  font-size: 13px;
  margin: 0 0 6px;
}

.hr {
  height: 1px;
  background: var(--line-subtle);
  margin: 16px 0;
}

.blogIndex {
  display: grid;
  gap: 14px;
}

.cleanList {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.cleanList li {
  margin: 8px 0;
}

/* Pill subtle */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: rgba(226, 232, 248, 0.85);
  font-size: 13px;
  border-radius: 10px;
  padding: 8px 12px;
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line-subtle);
  background: rgba(6, 10, 18, 0.80);
  backdrop-filter: blur(10px);
  padding: 36px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer__brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer__logo {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  border: 1px solid rgba(99, 102, 241, 0.25);
  object-fit: cover;
}

.footer__name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
}

.footer__text {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.5;
}

.footer__head {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text);
}

.footer__link {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 0;
  transition: color var(--t-fast);
}

.footer__link:hover {
  color: var(--text);
}

.footer__fine {
  margin-top: 12px;
  color: var(--text-subtle);
  font-size: 12px;
}

.social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.social__btn {
  padding: 8px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-subtle);
  background: var(--glass);
  font-size: 12.5px;
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.social__btn:hover {
  background: var(--glass-hover);
  color: var(--text);
  border-color: var(--line);
}


/* ══════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   Psychology: Always-available, reduce friction
══════════════════════════════════════ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.40);
  color: #fff;
  font-size: 24px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.55);
  animation: none;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.40);
  }

  50% {
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.40), 0 0 0 8px rgba(34, 197, 94, 0.12);
  }
}


/* ══════════════════════════════════════
   SHOP LIST VIEW MODE — fixed mobile logo bug
══════════════════════════════════════ */
#shopGrid.view-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#shopGrid.view-list .card {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: start;
  min-height: 130px;
}

#shopGrid.view-list .cardTop {
  width: 130px;
  height: 130px;
  min-height: unset;
  max-height: 130px;
  flex-shrink: 0;
}

#shopGrid.view-list .cardTop img {
  max-height: 110px;
}

/* Hide badges that overlap the small list-view image */
#shopGrid.view-list .cardTop .pill,
#shopGrid.view-list .cardTop .rating,
#shopGrid.view-list .cardTop .verified {
  display: none;
}

#shopGrid.view-list .cardBody {
  padding: 14px;
}

#shopGrid.view-list .cardDesc {
  min-height: auto;
  margin-bottom: 10px;
}

#shopGrid.view-list .features {
  display: none;
}

#shopGrid.view-list .cardActions {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 520px) {
  #shopGrid.view-list .card {
    grid-template-columns: 90px 1fr;
    min-height: 110px;
  }

  #shopGrid.view-list .cardTop {
    width: 90px;
    height: 110px;
    max-height: 110px;
  }

  #shopGrid.view-list .cardTop img {
    max-height: 90px;
  }

  #shopGrid.view-list .cardBody {
    padding: 10px;
  }

  #shopGrid.view-list .cardTitle {
    font-size: 14px;
  }

  #shopGrid.view-list .cardActions {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* ══════════════════════════════════════
   HEADER RESPONSIVE
══════════════════════════════════════ */
.headerMobile {
  display: none;
}

.headerDesktop {
  display: flex;
}

@media (max-width: 720px) {
  .topbar__inner {
    padding: 8px 0;
  }

  .chips {
    display: none;
  }

  .topbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .headerDesktop {
    display: none;
  }

  .headerMobile {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
  }

  .headerMobile .navbtn {
    display: inline-flex;
  }

  .brand--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .brand--mobile .brand__logo {
    width: 36px;
    height: 36px;
  }

  .brand--mobile .brand__name {
    font-size: 15px;
  }

  .headerMobile__row2 {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
  }

  .headerMobile__row2 .select {
    min-width: 88px;
  }

  .headerMobile__row2 .btn {
    width: auto;
    padding: 9px 14px;
  }

  .header {
    position: static;
  }

  .topbar {
    position: static;
  }

  .navbtn {
    display: inline-flex;
  }
}


/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════ */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

@media (max-width: 720px) {
  .nav {
    display: none;
  }

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

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

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

  .finder .select {
    min-width: 100%;
  }

  .header__inner {
    gap: 8px;
  }

  .brand__tag {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
  }

  .social {
    justify-content: center;
  }

  .heroCard {
    padding: 22px;
  }

  .heroTitle {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .durGrid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .viewToggle {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}


/* ══════════════════════════════════════
   SCROLLBAR (custom — premium feel)
══════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.35);
  border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.55);
}


/* ══════════════════════════════════════
   PSYCHOLOGICAL TRIGGER CLASSES
   (CRO-specific helpers)
══════════════════════════════════════ */

/* Urgency badge — loss aversion */
.badge-urgency {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.30);
  color: #fda4af;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-full);
}

/* Social proof count — social proof */
.badge-social {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: #86efac;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-full);
}

/* Savings tag — anchoring */
.badge-save {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fcd34d;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-full);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}