/* ==========================================================================
   Harf & Nuqta (harfnuqta.store) - Professional 2-Color Clean White Theme
   A Modern Digital Bookstore for PDF eBooks
   ========================================================================== */

:root {
  /* Strict 2-Color Architecture */
  /* 1. Neutrals / Base */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --border-focus: #cbd5e1;

  --text-dark: #0f172a;       /* Deep slate primary headings */
  --text-body: #334155;       /* Crisp slate body */
  --text-muted: #64748b;      /* Elegant muted text */
  --text-light: #94a3b8;

  /* 2. Primary Accent (Refined Deep Royal Indigo) */
  --primary: #1e3a8a;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;

  --whatsapp-clean: #15803d;
  --whatsapp-hover: #166534;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Amiri', serif;

  /* UI Tokens */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.1);
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  direction: ltr;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.lang-ur {
  direction: rtl;
  font-family: var(--font-urdu);
  line-height: 2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.max-w-700 { max-width: 700px; }
.max-w-500 { max-width: 500px; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  line-height: 1.4;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-whatsapp-clean {
  background: var(--whatsapp-clean);
  color: #ffffff;
}

.btn-whatsapp-clean:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   TOP UTILITY BAR - Sleek Obsidian & Gold
   ========================================================================== */
.top-bar {
  background: #050811;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-announcement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #e2e8f0;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-wa-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
  font-weight: 500;
  transition: var(--transition);
}

.top-wa-link:hover {
  color: #86efac;
}

.support-email {
  color: #94a3b8;
  font-size: 0.8rem;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-pill {
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-pill:hover {
  color: #ffffff;
}

.lang-pill.active {
  background: linear-gradient(135deg, #d4af7a 0%, #b8860b 100%);
  color: #070b16;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 122, 0.3);
}

/* ==========================================================================
   MAIN NAVIGATION HEADER - Frosted Obsidian Glass
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f3dfb6 0%, #d4af7a 45%, #996515 100%);
  color: #070b16;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 16px rgba(212, 175, 122, 0.35);
}

.brand-naming {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d4af7a;
}

/* Header Search */
.header-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

body.lang-ur .search-icon {
  left: auto;
  right: 14px;
}

.header-search input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: var(--transition);
}

body.lang-ur .header-search input {
  padding: 9px 38px 9px 14px;
}

.header-search input::placeholder {
  color: #64748b;
}

.header-search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af7a;
  box-shadow: 0 0 0 3px rgba(212, 175, 122, 0.2);
}

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

.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: #94a3b8;
  position: relative;
  transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
  color: #f5eedb;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d4af7a;
  border-radius: 2px;
}

.header-action .btn {
  background: linear-gradient(135deg, #d4af7a 0%, #b8860b 100%);
  color: #070b16 !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(212, 175, 122, 0.3);
}

.header-action .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 122, 0.45);
  background: linear-gradient(135deg, #e3c498 0%, #c4995f 100%);
}

/* ==========================================================================
   ULTRA-PREMIUM STORE HERO SECTION (Spotlight + 3D Hardcover Showcase)
   ========================================================================== */
.store-hero {
  position: relative;
  padding: 58px 0 68px;
  background:
    radial-gradient(circle at 82% 28%, rgba(212, 175, 122, 0.2) 0%, transparent 42%),
    radial-gradient(circle at 18% 40%, rgba(30, 58, 138, 0.38) 0%, transparent 52%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.1) 0%, transparent 45%),
    #070b16;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 122, 0.45), transparent);
  pointer-events: none;
}

.hero-mesh-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-bg-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 1;
}

.glow-gold {
  top: 5%;
  right: 8%;
  width: 550px;
  height: 550px;
  background: rgba(212, 175, 122, 0.18);
}

.glow-blue {
  bottom: 15%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: rgba(30, 58, 138, 0.35);
}

.glow-emerald {
  bottom: 5%;
  left: 30%;
  width: 420px;
  height: 420px;
  background: rgba(16, 185, 129, 0.12);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 52px;
  align-items: center;
}

