/*
Theme Name: SufiHealings V1
Theme URI: https://sufihealings.com
Author: SufiHealings Team
Description: Living Sanctuary of Classical Tasawwuf, Prophetic Medicine, Sacred Shrines, and Complete Quran Coded Taweez.
Version: 1.2.3
Requires at least: 6.5
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: sufihealings-v1
Tags: custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready, e-commerce, mega-menu
*/

/* ==========================================================================
   1. MASTER DIVINE SANCTUARY DESIGN TOKENS
   ========================================================================== */
/* ==========================================================================
   AL-MISHKAT LUMINOUS VELVET EMERALD SANCTUARY (v1.2.3)
   Deep Serene Jade Canvas + Elevated Velvet Cards + Polished Chishti Gold
   (Never pitch-black, never harsh light — majestic ambient illumination)
   ========================================================================== */
:root {
  /* Chromatic Architecture */
  --bg-base: #072118;            /* Deep Royal Jade Canvas (Warm, living darkness, not black void) */
  --bg-surface: #0D3528;         /* Elevated Velvet Card (Visibly distinct, luminous emerald) */
  --bg-elevated: #144636;        /* Micro-surfaces, hover states, active tabs */
  --bg-card: #0D3528;
  --bg-glass: rgba(7, 33, 24, 0.92);

  /* Chishti Gold Hierarchy */
  --chishti-gold: #E5B94E;
  --chishti-gold-light: #FCE8A6;
  --chishti-gold-dark: #A3791A;
  --chishti-gold-soft: rgba(229, 185, 78, 0.28);
  --gold-primary: #E5B94E;
  --gold-light: #FCE8A6;
  --gold-dark: #A3791A;
  --gold-gradient: linear-gradient(135deg, #FCE8A6 0%, #E5B94E 50%, #B8893B 100%);
  --gold-sheen: linear-gradient(90deg, #FCE8A6, #FFFFFF, #E5B94E, #FCE8A6);

  /* Gold Hairline Borders & Halos */
  --border-subtle: rgba(229, 185, 78, 0.22);
  --border-medium: rgba(229, 185, 78, 0.42);
  --border-glow: rgba(229, 185, 78, 0.75);

  /* High-Contrast Luminous Typography */
  --text-main: #FFF9EB;          /* Radiant Warm Champagne Ivory (12.8:1 contrast against surface) */
  --text-muted: #A9D1C1;         /* Crisp Sage Mist (8.1:1 contrast, effortless reading) */
  --text-gold: #FCE8A6;
  --text-dark: #072118;

  --teal-primary: #00D2B4;
  --teal-deep: #054D43;
  --teal-glow: rgba(0, 210, 180, 0.25);

  /* Typographic Stack */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 38px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(229, 185, 78, 0.25);

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Daytime Mode: Nur Warm Parchment Sanctuary */
[data-theme="light"],
[data-theme="nur-parchment"] {
  --bg-base: #FDF6E3;
  --bg-surface: #FFFDF7;
  --bg-elevated: #F5EBD4;
  --bg-card: #FFFDF7;
  --bg-glass: rgba(253, 246, 227, 0.95);

  --border-subtle: rgba(184, 137, 59, 0.22);
  --border-medium: rgba(184, 137, 59, 0.42);
  --border-glow: rgba(212, 168, 67, 0.75);

  --gold-primary: #B8893B;
  --gold-light: #523A06;
  --gold-dark: #6E4F0A;
  --gold-gradient: linear-gradient(135deg, #D4A843 0%, #B8893B 50%, #6E4F0A 100%);

  --text-main: #0B2418;
  --text-muted: #355846;
  --text-gold: #8C6212;

  --teal-primary: #006B3F;
  --teal-deep: #E6F4EE;

  --shadow-sm: 0 4px 12px rgba(80, 56, 6, 0.08);
  --shadow-md: 0 12px 28px rgba(80, 56, 6, 0.12);
  --shadow-lg: 0 20px 45px rgba(80, 56, 6, 0.16);
  --shadow-gold: 0 8px 24px rgba(184, 137, 59, 0.2);
}

/* Base Reset & Core Layout */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-base) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all 0.25s var(--ease-smooth); }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}
p {
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.teal-gradient {
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   2. DIVINE TOP SANCTUARY BAR
   ========================================================================== */
.divine-top-bar {
  background: rgba(2, 8, 12, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1001;
}
[data-theme="light"] .divine-top-bar {
  background: #EFE8DA;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bismillah-calligraphy {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: var(--gold-primary);
  line-height: 1;
}
.trust-badge-mini {
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.top-bar-link:hover { color: var(--gold-light); }
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--teal-primary);
  box-shadow: 0 0 8px var(--teal-primary);
  display: inline-block;
}
.theme-mode-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--gold-primary);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.theme-mode-toggle:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--border-glow);
  transform: scale(1.08);
}

