/* ============================================
   MEGAPARI — PREMIUM STYLESHEET
   Colors: Deep Purple + Gold + Dark Luxury
   ============================================ */

/* ===== FONTS & ROOT VARIABLES ===== */

:root {
  --purple-900: #0d0618;
  --purple-800: #150b2c;
  --purple-700: #1e1040;
  --purple-600: #2d1b6b;
  --purple-500: #4a2d9f;
  --purple-400: #6b46d4;
  --purple-300: #9575ea;
  --purple-200: #c4aff7;
  --gold-900: #7c5c00;
  --gold-700: #b8860b;
  --gold-500: #e0a820;
  --gold-400: #f0c040;
  --gold-300: #ffd700;
  --gold-200: #ffe566;
  --accent-pink: #e040fb;
  --accent-cyan: #00e5ff;
  --text-primary: #f4f0ff;
  --text-secondary: #b8aad4;
  --text-muted: #7265a0;
  --card-bg: rgba(30, 16, 64, 0.7);
  --card-border: rgba(107, 70, 212, 0.3);
  --gradient-purple: linear-gradient(135deg, #4a2d9f 0%, #9575ea 100%);
  --gradient-gold: linear-gradient(135deg, #b8860b 0%, #ffd700 100%);
  --gradient-hero: linear-gradient(135deg, #0d0618 0%, #150b2c 40%, #1e1040 100%);
  --gradient-card: linear-gradient(135deg, rgba(30,16,64,0.9) 0%, rgba(74,45,159,0.2) 100%);
  --shadow-purple: 0 0 30px rgba(107, 70, 212, 0.4);
  --shadow-gold: 0 0 30px rgba(224, 168, 32, 0.4);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Cairo', 'Outfit', sans-serif;
  background-color: var(--purple-900);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  max-width: 100vw;
}

body[dir="ltr"] {
  font-family: 'Outfit', 'Cairo', sans-serif;
}

/* ===== LANGUAGE VISIBILITY ===== */
body.lang-ar .en { display: none !important; }
body.lang-en .ar { display: none !important; }

/* Default: show Arabic */
.en { display: none; }
.ar { display: block; }
span.en { display: none; }
span.ar { display: inline; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--purple-900); }
::-webkit-scrollbar-thumb { background: var(--purple-500); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-400); }

/* ===== SELECTION ===== */
::selection { background: var(--purple-400); color: white; }

/* ===== LINKS ===== */
a { color: inherit; text-decoration: none; transition: var(--transition); }

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

.navbar.scrolled {
  background: rgba(13, 6, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(107, 70, 212, 0.3);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 9px;
}

.logo-mega {
  color: white;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 2px;
}

.logo-pari {
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 2px;
}

.logo-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  border-right: 2px solid var(--purple-400);
  padding-right: 0.75rem;
  margin-right: 0.5rem;
}

body[dir="ltr"] .logo-ar {
  border-right: none;
  border-left: 2px solid var(--purple-400);
  padding-right: 0;
  padding-left: 0.75rem;
  margin-right: 0;
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.95rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  left: 10%;
  right: 10%;
}

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

.nav-btn {
  background: var(--gradient-gold);
  color: var(--purple-900) !important;
  font-weight: 800;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(224, 168, 32, 0.6);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(107, 70, 212, 0.3);
  border-radius: 50px;
  padding: 0.2rem;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.lang-btn.active {
  background: var(--gradient-purple);
  color: white;
  box-shadow: 0 0 10px rgba(107, 70, 212, 0.5);
}

.lang-btn:hover:not(.active) {
  color: var(--text-secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-inline-start: auto;
}

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

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13,6,24,0.88) 0%, rgba(21,11,44,0.80) 60%, rgba(30,16,64,0.85) 100%),
    url('/images/hero-banner.png') center center / cover no-repeat;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 80% 50%, rgba(107, 70, 212, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(224, 168, 32, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 20%, rgba(148, 0, 211, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.gold-glow {
  background:
    radial-gradient(ellipse 800px 600px at 30% 50%, rgba(224, 168, 32, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 80%, rgba(107, 70, 212, 0.15) 0%, transparent 70%) !important;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0.4;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-img-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.placeholder-label {
  display: none;
}

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

/* Hero Text Column */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero Image Column */
.hero-img-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,70,212,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-main-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  box-shadow: 0 0 60px rgba(107,70,212,0.35), 0 30px 80px rgba(0,0,0,0.5);
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-content.centered {
  grid-template-columns: 1fr;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(107, 70, 212, 0.2);
  border: 1px solid rgba(107, 70, 212, 0.5);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--purple-200);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease both;
}

.gold-badge {
  background: rgba(224, 168, 32, 0.15);
  border: 1px solid rgba(224, 168, 32, 0.4);
  color: var(--gold-200);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 8px #ff4444;
  animation: pulse 1.5s ease-in-out infinite;
}

.gold-dot {
  background: var(--gold-300);
  box-shadow: 0 0 8px var(--gold-300);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  color: white;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 650px;
  animation: fadeInUp 0.8s ease 0.4s both;
  line-height: 1.8;
}

.hero-content.centered .hero-subtitle {
  text-align: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease 0.6s both;
  margin-bottom: 3rem;
}

.hero-content.centered .hero-cta {
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: var(--purple-900);
  font-weight: 800;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(224, 168, 32, 0.7);
}

.gold-btn {
  background: linear-gradient(135deg, #ff8c00 0%, #ffd700 100%);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.4);
}

.gold-btn:hover {
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(107, 70, 212, 0.2);
  border: 2px solid rgba(107, 70, 212, 0.6);
  color: var(--purple-200);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(107, 70, 212, 0.4);
  border-color: var(--purple-400);
  transform: translateY(-3px);
  color: white;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(107, 70, 212, 0.4);
}

/* ============================
   PAGE HERO (INNER PAGES)
   ============================ */
.page-hero {
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 1.25rem 4rem;
  overflow: hidden;
  background: var(--gradient-hero);
}

@media (min-width: 769px) {
  .page-hero { padding: 8rem 2rem 4rem; }
}

.download-hero {
  background:
    linear-gradient(135deg, rgba(13,6,24,0.85) 0%, rgba(13,26,46,0.82) 50%, rgba(10,22,40,0.88) 100%),
    url('/images/app-mockup.png') center center / cover no-repeat;
  min-height: auto;
  padding: 7rem 1.25rem 3rem;
  text-align: center;
}

/* Download Hero specific content */
.dl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.agents-hero {
  background:
    linear-gradient(135deg, rgba(13,6,24,0.85) 0%, rgba(26,14,5,0.82) 50%, rgba(30,16,64,0.85) 100%),
    url('/images/agents-banner.png') center center / cover no-repeat;
}

/* ============================
   SECTIONS
   ============================ */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 769px) {
  .section-container {
    padding: 0 2rem;
  }
}

.section-container.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: rgba(107, 70, 212, 0.2);
  border: 1px solid rgba(107, 70, 212, 0.4);
  color: var(--purple-300);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================
   WHY SECTION — FEATURES
   ============================ */
.why-section {
  padding: 6rem 0;
  position: relative;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74, 45, 159, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

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

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease var(--delay, 0s) both;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: start;
  transition: var(--transition);
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 70, 212, 0.6);
  box-shadow: var(--shadow-purple), 0 20px 60px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

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

/* ============================
   SPORTS SECTION
   ============================ */
.sports-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 6, 24, 0.8) 100%);
}

.sports-img-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid var(--card-border);
  min-height: 300px;
  background: var(--card-bg);
}

.sports-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.img-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 16, 64, 0.7);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  font-style: italic;
}

