/* ============ DESIGN TOKENS ============ */
:root {
  --color-bg: #08081a;
  --color-text: #fff;
  --color-coral: #FF6B6B;
  --color-coral-dark: #E84545;
  --color-coral-light: #FF8A80;
  --color-coral-lighter: #FFAB91;
  --color-purple: #8B5CF6;
  --color-blue: #3B82F6;
  --color-green: #4ade80;

  --gradient-coral: linear-gradient(135deg, var(--color-coral), var(--color-coral-dark));
  --gradient-coral-text: linear-gradient(135deg, var(--color-coral) 0%, var(--color-coral-light) 50%, var(--color-coral-lighter) 100%);

  --glass-bg: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.06);
  --glass-blur: blur(20px);

  --font-ar-display: 'Noto Kufi Arabic', sans-serif;
  --font-ar-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-en: 'Outfit', sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ar-body);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* ============ STARFIELD CANVAS ============ */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============ HERO — EDITORIAL SPLIT ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 1;
}

/* LEFT SIDE — Cosmic visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
}

/* Cosmic gradient backdrop on visual side */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 107, 107, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  z-index: 1;
}

/* Subtle grid lines */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Phone + floating icons container */
.visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Central phone */
.phone-main {
  width: 270px;
  height: 560px;
  background: #000;
  border-radius: 42px;
  padding: 10px;
  position: relative;
  z-index: 10;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 80px rgba(139, 92, 246, 0.1),
    0 0 120px rgba(255, 107, 107, 0.08);
  animation: phoneFloat 5s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(180deg, #12122a 0%, #0a0a1e 100%);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 20;
}

.phone-status-bar {
  padding: 36px 18px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-en);
  direction: ltr;
}

.phone-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 12px;
  border-bottom: 1px solid var(--glass-border);
  direction: rtl;
}

.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-coral);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-name {
  font-family: var(--font-ar-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.chat-status {
  font-size: 11px;
  color: var(--color-green);
  font-family: var(--font-ar-body);
}

.chat-messages {
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 12.5px;
  line-height: 1.6;
  font-family: var(--font-ar-body);
  direction: rtl;
  opacity: 0;
  animation: msgSlide 0.5s ease forwards;
}
.msg-her {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg-you {
  background: var(--gradient-coral);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Dashrah suggestion overlay */
.suggestion-overlay {
  margin: 10px 12px;
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: 16px;
  padding: 12px 14px;
  direction: rtl;
  position: relative;
  overflow: hidden;
  animation: suggestionPulse 3s ease-in-out infinite;
}
.suggestion-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,107,107,0.08), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.sug-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.sug-icon {
  width: 18px; height: 18px;
  background: var(--gradient-coral);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sug-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-coral-light);
  font-family: var(--font-ar-body);
}
.sug-text {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-family: var(--font-ar-body);
}
.sug-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  direction: ltr;
}
.sug-btn {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sug-btn-send {
  background: var(--gradient-coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,107,0.3);
}
.sug-btn-refresh {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}

/* Floating app icons */
.floating-icons {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: iconFloat 4s ease-in-out infinite;
  font-size: 22px;
  z-index: 5;
}

.fi-tinder {
  background: linear-gradient(135deg, #FD267A, #FF6036);
  top: 18%; right: 8%;
  animation-delay: 0s;
  animation-duration: 4.2s;
}
.fi-bumble {
  background: #FAC300;
  bottom: 28%; right: 6%;
  animation-delay: 0.8s;
  animation-duration: 3.8s;
}
.fi-snap {
  background: #FFFC00;
  top: 30%; left: 5%;
  animation-delay: 1.2s;
  animation-duration: 4.5s;
}
.fi-insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  bottom: 18%; left: 10%;
  animation-delay: 0.4s;
  animation-duration: 3.6s;
}
.fi-heart {
  background: var(--gradient-coral);
  top: 12%; left: 25%;
  animation-delay: 1.6s;
  animation-duration: 5s;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 16px;
}
.fi-msg {
  background: linear-gradient(135deg, #5B7FFF, #3B5CE5);
  bottom: 12%; right: 22%;
  animation-delay: 2s;
  animation-duration: 4.8s;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 18px;
}

/* Glow ring behind phone */
.phone-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,107,107,0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: glowPulse 4s ease-in-out infinite;
}
.phone-glow-2 {
  position: absolute;
  width: 550px; height: 550px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: glowPulse 4s ease-in-out 1s infinite;
}

/* RIGHT SIDE — Text content */
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 60px;
  direction: rtl;
  z-index: 2;
}

/* Gradient bleed from left into right */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 200px;
  background: linear-gradient(90deg, rgba(139,92,246,0.04), transparent);
  pointer-events: none;
}

