/* ==========================================================================
   MAXIMIZOWED INVITATIONS — MASTER LUXURY STYLESHEET (REBUILT FROM SCRATCH)
   Robust Responsive Layout, Light/Dark Modes, Strict RTL/LTR, GPU Smooth
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* DARK MODE (Default Obsidian Gold) */
  --bg-main: #07070a;
  --bg-surface: #0e0e14;
  --bg-surface-elevated: #14141e;
  --bg-card: rgba(18, 18, 26, 0.78);
  --bg-card-hover: rgba(26, 26, 38, 0.92);
  --bg-card-glass: rgba(14, 14, 20, 0.88);
  --bg-header: rgba(7, 7, 10, 0.85);

  --text-primary: #ffffff;
  --text-secondary: #f0ede6;
  --text-muted: #9e9c96;
  --text-gold: #f3d483;

  --gold-100: #fff6db;
  --gold-200: #fae6a3;
  --gold-300: #edd177;
  --gold-400: #dfb94c;
  --gold-500: #d4a329;
  --gold-600: #b3821a;
  --gold-700: #8c600f;

  --border-gold-subtle: rgba(212, 163, 41, 0.16);
  --border-gold-medium: rgba(212, 163, 41, 0.38);
  --border-gold-glow: rgba(212, 163, 41, 0.75);

  --glow-gold: rgba(212, 163, 41, 0.22);
  --ambient-orb-1: rgba(212, 163, 41, 0.08);
  --ambient-orb-2: rgba(226, 168, 155, 0.08);

  --btn-gold-text: #07070a;
  --noise-opacity: 0.035;

  --font-serif-en: 'Cinzel Decorative', 'Cormorant Garamond', Georgia, serif;
  --font-serif-body: 'Cormorant Garamond', Georgia, serif;
  --font-sans-en: 'Plus Jakarta Sans', system-ui, sans-serif;

  --font-serif-ar: 'Amiri', 'Aref Ruqaa', serif;
  --font-sans-ar: 'Cairo', system-ui, sans-serif;
}

/* LIGHT MODE (Ivory & Champagne Gold) */
body.light-mode {
  --bg-main: #faf7f2;
  --bg-surface: #f4efe6;
  --bg-surface-elevated: #eae3d5;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.96);
  --bg-header: rgba(250, 247, 242, 0.92);

  --text-primary: #121216;
  --text-secondary: #282622;
  --text-muted: #66635c;
  --text-gold: #9e7518;

  --gold-100: #7a580e;
  --gold-200: #946d12;
  --gold-300: #ad8319;
  --gold-400: #c59720;
  --gold-500: #b3821a;
  --gold-600: #8c600f;
  --gold-700: #5e3f05;

  --border-gold-subtle: rgba(179, 130, 26, 0.22);
  --border-gold-medium: rgba(179, 130, 26, 0.45);
  --border-gold-glow: rgba(179, 130, 26, 0.65);

  --glow-gold: rgba(179, 130, 26, 0.15);
  --ambient-orb-1: rgba(212, 163, 41, 0.05);
  --ambient-orb-2: rgba(226, 168, 155, 0.06);

  --btn-gold-text: #ffffff;
  --noise-opacity: 0.015;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans-en);
  overflow-x: hidden;
  text-size-adjust: 100%;
}

body {
  position: relative;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Typography & Direction */
[dir="rtl"] {
  font-family: var(--font-sans-ar);
}
[dir="rtl"] .font-display,
[dir="rtl"] .font-subheading {
  font-family: var(--font-serif-ar);
}
[dir="ltr"] .font-display {
  font-family: var(--font-serif-en);
}
[dir="ltr"] .font-subheading {
  font-family: var(--font-serif-body);
}

/* Canvas & Ambient Lights */
#three-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  transition: background 0.4s ease;
}

/* --- Container & Layout System --- */
.container-custom {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Flexbox & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.w-full { width: 100%; }

.hidden { display: none !important; }

/* ==========================================================================
   MASTER REBUILT NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold-subtle);
  transition: all 0.3s ease;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-medium);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-en);
  color: var(--gold-400);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px var(--glow-gold);
}

.brand-name {
  font-family: var(--font-serif-en);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: -3px;
}

/* Desktop Nav Links */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.8rem;
}

@media (min-width: 1100px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.desktop-nav-link:hover {
  color: var(--gold-400);
}

.desktop-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-400);
  transition: width 0.25s ease;
}

.desktop-nav-link:hover::after {
  width: 100%;
}

/* Nav Actions Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-pill-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-gold-medium);
  background: var(--bg-card);
  color: var(--text-gold);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-pill-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-400);
  transform: translateY(-1px);
}

.mobile-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-gold-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
}

@media (min-width: 1100px) {
  .mobile-hamburger-btn {
    display: none !important;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--border-gold-subtle);
}

.mobile-drawer.open {
  display: flex;
}

@media (min-width: 1100px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
}

/* --- Buttons & Shimmer --- */
.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 45%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

