/* ============================================================
   HAFLATI Landing Page Stylesheet
   Saudi Event Planning Marketplace
   Arabic-first, RTL layout, Mobile-first responsive
   ============================================================ */

/* ---------------------------------------------------------
   0. CUSTOM PROPERTIES (Design Tokens)
   --------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary-dark: #1A1A2E;
  --navy: #16213E;
  --rose: #E8636B;
  --gold: #D4A05A;
  --teal: #0D9488;
  --purple: #7C3AED;
  --amber: #F59E0B;
  --light-bg: #F8F9FA;
  --white: #FFFFFF;
  --footer-dark: #0F0F1A;

  /* Extended Palette */
  --rose-light: rgba(232, 99, 107, 0.12);
  --rose-medium: rgba(232, 99, 107, 0.25);
  --gold-light: rgba(212, 160, 90, 0.12);
  --gold-medium: rgba(212, 160, 90, 0.25);
  --navy-light: rgba(22, 33, 62, 0.06);

  /* Text Colors */
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-light: rgba(255, 255, 255, 0.75);
  --text-lighter: rgba(255, 255, 255, 0.5);
  --text-white: #FFFFFF;

  /* Borders */
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-ar: 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'DM Sans', 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-rose: 0 8px 24px rgba(232, 99, 107, 0.3);
  --shadow-gold: 0 8px 24px rgba(212, 160, 90, 0.3);
  --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ---------------------------------------------------------
   1. RESET & BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--rose-medium);
  color: var(--primary-dark);
}


/* ---------------------------------------------------------
   2. UTILITY CLASSES
   --------------------------------------------------------- */

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-10);
  }
}

/* Section Padding */
.section-padding {
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  .section-padding {
    padding-block: var(--space-20);
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-block: var(--space-24);
  }
}

/* Text Alignment */
.text-center {
  text-align: center;
}

.text-start {
  text-align: start;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ---------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-ar);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary Button (Rose) */
.btn-primary {
  background: var(--rose);
  color: var(--text-white);
  border-color: var(--rose);
}

.btn-primary:hover {
  background: #d4545c;
  border-color: #d4545c;
  box-shadow: var(--shadow-rose);
  transform: translateY(-2px);
}

/* Secondary Button (Gold Outline) */
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Vendor Button (Gold Solid) */
.btn-vendor {
  background: linear-gradient(135deg, var(--gold), #C48B3F);
  color: var(--primary-dark);
  border-color: transparent;
  font-weight: 700;
}

.btn-vendor:hover {
  background: linear-gradient(135deg, #C48B3F, var(--gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn--sm {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
}

.btn--lg {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-10);
}

/* Button Loading State */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
  color: transparent;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}


/* ---------------------------------------------------------
   4. SECTION HEADINGS (Shared)
   --------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--rose);
  text-transform: uppercase;
  margin-block-end: var(--space-3);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-block-end: var(--space-3);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

.section-subtitle--centered {
  margin-inline: auto;
}

/* Dark Section Overrides */
.section--dark .section-label {
  color: var(--gold);
}

.section--dark .section-title {
  color: var(--text-white);
}

.section--dark .section-subtitle {
  color: var(--text-light);
}


/* ---------------------------------------------------------
   5. NAVBAR
   --------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding-block: var(--space-4);
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding-block: var(--space-3);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar__logo span {
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 400;
  opacity: 0.6;
}

/* Desktop Nav Links */
.navbar__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: end;
  transition: transform var(--transition-normal);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text-white);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  transform: scaleX(1);
  transform-origin: start;
}

/* Language Toggle */
.lang-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
}

@media (min-width: 1024px) {
  .lang-toggle {
    display: flex;
  }
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger Button */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .navbar__hamburger {
    display: none;
  }
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer (slides from RIGHT for RTL) */
.mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: var(--primary-dark);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-24) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  overflow-y: auto;
}

[dir="rtl"] .mobile-drawer {
  transform: translateX(-100%);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer__link {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-light);
  padding-block: var(--space-3);
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition-fast);
}

.mobile-drawer__link:hover {
  color: var(--gold);
}

.mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(4px);
}