/* ==========================================================================
   3. STICKY GLASSMORPHIC HEADER & BRAND
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  overflow: visible !important;
  transition: all 0.3s var(--ease-smooth);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
  position: relative; /* CRITICAL: Anchors the full-width mega menu */
  overflow: visible !important;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-emblem {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
  transition: transform 0.4s var(--ease-smooth);
}
.site-brand:hover .brand-emblem {
  transform: rotate(22deg) scale(1.06);
}
.brand-meta { display: flex; flex-direction: column; }
.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   4. FULL-WIDTH ARCHITECTURAL MEGA MENU NAVIGATION (FIXED OVERFLOW & FLICKER)
   ========================================================================== */
.nav-primary {
  display: flex;
  align-items: center;
  position: static; /* Static so .mega-panel anchors directly to .header-inner! */
  overflow: visible !important;
}
.nav-mega-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  position: static; /* Static so .mega-panel anchors directly to .header-inner! */
}
.nav-mega-menu .menu-item {
  position: static; /* Static so the 1160px panel centers in .header-inner, not the small <li>! */
}
.nav-mega-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}
.nav-mega-menu .nav-link:hover,
.nav-mega-menu .menu-item.is-focused .nav-link,
.nav-mega-menu .menu-item:hover .nav-link {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}
.nav-icon { font-size: 0.95rem; }
.nav-caret { font-size: 0.7rem; color: var(--gold-primary); transition: transform 0.2s ease; }
.nav-mega-menu .menu-item:hover .nav-caret,
.nav-mega-menu .menu-item.is-focused .nav-caret { transform: rotate(180deg); }

/* Mega Dropdown Panel: Anchored to container, completely eliminating edge clipping */
.mega-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.2);
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-smooth), transform 0.22s var(--ease-smooth), visibility 0.22s;
  transform: translateY(6px);
  z-index: 9999;
}

/* Hover bridge: Prevents dropdown from closing when moving mouse from link to panel */
.mega-panel::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
}

.nav-mega-menu .menu-item:hover .mega-panel,
.nav-mega-menu .menu-item.is-focused .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.mega-silo-badge {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-primary);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mega-silo-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
}
.mega-panel-body {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 280px;
  gap: 24px;
}
.mega-col-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-weight: 700;
}
.mega-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-link-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.mega-link-item a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  transform: translateX(3px);
}
.link-badge {
  font-size: 0.68rem;
  background: rgba(0, 210, 180, 0.18);
  color: var(--teal-primary);
  border: 1px solid rgba(0, 210, 180, 0.35);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Mega Feature Card */
.mega-feature-card {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 70%), var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feat-tag {
  font-size: 0.68rem;
  color: var(--gold-primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.feat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
}
.feat-desc {
  font-size: 0.80rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.feat-btn {
  display: inline-block;
  background: var(--gold-gradient);
  color: #030D13 !important;
  font-size: 0.80rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  text-align: center;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}
.feat-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-header-gold {
  background: var(--gold-gradient);
  color: #030D13 !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-header-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--gold-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   5. MOBILE RESPONSIVE DRAWER
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(340px, 85vw);
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
}
.mobile-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}
.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-silo-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-silo-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}
.mobile-silo-summary {
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
}
.mobile-silo-summary::-webkit-details-marker { display: none; }
.mobile-silo-links {
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
}
.mobile-col-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-top: 6px;
}
.mobile-sublink {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
}
.mobile-sublink:hover { color: var(--gold-light); }
.mobile-view-all {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--teal-primary);
  font-weight: 700;
}
.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.btn-block-gold {
  background: var(--gold-gradient);
  color: #030D13 !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.btn-block-outline {
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.mobile-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   6. SACRED HERO SECTION & CALLIGRAPHY
   ========================================================================== */
.sanctuary-hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 4rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at top center, rgba(0, 210, 180, 0.12) 0%, transparent 65%),
              radial-gradient(circle at bottom center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-calligraphy-badge {
  margin-bottom: 20px;
}
.arabic-hero-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-primary);
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}
.hero-trust-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 24px;
}
.ribbon-sep { opacity: 0.5; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 960px;
  margin-bottom: 20px;
  color: var(--text-main);
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.btn-hero-primary {
  background: var(--gold-gradient);
  color: #030D13 !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
}
.btn-hero-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
}
.btn-hero-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-hero-gold-glow {
  background: rgba(0, 210, 180, 0.15);
  border: 1px solid rgba(0, 210, 180, 0.45);
  color: var(--teal-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
}
.btn-hero-gold-glow:hover {
  background: rgba(0, 210, 180, 0.25);
  box-shadow: 0 0 20px var(--teal-glow);
  transform: translateY(-2px);
}

/* Metrics Grid */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.metric-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}
.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   7. INTERACTIVE INTENT SWITCHER
   ========================================================================== */