.sports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sport-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 45, 159, 0.2);
  border: 1px solid rgba(107, 70, 212, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-200);
  cursor: pointer;
  transition: var(--transition);
}

.sport-pill:hover {
  background: rgba(107, 70, 212, 0.4);
  border-color: var(--purple-400);
  color: white;
  transform: translateY(-2px);
}

/* ============================
   PROMO SECTION
   ============================ */
.promo-section {
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.promo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(135deg, rgba(74, 45, 159, 0.3) 0%, rgba(224, 168, 32, 0.15) 100%);
  border: 1px solid rgba(224, 168, 32, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.promo-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(224, 168, 32, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.promo-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.promo-badge {
  display: inline-block;
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid rgba(255, 68, 68, 0.4);
  color: #ff8080;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: flashPulse 2s ease infinite;
}

@keyframes flashPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.promo-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}

.promo-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.promo-subtitle strong {
  color: var(--gold-300);
}

.btn-promo {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-gold);
  color: var(--purple-900);
  font-weight: 800;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.btn-promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(224, 168, 32, 0.8);
}

.promo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.promo-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  z-index: 2;
  position: relative;
}

.promo-coins {
  position: absolute;
  inset: 0;
}

.coin {
  position: absolute;
  font-size: 1.5rem;
  animation: coinFloat linear infinite;
}

