@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* =====================================================
   ALUNOVA® — Elevated Luxury Visual Identity
   Primary Dark: #0A0E17 (Midnight Slate)
   Secondary Dark: #141A29 (Rich Charcoal)
   Luxury Accent: #D4AF37 (Warm Gold) & #C5A880 (Champagne)
   Surface Light: #FAF8F5 (Soft Ivory Canvas)
   Accent Green: #10B981 (WhatsApp Emerald)
   ===================================================== */

:root {
  --color-brand-dark: #0A0E17;
  --color-brand-surface: #141A29;
  --color-brand-accent: #C5A880;
  --color-brand-accent-hover: #B5956A;
  --color-brand-gold: #D4AF37;
  --color-brand-light: #FAF8F5;
  --color-brand-card: #FFFFFF;
  --color-brand-whatsapp: #10B981;
  --color-brand-text: #1E2538;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Cairo', system-ui, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-brand-light);
  color: var(--color-brand-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Arabic RTL Support & Typography Refinements */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
  letter-spacing: normal !important;
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] button {
  letter-spacing: normal !important;
}

html[dir="rtl"] h1 {
  line-height: 1.35 !important;
}

html[dir="rtl"] h2 {
  line-height: 1.35 !important;
}

html[dir="rtl"] .tracking-tight,
html[dir="rtl"] .tracking-tighter,
html[dir="rtl"] .tracking-wide,
html[dir="rtl"] .tracking-wider,
html[dir="rtl"] .tracking-widest {
  letter-spacing: normal !important;
}

html[dir="rtl"] .text-left {
  text-align: right !important;
}

html[dir="rtl"] .sm\:text-left {
  text-align: right !important;
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 168, 128, 0.25);
  box-shadow: 0 20px 40px -15px rgba(10, 14, 23, 0.06);
}

.glass-dark {
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.glass-gold-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 245, 0.9) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 168, 128, 0.3);
  box-shadow: 0 25px 50px -12px rgba(197, 168, 128, 0.12);
}

/* Luxury Gradients */
.gradient-dark-bg {
  background: linear-gradient(135deg, #0A0E17 0%, #141A29 60%, #1E283D 100%);
}

.gradient-gold-bg {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 50%, #A88756 100%);
}

.gradient-gold-text {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A880 50%, #947242 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-emerald-bg {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

/* Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes floatStickyMobile {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-sticky-mobile {
  animation: floatStickyMobile 2.4s ease-in-out infinite;
}

.animate-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Swatch Selector */
.swatch-option {
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swatch-option.active {
  border-color: #D4AF37 !important;
  background-color: #FFFDF9 !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF8F5;
}

::-webkit-scrollbar-thumb {
  background: #C5A880;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #B5956A;
}

/* FAQ Accordion Transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
  max-height: 800px;
  transition: max-height 0.5s ease-in-out;
}

/* Live Pulse Dot */
.live-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseGlow 2s infinite;
}