.section-intent-switcher {
  padding: 5rem 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.08), transparent 70%);
}
.section-heading-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 8px;
}
.section-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub-title {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.intent-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.intent-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-smooth);
}
.intent-tab-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.intent-tab-btn.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #030D13;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

/* Result Card */
.intent-result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.intent-card-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
}
.pill-label {
  display: inline-block;
  background: rgba(0, 210, 180, 0.18);
  color: var(--teal-primary);
  border: 1px solid rgba(0, 210, 180, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.prescription-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text-main);
  margin-bottom: 18px;
}
.arabic-verse-box {
  background: rgba(2, 8, 12, 0.85);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.arabic-verse-text {
  font-family: var(--font-arabic);
  font-size: 1.45rem;
  color: var(--gold-light) !important;
  line-height: 1.9;
  margin-bottom: 10px;
}
.verse-translation {
  font-size: 0.95rem;
  color: #D2E0DE !important;
  font-style: italic;
}
.prescription-steps h4 {
  font-size: 0.95rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.prescription-steps ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prescription-steps li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: #F4F7F6 !important;
}
.prescription-steps li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

.intent-right-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sanctuary-resonance-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 22px;
}
.box-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.sanctuary-resonance-box h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--gold-light) !important;
}
.sanctuary-resonance-box p {
  font-size: 0.86rem;
  color: #D2E0DE !important;
  line-height: 1.5;
  margin-bottom: 12px;
}
.mini-gold-link {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 700;
}
.mini-gold-link:hover { color: var(--gold-light); text-decoration: underline; }
.btn-sm-gold {
  display: inline-block;
  background: var(--gold-gradient);
  color: #030D13 !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   8. SIX CORE SILOS TOPOLOGY GRID
   ========================================================================== */
.section-silos-grid {
  padding: 5rem 0;
}
.silos-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.silo-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-smooth);
}
.silo-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}
.silo-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.28);
}
.silo-icon-wrap {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.silo-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-main) !important;
  margin-bottom: 12px;
}
.silo-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  line-height: 1.55;
  margin-bottom: 20px;
}
.silo-quick-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.silo-quick-links a {
  font-size: 0.85rem;
  color: #E2ECEB !important;
  font-weight: 500;
}
.silo-quick-links a:hover {
  color: var(--gold-light) !important;
  transform: translateX(3px);
}
.silo-card-btn {
  margin-top: auto;
  display: inline-block;
  padding: 10px 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-medium);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}
.silo-card:hover .silo-card-btn {
  background: var(--gold-gradient);
  color: #030D13 !important;
  border-color: transparent;
}

/* ==========================================================================
   9. RECENT WISDOM SECTION
   ========================================================================== */
.section-recent-wisdom {
  padding: 5rem 0;
  background: rgba(2, 8, 12, 0.45);
}
.section-heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.view-all-link {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.92rem;
}
.view-all-link:hover { color: var(--gold-light); text-decoration: underline; }
.articles-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.article-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.article-preview-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}
.article-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 14px;
}
.article-cat-badge {
  background: rgba(0, 210, 180, 0.18);
  color: var(--teal-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}
.article-date { color: var(--text-muted); }
.article-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.article-card-title a { color: var(--text-main) !important; }
.article-card-title a:hover { color: var(--gold-light) !important; }
.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted) !important;
  line-height: 1.6;
  margin-bottom: 20px;
}
.article-read-btn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-read-btn:hover { color: var(--gold-light); }

