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

:root {
  --teal-50:  #e6faf7;
  --teal-100: #b3f0e8;
  --teal-200: #80e6d9;
  --teal-300: #4ddcca;
  --teal-400: #26d2bb;
  --teal-500: #1ab8a0;
  --teal-600: #15967f;
  --teal-700: #10735f;
  --teal-800: #0b503f;
  --teal-900: #062d20;

  --green-400: #2dd67a;
  --green-500: #22c069;

  --navy-950: #060d13;
  --navy-900: #0a1520;
  --navy-800: #0f2233;
  --navy-700: #163047;
  --navy-600: #1e415e;
  --navy-500: #295471;

  --glass-bg: rgba(15, 34, 51, 0.6);
  --glass-border: rgba(26, 184, 160, 0.15);
  --card-bg: rgba(15, 34, 51, 0.8);

  --text-primary: #f0faf8;
  --text-secondary: #a8d5cd;
  --text-muted: #6b9e96;

  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;

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

  --shadow-glow: 0 0 40px rgba(26, 184, 160, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.6);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-ar);
  background-color: var(--navy-950);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--teal-600); border-radius: 3px; }

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

.navbar.scrolled {
  background: rgba(6, 13, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(26, 184, 160, 0.5));
}

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.nav-cta {
  background: linear-gradient(135deg, var(--teal-500), var(--green-500));
  color: white;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(26, 184, 160, 0.4);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 184, 160, 0.5);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 184, 160, 0.4), transparent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 214, 122, 0.25), transparent);
  bottom: 0;
  left: -50px;
  animation-delay: 2s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 184, 160, 0.2), transparent);
  top: 40%;
  left: 40%;
  animation-delay: 4s;
}

.hex-grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M0 52 L15 26 L45 26 L60 52 L45 78 L15 78 Z' fill='none' stroke='rgba(26,184,160,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 104px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 184, 160, 0.15);
  border: 1px solid rgba(26, 184, 160, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--teal-300);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-400), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInDown 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeInDown 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--green-500));
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26, 184, 160, 0.4);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 184, 160, 0.6);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-ios-wrapper {
  position: relative;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: not-allowed;
  font-family: var(--font-ar);
  opacity: 0.7;
}

.ios-badge {
  position: absolute;
  top: -10px;
  left: -4px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-en);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: fadeInDown 0.6s ease 0.4s both;
}

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

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-400);
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--glass-border);
}

/* Phone Mockup */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.phone-glow {
  position: absolute;
  width: 240px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(26, 184, 160, 0.3), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1a2940, #0f1e2e);
  border-radius: 40px;
  border: 2px solid rgba(26, 184, 160, 0.3);
  box-shadow:
    0 0 0 8px rgba(15, 30, 46, 0.9),
    0 0 0 10px rgba(26, 184, 160, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #0a1520;
  border-radius: 0 0 20px 20px;
  margin-bottom: 4px;
  flex-shrink: 0;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

.phone-home-bar {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 12px 0;
  flex-shrink: 0;
}

.floating-card {
  position: absolute;
  background: rgba(10, 21, 32, 0.95);
  border: 1px solid rgba(26, 184, 160, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  animation: float-card 4s ease-in-out infinite;
  z-index: 10;
}

.card-1 {
  top: 15%;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-icon {
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 184, 160, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.fc-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fc-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-en);
  white-space: nowrap;
}

.fc-sub {
  font-size: 0.65rem;
  color: var(--teal-400);
}

.scroll-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: fadeIn 1s ease 1s both;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--teal-500);
  border-bottom: 2px solid var(--teal-500);
  transform: rotate(45deg);
  animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* ===== SHARED SECTION STYLES ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  background: rgba(26, 184, 160, 0.12);
  border: 1px solid rgba(26, 184, 160, 0.25);
  color: var(--teal-400);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title.light {
  color: white;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 24px;
  position: relative;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease var(--delay) both;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(26, 184, 160, 0.08), transparent);
  border-radius: 50%;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26, 184, 160, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(26, 184, 160, 0.1);
}

.feature-icon-wrap {
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 184, 160, 0.15), rgba(45, 214, 122, 0.1));
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 184, 160, 0.2);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 40px 24px 120px;
}

.categories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}

.cat-card:hover {
  border-color: var(--teal-500);
  color: var(--teal-300);
  background: rgba(26, 184, 160, 0.08);
  transform: translateY(-3px);
}

.cat-emoji {
  font-size: 1.2rem;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  position: relative;
  overflow: hidden;
}

.screenshots::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 184, 160, 0.06), transparent 70%);
  pointer-events: none;
}

/* ---- Slider wrapper ---- */
.screenshots-slider-wrapper {
  position: relative;
  width: 100%;
}

/* The outer visible window */
.slider-viewport {
  width: 100%;
  overflow: hidden;
  padding: 24px 0 8px;
}

/* The sliding rail – moves via JS transform */
.screenshots-track {
  display: flex;
  align-items: center;
  gap: 0;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Each slide takes the full width of the viewport */
.screenshot-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  padding: 20px 16px 32px;
  box-sizing: border-box;
}

