/* ==========================================================================
   Shopekapp (شوبيك اب) Landing Page CSS stylesheet
   Brand: Purple (Trust, modern tech) & Orange (Speed, energy)
   RTL-first structure
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  --primary: hsl(262, 75%, 48%);
  --primary-light: hsl(262, 70%, 96%);
  --primary-dark: hsl(262, 80%, 35%);
  --primary-glow: rgba(106, 13, 173, 0.15);
  
  --accent: hsl(28, 95%, 53%);
  --accent-dark: hsl(28, 95%, 45%);
  --accent-light: hsl(28, 100%, 96%);
  --accent-glow: rgba(242, 118, 15, 0.2);

  --bg-light: hsl(220, 20%, 98%);
  --bg-white: hsl(0, 0%, 100%);
  --bg-dark: hsl(262, 50%, 10%); /* Deep purple-black for footer */
  
  --text-dark: hsl(220, 30%, 15%);
  --text-muted: hsl(220, 12%, 45%);
  --text-white: hsl(0, 0%, 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  
  --shadow-sm: 0 4px 12px rgba(106, 13, 173, 0.04);
  --shadow-md: 0 10px 30px rgba(106, 13, 173, 0.08);
  --shadow-lg: 0 20px 50px rgba(106, 13, 173, 0.15);
  --shadow-accent: 0 10px 30px rgba(242, 118, 15, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --header-height: 80px;
}

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

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

body {
  font-family: 'Cairo', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

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

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

ul {
  list-style: none;
}

/* 3. LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* 4. BUTTONS & UI ACTIONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(106, 13, 173, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(106, 13, 173, 0.35);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(242, 118, 15, 0.25);
}

.btn-secondary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(242, 118, 15, 0.35);
}

.btn-orange {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(242, 118, 15, 0.25);
}

.btn-orange:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(242, 118, 15, 0.35);
}

.btn-secondary-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* 5. FLOATING HEADER / NAVIGATION */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Cairo', sans-serif;
  letter-spacing: -0.5px;
}

.logo-highlight {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 8px 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Nav Open State */
.mobile-nav-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* 6. MOBILE OVERLAY MENU */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(106, 13, 173, 0.4);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.open .mobile-menu {
  right: 0;
}

.mobile-link {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid hsl(220, 20%, 95%);
  color: var(--text-dark);
}

.mobile-link:hover {
  color: var(--primary);
  padding-right: 10px;
}

.mobile-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 7. HERO SECTION */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  overflow: hidden;
}

/* Styling decorative blur blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background-color: var(--accent);
  bottom: 0px;
  left: -150px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-light);
  border: 1px solid hsla(262, 75%, 48%, 0.15);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight-purple-orange {
  position: relative;
  color: var(--primary);
  white-space: nowrap;
}

.highlight-purple-orange::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--accent-glow);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--bg-white);
  padding: 24px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Outfit', 'Cairo', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-right: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: hsl(220, 20%, 90%);
}

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

.phone-mockup-container {
  position: relative;
  width: 320px;
  z-index: 2;
  transition: var(--transition-smooth);
}

.phone-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: float-mockup 6s ease-in-out infinite;
}

.phone-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 2px dashed rgba(106, 13, 173, 0.15);
  border-radius: 50px;
  animation: rotate-ring 30s linear infinite;
  z-index: 1;
}

@keyframes float-mockup {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 8. SECTION COMMON STYLING */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
}

.text-gradient {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), hsl(262, 90%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), hsl(15, 95%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 9. FEATURES SECTION */
.features-section {
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid hsl(220, 20%, 95%);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-white);
  border-color: rgba(106, 13, 173, 0.15);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .card-icon-wrapper {
  background-color: var(--primary);
  color: var(--text-white);
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

/* 10. HOW IT WORKS SECTION */
.how-section {
  background-color: var(--bg-light);
}

.steps-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  flex: 1;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

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

.step-number-badge {
  position: absolute;
  top: -20px;
  right: 50%;
  transform: translateX(50%);
  width: 44px;
  height: 44px;
  background-color: var(--accent);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(242, 118, 15, 0.3);
  font-family: 'Outfit', sans-serif;
  border: 4px solid var(--bg-light);
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 24px;
  margin-top: 10px;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

.step-connector {
  align-self: center;
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.4;
  animation: bounce-arrow-left 2s infinite ease-in-out;
}

@keyframes bounce-arrow-left {
  0% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
  100% { transform: translateX(0); }
}

/* 11. PARTNERS SECTION */
.partners-section {
  background-color: var(--bg-white);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.partner-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: var(--text-white);
  transition: var(--transition-smooth);
}

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

.merchant-partner {
  background: linear-gradient(135deg, hsl(262, 50%, 20%), hsl(262, 75%, 48%));
}

.pilot-partner {
  background: linear-gradient(135deg, hsl(262, 60%, 15%), hsl(28, 95%, 45%));
}

.partner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 80%);
  pointer-events: none;
}

.partner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partner-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.partner-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.partner-card p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 480px;
}

/* 12. DOWNLOAD SECTION */
.download-section {
  background-color: var(--primary-light);
  overflow: hidden;
}