body.lang-ur .hero-container {
  direction: rtl;
}

/* Left: Copy Column */
.hero-copy-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.lang-ur .hero-copy-column {
  align-items: flex-start;
  text-align: right;
}

/* Eyebrow Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f5eedb;
  background: rgba(212, 175, 122, 0.08);
  border: 1px solid rgba(212, 175, 122, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.lang-ur .hero-badge {
  letter-spacing: 0;
  font-family: var(--font-urdu);
}

.hero-badge-tag {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.badge-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Headline Area */
.hero-headline-wrap {
  margin-bottom: 14px;
}

.hero-kicker {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d4af7a;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.lang-ur .hero-kicker {
  letter-spacing: 0;
  font-family: var(--font-urdu);
  font-size: 1rem;
}

.store-hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

body.lang-ur .store-hero-headline {
  font-family: var(--font-urdu);
  font-size: 2.6rem;
  line-height: 1.6;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #fde68a 30%, #d4af7a 70%, #fef3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-headline-urdu {
  font-family: var(--font-urdu);
  font-size: 2.3rem;
  color: #fde68a;
  margin-left: 10px;
  font-weight: 700;
}

body.lang-ur .hero-headline-urdu {
  margin-left: 0;
  margin-right: 10px;
  font-size: 1.8rem;
  color: #cbd5e1;
}

.hero-tagline-sub {
  font-size: 1.16rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.2px;
}

body.lang-ur .hero-tagline-sub {
  font-family: var(--font-urdu);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.store-hero-subtext {
  font-size: 1.02rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 600px;
}

.store-hero-subtext strong {
  color: #f1f5f9;
  font-weight: 600;
}

body.lang-ur .store-hero-subtext {
  font-family: var(--font-urdu);
  font-size: 1.15rem;
  line-height: 2.1;
  color: #cbd5e1;
}

/* Specs Badges Row */
.hero-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.79rem;
  font-weight: 500;
  color: #e2e8f0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.lang-ur .spec-pill {
  font-family: var(--font-urdu);
  font-size: 0.88rem;
}

.spec-pill-icon {
  font-size: 0.9rem;
}

/* Pricing Card (Inline Launch Offer) */
.hero-pricing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(135deg, rgba(212, 175, 122, 0.14) 0%, rgba(30, 58, 138, 0.18) 100%);
  border: 1px solid rgba(212, 175, 122, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pricing-card-left {
  display: flex;
  flex-direction: column;
}

.pricing-card-label {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 3px;
}

body.lang-ur .pricing-card-label {
  font-family: var(--font-urdu);
  font-size: 0.88rem;
}

.pricing-card-figures {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-price-current {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.45);
}

.hero-price-original {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.hero-discount-pill {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.instant-delivery-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 6px 12px;
  border-radius: 20px;
}

body.lang-ur .instant-delivery-tag {
  font-family: var(--font-urdu);
}

/* Action Buttons Row */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn-hero-whatsapp {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s ease;
}

.btn-hero-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.6);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

body.lang-ur .btn-hero-whatsapp {
  font-family: var(--font-urdu);
  font-size: 1.05rem;
}

.btn-hero-sample {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 122, 0.4);
  color: #f5eedb !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-sample:hover {
  background: rgba(212, 175, 122, 0.2);
  border-color: #d4af7a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 122, 0.25);
}

body.lang-ur .btn-hero-sample {
  font-family: var(--font-urdu);
  font-size: 1rem;
}

.btn-hero-checkout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1 !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.btn-hero-checkout:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

body.lang-ur .btn-hero-checkout {
  font-family: var(--font-urdu);
  font-size: 0.92rem;
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.trust-stars-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars-gold {
  color: #facc15;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.trust-score {
  font-weight: 600;
  color: #f1f5f9;
}

.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
}

.trust-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.trust-check {
  color: #22c55e;
  font-weight: bold;
}

.trust-payment-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-method-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  color: #e2e8f0;
  font-weight: 600;
}