.mobile-drawer__overlay.open {
  opacity: 1;
  visibility: visible;
}


/* ---------------------------------------------------------
   6. HERO SECTION
   --------------------------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--navy) 60%, #0F3460 100%);
  position: relative;
  overflow: hidden;
  padding-block-start: calc(var(--space-24) + var(--space-8));
  padding-block-end: var(--space-16);
}

/* Radial Glow Accents */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  inset-inline-end: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 99, 107, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  inset-inline-start: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 90, 0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    text-align: start;
    gap: var(--space-16);
  }
}

/* Hero Content */
.hero__content {
  flex: 1;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--rose-light);
  border: 1px solid rgba(232, 99, 107, 0.3);
  color: var(--rose);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-block-end: var(--space-6);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.15;
  margin-block-end: var(--space-4);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.9;
  margin-block-end: var(--space-8);
  max-width: 480px;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--text-lg);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__actions {
    justify-content: flex-start;
  }
}

/* Hero Phone Mockup */
.hero__phone {
  flex-shrink: 0;
  width: 260px;
  height: 520px;
  background: linear-gradient(160deg, #2a2a4a 0%, #1a1a3a 100%);
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero__phone {
    width: 280px;
    height: 560px;
  }
}

/* Phone Notch */
.hero__phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: #1a1a3a;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

/* Phone Screen Gradient */
.hero__phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  background: linear-gradient(
    160deg,
    var(--primary-dark) 0%,
    var(--navy) 30%,
    #1e2d4d 50%,
    var(--navy) 70%,
    var(--primary-dark) 100%
  );
  overflow: hidden;
}

.hero__phone-screen::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(232, 99, 107, 0.15) 0%, transparent 70%);
}

/* Sparkle / Confetti Animation */
.hero__sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle 3s ease-in-out infinite;
}

.hero__sparkle:nth-child(1) {
  top: 15%;
  inset-inline-start: 10%;
  background: var(--rose);
  animation-delay: 0s;
}

.hero__sparkle:nth-child(2) {
  top: 25%;
  inset-inline-end: 15%;
  background: var(--gold);
  animation-delay: 0.5s;
}

.hero__sparkle:nth-child(3) {
  bottom: 30%;
  inset-inline-start: 20%;
  background: var(--amber);
  animation-delay: 1s;
}

.hero__sparkle:nth-child(4) {
  top: 40%;
  inset-inline-end: 25%;
  background: var(--teal);
  animation-delay: 1.5s;
  width: 3px;
  height: 3px;
}

.hero__sparkle:nth-child(5) {
  bottom: 20%;
  inset-inline-end: 10%;
  background: var(--purple);
  animation-delay: 2s;
  width: 5px;
  height: 5px;
}

.hero__sparkle:nth-child(6) {
  top: 60%;
  inset-inline-start: 8%;
  background: var(--gold);
  animation-delay: 2.5s;
  width: 3px;
  height: 3px;
}


/* ---------------------------------------------------------
   7. WHAT IS HAFLATI SECTION
   --------------------------------------------------------- */
.about {
  background: var(--white);
}

.about__text {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-12);
}

.about__description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 2;
}

@media (min-width: 768px) {
  .about__description {
    font-size: var(--text-lg);
  }
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 800px;
  margin-inline: auto;
}

.about__stat {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.about__stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about__stat-number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--rose);
  line-height: 1.2;
  margin-block-end: var(--space-2);
}

@media (min-width: 768px) {
  .about__stat-number {
    font-size: var(--text-4xl);
  }
}

.about__stat:nth-child(2) .about__stat-number {
  color: var(--gold);
}

.about__stat:nth-child(3) .about__stat-number {
  color: var(--teal);
}

.about__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}


/* ---------------------------------------------------------
   8. EVENT TYPES SECTION
   --------------------------------------------------------- */
.events {
  background: var(--light-bg);
}

.events__grid {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-block-end: var(--space-4);
  scrollbar-width: none;
}

.events__grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .events__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
}