.nav-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  animation: fadeIn 0.6s ease both;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-coral);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255,107,107,0.25);
}

/* Hero App Icon — Large prominent logo */
.hero-app-icon {
  position: relative;
  width: 80px; height: 80px;
  flex-shrink: 0;
}
.hero-app-icon-glow {
  position: absolute;
  inset: -12px;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(255,107,107,0.35) 0%, rgba(255,107,107,0.08) 50%, transparent 70%);
  filter: blur(8px);
  animation: logoGlow 3s ease-in-out infinite;
}
.hero-app-icon-inner {
  position: relative;
  width: 80px; height: 80px;
  background: var(--gradient-coral);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 32px rgba(255,107,107,0.35),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: transform 0.3s ease;
}
.hero-app-icon-inner:hover {
  transform: scale(1.06);
}
@keyframes logoGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.nav-logo-text {
  font-family: var(--font-ar-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.hero-title {
  font-family: var(--font-ar-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 12px;
  animation: slideUp 0.8s ease 0.15s both;
}

.hero-title span {
  background: var(--gradient-coral-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-en {
  font-family: var(--font-en);
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
  margin-bottom: 36px;
  direction: ltr;
  text-align: right;
  animation: slideUp 0.8s ease 0.3s both;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-coral), var(--color-coral-dark));
  border-radius: 2px;
  margin-bottom: 28px;
  animation: slideUp 0.8s ease 0.4s both;
}

.hero-desc {
  font-family: var(--font-ar-body);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 48px;
  animation: slideUp 0.8s ease 0.5s both;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  animation: slideUp 0.8s ease 0.65s both;
}

.cta-primary {
  font-family: var(--font-ar-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-coral);
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(255,107,107,0.25);
  position: relative;
  overflow: hidden;
}
.cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,107,0.4);
}
.cta-primary:hover::after { opacity: 1; }

.cta-secondary {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.5s both;
  z-index: 10;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,107,107,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============ STATS BAR ============ */
.stats-bar {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: -40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
}

.stat {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  direction: rtl;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--glass-border);
}

.stat-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-coral), var(--color-coral-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-ar-body);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============ HOW IT WORKS ============ */
.how-section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 40px;
  direction: rtl;
}

.section-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-coral-light);
  margin-bottom: 16px;
  direction: ltr;
  text-align: right;
}

.section-title {
  font-family: var(--font-ar-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 64px;
  line-height: 1.3;
}

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

.step {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-coral), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.step:hover {
  background: rgba(255,107,107,0.04);
  border-color: rgba(255,107,107,0.15);
  transform: translateY(-4px);
}
.step:hover::before { opacity: 1; }

.step-num {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255,107,107,0.85), rgba(255,107,107,0.35));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-ar-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-family: var(--font-ar-body);
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ============ FEATURES LIST ============ */
.features-section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 120px;
  direction: rtl;
}

.feat-list {
  display: flex;
  flex-direction: column;
}

.feat-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
  cursor: default;
}
.feat-item:hover {
  padding-right: 12px;
}