.coin-1 { top: 10%; left: 10%; animation-duration: 3s; animation-delay: 0s; color: var(--gold-300); font-weight: 900; font-family: 'Outfit', sans-serif; }
.coin-2 { top: 15%; right: 15%; animation-duration: 4s; animation-delay: 1s; }
.coin-3 { bottom: 20%; left: 5%; animation-duration: 3.5s; animation-delay: 0.5s; }
.coin-4 { bottom: 10%; right: 10%; animation-duration: 2.5s; animation-delay: 1.5s; }

@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(180deg); }
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.testimonial-card.featured {
  border-color: rgba(224, 168, 32, 0.4);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, rgba(30,16,64,0.9) 0%, rgba(224,168,32,0.1) 100%);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 70, 212, 0.5);
}

.stars {
  color: var(--gold-300);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-card strong {
  color: var(--text-primary);
  font-weight: 700;
}

.location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================
   PAYMENT SECTION
   ============================ */
.payment-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(107, 70, 212, 0.2);
  border-bottom: 1px solid rgba(107, 70, 212, 0.2);
}

.payment-title {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.payment-icon {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.payment-icon:hover {
  background: rgba(107, 70, 212, 0.2);
  border-color: rgba(107, 70, 212, 0.4);
  color: white;
  transform: translateY(-2px);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--purple-800);
  border-top: 1px solid rgba(107, 70, 212, 0.3);
  padding: 4rem 0 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(107, 70, 212, 0.15);
  border: 1px solid rgba(107, 70, 212, 0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(107, 70, 212, 0.3);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4 {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 0.2rem 0;
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-inline-start: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact h4 {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.license-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(107, 70, 212, 0.15);
  border: 1px solid rgba(107, 70, 212, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.license-badge > span {
  font-size: 1.5rem;
}

.license-badge strong {
  color: var(--gold-200);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.15rem;
}

.license-badge small {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
}

.footer-bottom {
  border-top: 1px solid rgba(107, 70, 212, 0.2);
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================
   DOWNLOAD PAGE SPECIFIC
   ============================ */
.app-showcase-section {
  padding: 6rem 0;
}

.app-img-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.app-glow-ring {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(107, 70, 212, 0.3);
  box-shadow: 0 0 60px rgba(107, 70, 212, 0.2), inset 0 0 60px rgba(107, 70, 212, 0.1);
  animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.app-mockup-img {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(107, 70, 212, 0.5));
}

.app-img-placeholder {
  position: relative;
  z-index: 2;
}

.phone-frame {
  width: 220px;
  height: 450px;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0618 100%);
  border-radius: 35px;
  border: 2px solid rgba(107, 70, 212, 0.5);
  padding: 1.5rem 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-purple);
  overflow: hidden;
}

.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-header {
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(107, 70, 212, 0.3);
}

.phone-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-stat {
  color: var(--text-secondary);
  font-size: 0.75rem;
  background: rgba(107, 70, 212, 0.15);
  padding: 0.5rem;
  border-radius: 8px;
}

.phone-stat.live {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
}

.phone-odds {
  display: flex;
  gap: 0.4rem;
}

.odd-box {
  flex: 1;
  background: rgba(74, 45, 159, 0.3);
  border: 1px solid rgba(107, 70, 212, 0.4);
  border-radius: 6px;
  padding: 0.4rem 0.2rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
}

.odd-box.draw {
  color: var(--text-secondary);
}

.phone-bet-btn {
  background: var(--gradient-gold);
  color: var(--purple-900);
  font-weight: 800;
  padding: 0.6rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: auto;
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feat-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 70, 212, 0.15);
  border: 1px solid rgba(107, 70, 212, 0.3);
  border-radius: 12px;
}

.app-feature-item strong {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

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

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid;
}

.dl-btn.ios {
  background: rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.4);
  color: #66b2ff;
}

.dl-btn.android {
  background: rgba(52, 168, 83, 0.15);
  border-color: rgba(52, 168, 83, 0.4);
  color: #6fcf8e;
}

.dl-btn.apk {
  background: rgba(224, 168, 32, 0.15);
  border-color: rgba(224, 168, 32, 0.4);
  color: var(--gold-200);
}

.dl-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dl-btn .dl-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.dl-btn small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.dl-btn strong {
  display: block;
  font-size: 1rem;
  color: white;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
}

.rating-stars {
  color: var(--gold-300);
  font-size: 1.2rem;
}

.app-rating span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* INSTALL STEPS */
.install-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74, 45, 159, 0.05) 50%, transparent 100%);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--purple-400);
  box-shadow: var(--shadow-purple);
}

