/* ===== CSS Reset (مختصر) ===== */
* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== Theme ===== */
:root{
  --bg: #0b0f14;
  --surface: #121821;
  --muted: #94a3b8;
  --text: #e6edf3;
  --brand: #7c3aed; /* بنفسجي أنيق */
  --brand-2: #ff6f00; /* برتقالي */
  --border: #1f2937;
  --card: #0f141b;
  --shadow: 0 10px 25px rgba(0,0,0,.28);
}



/* ===== Base ===== */
body{
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.container{
  width: min(1200px, 94%);
  margin-inline: auto;
  padding: 0 20px;
}

.section{
  padding: 100px 0;
}

.section-alt{
  background: linear-gradient(180deg, transparent, rgba(255,111,0,.08));
  position: relative;
}

.section-alt::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(255,111,0,.04));
  pointer-events: none;
}

/* ===== Header / Nav ===== */
.site-header{
  position: sticky; 
  top: 0; 
  z-index: 40;
  background: rgba(11,15,20,.98);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.nav{
  display: flex; 
  justify-content: space-between;
  align-items: center; 
  gap: 20px; 
  min-height: 80px;
  padding: 0;
}

.brand{ 
  display: inline-flex; 
  align-items: center; 
  gap: 16px; 
  text-decoration: none; 
  color: var(--text); 
  font-weight: 700; 
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.brand:hover{
  transform: translateY(-1px);
}

.brand-logo{
  display: grid; 
  place-items: center; 
  width: 48px; 
  height: 48px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; 
  border-radius: 14px; 
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(124,58,237,.3);
  transition: all 0.3s ease;
}

.brand:hover .brand-logo{
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(124,58,237,.4);
}

.icon-btn{
  border: 1px solid var(--border); 
  background: var(--surface);
  color: var(--text); 
  border-radius: 12px; 
  padding: 12px 14px; 
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover{
  background: var(--card);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.hamburger{
  display: none; 
  background: transparent; 
  border: none; 
  cursor: pointer; 
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.hamburger:hover{
  background: rgba(255,111,0,.05);
  border-color: var(--brand-2);
}

.hamburger span{
  display: block; 
  width: 24px; 
  height: 2px; 
  background: var(--text); 
  margin: 5px 0; 
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu{
  display: flex; 
  gap: 8px; 
  align-items: center; 
  margin: 0;
  padding: 0;
}

.nav-menu a{
  color: var(--text); 
  text-decoration: none; 
  padding: 12px 18px; 
  border-radius: 12px; 
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}



.nav-menu a:hover{ 
  border-color: var(--brand-2); 
  background: rgba(255,111,0,.08);
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero{ 
  position: relative; 
  padding: 120px 0 80px 0;
}

.hero-grid{
  display: grid; 
  gap: 64px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

.hero-text h1{ 
  font-size: clamp(32px, 5vw, 56px); 
  line-height: 1.1; 
  margin-bottom: 24px; 
  font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p{ 
  color: var(--muted); 
  font-size: 1.2rem; 
  margin-bottom: 32px; 
  line-height: 1.6;
  max-width: 500px;
}

.hero-actions{ 
  display: flex; 
  gap: 16px; 
  margin-bottom: 32px; 
  flex-wrap: wrap;
}

.hero-bullets{ 
  display: grid; 
  gap: 16px; 
  color: var(--muted);
  font-size: 1rem;
}

.hero-bullets li{
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-bullets i{ 
  color: var(--brand-2); 
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Phone Mock */
.hero-phone{ 
  position: relative; 
  display: grid; 
  place-items: center; 
}

.glow{
  position: absolute; 
  inset: auto; 
  width: 400px; 
  height: 400px; 
  filter: blur(100px);
  background: radial-gradient(500px 260px at 60% 40%, rgba(255,111,0,.4), transparent 60%),
              radial-gradient(500px 260px at 40% 60%, rgba(124,58,237,.4), transparent 60%);
  z-index: -1; 
  opacity: .8;
}

.phone{
  width: 320px; 
  height: 640px; 
  border-radius: 40px; 
  padding: 16px;
  background: linear-gradient(145deg, #0b0f14, #131a24);
  border: 1px solid var(--border); 
  box-shadow: var(--shadow); 
  position: relative;
  transition: transform 0.3s ease;
}

.phone:hover{
  transform: translateY(-8px) scale(1.02);
}

.phone-notch{
  position: absolute; 
  top: 16px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 140px; 
  height: 24px; 
  border-radius: 14px; 
  background: #000000cc;
}

.phone-screen{
  background: var(--card); 
  height: 100%; 
  border-radius: 28px; 
  padding: 20px; 
  display: grid; 
  grid-template-rows: auto 1fr auto; 
  gap: 20px;
}

.app-bar{ 
  display: flex; 
  justify-content: center; 
  padding: 16px; 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  font-weight: 700; 
  background: var(--surface);
  font-size: 1.1rem;
  color: var(--brand);
}

.app-cards{ 
  display: grid; 
  gap: 16px; 
}

.app-card{
  display: grid; 
  grid-template-columns: 45px 1fr; 
  gap: 16px; 
  align-items: center;
  padding: 16px; 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  background: linear-gradient(180deg,var(--surface),transparent);
  transition: all 0.2s ease;
}

.app-card:hover{
  border-color: var(--brand);
  transform: translateY(-2px);
}

.app-card i{ 
  font-size: 20px; 
  background: linear-gradient(135deg,var(--brand),var(--brand-2)); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
}

.app-card strong{
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
  display: block;
}

.app-card p{
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.app-cta{ 
  display: flex; 
  justify-content: center; 
  padding-top: 8px;
}

/* Buttons */
.btn{
  --btn-bg: var(--brand); 
  --btn-color: #fff; 
  --btn-border: transparent;
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  text-decoration: none;
  padding: 16px 24px; 
  border-radius: 14px; 
  border: 1px solid var(--btn-border);
  background: var(--btn-bg); 
  color: var(--btn-color); 
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover{ 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(124,58,237,.3);
}

.btn-ghost{ 
  --btn-bg: transparent; 
  --btn-color: var(--text); 
  --btn-border: var(--border); 
  border: 1px solid var(--border);
}

.btn-ghost:hover{
  --btn-bg: var(--surface);
  border-color: var(--brand);
}

.btn-sm{ 
  padding: 12px 18px; 
  font-size: 0.9rem; 
}

/* Features */
.section-head{ 
  text-align: center; 
  margin-bottom: 48px; 
}

.section-head h2{ 
  font-size: 2.5rem; 
  margin-bottom: 16px; 
  color: var(--text);
}

.section-head p{ 
  color: var(--muted); 
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.grid{ 
  display: grid; 
  gap: 24px; 
}

.features-grid{ 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 24px;
  align-items: stretch;
}

.card{
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 24px; 
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,.25);
  border-color: var(--brand);
}

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

.feature{ 
  text-align: center; 
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 200px;
  justify-content: flex-start;
}

.feature h3{
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
  font-weight: 600;
  order: 2;
}

.feature p{
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  order: 3;
  max-width: 240px;
}

.icon-wrap{
  width: 72px; 
  height: 72px; 
  display: grid; 
  place-items: center; 
  margin: 0;
  border-radius: 20px; 
  background: linear-gradient(135deg, rgba(124,58,237,.15), rgba(34,211,238,.15));
  color: var(--brand-2); 
  font-size: 28px;
  transition: all 0.3s ease;
  order: 1;
  border: 1px solid rgba(124,58,237,.1);
  position: relative;
}

.icon-wrap::after{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover .icon-wrap{
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(34,211,238,.2));
}

.card:hover .icon-wrap::after{
  opacity: 0.2;
}

/* Download */
.download-grid{ 
  display: grid; 
  gap: 48px; 
  grid-template-columns: 1.1fr .9fr; 
  align-items: center; 
}

.download-grid h2{
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text);
}

.download-grid p{
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.store-buttons{ 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-top: 24px; 
}

.store-btn{
  display: flex; 
  align-items: center; 
  gap: 12px; 
  padding: 16px 20px; 
  border-radius: 16px;
  border: 1px solid var(--border); 
  background: var(--surface); 
  color: var(--text); 
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.store-btn:hover{
  transform: translateY(-2px);
  border-color: var(--brand);
  background: var(--card);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.store-btn i{ 
  font-size: 24px; 
  color: var(--brand);
}

.store-btn span{ 
  display: flex; 
  flex-direction: column; 
  gap: 2px;
}

.store-btn small{ 
  display: block; 
  color: var(--muted); 
  line-height: 1; 
  font-size: 0.85rem;
}

.store-btn strong{ 
  line-height: 1.2; 
  font-size: 1.1rem;
  font-weight: 600;
}

/* QR */
.qr{ 
  display: grid; 
  place-items: center; 
  min-height: 220px; 
  padding: 32px;
}

.qr-inner{ 
  display: grid; 
  place-items: center; 
  gap: 16px; 
  color: var(--muted);
  text-align: center;
}

.qr-inner img{ 
  width: 160px;
  height: 160px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  transition: transform 0.3s ease;
}

.qr-inner img:hover{
  transform: scale(1.05);
}

.qr-inner span{
  font-size: 1rem;
  font-weight: 500;
}

/* Contact */
.contact-grid{ 
  grid-template-columns: repeat(2, 1fr); 
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-item{ 
  display: grid; 
  grid-template-columns: 50px 1fr; 
  gap: 20px; 
  align-items: center;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.contact-item:hover{
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.contact-item i{ 
  font-size: 24px; 
  color: var(--brand-2);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(34,211,238,.1));
  border-radius: 12px;
}

.contact-item h4{
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-item a,
.contact-item p{
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  margin: 0;
}

.contact-item a:hover{
  color: var(--brand-2);
}

/* Footer */
.site-footer{ 
  border-top: 1px solid var(--border); 
  padding: 48px 0 32px 0; 
  margin-top: 48px; 
  background: var(--card);
}

.footer-flex{ 
  display: grid; 
  gap: 24px; 
  align-items: center; 
  grid-template-columns: 1fr auto; 
}

.brand-sm{ 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: var(--muted);
  font-size: 1rem;
}

.brand-sm .brand-logo{
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.social{ 
  display: flex; 
  gap: 16px; 
}

.social a{ 
  color: var(--muted); 
  font-size: 20px; 
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.social a:hover{
  color: var(--brand-2);
  background: var(--surface);
  transform: translateY(-2px);
}

.copy{ 
  grid-column: 1 / -1; 
  color: var(--muted); 
  text-align: center; 
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .features-grid{ 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }
  .download-grid{ 
    grid-template-columns: 1fr; 
    gap: 40px;
    text-align: center;
  }
  .hero-grid{ 
    gap: 48px; 
  }
  .phone{
    width: 280px;
    height: 560px;
  }
  .card{
    padding: 24px 20px;
  }
  .icon-wrap{
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
}

@media (max-width: 768px){
  .nav{ 
    justify-content: space-between;
    gap: 16px;
  }
  .hamburger{ 
    display: inline-block; 
  }
  .nav-menu{
    position: absolute; 
    inset-inline: 0; 
    top: 80px; 
    background: var(--surface);
    border-bottom: 1px solid var(--border); 
    display: none; 
    flex-direction: column; 
    padding: 20px; 
    z-index: 30;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
    backdrop-filter: blur(20px);
  }
  .nav-menu.show{ 
    display: flex; 
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .hero-grid{ 
    grid-template-columns: 1fr; 
    gap: 40px;
    text-align: center;
  }
  .contact-grid{ 
    grid-template-columns: 1fr; 
    gap: 24px;
    max-width: 100%;
  }
  .features-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section{
    padding: 80px 0;
  }
  .hero{
    padding: 100px 0 60px 0;
  }
  .hero-text h1{
    font-size: clamp(28px, 6vw, 40px);
  }
  .hero-actions{
    justify-content: center;
  }
  .store-buttons{
    justify-content: center;
  }
  .phone{
    width: 260px;
    height: 520px;
  }
  .card{
    padding: 20px 18px;
  }
  .icon-wrap{
    width: 60px;
    height: 60px;
    font-size: 22px;
  }
  .feature h3{
    font-size: 1.2rem;
  }
  .feature p{
    font-size: 0.9rem;
    max-width: 200px;
  }
}

@media (max-width: 480px){
  .container{
    padding: 0 16px;
  }
  .section{
    padding: 60px 0;
  }
  .hero{
    padding: 80px 0 40px 0;
  }
  .hero-text h1{
    font-size: clamp(24px, 7vw, 32px);
  }
  .hero-actions{
    flex-direction: column;
    align-items: center;
  }
  .btn{
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
  .features-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card{
    padding: 18px 16px;
    border-radius: 20px;
  }
  .icon-wrap{
    width: 56px;
    height: 56px;
    font-size: 20px;
    border-radius: 16px;
  }
  .feature h3{
    font-size: 1.1rem;
  }
  .feature p{
    font-size: 0.85rem;
    max-width: 180px;
  }
  .phone{
    width: 240px;
    height: 480px;
  }
  .store-btn{
    min-width: auto;
    width: 100%;
    justify-content: center;
  }
  .section-head h2{
    font-size: 2rem;
  }
  .section-head p{
    font-size: 1rem;
  }
}
.hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-actions .btn-primary svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
}


@media (prefers-reduced-motion: reduce){
  html:focus-within{ scroll-behavior: auto; }
  .btn{ transition: none; }
}


