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

:root {
  --blue:  #1464F0;
  --teal:  #00C4AF;
  --navy:  #05101e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--navy);
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}


/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0 56px;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 0%, #0a1e40 0%, var(--navy) 65%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.g1 { width: 560px; height: 460px; background: rgba(20,100,240,.16); top: -60px;  right: -80px; }
.g2 { width: 400px; height: 380px; background: rgba(0,196,175,.10); bottom: -60px; left: 30%; }
.g3 { width: 300px; height: 280px; background: rgba(20,100,240,.09); bottom: 20%; left: -60px; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 52px;
  width: 100%;
}

/* ============================
   HERO CONTENT
   ============================ */
.hero-content { flex: 1; min-width: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,100,240,.13);
  border: 1px solid rgba(20,100,240,.28);
  color: #7eb4ff;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hl {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 440px;
}

/* ============================
   STORE BUTTONS
   ============================ */
.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 13px;
  padding: 11px 20px;
  color: #fff;
  min-width: 168px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.38);
}

.btn-text  { display: flex; flex-direction: column; }
.btn-sub   { font-size: .63rem; font-weight: 400; opacity: .68; }
.btn-main  { font-size: 1rem;   font-weight: 700; line-height: 1.2; }

/* ============================
   PHONE IMAGE
   ============================ */
.phone-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  animation: float 5s ease-in-out infinite;
}

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

.phone-img {
  width: 300px;
  height: auto;
  display: block;
  /* Realistic drop shadow that makes the phone "pop" */
  filter:
    drop-shadow(0 40px 70px rgba(0,0,0,.6))
    drop-shadow(0 12px 24px rgba(0,0,0,.35))
    drop-shadow(0 0 1px rgba(0,0,0,.2));
}

/* ============================
   RESPONSIVE
   ============================ */
/* Mobile: phone stays beside content */
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 36px;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  h1        { font-size: 1.3rem; }
  .subtitle { font-size: .83rem; margin-bottom: 22px; }
  .badge    { font-size: .72rem; padding: 5px 12px; margin-bottom: 14px; }

  .store-row { flex-direction: column; gap: 8px; }
  .store-btn { min-width: 0; padding: 9px 14px; }
  .btn-main  { font-size: .9rem; }

  .phone-wrap { flex: 0 0 auto; }
  .phone-img  { width: 170px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1         { font-size: 1.1rem; }
  .subtitle  { font-size: .78rem; }
  .phone-img { width: 140px; }
}

@media (max-width: 360px) {
  .phone-img { width: 115px; }
}