.feat-icon {
  width: 48px; height: 48px;
  background: rgba(255,107,107,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}
.feat-item:hover .feat-icon {
  background: rgba(255,107,107,0.15);
}

.feat-name {
  font-family: var(--font-ar-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.feat-en {
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  direction: ltr;
  text-align: left;
  max-width: 280px;
}

/* ============ BOTTOM CTA ============ */
.bottom-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 40px 100px;
  direction: rtl;
}

.bottom-title {
  font-family: var(--font-ar-display);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  margin-bottom: 8px;
  background: var(--gradient-coral-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bottom-sub {
  font-family: var(--font-ar-body);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}
.bottom-en {
  font-family: var(--font-en);
  font-size: 15px;
  color: rgba(255,255,255,0.2);
  direction: ltr;
  margin-bottom: 40px;
}

/* ============ EMAIL SIGNUP FORM ============ */
.notify-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
  direction: ltr;
}
.notify-form input[type="email"] {
  font-family: var(--font-en);
  font-size: 15px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  width: 280px;
  outline: none;
  transition: border-color 0.3s ease;
}
.notify-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.3);
}
.notify-form input[type="email"]:focus {
  border-color: var(--color-coral);
}
.notify-form button {
  font-family: var(--font-ar-body);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-coral);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,107,107,0.25);
}
.notify-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,107,0.4);
}
.notify-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.notify-msg {
  font-family: var(--font-ar-body);
  font-size: 13px;
  margin-top: 12px;
  min-height: 20px;
}
.notify-msg.success { color: var(--color-green); }
.notify-msg.error { color: var(--color-coral); }
.notify-caption {
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  margin-top: 8px;
  direction: ltr;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 2;
  padding: 60px 40px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
  direction: rtl;
}
.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-col {}
.footer-brand {
  font-family: var(--font-ar-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: var(--font-ar-body);
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col-title {
  font-family: var(--font-ar-display);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-family: var(--font-ar-body);
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--color-coral-light);
}
.footer-bottom {
  max-width: 1000px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,0.15);
  direction: ltr;
}

/* ============ ANIMATIONS ============ */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(2deg); }
  75% { transform: translateY(6px) rotate(-2deg); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes msgSlide {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes suggestionPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,107,0); }
  50% { box-shadow: 0 0 24px 2px rgba(255,107,107,0.1); }
}
@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 0.8; height: 50px; }
}