/* ==========================================================================
   10. AES-256 CONSULTATION BANNER
   ========================================================================== */
.section-consultation-banner {
  padding: 5rem 0;
}
.consultation-card-wrap {
  background: radial-gradient(circle at top right, rgba(0, 210, 180, 0.2), transparent 70%), var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}
.secure-tag {
  background: rgba(0, 210, 180, 0.18);
  color: var(--teal-primary);
  border: 1px solid rgba(0, 210, 180, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 12px;
}
.consultation-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-main);
}
.consultation-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.consultation-trust-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: #E2ECEB;
}
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consult-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 4px;
}
.consult-form input,
.consult-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(2, 8, 12, 0.9) !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: var(--radius-sm);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.consult-form input:focus,
.consult-form textarea:focus {
  outline: none;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 10px var(--border-glow);
}
.consult-form button {
  background: var(--gold-gradient);
  color: #030D13;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-top: 10px;
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   11. MAJESTIC 4-COLUMN FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #020A0F 0%, #010507 100%);
  border-top: 1px solid var(--border-medium);
  padding: 4.5rem 0 0;
  position: relative;
}
.footer-radiance-line {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), var(--teal-primary), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 4rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-mark {
  font-size: 1.6rem;
  color: var(--gold-primary);
}
.footer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.footer-mission {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-disclaimer-card {
  background: rgba(2, 10, 15, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.disclaimer-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 4px;
}
.footer-disclaimer-card p {
  font-size: 0.76rem;
  color: #8CA09D;
  line-height: 1.45;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; width: 28px; height: 1.5px;
  background: var(--gold-primary);
}
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-link-list a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
  display: inline-block;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
  background: rgba(1, 5, 8, 0.9);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.arabic-seal {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: var(--gold-primary);
}
.footer-compliance-badges {
  display: flex;
  gap: 12px;
}
.badge-tag {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--gold-light);
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .mega-panel { max-width: calc(100vw - 32px); }
  .mega-panel-body { grid-template-columns: 1fr 1fr 240px; gap: 16px; }
}

@media (max-width: 1080px) {
  .silos-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intent-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-primary { display: none; }
  .mobile-nav-toggle { display: flex; }
  .consultation-card-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .silos-cards-grid { grid-template-columns: 1fr; }
  .articles-cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-bar-left .trust-badge-mini { display: none; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary, .btn-hero-gold-glow { width: 100%; text-align: center; justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}


/* ==========================================================================
   FLAGSHIP SACRED ARTIFACT & INTERACTIVE TAWEEZ CONFIGURATOR
   ========================================================================== */
.section-flagship-showcase {
  padding: 100px 0 90px;
  background: radial-gradient(circle at 50% 15%, rgba(0, 107, 63, 0.12) 0%, rgba(4, 16, 23, 1) 75%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

/* Hero Banner */
.flagship-hero-banner {
  background: linear-gradient(135deg, rgba(0, 107, 63, 0.35) 0%, rgba(7, 25, 34, 0.96) 55%, rgba(4, 16, 23, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.flagship-hero-banner::before {
  content: "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ";
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  color: rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

.flagship-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.badge-flagship-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
  color: #041017;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.badge-silsila-permission {
  background: rgba(0, 107, 63, 0.4);
  color: #5EEAD4;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.3);
}

.badge-tawhid-seal {
  background: rgba(255, 255, 255, 0.08);
  color: #F4F7F6;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.flagship-banner-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #FFFFFF !important;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.flagship-banner-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(244, 247, 246, 0.88);
  max-width: 950px;
  margin-bottom: 30px;
}

/* 4 Silsila Grid */
.quad-silsila-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.silsila-pillar-card {
  background: rgba(4, 16, 23, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  padding: 18px 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.silsila-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(7, 25, 34, 0.9);
}

.silsila-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.silsila-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.silsila-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0;
}

.silsila-master {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.silsila-attribute {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(244, 247, 246, 0.75);
  margin: 0;
}

/* Configurator Card */
.taweez-configurator-card {
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.configurator-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  margin-bottom: 30px;
}

.configurator-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.configurator-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0;
}

.configurator-intro {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0;
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 35px;
  align-items: start;
}

/* Controls Column */
.configurator-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.config-step-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #041017;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.select-wrapper {
  position: relative;
}

.config-select {
  width: 100%;
  background: #041017;
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.config-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.65rem;
  color: var(--gold);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Vessel Radio Cards */
.vessel-radio-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vessel-card {
  display: block;
  background: #041017;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.vessel-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(7, 25, 34, 0.9);
}

.vessel-card.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.vessel-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.vessel-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.vessel-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
}

.vessel-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  margin-bottom: 2px;
}

.vessel-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.config-consecration-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 107, 63, 0.15);
  border: 1px solid rgba(0, 107, 63, 0.35);
  border-radius: 10px;
  padding: 14px 16px;
}

.consecration-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.consecration-text strong {
  display: block;
  font-size: 0.8rem;
  color: #5EEAD4;
  margin-bottom: 3px;
}

.consecration-text p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(244, 247, 246, 0.8);
  margin: 0;
}

/* Output Card */
.configurator-output-card {
  background: linear-gradient(135deg, rgba(7, 25, 34, 0.98) 0%, rgba(4, 16, 23, 1) 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.1);
  position: relative;
}

.output-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 18px;
}

.output-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.output-price-wrap {
  text-align: right;
}

.output-price-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.output-price-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.output-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 10px;
  line-height: 1.4;
}

.output-summary {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(244, 247, 246, 0.85);
  margin-bottom: 22px;
}

.output-specs-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-block {
  background: rgba(4, 16, 23, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
}

.spec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 4px;
}

.spec-val {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
}

.output-action-area {
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guarantee-micro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-order-flagship {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #D4AF37 0%, #AA820A 100%);
  color: #041017 !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 15px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-order-flagship:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
  color: #041017 !important;
}

/* 4 Trust Strip */
.flagship-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.trust-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s ease;
}

.trust-strip-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.trust-strip-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.trust-strip-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 5px 0;
}