@media (min-width: 1024px) {
  .events__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .events__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.event-card {
  min-width: 240px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: default;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Event Card Accent Colors */
.event-card--wedding {
  border-top-color: #E8636B;
}

.event-card--wedding:hover {
  box-shadow: 0 12px 32px rgba(232, 99, 107, 0.2);
}

.event-card--birthday {
  border-top-color: #7C3AED;
}

.event-card--birthday:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

.event-card--graduation {
  border-top-color: #D4A05A;
}

.event-card--graduation:hover {
  box-shadow: 0 12px 32px rgba(212, 160, 90, 0.2);
}

.event-card--baby {
  border-top-color: #0D9488;
}

.event-card--baby:hover {
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.2);
}

.event-card--corporate {
  border-top-color: #16213E;
}

.event-card--corporate:hover {
  box-shadow: 0 12px 32px rgba(22, 33, 62, 0.2);
}

.event-card__icon {
  width: 72px;
  height: 72px;
  margin-inline: auto;
  margin-block-end: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--light-bg);
  transition: all var(--transition-normal);
}

.event-card:hover .event-card__icon {
  transform: scale(1.1);
}

.event-card__icon svg {
  width: 36px;
  height: 36px;
}

.event-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-block-end: var(--space-2);
}

.event-card__description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ---------------------------------------------------------
   9. FOR VENDORS SECTION
   --------------------------------------------------------- */
.vendors {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--navy) 60%, #0F3460 100%);
  position: relative;
  overflow: hidden;
}

.vendors::before {
  content: '';
  position: absolute;
  top: -100px;
  inset-inline-end: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 90, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.vendors__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-block-end: var(--space-12);
}

@media (min-width: 768px) {
  .vendors__benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vendors__benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vendor-benefit {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
}

.vendor-benefit:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.vendor-benefit__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  border-radius: var(--radius-lg);
  margin-block-end: var(--space-5);
  font-size: var(--text-2xl);
}

.vendor-benefit__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-white);
  margin-block-end: var(--space-2);
}

.vendor-benefit__text {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.8;
}

/* Vendor Progress Bar */
.vendors__progress {
  max-width: 500px;
  margin-inline: auto;
  margin-block-end: var(--space-10);
}

.progress-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  height: 12px;
  overflow: hidden;
  position: relative;
}

.progress-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--gold), var(--amber));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: progressShimmer 2s ease-in-out infinite;
}

.progress-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-block-start: var(--space-3);
}

/* Vendor Form Card */
.vendors__form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  max-width: 560px;
  margin-inline: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .vendors__form-card {
    padding: var(--space-10) var(--space-10);
  }
}

.vendors__form-card-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-block-end: var(--space-6);
}

/* Urgency Badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--rose), #d4545c);
  color: var(--text-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}


/* ---------------------------------------------------------
   10. HOW IT WORKS SECTION
   --------------------------------------------------------- */
.how-it-works {
  background: var(--white);
}

/* Tab Switcher */
.tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-block-end: var(--space-12);
  background: var(--light-bg);
  padding: var(--space-1);
  border-radius: var(--radius-full);
  max-width: 360px;
  margin-inline: auto;
}

.tab-btn {
  flex: 1;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--white);
  color: var(--rose);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Steps with Connected Circles */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
  max-width: 800px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    gap: var(--space-6);
    align-items: flex-start;
  }
}

/* Connecting Line between Steps */
.steps::before {
  content: '';
  display: none;
}

@media (min-width: 768px) {
  .steps::before {
    content: '';
    display: block;
    position: absolute;
    top: 32px;
    inset-inline-start: calc(16.66% + 20px);
    width: calc(66.66% - 40px);
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--rose),
      var(--gold),
      var(--teal)
    );
    z-index: 0;
  }
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: var(--text-white);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-block-end: var(--space-5);
  box-shadow: var(--shadow-rose);
  transition: all var(--transition-normal);
  position: relative;
}

.step:hover .step__number {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(232, 99, 107, 0.4);
}

.step__card {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 100%;
  transition: all var(--transition-normal);
}

.step:hover .step__card {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-block-end: var(--space-2);
}

.step__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
}


/* ---------------------------------------------------------
   11. FEATURES SECTION
   --------------------------------------------------------- */