/* Right: Visual 3D Book Showcase */
.hero-visual-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-book-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.stage-spotlight {
  position: absolute;
  width: 380px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 175, 122, 0.24) 0%, rgba(30, 58, 138, 0.22) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.book-3d-scene {
  position: relative;
  perspective: 1400px;
  z-index: 2;
  margin-bottom: 22px;
}

.book-3d-card {
  width: 290px;
  aspect-ratio: 19 / 33;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotateY(-14deg) rotateX(4deg);
  animation: floatBook 6s ease-in-out infinite;
  cursor: pointer;
}

.book-3d-card.is-flipped {
  transform: rotateY(166deg) rotateX(4deg);
  animation: none;
}

@keyframes floatBook {
  0%, 100% { transform: rotateY(-14deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-10deg) rotateX(2deg) translateY(-10px); }
}

.book-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px 16px 16px 8px;
  overflow: hidden;
  box-shadow: -18px 24px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 122, 0.25);
  background: #08090b;
}

.book-face-front {
  z-index: 2;
}

.book-face-back {
  transform: rotateY(180deg);
  border-radius: 16px 8px 8px 16px;
  box-shadow: 18px 24px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 122, 0.25);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-spine-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 100%;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(0, 0, 0, 0.3) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}

.spine-right {
  left: auto;
  right: 0;
  background: linear-gradient(to left,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(0, 0, 0, 0.3) 55%,
    transparent 100%
  );
}

.book-gloss-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 45%);
  pointer-events: none;
  z-index: 4;
}

.book-page-edges {
  position: absolute;
  top: 4px;
  right: -8px;
  width: 8px;
  height: calc(100% - 8px);
  background: repeating-linear-gradient(to bottom, #fdfbf7 0px, #fdfbf7 2px, #e7e0d3 3px, #e7e0d3 4px);
  border-radius: 0 3px 3px 0;
  box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}

.edges-left {
  right: auto;
  left: -8px;
  border-radius: 3px 0 0 3px;
}

.book-ribbon {
  position: absolute;
  bottom: -12px;
  right: 35px;
  width: 14px;
  height: 28px;
  background: linear-gradient(135deg, #d4af7a, #996515);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.book-floor-shadow {
  position: absolute;
  bottom: -28px;
  left: 10%;
  width: 80%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
  animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(0.92); opacity: 0.5; }
}

/* Floating 3D Micro-Badges */
.floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 19, 36, 0.88);
  border: 1px solid rgba(212, 175, 122, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}