.trust-strip-info p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Sacred Store Trio */
.sacred-store-trio-wrap {
  margin-bottom: 50px;
}

.trio-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.trio-main-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0;
}

.view-all-store-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-store-btn:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.sacred-store-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sacred-product-card {
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sacred-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.product-tag-brass {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.product-tag-kit {
  background: rgba(0, 107, 63, 0.2);
  color: #5EEAD4;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(94, 234, 212, 0.3);
}

.product-tag-oud {
  background: rgba(147, 51, 234, 0.2);
  color: #C084FC;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.product-price-tag {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 8px;
}

.product-summary {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-meta-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-product-cart {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light) !important;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-product-cart:hover {
  background: var(--gold);
  color: #041017 !important;
}

/* Shariah Disclaimer */
.flagship-disclaimer-card {
  background: rgba(4, 16, 23, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 22px 26px;
  text-align: center;
}

.disclaimer-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.flagship-disclaimer-card p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(244, 247, 246, 0.75);
  margin: 0;
  max-width: 980px;
  margin: 0 auto;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .quad-silsila-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .configurator-grid {
    grid-template-columns: 1fr;
  }
  .flagship-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .sacred-store-trio-grid {
    grid-template-columns: 1fr;
  }
  .flagship-banner-heading {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .quad-silsila-grid {
    grid-template-columns: 1fr;
  }
  .flagship-trust-strip {
    grid-template-columns: 1fr;
  }
  .flagship-hero-banner {
    padding: 30px 20px;
  }
  .taweez-configurator-card {
    padding: 25px 18px;
  }
  .output-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .output-price-wrap {
    text-align: left;
  }
}



/* Mishkat Lantern Glow (Divine Light behind Hero & Calligraphy) */
.mishkat-lantern-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 550px;
  background: radial-gradient(circle at 50% 25%, rgba(245, 224, 154, 0.18) 0%, rgba(0, 107, 63, 0.25) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .mishkat-lantern-glow,
[data-theme="nur-parchment"] .mishkat-lantern-glow {
  background: radial-gradient(circle at 50% 25%, rgba(212, 168, 67, 0.15) 0%, rgba(0, 107, 63, 0.08) 45%, transparent 75%);
}

/* Floating WhatsApp Spiritual Aid FAB */
.sufi-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #169B62 0%, #006B3F 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(245, 224, 154, 0.5);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(22, 155, 98, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sufi-whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(212, 168, 67, 0.45);
  color: #FFFFFF !important;
}

.sufi-whatsapp-fab svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .sufi-whatsapp-fab span { display: none; }
  .sufi-whatsapp-fab { padding: 14px; bottom: 18px; right: 18px; }
}
