/*
Theme Name: Astra SmartStack Child
Description: تحسينات CSS لصفحة الهبوط SmartStack (RTL متجاوب)
Template: astra
*/

/* Base tokens */
:root{
  --primary: #ff6b3d;
  --muted: #6b6b6b;
  --bg: #faf9fb;
  --card: #ffffff;
  --container-width: 1100px;
  --radius: 10px;
  --gap: 18px;
  font-family: "Cairo", system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: #222;
  line-height: 1.6;
  margin: 0;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px;
}

/* HERO */
.hero {
  padding: 28px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: var(--gap);
  align-items: start;
}

/* Hero copy */
.hero-title {
  font-size: 30px;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero-content {
  background: transparent;
  margin-bottom: 12px;
  color: #333;
  font-size: 16px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid #e6e6e6;
}

/* Price box */
.price-box {
  background: var(--card);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #eee;
  display: inline-block;
  margin-top: 14px;
}
.price-label { color: var(--muted); font-size: 13px; display:block; }
.amount { font-size: 20px; font-weight: 700; color: var(--primary); display:block; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Hero media & gallery */
.hero-media img {
  width: 100%;
  border-radius: 10px;
  display: block;
  border: 1px solid #eee;
}
.gallery {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.gallery img {
  width: 50%;
  border-radius: 8px;
  border: 1px solid #eee;
  object-fit: cover;
}

/* Features */
.features {
  margin-top: 28px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.feature {
  background: var(--card);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Specs */
.specs {
  margin-top: 14px;
  background: var(--card);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Reviews */
.reviews { margin-top: 22px; }
.review-cards { display:flex; gap: 12px; flex-wrap:wrap; }
.review { background: var(--card); padding: 12px; border-radius: 8px; border: 1px solid #eee; flex:1 }

/* FAQ */
.faq details { background: var(--card); padding: 10px; border-radius: 8px; border: 1px solid #eee; margin-top: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery img { width: 48%; }
  .hero-ctas { justify-content: flex-start; }
}