.features {
  background: var(--light-bg);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rose-light);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-block-end: var(--space-5);
  font-size: var(--text-2xl);
  transition: all var(--transition-normal);
}

.feature-card:nth-child(odd) .feature-card__icon {
  background: var(--rose-light);
}

.feature-card:nth-child(even) .feature-card__icon {
  background: var(--gold-light);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-block-end: var(--space-2);
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
}


/* ---------------------------------------------------------
   12. WAITLIST FORM SECTION
   --------------------------------------------------------- */
.waitlist {
  background: linear-gradient(135deg, var(--rose), var(--gold));
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.waitlist__card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  max-width: 520px;
  margin-inline: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .waitlist__card {
    padding: var(--space-12) var(--space-10);
  }
}

.waitlist__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-block-end: var(--space-2);
}

.waitlist__subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-block-end: var(--space-8);
}

/* Form Styling */
.form-group {
  margin-block-end: var(--space-5);
  position: relative;
}

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-family: var(--font-ar);
  color: var(--text-primary);
  background: var(--light-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  outline: none;
}

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

.form-input:focus {
  background: var(--white);
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--rose-light);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #EF4444;
}

.form-select {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  font-family: var(--font-ar);
  color: var(--text-primary);
  background: var(--light-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left var(--space-4) center;
  padding-inline-start: var(--space-5);
}

[dir="rtl"] .form-select {
  background-position: left var(--space-4) center;
}

.form-select:focus {
  background-color: var(--white);
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--rose-light);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-block-end: var(--space-2);
}

/* Submit Button */
.form-submit {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--rose), #d4545c);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.form-submit:hover {
  background: linear-gradient(135deg, #d4545c, var(--rose));
  box-shadow: var(--shadow-rose);
  transform: translateY(-2px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit.is-loading {
  pointer-events: none;
  color: transparent;
}

.form-submit.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid var(--text-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}


/* ---------------------------------------------------------
   13. SOCIAL PROOF / TESTIMONIALS
   --------------------------------------------------------- */
.testimonials {
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Quote Mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  inset-inline-start: var(--space-6);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--rose);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-block-end: var(--space-6);
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}


/* ---------------------------------------------------------
   14. FAQ SECTION
   --------------------------------------------------------- */
.faq {
  background: var(--light-bg);
}

.faq__list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  margin-block-end: var(--space-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:nth-child(odd) {
  background: var(--white);
}

.faq-item:nth-child(even) {
  background: rgba(255, 255, 255, 0.6);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: start;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: var(--space-4);
  background: transparent;
  border: none;
  font-family: var(--font-ar);
}

.faq-item__question:hover {
  color: var(--rose);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--text-muted);
  font-size: var(--text-lg);
  font-weight: 300;
  transition: all var(--transition-normal);
}

.faq-item.open .faq-item__icon {
  background: var(--rose);
  color: var(--text-white);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1),
              padding var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
  padding-inline: var(--space-6);
}

.faq-item.open .faq-item__answer {
  max-height: 400px;
  padding-block-end: var(--space-6);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.9;
}


/* ---------------------------------------------------------
   14b. BLOG SECTION
   --------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  transition: all var(--transition-normal);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}


/* ---------------------------------------------------------
   15. FOOTER
   --------------------------------------------------------- */
.footer {
  background: var(--footer-dark);
  padding-block-start: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-block-end: var(--space-12);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand-name {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-white);
  margin-block-end: var(--space-3);
}

.footer__brand-name span {
  color: var(--gold);
  font-size: var(--text-base);
  font-weight: 400;
  opacity: 0.5;
  margin-inline-start: var(--space-2);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--text-lighter);
  line-height: 1.8;
  max-width: 300px;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-white);
  margin-block-end: var(--space-5);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-lighter);
  padding-block: var(--space-2);
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold);
  padding-inline-start: var(--space-2);
}

/* Social Icons */
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-block-start: var(--space-6);
}

.footer__social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: var(--text-lg);
  transition: all var(--transition-normal);
}

.footer__social-icon:hover {
  background: var(--rose);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer__social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer Bottom / Copyright */
.footer__bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--text-lighter);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--text-lighter);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--gold);
}


