/* ===========================
   LAMSA - الدليل السوري الشامل
   Professional CSS Stylesheet
   =========================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #2B5B9F;
  --primary-mid: #2d63ae;
  --primary-light: #3a73bf;
  --accent: #4a7ec8;
  --accent-purple: #5a6fc0;
  --accent-violet: #4a5fb0;
  --hero-bg: #eef4ff;
  --hero-bg2: #e6efff;
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f0f4ff;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --green: #00897b;
  --teal: #00acc1;
  --orange: #ff7043;
  --shadow-sm: 0 2px 8px rgba(26, 35, 126, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 35, 126, 0.10);
  --shadow-lg: 0 20px 60px rgba(26, 35, 126, 0.14);
  --shadow-xl: 0 30px 80px rgba(26, 35, 126, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Alexandria', sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.85;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 20px;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 12px 20px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(26, 35, 126, 0.15), 0 4px 10px rgba(26, 35, 126, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(26, 35, 126, 0.2));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gray-400);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gray-100);
}

.nav-link.active {
  color: var(--accent-purple);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-download-app {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(26, 35, 126, 0.25);
}

.btn-download-app:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26, 35, 126, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #eef2ff 0%, #e8ecff 40%, #f0f4ff 70%, #fff 100%);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-shape {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.07) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 60px 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 520px;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--gray-800);
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero-title-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-purple) 0%, #a28bf2 45%, #d4c4ff 50%, #a28bf2 55%, var(--accent-purple) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: text-shine 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(124, 77, 255, 0.25));
}

@keyframes text-shine {
  to {
    background-position: 200% center;
  }
}

.hero-desc {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.hero-store-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  justify-content: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  background: white;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.store-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-sub {
  font-size: 0.65rem;
  color: var(--gray-400);
  font-weight: 400;
}

.store-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-800);
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-purple), var(--primary-light));
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.35);
}

.btn-explore svg {
  transform: rotate(180deg);
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 77, 255, 0.45);
}

/* ===== PHONES ===== */
.hero-phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  height: 540px;
  width: 380px;
}

.phone {
  position: absolute;
  width: 220px;
  height: 460px;
  background: white;
  border-radius: 36px;
  box-shadow: var(--shadow-xl);
  border: 8px solid #1a1a2e;
  overflow: hidden;
  transition: var(--transition);
}

.phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-back {
  right: 0;
  bottom: 0;
  transform: rotate(-8deg);
  z-index: 1;
  opacity: 0.85;
  filter: blur(0.5px);
}

.phone-front {
  left: 0;
  bottom: 20px;
  transform: rotate(4deg);
  z-index: 2;
  animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {

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

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

.phone-screen {
  padding: 30px 12px 12px;
  height: 100%;
  background: #f8faff;
  overflow: hidden;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 8px;
  padding: 7px 10px;
  margin-bottom: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 10px;
  color: #999;
}

.phone-section-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.phone-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.phone-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: var(--gray-600);
  font-weight: 600;
}

.phone-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.phone-listing {
  display: flex;
  gap: 8px;
  background: white;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.phone-listing-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.phone-listing-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-listing-name {
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-800);
}

.phone-listing-loc,
.phone-listing-rating {
  font-size: 8px;
  color: var(--gray-400);
}

.phone-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: white;
  font-size: 9px;
  font-weight: 700;
  margin-top: 8px;
}

