/* =====================================================
   BARAEM — Design System & Global Styles
   baraemapp.com
   ===================================================== */

/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap');

/* 2. CSS CUSTOM PROPERTIES (Design Tokens) */
:root {
  /* Brand Colors */
  --clr-salmon: #F8A4B8;
  --clr-salmon-dark: #EE7C9E;
  --clr-lavender: #A8B4F0;
  --clr-lavender-dark: #8B9CF0;
  --clr-gold: #F0C27A;
  --clr-gold-dark: #E8A960;
  --clr-mint: #9ED9D0;
  --clr-mint-dark: #74C7B8;
  --clr-lilac: #D4A5F5;
  --clr-lilac-dark: #BB86E5;

  /* Neutrals */
  --clr-bg: #F7F8FC;
  --clr-white: #FFFFFF;
  --clr-text: #2D3142;
  --clr-text-muted: #6B7280;
  --clr-border: #E8EAF2;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--clr-salmon) 0%, var(--clr-salmon-dark) 100%);
  --grad-hero: linear-gradient(135deg, #FFF5F8 0%, #F0F3FF 50%, #F5FFF8 100%);
  --grad-lavender: linear-gradient(135deg, var(--clr-lavender) 0%, var(--clr-lavender-dark) 100%);
  --grad-mint: linear-gradient(135deg, var(--clr-mint) 0%, var(--clr-mint-dark) 100%);
  --grad-gold: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
  --grad-lilac: linear-gradient(135deg, var(--clr-lilac) 0%, var(--clr-lilac-dark) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(45, 49, 66, 0.06);
  --shadow-md: 0 8px 30px rgba(45, 49, 66, 0.10);
  --shadow-lg: 0 20px 60px rgba(45, 49, 66, 0.12);
  --shadow-salmon: 0 10px 30px rgba(238, 124, 158, 0.30);
  --shadow-card: 0 4px 20px rgba(45, 49, 66, 0.07);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Spacing */
  --section-py: 96px;
  --container: 1200px;

  /* Typography */
  --font-en: 'Outfit', system-ui, sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Outfit', system-ui, sans-serif;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --clr-bg: #0F172A;
    --clr-white: #1E293B;
    --clr-text: #F8FAFC;
    --clr-text-muted: #94A3B8;
    --clr-border: #334155;
    --grad-hero: linear-gradient(135deg, #1E121B 0%, #151A2E 50%, #112019 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-salmon: 0 10px 30px rgba(238, 124, 158, 0.15);
  }
}


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

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

body {
  font-family: var(--font-en);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] body {
  font-family: var(--font-ar);
}

[dir="rtl"] * {
  letter-spacing: 0 !important;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* 4. UTILITY CLASSES */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-salmon-dark);
  background: rgba(248, 164, 184, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

[dir="rtl"] .section-label {
  letter-spacing: 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--clr-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Highlight span in headings */
.highlight {
  color: var(--clr-salmon-dark);
}

/* 5. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-salmon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(238, 124, 158, 0.40);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-salmon);
  color: var(--clr-salmon-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
@media (prefers-color-scheme: dark) {
  .btn-ghost {
    background: rgba(0, 0, 0, 0.2);
    color: var(--clr-text);
    border-color: rgba(255, 255, 255, 0.15);
  }
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
@media (prefers-color-scheme: dark) {
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--clr-salmon-dark);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* 6. NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.navbar.scrolled .navbar-logo img {
  height: 44px;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1;
}

.navbar-logo img {
  height: 56px;
  width: auto;
}

.navbar-logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-text);
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 4px;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-links a.active {
  color: var(--clr-salmon-dark);
}

.navbar-links a.active::after {
  width: 80%;
}

.navbar-links a:hover {
  color: var(--clr-salmon-dark);
}

.navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 1;
}

/* Nav Login Text Link */
.nav-login-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: var(--transition);
  padding: 8px;
}

.nav-login-btn:hover {
  color: var(--clr-salmon-dark);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--clr-border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-text-muted);
  transition: var(--transition);
  letter-spacing: 0.04em;
}

.lang-btn.active {
  background: var(--clr-white);
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Nav Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .mobile-menu {
    background: rgba(15, 23, 42, 0.97);
  }
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-text);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

.mobile-menu a:hover {
  background: rgba(248, 164, 184, 0.12);
  color: var(--clr-salmon-dark);
}

.mobile-menu .mobile-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
  padding: 0 32px;
}

.mobile-menu .mobile-actions .btn {
  width: 100%;
  justify-content: center;
}

.mobile-menu .lang-toggle {
  margin-top: 8px;
}

/* Mobile close (X) button — hidden by default, shown when menu is open */
.mobile-close-btn {
  display: none;
}

.mobile-menu.open .mobile-close-btn {
  display: flex;
  position: fixed;
  top: 18px;
  inset-inline-end: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: var(--clr-text);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  z-index: 1101;
}

.mobile-menu.open .mobile-close-btn:hover {
  background: rgba(248, 164, 184, 0.25);
  color: var(--clr-salmon-dark);
}

/* 7. HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}

/* Blobs removed for performance and quieter aesthetic */

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--clr-mint-dark);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin-bottom: 24px;
}