body.light-mode .gold-gradient-text {
  background: linear-gradient(135deg, #7a5509 0%, #b3821a 50%, #5e3f05 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-shimmer-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dfb94c 0%, #d4a329 50%, #b3821a 100%);
  color: var(--btn-gold-text);
  font-weight: 700;
  border: 1px solid rgba(255, 230, 163, 0.5);
  box-shadow: 0 4px 20px var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0 24px;
}

body.light-mode .gold-shimmer-btn {
  background: linear-gradient(135deg, #b3821a 0%, #946d12 50%, #7a580e 100%);
  color: #ffffff;
}

.gold-shimmer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.gold-shimmer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-gold);
}

.gold-shimmer-btn:hover::before {
  left: 150%;
}

.luxury-outline-btn {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold-medium);
  color: var(--text-primary);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0 24px;
  transition: all 0.25s ease;
}

.luxury-outline-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-300);
  box-shadow: 0 4px 20px var(--glow-gold);
  transform: translateY(-2px);
}

/* --- Hero & Card Motifs --- */
.hero-section-wrapper {
  min-height: 88vh;
  padding-top: 130px;
  padding-bottom: 70px;
  position: relative;
  z-index: 10;
}

.hero-invitation-crest {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-medium);
  border-radius: 28px;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 35px var(--glow-gold);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.hero-invitation-crest::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  border: 1px dashed var(--border-gold-subtle);
  pointer-events: none;
}

.filigree-corner-tl, .filigree-corner-tr, .filigree-corner-bl, .filigree-corner-br {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0.7;
}
.filigree-corner-tl { top: 10px; left: 10px; border-top: 2px solid var(--gold-400); border-left: 2px solid var(--gold-400); }
.filigree-corner-tr { top: 10px; right: 10px; border-top: 2px solid var(--gold-400); border-right: 2px solid var(--gold-400); }
.filigree-corner-bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--gold-400); border-left: 2px solid var(--gold-400); }
.filigree-corner-br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--gold-400); border-right: 2px solid var(--gold-400); }

/* Staggered Narrative Steps */
.staggered-step-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.staggered-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-medium);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px var(--glow-gold);
}

.step-numeral {
  font-family: var(--font-serif-en);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border-gold-medium);
  position: absolute;
  top: 14px;
  right: 18px;
}
[dir="rtl"] .step-numeral {
  right: auto;
  left: 18px;
}

/* Bento Magazine Feature Layout */
.bento-card-editorial {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card-editorial:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold-medium);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-gold);
}

.luxury-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Phone Mockup Chassis */
.phone-mockup-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.phone-mockup-frame {
  position: relative;
  width: 320px;
  height: 660px;
  background: #111116;
  border-radius: 50px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px rgba(212, 163, 41, 0.45),
    0 0 0 4px #2c2c36,
    0 25px 60px -15px rgba(0, 0, 0, 0.7),
    0 0 45px var(--glow-gold);
}

@media (min-width: 768px) {
  .phone-mockup-frame {
    width: 350px;
    height: 700px;
    padding: 11px;
    border-radius: 54px;
  }
}

.phone-dynamic-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
}

.phone-dynamic-island .camera-lens {
  width: 9px;
  height: 9px;
  background: #090918;
  border-radius: 50%;
  border: 1px solid #1a1a2b;
}

.phone-screen-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
  border-radius: 42px;
  pointer-events: none;
  z-index: 25;
}

.phone-screen-viewport {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #0c0c10;
  position: relative;
}

.phone-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  display: block;
}

.phone-btn-power {
  position: absolute;
  right: -6px;
  top: 140px;
  width: 4px;
  height: 55px;
  background: #2a2a35;
  border-radius: 0 3px 3px 0;
  border: 1px solid rgba(212, 163, 41, 0.3);
}

.phone-btn-vol-up {
  position: absolute;
  left: -6px;
  top: 120px;
  width: 4px;
  height: 42px;
  background: #2a2a35;
  border-radius: 3px 0 0 3px;
  border: 1px solid rgba(212, 163, 41, 0.3);
}

.phone-btn-vol-down {
  position: absolute;
  left: -6px;
  top: 175px;
  width: 4px;
  height: 42px;
  background: #2a2a35;
  border-radius: 3px 0 0 3px;
  border: 1px solid rgba(212, 163, 41, 0.3);
}

/* Callout Badges */
.callout-badge {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold-medium);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px var(--glow-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.callout-badge:hover {
  transform: scale(1.04);
  border-color: var(--gold-300);
}

.callout-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-400);
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Theme Swatches */
.theme-swatch-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border-gold-subtle);
  background: var(--bg-card);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  min-height: 44px;
  transition: all 0.25s ease;
}

.theme-swatch-btn:hover {
  border-color: var(--gold-400);
  background: var(--bg-card-hover);
}

.theme-swatch-btn.active {
  border-color: var(--gold-400);
  background: var(--bg-surface-elevated);
  color: var(--text-gold);
  box-shadow: 0 0 16px var(--glow-gold);
}

.theme-swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border-gold-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--border-gold-medium);
  background: var(--bg-card-hover);
  box-shadow: 0 6px 20px -5px var(--glow-gold);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  min-height: 52px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Scroll Reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px) translateZ(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #25d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

[dir="rtl"] .floating-wa-btn {
  right: auto;
  left: 24px;
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.floating-wa-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.6;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #333340;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}