/* ============ HERO V4: REAL PHOTO SPLIT LAYOUT ============ */
.hero {
  grid-template-columns: minmax(320px, 52%) 1fr;
}
.hero-visual-photo {
  align-items: center;
  justify-content: center;
  padding: 48px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,107,107,0.20), transparent 42%),
    radial-gradient(circle at 82% 25%, rgba(59,130,246,0.16), transparent 40%),
    radial-gradient(circle at 35% 78%, rgba(236,72,153,0.14), transparent 45%);
}
.hero-visual-photo::after {
  opacity: .55;
}
.photo-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,.20), rgba(139,92,246,.10) 45%, transparent 72%);
  filter: blur(10px);
  z-index: 1;
}
.photo-card {
  position: relative;
  z-index: 3;
  width: min(94%, 720px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1200px) rotateY(4deg) rotateX(1deg);
}
.hero-boy-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%, transparent 70%, rgba(0,0,0,.12));
  pointer-events: none;
}
.social-badges {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.badge {
  position: absolute;
  width: 58px; height: 58px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-family: var(--font-en);
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.14) inset;
  backdrop-filter: blur(10px);
  animation: badgeFloat 4.5s ease-in-out infinite;
}
.badge-snap { background: #FFFC00; color:#111; top: 62%; left: 8%; animation-delay: .1s; }
.badge-insta { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); top: 73%; left: 16%; animation-delay: .7s; }
.badge-chat { background: linear-gradient(135deg,#7c83ff,#5870ff); bottom: 12%; left: 3%; border-radius: 999px; animation-delay: 1.2s; }
.badge-heart { background: linear-gradient(135deg,#ff6b6b,#ff3d71); top: 34%; left: 64%; width: 46px; height:46px; border-radius: 50%; font-size: 18px; animation-delay: .4s; }
.badge-tiktok { background: linear-gradient(135deg,#111,#2c2c2c); top: 13%; left: 69%; color:#fff; animation-delay: 1.5s; }
.badge-whatsapp { background: linear-gradient(135deg,#22c55e,#16a34a); top: 16%; left: 12%; animation-delay: .9s; }
.badge-x { background: linear-gradient(135deg,#111827,#000); top: 48%; left: 74%; animation-delay: 1.9s; }
.badge-tinder { background: linear-gradient(135deg,#FD267A,#FF6036); top: 24%; left: 76%; animation-delay: .2s; }

@keyframes badgeFloat {
  0%,100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 600px; order: 2; }
  .hero-content { padding: 120px 40px 40px; order: 1; }
  .stats-bar { margin: 0 20px; grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual-photo { min-height: auto; padding: 28px 18px 8px; order: 1; }
  .hero-content { order: 2; padding: 36px 22px 70px; }
  .photo-card { transform: none; width: 100%; }
  .badge { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
  .badge-heart { width: 40px; height: 40px; font-size: 16px; }
  .badge-snap { top: 68%; left: 4%; }
  .badge-insta { top: 79%; left: 14%; }
  .badge-chat { bottom: 2%; left: 1%; }
  .badge-tiktok { left: 72%; }
  .badge-tinder { left: 80%; }
}

@media (max-width: 600px) {
  .hero-content { padding: 100px 24px 32px; }
  .phone-main { width: 230px; height: 480px; }
  .float-icon { width: 40px; height: 40px; font-size: 18px; }
  .hero-cta-row { flex-direction: column; }
  .hero-app-icon, .hero-app-icon-inner { width: 64px; height: 64px; border-radius: 18px; }
  .hero-app-icon-inner svg { width: 38px; height: 38px; }
  .nav-logo-text { font-size: 22px; }
  .notify-form input[type="email"] { width: 100%; }
}

/* ============ FAQ SECTION ============ */
.faq-section {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 120px;
  direction: rtl;
}

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

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  background: rgba(255,107,107,0.03);
  border-color: rgba(255,107,107,0.12);
}

.faq-q {
  font-family: var(--font-ar-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-coral);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-inline-start: 16px;
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  font-family: var(--font-ar-body);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  padding: 0 24px 20px;
}

html[dir="ltr"] .faq-section { direction: ltr; }
html[dir="ltr"] .faq-q { font-family: var(--font-en); }
html[dir="ltr"] .faq-a { font-family: var(--font-en); }

/* ============ LANGUAGE TOGGLE ============ */
.lang-toggle {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 110;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* ============ LTR OVERRIDES ============ */
html[dir="ltr"] .hero-content { direction: ltr; text-align: left; }
html[dir="ltr"] .hero-en { text-align: left; }
html[dir="ltr"] .how-section { direction: ltr; }
html[dir="ltr"] .section-tag { text-align: left; }
html[dir="ltr"] .features-section { direction: ltr; }
html[dir="ltr"] .feat-en { text-align: right; }
html[dir="ltr"] .bottom-cta { direction: ltr; }
html[dir="ltr"] .footer { direction: ltr; }
html[dir="ltr"] .stat { direction: ltr; }
html[dir="ltr"] .stat + .stat::before { right: auto; left: 0; }
html[dir="ltr"] .legal-page h1 { direction: ltr; }
html[dir="ltr"] .site-header { direction: ltr; }
html[dir="ltr"] .dl-hero { direction: ltr; }
html[dir="ltr"] .dl-platforms { direction: ltr; }
html[dir="ltr"] .phone-chat-header { direction: ltr; }
html[dir="ltr"] .msg { direction: ltr; }
html[dir="ltr"] .suggestion-overlay { direction: ltr; }
html[dir="ltr"] .feat-item:hover { padding-right: 0; padding-left: 12px; }
html[dir="ltr"] .hero-title { font-family: var(--font-en); }
html[dir="ltr"] .section-title { font-family: var(--font-en); }
html[dir="ltr"] .step-title { font-family: var(--font-en); }
html[dir="ltr"] .feat-name { font-family: var(--font-en); }
html[dir="ltr"] .bottom-title { font-family: var(--font-en); }
html[dir="ltr"] .bottom-sub { font-family: var(--font-en); }
html[dir="ltr"] .dl-hero-title { font-family: var(--font-en); }
html[dir="ltr"] .dl-hero-sub { font-family: var(--font-en); }
html[dir="ltr"] .platform-name { font-family: var(--font-en); }
html[dir="ltr"] .qr-label { font-family: var(--font-en); }
html[dir="ltr"] .nav-logo-text { font-family: var(--font-en); }
html[dir="ltr"] .footer-brand { font-family: var(--font-en); }
html[dir="ltr"] .footer-tagline { font-family: var(--font-en); }
html[dir="ltr"] .footer-col-title { font-family: var(--font-en); }
html[dir="ltr"] .footer-links a { font-family: var(--font-en); }
html[dir="ltr"] .cta-primary { font-family: var(--font-en); }
html[dir="ltr"] .notify-form button { font-family: var(--font-en); }
html[dir="ltr"] .hero-desc { font-family: var(--font-en); }
html[dir="ltr"] .step-desc { font-family: var(--font-en); }
html[dir="ltr"] .stat-label { font-family: var(--font-en); }

/* ============ LEGAL PAGE STYLES ============ */
.legal-page {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}
.legal-page h1 {
  font-family: var(--font-ar-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  direction: rtl;
}
.legal-page .legal-en-title {
  font-family: var(--font-en);
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}
.legal-page .legal-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  margin-bottom: 48px;
}
.legal-content {
  direction: ltr;
  text-align: left;
}
.legal-content h2 {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 16px;
}
.legal-content h3 {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 28px 0 12px;
}
.legal-content p {
  font-family: var(--font-en);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  font-family: var(--font-en);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--color-coral-light);
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-content strong {
  color: rgba(255,255,255,0.7);
}

/* ============ SITE HEADER (subpages) ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
  background: rgba(8,8,26,0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.site-header a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo {
  width: 36px; height: 36px;
  background: var(--gradient-coral);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(255,107,107,0.2);
}
.header-logo svg { width: 22px; height: 22px; }
.header-title {
  font-family: var(--font-ar-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

/* ============ DOWNLOAD PAGE ============ */
.dl-hero {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 40px 80px;
  align-items: center;
  direction: rtl;
}
.dl-hero-text {}
.dl-hero-title {
  font-family: var(--font-ar-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.dl-hero-sub {
  font-family: var(--font-ar-body);
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
  line-height: 1.7;
}
.dl-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  direction: ltr;
}
.dl-btn-play {
  background: var(--gradient-coral);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,107,107,0.25);
}
.dl-btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,107,0.4);
}
.dl-btn-apple {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: default;
}
.dl-btn-icon { font-size: 22px; }
.dl-btn-text { display: flex; flex-direction: column; }
.dl-btn-small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
}
.dl-btn-big {
  font-size: 15px;
  font-weight: 700;
}

.dl-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dl-phone-mockup {
  width: 260px;
  height: 520px;
  background: #000;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 60px rgba(139,92,246,0.08);
  animation: phoneFloat 5s ease-in-out infinite;
}
.dl-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #12122a, #0a0a1e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-phone-logo {
  width: 80px; height: 80px;
  background: var(--gradient-coral);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(255,107,107,0.3);
}

/* QR Section */
.dl-qr-section {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}
.qr-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.qr-placeholder {
  width: 160px; height: 160px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
  font-family: var(--font-en);
}
.qr-label {
  font-family: var(--font-ar-body);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}

/* Platform cards */
.dl-platforms {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  direction: rtl;
}
.platform-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.platform-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.platform-name {
  font-family: var(--font-ar-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.platform-status {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
}
.platform-status.available {
  background: rgba(74,222,128,0.12);
  color: var(--color-green);
}
.platform-status.coming {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .dl-hero { grid-template-columns: 1fr; text-align: center; }
  .dl-hero-visual { order: -1; }
  .dl-buttons { justify-content: center; }
  .dl-platforms { grid-template-columns: 1fr; }
}