.badge-top-right {
  top: 15px;
  right: -20px;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 45px;
  left: -25px;
  animation: floatBadge 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-badge strong {
  font-size: 0.82rem;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.floating-badge span {
  font-size: 0.7rem;
  color: #94a3b8;
}

.floating-badge-fire {
  font-size: 1.25rem;
}

.floating-badge-lightning {
  font-size: 1.25rem;
}

/* Tactile Controls Bar */
.book-controls-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
}

.book-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.book-ctrl-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.book-ctrl-btn.active {
  background: linear-gradient(135deg, #d4af7a, #b8860b);
  color: #070b16;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 122, 0.3);
}

body.lang-ur .book-ctrl-btn {
  font-family: var(--font-urdu);
  font-size: 0.85rem;
}

/* Responsive Perks Row Under Hero */
.hero-perks-container {
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.store-perks-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(13, 19, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.perk-box {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease;
}

.perk-box:hover {
  transform: translateY(-2px);
}

.perk-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 122, 0.16) 0%, rgba(30, 58, 138, 0.16) 100%);
  border: 1px solid rgba(212, 175, 122, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.perk-text {
  display: flex;
  flex-direction: column;
}

.perk-text strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

body.lang-ur .perk-text strong {
  font-family: var(--font-urdu);
  font-size: 1.05rem;
}

.perk-text span {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

body.lang-ur .perk-text span {
  font-family: var(--font-urdu);
  font-size: 0.88rem;
}

/* Quick Category Pills in Catalog Section */
.quick-category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 28px;
}

.cat-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

/* Mobile Responsiveness for Hero */
@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }
  .hero-copy-column {
    align-items: center;
  }
  body.lang-ur .hero-copy-column {
    align-items: center;
    text-align: center;
  }
  .store-hero-headline {
    font-size: 2.3rem;
  }
  body.lang-ur .store-hero-headline {
    font-size: 2.1rem;
  }
  .hero-pricing-card {
    justify-content: center;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .badge-top-right {
    right: 0;
  }
  .badge-bottom-left {
    left: 0;
  }
  .store-perks-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .store-hero {
    padding: 38px 0 32px;
  }
  .store-hero-headline {
    font-size: 1.95rem;
  }
  .hero-headline-urdu {
    display: block;
    margin-left: 0;
    margin-top: 4px;
    font-size: 1.8rem;
  }
  .hero-tagline-sub {
    font-size: 1rem;
  }
  .book-3d-card {
    width: 220px;
    aspect-ratio: 19 / 33;
    height: auto;
  }
  .store-perks-row {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
}

/* MAIN BOOKSTORE CATALOG SECTION */
.section-store-catalog {
  padding: 60px 0;
}

.catalog-heading-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 30px;
}

.catalog-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

.catalog-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.catalog-status {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Books Grid & Clean Cards */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.clean-book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.clean-book-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

.card-cover-pane {
  background: #f1f5f9;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.card-cover-pane img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.clean-book-card:hover .card-cover-pane img {
  transform: scale(1.03);
}

.card-format-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--text-dark);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

body.lang-ur .card-format-tag {
  left: auto;
  right: 12px;
}

.card-content-pane {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-category-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-book-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
}

.card-author-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-book-snippet {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.card-price-display {
  display: flex;
  flex-direction: column;
}

.price-now {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.price-was {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* FEATURED SPOTLIGHT SECTION */
.section-spotlight {
  padding: 60px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.spotlight-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}

.spotlight-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-book-frame {
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.spotlight-cover {
  max-height: 380px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.spotlight-quick-actions {
  display: flex;
  gap: 10px;
}

.spotlight-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.spotlight-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 6px 0;
}

.spotlight-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.spotlight-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.specs-table {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  font-size: 0.92rem;
}

.spec-label {
  width: 140px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.spec-value {
  color: var(--text-dark);
  font-weight: 500;
}

.highlight-tag {
  color: var(--primary);
  font-weight: 700;
}

.spotlight-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.spotlight-price-values {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-big {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.price-strikethrough {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.save-tag {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

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

/* CHECKOUT SECTION */
.section-checkout {
  padding: 60px 0;
}

.checkout-header-center {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.checkout-pill-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 14px;
  margin-bottom: 8px;
}

.checkout-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.checkout-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.checkout-container-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.checkout-summary-box, .checkout-form-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.summary-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.selected-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.prod-details strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
}

.prod-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.prod-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.text-discount { color: #16a34a; font-weight: 600; }
.text-free { color: #16a34a; font-weight: 600; }

.breakdown-row.total-row {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  color: var(--text-dark);
  font-size: 1.15rem;
}

.total-highlight {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.guarantee-box {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
}

/* Form Styles */
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.clean-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--bg-subtle);
  color: var(--text-dark);
  transition: var(--transition);
}

.clean-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.whatsapp-order-promo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
}

.wa-order-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.wa-order-text strong {
  display: block;
  font-size: 0.98rem;
  color: #166534;
  margin-bottom: 4px;
}

.wa-order-text p {
  font-size: 0.88rem;
  color: #15803d;
  line-height: 1.5;
  margin: 0;
}

.whatsapp-number-badge {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.whatsapp-number-badge strong {
  color: #15803d;
  font-family: inherit;
}

.copy-mini-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.divider-text-clean {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 10px 0;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* FAQ SECTION */
.section-faq {
  padding: 60px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.clean-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
}

body.lang-ur .acc-head {
  text-align: right;
}

.acc-arrow {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.accordion-card.active .acc-arrow {
  transform: rotate(45deg);
}

.acc-content {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.accordion-card.active .acc-content {
  display: block;
}

/* FOOTER */
.clean-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-mission {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 12px 0 16px;
  line-height: 1.6;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.footer-links-pane h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-links-pane ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-pane a, .footer-links-pane span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-pane a:hover {
  color: var(--primary);
}

.footer-sub-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sub-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.domain-tag {
  background: var(--bg-subtle);
  color: var(--primary);
  border: 1px solid var(--border-subtle);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* CLEAN MODAL */
.clean-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.clean-modal.active {
  display: flex;
}

.clean-modal-dialog {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlide 0.2s ease-out;
}

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

.clean-modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clean-modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
}

.modal-source {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

.clean-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.clean-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

.clean-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Success Modal */
.success-check-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800;
}

.success-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.success-para {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.success-meta-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

body.lang-ur .success-meta-card {
  text-align: right;
}

.success-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .store-perks-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .spotlight-visual {
    max-width: 320px;
    margin: 0 auto;
  }

  .spotlight-price-values {
    justify-content: center;
  }

  .spotlight-actions {
    justify-content: center;
  }

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

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

@media (max-width: 768px) {
  .header-search {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .store-hero-headline {
    font-size: 1.85rem;
  }

  .store-perks-row {
    grid-template-columns: 1fr;
  }

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

  .clean-payment-options {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    padding: 24px;
  }
}

/* TOP BAR WHATSAPP LINK */
.top-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: #f0fdf4;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  transition: all 0.2s ease;
}

.top-wa-link:hover {
  background: #dcfce7;
  color: #166534;
  transform: translateY(-1px);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

.floating-wa-badge {
  background: #ffffff;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-wa-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa-icon-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.75;
  animation: waPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes waPulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.floating-whatsapp:hover .floating-wa-icon-box {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* RTL Support for Urdu */
body[dir="rtl"] .floating-whatsapp,
body.lang-ur .floating-whatsapp {
  right: auto;
  left: 28px;
  flex-direction: row-reverse;
}

@media (max-width: 640px) {
  .floating-wa-badge {
    display: none;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  body[dir="rtl"] .floating-whatsapp,
  body.lang-ur .floating-whatsapp {
    right: auto;
    left: 20px;
  }
}

/* ==========================================================================
   CONTENT & LEGAL PAGES STYLING (Privacy, Terms, Refund, About, Contact)
   ========================================================================== */
.legal-hero {
  background: radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.25) 0%, rgba(8, 12, 23, 0.98) 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 40px;
  text-align: center;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.legal-breadcrumbs a {
  color: #d4af7a;
  text-decoration: none;
  transition: var(--transition);
}

.legal-breadcrumbs a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.legal-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.legal-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto;
}

.legal-badge-date {
  display: inline-block;
  margin-top: 14px;
  background: rgba(212, 175, 122, 0.12);
  border: 1px solid rgba(212, 175, 122, 0.3);
  color: #d4af7a;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.legal-content-wrap {
  background: var(--bg-page);
  padding: 50px 0 80px;
}

.legal-article {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-card);
  color: var(--text-body);
  line-height: 1.8;
}

.legal-article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 22px;
  margin-bottom: 10px;
}

.legal-article p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.legal-article ul, .legal-article ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-article li {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.legal-callout {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.legal-callout.callout-gold {
  border-left-color: #d4af7a;
  background: #fdfbf7;
}

.legal-callout strong {
  color: var(--text-dark);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.contact-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.contact-card h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quick-contact-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 768px) {
  .legal-title { font-size: 1.85rem; }
  .legal-article { padding: 26px 20px; border-radius: var(--radius-md); }
}