.step-num {
  position: absolute;
  top: -15px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--purple-900);
  font-weight: 900;
  font-size: 0.8rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

.step-connector {
  font-size: 1.5rem;
  color: var(--purple-400);
  align-self: center;
  margin-top: 2rem;
  flex-shrink: 0;
}

/* COMPAT SECTION */
.compat-section {
  padding: 6rem 0;
}

.compat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.compat-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.compat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 70, 212, 0.5);
}

.compat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.compat-card h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.compat-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.compat-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.compat-badge.good {
  background: rgba(52, 168, 83, 0.15);
  border: 1px solid rgba(52, 168, 83, 0.4);
  color: #6fcf8e;
}

.compat-badge.soon {
  background: rgba(224, 168, 32, 0.15);
  border: 1px solid rgba(224, 168, 32, 0.4);
  color: var(--gold-200);
}

/* ============================
   AGENTS PAGE SPECIFIC
   ============================ */
.agents-banner-section {
  padding: 3rem 0;
}

.agents-banner-img {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(30, 16, 64, 0.9) 0%, rgba(74, 45, 159, 0.4) 50%, rgba(224, 168, 32, 0.1) 100%);
  border: 1px solid rgba(224, 168, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agents-banner-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  opacity: 0.5;
}

.agents-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
}

.banner-stat-card {
  background: rgba(13, 6, 24, 0.8);
  border: 1px solid rgba(224, 168, 32, 0.4);
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.bstat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bstat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* PLANS */
.commission-section {
  padding: 6rem 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-8px);
}

.silver-plan { border-color: rgba(192, 192, 192, 0.3); }
.silver-plan:hover { box-shadow: 0 0 40px rgba(192, 192, 192, 0.2); }

.gold-plan {
  border-color: rgba(224, 168, 32, 0.5);
  background: linear-gradient(135deg, rgba(30,16,64,0.9) 0%, rgba(224,168,32,0.15) 100%);
}
.gold-plan:hover { box-shadow: var(--shadow-gold); }

.diamond-plan {
  border-color: rgba(185, 242, 255, 0.4);
  background: linear-gradient(135deg, rgba(30,16,64,0.9) 0%, rgba(0,229,255,0.1) 100%);
}
.diamond-plan:hover { box-shadow: 0 0 40px rgba(0, 229, 255, 0.2); }

.featured-plan {
  transform: scale(1.05);
}

.featured-plan:hover {
  transform: scale(1.05) translateY(-8px);
}

.plan-popular {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--purple-900);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.plan-name { font-size: 1.75rem; font-weight: 900; color: white; margin-bottom: 1rem; font-family: 'Outfit', sans-serif; }

.plan-commission {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comm-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.gold-plan .comm-num { color: #ffd700; }
.diamond-plan .comm-num { color: var(--accent-cyan); }

.plan-commission span:not(.comm-num) {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.plan-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid rgba(192, 192, 192, 0.4);
  color: var(--text-secondary);
}

.plan-btn:hover {
  border-color: var(--purple-400);
  color: white;
  transform: translateY(-2px);
}

.gold-plan-btn {
  background: var(--gradient-gold);
  border: none;
  color: var(--purple-900) !important;
  box-shadow: var(--shadow-gold);
}

.gold-plan-btn:hover {
  box-shadow: 0 0 50px rgba(224, 168, 32, 0.8);
  transform: translateY(-3px);
}

.diamond-plan-btn {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  border: none;
  color: white !important;
}

.diamond-plan-btn:hover {
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
}

/* HOW IT WORKS */
.how-works-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74, 45, 159, 0.05) 50%, transparent 100%);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
}