/* ---- Phone frames inside each slide ---- */
.ss-phone-frame {
  flex: 0 0 auto;
  width: clamp(140px, 18vw, 200px);
  height: clamp(260px, 34vw, 385px);
  background: linear-gradient(145deg, #1a2940, #0f1e2e);
  border-radius: 28px;
  border: 2px solid rgba(26, 184, 160, 0.2);
  overflow: hidden;
  box-shadow:
    0 0 0 5px rgba(15, 30, 46, 0.9),
    0 0 0 7px rgba(26, 184, 160, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  position: relative;
}

.ss-phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: #0a1520;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.ss-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-phone-frame:hover {
  border-color: rgba(26, 184, 160, 0.5);
  box-shadow:
    0 0 0 5px rgba(15, 30, 46, 0.9),
    0 0 0 7px rgba(26, 184, 160, 0.15),
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(26, 184, 160, 0.15);
  transform: translateY(-8px);
}

/* Center / side scaling effect */
.ss-phone-frame.center {
  transform: scale(1.08) translateY(-6px);
  border-color: rgba(26, 184, 160, 0.5);
  box-shadow:
    0 0 0 5px rgba(15, 30, 46, 0.9),
    0 0 0 7px rgba(26, 184, 160, 0.2),
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(26, 184, 160, 0.2);
}

.ss-phone-frame.side {
  opacity: 0.7;
  transform: scale(0.92);
}

.ss-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  padding: 0 16px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  touch-action: manipulation;
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-btn:hover,
.slider-btn:active {
  background: rgba(26, 184, 160, 0.15);
  border-color: var(--teal-500);
  color: var(--teal-400);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-600);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
  touch-action: manipulation;
}

.dot.active {
  background: var(--teal-500);
  width: 28px;
  border-radius: 4px;
  border-color: transparent;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 120px 24px;
  position: relative;
  background: linear-gradient(135deg, #061a2a 0%, #0a2035 50%, #061a2a 100%);
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 184, 160, 0.15), transparent);
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

.download-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 214, 122, 0.1), transparent);
  bottom: -100px;
  left: -100px;
  filter: blur(60px);
}

.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: rgba(10, 21, 32, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.android-card::before {
  background: linear-gradient(90deg, var(--teal-500), var(--green-400));
}

.ios-card::before {
  background: linear-gradient(90deg, #7c3aed, #db2777);
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 184, 160, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.dl-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.store-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-icon svg {
  width: 28px;
  height: 28px;
}

.android-icon {
  background: linear-gradient(135deg, #00c853, #1de9b6);
}

.ios-icon {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.store-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.store-name {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-en);
}

/* QR Code */
.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.qr-code {
  padding: 12px;
  background: white;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.qr-code canvas,
.qr-code img {
  display: block;
  border-radius: 4px;
}

.qr-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-ar);
}

.android-btn {
  background: linear-gradient(135deg, var(--teal-500), var(--green-500));
  color: white;
  box-shadow: 0 4px 20px rgba(26, 184, 160, 0.4);
}

.android-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 184, 160, 0.6);
}

/* iOS Coming Soon */
.ios-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  margin-bottom: 28px;
  background: rgba(124, 58, 237, 0.06);
  border: 1px dashed rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-lg);
}

.ios-animation {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(219, 39, 119, 0.4);
  animation: ios-ping 2s ease-in-out infinite;
}

@keyframes ios-ping {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ios-clock-icon {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
}

.ios-coming-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ios-sub-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

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

.notify-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-ar);
  outline: none;
  transition: var(--transition);
  text-align: right;
}

.notify-input:focus {
  border-color: rgba(219, 39, 119, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

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

.notify-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-ar);
}

.notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--glass-border);
  padding: 48px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(26, 184, 160, 0.4));
}

.footer-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-en);
  display: block;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--teal-400);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--teal-500);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(26, 184, 160, 0.5);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== INTERSECTION OBSERVER ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===================================================
   FULLY RESPONSIVE – All Breakpoints
   =================================================== */

/* ---- Tablet & small desktop (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }

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

  .download-cards {
    gap: 24px;
  }
}

/* ---- Tablet portrait (≤ 900px) ---- */
@media (max-width: 900px) {
  .hero {
    padding: 100px 20px 60px;
  }

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

  .hero-phone {
    order: -1;
  }

  .phone-frame {
    width: 220px;
    height: 440px;
  }

  .card-1 { right: 0; }
  .card-2 { left: 0; }

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

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

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .download-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .nav-links {
    display: none;
  }

  .features {
    padding: 80px 20px;
  }

  .categories {
    padding: 20px 20px 80px;
  }

  .screenshots {
    padding: 80px 0;
  }

  .download {
    padding: 80px 20px;
  }
}

/* ---- Large phones (≤ 640px) ---- */
@media (max-width: 640px) {
  .hero {
    padding: 90px 16px 48px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .btn-ios-wrapper {
    width: 100%;
  }

  .btn-ios-wrapper .btn-secondary {
    width: 100%;
  }

  .phone-frame {
    width: 190px;
    height: 380px;
  }

  .card-1, .card-2 {
    display: none;
  }

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

  .feature-card {
    padding: 24px 20px;
  }

  .categories-row {
    gap: 10px;
  }

  .cat-card {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-container {
    padding: 0 16px;
  }

  .download-card {
    padding: 28px 20px;
  }

  .dl-card-header {
    gap: 12px;
    margin-bottom: 24px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  /* On small screens: show 1 phone per slide (hide side phones) */
  .ss-phone-frame.side {
    display: none;
  }

  .ss-phone-frame.center {
    transform: scale(1) translateY(0);
    width: clamp(160px, 55vw, 200px);
    height: clamp(290px, 100vw, 380px);
  }

  .screenshot-slide {
    justify-content: center;
    padding: 16px 12px 28px;
  }

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

  .hero-stats {
    gap: 16px;
  }

  .stat-num {
    font-size: 1.2rem;
  }
}

/* ---- Small phones (≤ 400px) ---- */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .phone-frame {
    width: 165px;
    height: 330px;
  }

  .nav-logo-text {
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 20px;
  }
}