[dir="rtl"] .hero-title {
  letter-spacing: 0;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-text);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.store-badge:hover {
  background: #3d4257;
  transform: translateY(-2px);
}

.store-badge.coming-soon {
  background: rgba(45, 49, 66, 0.55);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  opacity: 0.7;
}

.store-badge.coming-soon:hover {
  background: rgba(45, 49, 66, 0.55);
  transform: none;
}

.store-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.store-badge-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.75;
}

.store-badge-text strong {
  display: block;
  font-size: 14px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 580px;
  filter: drop-shadow(0 30px 60px rgba(45, 49, 66, 0.15));
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* 8. STATS BAR */
.stats-bar {
  background: var(--clr-white);
  padding: 48px 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--clr-salmon-dark);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number span {
  display: inline-block;
  text-align: right;
}

.stat-label {
  font-size: 14px;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* 9. FEATURES */
.features {
  background: var(--clr-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--grad-primary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

[dir="rtl"] .feature-card::before {
  transform-origin: right;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--icon-bg, rgba(248, 164, 184, 0.12));
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* Feature Card Color Variants */
.feature-card:nth-child(1) {
  --card-accent: var(--grad-primary);
  --icon-bg: rgba(248, 164, 184, 0.12);
}

.feature-card:nth-child(2) {
  --card-accent: var(--grad-lavender);
  --icon-bg: rgba(168, 180, 240, 0.12);
}

.feature-card:nth-child(3) {
  --card-accent: var(--grad-mint);
  --icon-bg: rgba(158, 217, 208, 0.12);
}

.feature-card:nth-child(4) {
  --card-accent: var(--grad-gold);
  --icon-bg: rgba(240, 194, 122, 0.12);
}

.feature-card:nth-child(5) {
  --card-accent: var(--grad-lilac);
  --icon-bg: rgba(212, 165, 245, 0.12);
}

.feature-card:nth-child(6) {
  --card-accent: var(--grad-primary);
  --icon-bg: rgba(248, 164, 184, 0.08);
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 40px);
  right: calc(16.66% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-salmon), var(--clr-lavender));
  z-index: 0;
}

[dir="rtl"] .steps-grid::before {
  background: linear-gradient(270deg, var(--clr-salmon), var(--clr-lavender));
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(248, 164, 184, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-salmon-dark);
}

.step-card:nth-child(2) .step-number {
  background: rgba(168, 180, 240, 0.15);
  color: var(--clr-lavender-dark);
}

.step-card:nth-child(3) .step-number {
  background: rgba(158, 217, 208, 0.15);
  color: var(--clr-mint-dark);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

/* 11. APP PREVIEW */
.app-preview {
  background: linear-gradient(135deg, #1a1c2e 0%, #2d1f47 50%, #1a2e2a 100%);
  overflow: hidden;
  position: relative;
}

.app-preview .section-label {
  color: var(--clr-mint);
  background: rgba(158, 217, 208, 0.15);
}

.app-preview .section-title {
  color: var(--clr-white);
}

.app-preview .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.app-preview-bg {
  display: none;
}

.screens-carousel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.screens-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

[dir="rtl"] .screen-tab {
  text-align: right;
}

.screen-tab.active,
.screen-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(248, 164, 184, 0.4);
}

.screen-tab-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 4px;
}

.screen-tab-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.screens-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.screens-image img {
  max-height: 420px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transition: var(--transition-slow);
  object-fit: cover;
}

/* 12. TESTIMONIALS */
.testimonials {
  background: var(--clr-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-border);
  transition: var(--transition-slow);
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--clr-gold-dark);
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.author-avatar.avatar-salmon {
  background: rgba(248, 164, 184, 0.15);
  color: var(--clr-salmon-dark);
  font-weight: 800;
}
.author-avatar.avatar-lavender {
  background: rgba(168, 180, 240, 0.15);
  color: var(--clr-lavender-dark);
  font-weight: 800;
}
.author-avatar.avatar-mint {
  background: rgba(158, 217, 208, 0.15);
  color: var(--clr-mint-dark);
  font-weight: 800;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
}

.author-role {
  font-size: 12px;
  color: var(--clr-text-muted);
}

/* 13. QUOTE REQUEST */
.quote-section {
  background: var(--clr-white);
}

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}



.quote-info .section-title {
  text-align: left;
}

[dir="rtl"] .quote-info .section-title {
  text-align: right;
}

.quote-info .section-subtitle {
  text-align: left;
  margin-bottom: 32px;
}

[dir="rtl"] .quote-info .section-subtitle {
  text-align: right;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-method:hover {
  border-color: var(--clr-salmon);
  background: rgba(248, 164, 184, 0.05);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-method-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
}

.contact-method-text span {
  font-size: 13px;
  color: var(--clr-text-muted);
}

/* Form */
.quote-form-wrap {
  background: var(--clr-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--clr-border);
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--clr-text);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--clr-salmon-dark);
  box-shadow: 0 0 0 3px rgba(238, 124, 158, 0.12);
}