.how-step:hover {
  transform: translateX(-5px);
  border-color: rgba(224, 168, 32, 0.4);
}

body[dir="ltr"] .how-step:hover {
  transform: translateX(5px);
}

.how-step-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(224, 168, 32, 0.3);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.how-step-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.how-step h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.how-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.how-connector {
  text-align: center;
  color: var(--purple-500);
  font-size: 1.2rem;
}

/* SUCCESS STORIES */
.success-section {
  padding: 6rem 0;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.success-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.success-card.featured-success {
  border-color: rgba(224, 168, 32, 0.4);
  background: linear-gradient(135deg, rgba(30,16,64,0.9) 0%, rgba(224,168,32,0.12) 100%);
  box-shadow: var(--shadow-gold);
}

.success-card:hover {
  transform: translateY(-5px);
}

.agent-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  font-family: 'Outfit', sans-serif;
  box-shadow: var(--shadow-purple);
}

.gold-av {
  background: var(--gradient-gold);
  color: var(--purple-900);
  box-shadow: var(--shadow-gold);
}

.agent-income {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.gold-income { color: #ffd700; }

.agent-income span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.agent-plan {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple-300);
}

.success-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.success-card strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* FORM */
.form-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74, 45, 159, 0.05) 50%, transparent 100%);
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.agent-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-group label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(107, 70, 212, 0.3);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Cairo', 'Outfit', sans-serif;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(107, 70, 212, 0.15);
  background: rgba(107, 70, 212, 0.08);
}

.form-group select option {
  background: var(--purple-800);
  color: var(--text-primary);
}

.form-submit-btn {
  align-self: center;
  min-width: 250px;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  border: none;
}

.form-success {
  text-align: center;
  padding: 3rem;
  animation: fadeInUp 0.5s ease;
}

.success-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--gold-300);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .section-container.two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .app-img-container { order: -1; }
  .featured-plan { transform: scale(1); }
  .featured-plan:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    inset-inline-end: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 6, 24, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1rem;
    transition: inset-inline-end 0.3s ease;
    border-inline-start: 1px solid rgba(107, 70, 212, 0.3);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav-links.open { inset-inline-end: 0; }
  .hamburger { display: flex; position: relative; z-index: 1000; }
  .lang-toggle { order: -1; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .promo-container { flex-direction: column; }
  .promo-img { width: 150px; height: 150px; }
  .footer-container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); margin: 0; }
  .how-steps { padding: 0 1rem; }
  .agents-banner-overlay { flex-direction: column; }
  .plans-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 2rem 1.5rem; }
  .section-container { padding: 0 1.25rem; }
  .hero, .page-hero { padding: 7rem 1.25rem 3rem; }
  .promo-section { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .dl-hero-btns { flex-direction: column; align-items: stretch; }
  .dl-btn { width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
}

/* ============================
   DOWNLOAD PAGE — MOBILE FIRST
   ============================ */

/* App Showcase Grid — Stack on mobile, side-by-side on desktop */
.app-showcase-section {
  padding: 4rem 0;
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .app-showcase-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
  }
}

/* Phone mockup column — centered on mobile */
.app-phone-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-glow-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,70,212,0.25) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 220px;
  background: linear-gradient(145deg, #1e1040, #150b2c);
  border: 2px solid rgba(107, 70, 212, 0.5);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 0 40px rgba(107,70,212,0.3), 0 20px 60px rgba(0,0,0,0.5);
}

.phone-screen {
  background: var(--purple-900);
  border-radius: 26px;
  overflow: hidden;
  min-height: 360px;
}

.phone-header {
  background: var(--purple-800);
  padding: 10px 12px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid rgba(107,70,212,0.3);
}

.phone-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-stat {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}

