/* =========================================
   رفيق الحفظ — صفحة الهبوط
   ========================================= */

:root {
  --bg:      #F5EDE3;
  --primary: #C4603A;
  --dark:    #2C2C2C;
  --white:   #FFFFFF;
  --grey:    #9E9E9E;
  --radius:  16px;
  --shadow:  0 2px 16px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--dark);
  direction: rtl;
  text-align: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   الزخارف الإسلامية
   ========================================= */
.deco {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  opacity: 0.35;
  pointer-events: none;
}

.deco-top {
  top: 0; left: 0; right: 0;
  justify-content: center;
  padding-top: 12px;
}

.deco-bottom {
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  gap: 6px;
}

.deco-crescent {
  width: 32px; height: 32px;
  fill: currentColor;
}

.deco-star    { font-size: 18px; }
.deco-star-sm { font-size: 11px; opacity: 0.6; }

.deco-branch {
  width: 100px; height: 60px;
  color: var(--primary);
  opacity: 0.7;
}
.deco-branch-r { transform: scaleX(-1); }
.deco-branch-l { }

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  width: 100%;
}

/* أيقونة المصحف */
.logo-circle {
  width: 88px; height: 88px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(196, 96, 58, 0.38);
}

.logo-circle svg {
  width: 52px; height: 52px;
}

/* اسم التطبيق بالتيراكوتا */
.app-name {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.tagline {
  font-size: 18px;
  color: #666;
  font-weight: 600;
  line-height: 1.5;
}

/* زر التثبيت الرئيسي */
.btn-primary {
  display: block;
  width: 100%;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 17px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(44, 44, 44, 0.22);
}

.works-on {
  font-size: 13px;
  color: var(--grey);
}

/* =========================================
   FEATURES
   ========================================= */
.features {
  padding: 72px 24px;
  background: var(--white);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.2s;
}

.feature-card:hover { transform: translateY(-3px); }

.feature-icon {
  font-size: 44px;
  display: block;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* =========================================
   INSTALL — خلفية تيراكوتا فاتحة
   ========================================= */
.install-section {
  padding: 72px 24px;
  background: rgba(196, 96, 58, 0.07);
  position: relative;
  overflow: hidden;
}

/* دائرة زخرفية خلفية */
.install-section::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(196, 96, 58, 0.12);
  top: -80px; left: -80px;
  pointer-events: none;
}

.install-inner {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.install-inner h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.install-inner > p {
  font-size: 15px;
  color: #666;
  margin-bottom: 28px;
}

.btn-install {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 28px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 96, 58, 0.35);
}

.install-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 120px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow {
  font-size: 18px;
  color: var(--primary);
  opacity: 0.5;
  padding-top: 6px;
  align-self: flex-start;
  margin-top: 4px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: 48px 24px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.footer-dev {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-ayah {
  font-size: 17px;
  color: var(--primary);
  margin-top: 4px;
  font-weight: 600;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 480px) {
  .app-name        { font-size: 36px; }
  .deco-branch     { width: 70px; }
  .install-steps   { flex-direction: column; align-items: center; }
  .step-arrow      { transform: rotate(90deg); }
}