.phone-cta-sub {
  font-size: 7px;
  opacity: 0.8;
  margin-top: 2px;
  font-weight: 400;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-unified {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  /* Adjusted opacity to make it a subtle, elegant watermark */
  mix-blend-mode: multiply;
  filter: contrast(1.1);
  display: block;
}

/* ===========================
   CATEGORIES
   =========================== */
.categories-section {
  padding: 80px 0 60px;
  background: white;
}

.categories-section .section-title {
  margin-bottom: 2rem;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-width: 90px;
}

.category-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.cat-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.cat-icon-wrap svg {
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

.category-card:hover .cat-icon-wrap {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.category-card:active .cat-icon-wrap {
  transform: scale(0.95);
}

.cat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: center;
  white-space: nowrap;
}

/* ===========================
   FEATURES
   =========================== */
.features-section {
  padding: 0 0 80px;
  background: white;
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-blue {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.feature-purple {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
}

.feature-green {
  background: linear-gradient(135deg, #00897b, #00695c);
}

.feature-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===========================
   BUSINESS
   =========================== */
.business-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.business-section .section-title {
  margin-bottom: 0.5rem;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.business-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-purple));
  opacity: 0;
  transition: var(--transition);
}

.business-card:hover {
  box-shadow: 0 16px 40px rgba(124, 77, 255, 0.12);
  border-color: rgba(124, 77, 255, 0.2);
  transform: translateY(-8px);
}

.business-card:hover::before {
  opacity: 1;
}

.business-card-featured {
  border-color: var(--accent-purple);
  background: linear-gradient(150deg, #faf9ff, #f5f0ff);
}

.business-card-featured::before {
  opacity: 1;
}

.biz-illustration {
  margin: -32px -24px 24px -24px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  display: block;
}

.biz-img-fluid {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.business-card:hover .biz-img-fluid {
  transform: scale(1.08);
}

/* Cleaned old CSS art */

.biz-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.biz-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.biz-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  font-family: var(--font);
  cursor: pointer;
}

.biz-btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--primary-light));
  color: white;
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.3);
}

.biz-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 77, 255, 0.4);
}

.biz-btn-store {
  background: #2563eb;
  color: white;
  border: none;
}

.biz-btn-service {
  background: #1e3a8a;
  color: white;
  border: none;
}

.biz-btn-ad {
  background: #6d5dfc;
  color: white;
  border: none;
}

.biz-btn-store:hover,
.biz-btn-service:hover,
.biz-btn-ad:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

.business-cta {
  text-align: center;
}

.btn-create-account {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(26, 35, 126, 0.25);
  margin-bottom: 10px;
}

.btn-create-account:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26, 35, 126, 0.35);
}

.business-cta-sub {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ===========================
   STATS
   =========================== */
.stats-section {
  padding: 60px 0;
  background: var(--gray-50);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0f2048;
  border-radius: var(--radius-lg);
  padding: 24px 0;
  box-shadow: 0 10px 30px rgba(15, 32, 72, 0.15);
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 64px;
  height: 64px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: white;
  display: inline;
}

.stat-item>.stat-number,
.stat-item>.stat-plus {
  display: inline;
}

.stat-number-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 4px;
}

/* ===========================
   ABOUT
   =========================== */
.about-section {
  padding: 80px 0;
  background: white;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 3rem;
}

.about-video-container {
  display: flex;
  justify-content: center;
  position: relative;
}

/* A gorgeous phone mockup frame */
.about-video-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 40px;
  padding: 12px;
  background: white;
  box-shadow: 0 30px 60px rgba(15, 32, 72, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-video-frame:hover {
  transform: rotate(0deg) translateY(-10px);
}

.about-video-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: white;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.about-video-frame iframe {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: none;
  display: block;
  background: #000;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  padding: 20px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.about-icon-blue {
  background: #e8eaf6;
  color: var(--primary);
}

.about-icon-purple {
  background: #ede7f6;
  color: var(--accent-violet);
}

.about-icon-teal {
  background: #e0f2f1;
  color: var(--teal);
}

.about-icon-orange {
  background: #fbe9e7;
  color: var(--orange);
}

.about-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.about-card-desc {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===========================
   FAQ
   =========================== */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item.open {
  border-color: var(--accent-purple);
  box-shadow: 0 4px 20px rgba(124, 77, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: var(--font);
  gap: 12px;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
}

.btn-all-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(43, 91, 159, 0.25);
}

.btn-all-faq:hover {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 91, 159, 0.35);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: white;
}

.footer-main {
  padding: 10px 0 0;
}

.footer-container {
  max-width: 90%;
}

.footer-banner {
  background: #0f2048;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -10px 30px rgba(15, 32, 72, 0.15);
  position: relative;
  /* overflow is visible so phones can break out top */
}

.footer-banner-cols {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: stretch;
  position: relative;
}

.footer-col {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  text-align: center;
  padding: 10px 20px 10px;
}

.footer-col:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-col-right {
  justify-content: center;
}

.footer-col-middle {
  justify-content: center;
}

.footer-col-left {
  padding: 0 20px 0;
  justify-content: flex-end;
}

.footer-logo-img {
  width: 280px;
  height: auto;
  /* Allow natural height to prevent stretching */
  max-height: 280px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 20px;
}

.footer-brand-desc {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-app-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.footer-app-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.footer-store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  transition: var(--transition);
}

.footer-store-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fstore-sub {
  font-size: 0.65rem;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 4px;
}

.fstore-name {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.footer-social-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.footer-phones-override {
  position: absolute;
  bottom: 0;
  left: 30px;
  /* offset from the left edge */
  transform: scale(0.7);
  transform-origin: bottom left;
  z-index: 10;
  pointer-events: none;
}

.footer-phones-override .phone-back {
  opacity: 1;
  filter: none;
}

.footer-banner-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 40px;
  /* indent line */
}

/* Footer Bottom (Contact Info) */
.footer-bottom {
  padding: 15px 0;
  background: white;
}

.footer-contact-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: var(--primary);
}