.phone-stat.live {
  color: #ff4444;
  animation: pulse 1.5s infinite;
}

.phone-odds {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.odd-box {
  flex: 1;
  background: rgba(107,70,212,0.2);
  border: 1px solid rgba(107,70,212,0.3);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple-200);
  font-family: 'Outfit', sans-serif;
}

.odd-box.draw {
  background: rgba(224,168,32,0.1);
  border-color: rgba(224,168,32,0.3);
  color: var(--gold-300);
}

.phone-bet-btn {
  background: var(--gradient-gold);
  color: var(--purple-900);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

/* App Info Column */
.app-info-col {
  width: 100%;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feat-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,70,212,0.1);
  border-radius: 10px;
  border: 1px solid rgba(107,70,212,0.25);
}

.app-feature-item strong {
  display: block;
  color: white;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.app-feature-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  border: 1px solid;
  transition: var(--transition);
  min-width: 150px;
  flex: 1;
  max-width: 200px;
}

.dl-btn.ios {
  background: rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
  color: white;
}

.dl-btn.android {
  background: rgba(20,128,60,0.15);
  border-color: rgba(20,180,80,0.3);
  color: #7fff9f;
}

.dl-btn.apk {
  background: rgba(224,168,32,0.1);
  border-color: rgba(224,168,32,0.3);
  color: var(--gold-300);
}

.dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.dl-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dl-btn small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  line-height: 1;
}

.dl-btn strong {
  display: block;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.rating-stars {
  color: var(--gold-300);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.app-rating span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Install Steps */
.install-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(74,45,159,0.05) 50%, transparent 100%);
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107,70,212,0.5);
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto 0.75rem;
  font-family: 'Outfit', sans-serif;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.step-connector {
  font-size: 1.5rem;
  color: var(--purple-400);
  flex-shrink: 0;
}

/* Compat Cards */
.compat-section {
  padding: 5rem 0;
}

.compat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.compat-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.compat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107,70,212,0.5);
}

.compat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.compat-card h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.compat-card p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.compat-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.compat-badge.good {
  background: rgba(20,180,80,0.15);
  border: 1px solid rgba(20,180,80,0.35);
  color: #7fff9f;
}

.compat-badge.soon {
  background: rgba(224,168,32,0.1);
  border: 1px solid rgba(224,168,32,0.3);
  color: var(--gold-300);
}

/* Mobile: Stack steps vertically */
@media (max-width: 600px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  .step-connector {
    transform: rotate(90deg);
  }
  .step-card {
    width: 100%;
    max-width: 320px;
  }
  .dl-btn {
    max-width: 100%;
    width: 100%;
  }
  .download-buttons {
    flex-direction: column;
  }
  .app-feature-item {
    align-items: flex-start;
  }
}

/* ============================
   HERO IMAGE + PROMO IMAGE + DOWNLOAD CTA
   ============================ */

/* Promo section image */
.promo-img-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.promo-app-img {
  width: 260px;
  height: auto;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  filter: drop-shadow(0 0 30px rgba(107,70,212,0.4));
  animation: float 6s ease-in-out infinite;
}

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

/* Download CTA section */
.download-cta-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(74,45,159,0.05) 50%, transparent 100%);
}

.download-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.download-cta-text {
  display: flex;
  flex-direction: column;
}

.cta-phone-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  box-shadow: 0 0 50px rgba(107,70,212,0.3), 0 20px 60px rgba(0,0,0,0.4);
  display: block;
  margin: 0 auto;
  animation: float 7s ease-in-out infinite;
}

/* Responsive: hero + images */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-col {
    align-items: center;
  }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img-col {
    order: -1;
  }
  .hero-main-img {
    max-width: 340px;
  }
  .hero-img-glow {
    width: 300px;
    height: 300px;
  }
  .download-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-cta-text {
    align-items: center;
  }
  .dl-hero-btns[style] {
    justify-content: center !important;
  }
  .promo-container {
    flex-direction: column;
    text-align: center;
  }
  .promo-img-wrap { order: -1; }
  .promo-app-img { width: 180px; }
}

@media (max-width: 600px) {
  .hero-main-img { max-width: 280px; }
  .cta-phone-img { max-width: 260px; }
  .promo-app-img { width: 140px; }
}