.form-control::placeholder {
  color: #bbb;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
}

.form-success-msg {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(158, 217, 208, 0.15);
  border: 1px solid var(--clr-mint);
  border-radius: var(--radius-md);
  color: var(--clr-mint-dark);
  font-weight: 600;
  margin-top: 16px;
}

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

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(248, 164, 184, 0.4);
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--clr-salmon-dark);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 14px;
  color: var(--clr-text-muted);
}

.faq-item.open .faq-chevron {
  background: rgba(248, 164, 184, 0.15);
  color: var(--clr-salmon-dark);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
}

/* 15. CTA BANNER */
.cta-banner {
  background: linear-gradient(150deg, #F2607A 0%, var(--clr-salmon-dark) 55%, #D4618C 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
}

/* Subtle noise texture overlay for depth */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-bg {
  display: none;
}

.cta-banner .section-label {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
}

.cta-banner-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.cta-banner-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* High-contrast buttons inside the pink banner */
.cta-banner .btn-ghost {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.cta-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

/* 16. FOOTER */
.footer {
  background: var(--clr-text);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}



.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-white);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

.social-btn:hover {
  background: var(--clr-salmon);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-white);
  margin-bottom: 20px;
}

[dir="rtl"] .footer-col-title {
  letter-spacing: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--clr-white);
  padding-left: 4px;
}

[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.70);
}

/* 17. SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* Staggered children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.stagger-children.visible>*:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.19s;
}

.stagger-children.visible>*:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}

.stagger-children.visible>*:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.33s;
}

.stagger-children.visible>*:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.40s;
}

/* 18. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  [dir="rtl"] .hero-inner {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stores {
    justify-content: center;
  }

  .hero-visual img {
    max-width: 460px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid>*:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .quote-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px;
  }

  .quote-info .section-title {
    text-align: center;
  }

  .quote-info .section-subtitle {
    text-align: center;
    margin: 0 auto 32px;
  }

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

  .screens-carousel {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  .navbar-links {
    display: none;
  }

  /* Hide the entire desktop actions bar on mobile */
  .navbar-actions {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  /* Reduce navbar height on mobile */
  .navbar {
    padding: 12px 0;
  }

  /* Push hero content below the fixed navbar */
  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .testimonials-grid>*:last-child {
    grid-column: auto;
    max-width: 100%;
  }

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

  .form-group.full-width {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .quote-form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stores {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    width: 200px;
    justify-content: center;
  }
}