/* ---------------------------------------------------------
   16. FLOATING BUTTONS (WhatsApp & Chat)
   --------------------------------------------------------- */

/* WhatsApp Button */
.fab-whatsapp {
  position: fixed;
  bottom: var(--space-6);
  inset-inline-end: var(--space-6);
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Chat Widget Button */
.fab-chat {
  position: fixed;
  bottom: var(--space-6);
  inset-inline-start: var(--space-6);
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232, 99, 107, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s both;
}

.fab-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(232, 99, 107, 0.5);
}

.fab-chat svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Floating button pulse ring */
.fab-whatsapp::before,
.fab-chat::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: fabPulse 2s ease-out 2s infinite;
}


/* ---------------------------------------------------------
   17. CHAT WIDGET PANEL
   --------------------------------------------------------- */
.chat-widget {
  position: fixed;
  bottom: calc(var(--space-6) + 56px + var(--space-4));
  inset-inline-start: var(--space-6);
  z-index: 901;
  width: calc(100vw - var(--space-12));
  max-width: 360px;
  max-height: 480px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Chat Header */
.chat-widget__header {
  background: var(--primary-dark);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-widget__header-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-white);
}

.chat-widget__header-status {
  font-size: var(--text-xs);
  color: #25D366;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.chat-widget__header-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
}

.chat-widget__close {
  color: var(--text-light);
  cursor: pointer;
  padding: var(--space-1);
  font-size: var(--text-lg);
  transition: color var(--transition-fast);
}

.chat-widget__close:hover {
  color: var(--text-white);
}

/* Chat Messages Area */
.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: #F7F8FA;
}

.chat-bubble {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.7;
  position: relative;
}

/* RTL: Bot messages align to start, User to end */
.chat-bubble--bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text-primary);
  border-end-start-radius: var(--space-1);
  box-shadow: var(--shadow-sm);
}

.chat-bubble--user {
  align-self: flex-end;
  background: var(--rose);
  color: var(--text-white);
  border-end-end-radius: var(--space-1);
}

.chat-bubble__time {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-block-start: var(--space-1);
  display: block;
}

/* Typing Indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  border-end-start-radius: var(--space-1);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.chat-typing__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.chat-typing__dot:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing__dot:nth-child(3) {
  animation-delay: 0.3s;
}

/* Chat Input */
.chat-widget__input {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-block-start: 1px solid var(--border-light);
  background: var(--white);
  flex-shrink: 0;
}

.chat-widget__input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: transparent;
  padding: var(--space-2);
}

.chat-widget__input input::placeholder {
  color: var(--text-muted);
}

.chat-widget__send {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.chat-widget__send:hover {
  background: #d4545c;
  transform: scale(1.05);
}

.chat-widget__send svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  /* Flip arrow for RTL send direction */
  transform: scaleX(-1);
}


/* ---------------------------------------------------------
   18. ANIMATIONS
   --------------------------------------------------------- */

/* Keyframes */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0) translateY(0);
  }
  25% {
    opacity: 1;
    transform: scale(1.2) translateY(-8px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1) translateY(-16px);
  }
  75% {
    opacity: 0.4;
    transform: scale(0.6) translateY(-24px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fabPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes counterPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Animation Utility Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .slide-in-right {
  transform: translateX(-40px);
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .slide-in-left {
  transform: translateX(40px);
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.counter-animate {
  animation: counterPop 0.4s ease;
}

.bounce {
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }


/* ---------------------------------------------------------
   19. REDUCED MOTION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .fade-in,
  .scale-in,
  .slide-in-right,
  .slide-in-left {
    opacity: 1;
    transform: none;
  }
}


/* ---------------------------------------------------------
   20. PRINT STYLES
   --------------------------------------------------------- */
@media print {
  .navbar,
  .fab-whatsapp,
  .fab-chat,
  .chat-widget,
  .mobile-drawer,
  .mobile-drawer__overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding-block: var(--space-8);
  }

  .section-padding {
    padding-block: var(--space-8);
  }
}


/* ---------------------------------------------------------
   21. FOCUS & ACCESSIBILITY
   --------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: var(--space-4);
  background: var(--rose);
  color: var(--text-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}
