:root{
  --primary:#8b5cf6;
  --accent:#06b6d4;

  --text:#e5e7eb;
  --text-muted:#a1a1aa;

  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.10);

  --gradient-primary: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --bg:
    radial-gradient(1200px 600px at 50% 0%, rgba(139,92,246,0.25), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(6,182,212,0.18), transparent 60%),
    #0b1020;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Hero */
.hero{
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.hero-content{
  text-align: center;
  max-width: 800px;
}

.hero-badge{
  display: inline-block;
  padding: .5rem 1.5rem;
  background: rgba(139,92,246,.2);
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: .9rem;
  color: #c4b5fd;
  margin-bottom: 1rem;
}

.hero h1{
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p{
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0;
}

/* Products */
.products{
  padding: 1.5rem 2rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header{
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2{
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 .75rem;
}

.section-header p{
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.products-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Product Card */
.product-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;

  display: flex;
  flex-direction: column;
  min-height: 540px; /* مهم لتثبيت زر اطلب الآن */
}

.product-card:hover{
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(139,92,246,.18);
}

.product-icon{
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.product-card h3{
  font-size: 1.5rem;
  margin: 0 0 .5rem;
}

.description{
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0 0 1.5rem;
}

.product-price{
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.price{
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-unit{
  color: var(--text-muted);
  font-size: .9rem;
}

/* Features */
.product-features{
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.product-features li{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  color: var(--text-muted);
  font-size: .9rem;
}

.product-features li i{
  color: #10b981;
}

/* Button */
.btn{
  margin-top: auto; /* يخلي الزر بنفس المستوى */
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--gradient-primary);
  color: #fff;
  transition: transform .3s ease;
}

.btn:hover{
  transform: translateY(-3px);
}

/* Footer (خليته يشتغل على footer بدون كلاس) */
footer{
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--card-border);
}

footer > div{
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .5rem;
}

footer p{
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px){
  .hero h1{ font-size: 2.2rem; }
  .hero p{ font-size: 1rem; }
  .products-grid{ grid-template-columns: 1fr; }
  .product-card{ min-height: auto; } /* على الموبايل خلي الارتفاع طبيعي */
}

a{ text-align: center;}