.download-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.download-text-area h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.download-text-area p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 500;
}

.download-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.play-store-badge,
.app-store-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--text-dark);
  color: var(--text-white);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  gap: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  text-decoration: none;
  font-size: 1rem;
}

.play-store-badge:hover,
.app-store-badge:hover {
  background-color: #000;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

.play-store-badge .badge-icon,
.app-store-badge .badge-icon {
  font-size: 2rem;
}

.play-store-badge .badge-icon {
  color: var(--accent);
}

.app-store-badge .badge-icon {
  color: var(--text-white);
}

.play-store-badge .badge-text,
.app-store-badge .badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.play-store-badge .badge-text .small-text,
.app-store-badge .badge-text .small-text {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 500;
  line-height: 1.2;
}

.play-store-badge .badge-text .large-text,
.app-store-badge .badge-text .large-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 2px;
}

.qr-scanner-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 440px;
  border: 1px solid rgba(106, 13, 173, 0.08);
}

.qr-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(262, 70%, 98%);
  color: var(--primary);
  flex-shrink: 0;
}

.qr-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 3px solid var(--primary);
}

.qr-corner.top-left { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 4px; }
.qr-corner.top-right { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 4px; }
.qr-corner.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 4px; }

.qr-inner {
  font-size: 2.2rem;
  animation: scan-qr 2s ease-in-out infinite alternate;
}

@keyframes scan-qr {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

.qr-description h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.qr-description p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.download-visual-area {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background-color: var(--bg-white);
  z-index: 1;
  opacity: 0.7;
}

.download-mockup-img {
  width: 290px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(106, 13, 173, 0.2));
}

/* 13. FAQ SECTION */
.faq-section {
  background-color: var(--bg-white);
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid hsl(220, 20%, 93%);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(106, 13, 173, 0.25);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: transparent;
  border: none;
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
  cursor: pointer;
}

.faq-arrow {
  font-size: 0.95rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

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

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

.faq-answer p {
  padding: 0 32px 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 500;
}

/* 14. FOOTER SECTION */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding-top: 80px;
  border-top: 2px solid rgba(106, 13, 173, 0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-logo-img {
  height: 44px;
}

.footer-logo span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
}

.footer-desc {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-links-group h4, .footer-contact-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--accent);
  position: relative;
  padding-bottom: 8px;
}

.footer-links-group h4::after, .footer-contact-info h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group ul a {
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: 600;
}

.footer-links-group ul a:hover {
  opacity: 1;
  color: var(--accent);
  padding-right: 6px;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-contact-info p i {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 30px 0;
}

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

.copyrights {
  font-size: 0.85rem;
  opacity: 0.6;
  font-weight: 500;
}

.tech-signature {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 700;
  color: var(--accent-light);
}

/* 15. SCROLL REVEAL STYLING */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 16. RESPONSIVE DESIGN (MEDIA QUERIES) */

/* Large Tablets & Desktop (992px) */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .steps-layout {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .step-connector {
    transform: rotate(-90deg);
    animation: bounce-arrow-down 2s infinite ease-in-out;
  }
  
  @keyframes bounce-arrow-down {
    0% { transform: translateY(0) rotate(-90deg); }
    50% { transform: translateY(8px) rotate(-90deg); }
    100% { transform: translateY(0) rotate(-90deg); }
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .download-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .qr-scanner-wrapper {
    margin: 0 auto;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile & Small Screen (768px) */
@media (max-width: 768px) {
  .nav-links, .header-actions {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
  }
  
  .stat-divider {
    width: 80%;
    height: 1px;
  }
  
  .phone-mockup-container {
    width: 260px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .partner-card {
    padding: 40px 24px;
  }
  
  .partner-card h3 {
    font-size: 1.5rem;
  }
  
  .download-text-area h2 {
    font-size: 2.2rem;
  }
  
  .download-mockup-img {
    width: 240px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  
  .download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  
  .play-store-badge,
  .app-store-badge {
    flex: 1;
    max-width: 220px;
    justify-content: center;
    padding: 12px 16px;
  }
}

/* Extra Small Phones (480px) */
@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .play-store-badge,
  .app-store-badge {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   17. MODAL STYLING (iOS APP STORE INSTRUCTIONS)
   ========================================================================== */
/* Modal overlay background */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 13, 17, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Card */
.modal-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: hsl(0, 75%, 95%);
  color: hsl(0, 75%, 50%);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-apple-icon {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-light);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid hsl(220, 20%, 95%);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-desc p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.6;
}

.share-icon-blue {
  color: #007aff;
  margin: 0 4px;
}

.add-icon-blue {
  color: var(--text-dark);
  margin: 0 4px;
}

.btn-modal-action {
  font-size: 1rem;
  padding: 14px 28px;
}


/* Partner Buttons Group & iOS Glass CTA */
.partner-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
}

.btn-ios-partner {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-ios-partner:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  color: var(--text-white);
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
  text-align: right;
  transition: var(--transition-fast);
}

.footer-link-btn:hover {
  color: var(--accent);
}