/* ===========================
   STAT NUMBER DISPLAY FIX
   =========================== */
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-in-right {
  animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Stagger delays */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.footer-contact-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: white;
}

.mobile-only-btn {
  display: none;
}

/* ===== END ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-phones {
    width: 300px;
    height: 450px;
  }

  .phone {
    width: 190px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .desktop-only-btn {
    display: none;
  }

  .mobile-only-btn {
    display: block;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 8px;
    z-index: 999;
    
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links .nav-link,
  .nav-links .mobile-only-btn {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open .nav-link,
  .nav-links.open .mobile-only-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open .nav-link:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open .nav-link:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open .nav-link:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open .nav-link:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open .nav-link:nth-child(6) { transition-delay: 0.3s; }
  .nav-links.open .mobile-only-btn { transition-delay: 0.35s; }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .hero-store-btns {
    justify-content: center;
  }

  .btn-explore {
    justify-content: center;
  }

  .hero-phones {
    width: 100%;
    height: 320px;
    margin-top: 30px;
  }

  .phone {
    width: 160px;
    height: 330px;
  }

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

  .business-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 40px;
  }

  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

  .footer-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .footer-banner-cols {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
  }

  .footer-col:not(:last-child)::after {
    display: none;
  }

  .footer-col-left {
    display: none;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .store-btn {
    padding: 10px 14px;
  }

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

  .categories-grid {
    gap: 10px;
  }

  .cat-icon-wrap {
    width: 52px;
  }
}

/* ===========================
   ANIMATIONS & INTERACTIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

.hero-phones {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(124, 77, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(124, 77, 255, 0);
  }
}

.btn-explore {
  animation: pulse-soft 2s infinite;
}

/* ===== DOWNLOAD MODAL ===== */
.download-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.download-modal-overlay.active .download-modal-content {
  transform: scale(1) translateY(0);
}

.close-modal {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gray-100);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition);
}

.close-modal:hover {
  background: var(--gray-200);
  color: var(--gray-800);
  transform: rotate(90deg);
}

.modal-header-icon {
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-store-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.modal-store-btns .store-btn {
  width: 220px;
  justify-content: flex-start;
  padding: 12px 20px;
}

/* ===== ENHANCED HOVER INTERACTIONS ===== */
.feature-card,
.about-card,
.business-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
}

.feature-card:hover,
.about-card:hover,
.business-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(26, 35, 126, 0.12) !important;
  border-color: var(--primary-light) !important;
  z-index: 10;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 50%;
  width: 0;
  height: 3px;
  background: var(--accent-purple);
  transition: width 0.3s ease, right 0.3s ease;
  border-radius: 4px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  right: 0;
}

button:active,
.store-btn:active,
.btn-explore:active,
.nav-link:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s ease !important;
}

.faq-collapsed #faq-6 {
  display: none !important;
}

@media (min-width: 769px) {
  .faq-collapsed #faq-3 {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .faq-collapsed #faq-5 {
    display: none !important;
  }
}