.section { padding: 100px 0; background: rgba(2, 6, 23, 0.88); }
.section-alt { padding: 100px 0; background: rgba(8, 15, 30, 0.96); border-top: 1px solid rgba(0, 210, 255, 0.05); border-bottom: 1px solid rgba(0, 210, 255, 0.05); }
.section-title { text-align: center; font-size: 40px; font-weight: 900; margin-bottom: 20px; }
.section-title span { color: var(--accent-color); }
.section-subtitle { text-align: center; font-size: 17px; color: #94a3b8; max-width: 700px; margin: 0 auto 70px auto; }

.hero { position: relative; padding: 120px 0 100px 0; background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4), var(--bg-dark)); text-align: center; }
.hero h1 { font-size: clamp(28px, 5vw, 58px); font-weight: 900; line-height: 1.3; margin-bottom: 25px; letter-spacing: -1px; word-break: break-word; }
.hero h1 span { color: var(--accent-color); }
.hero p { font-size: 22px; color: var(--text-muted); max-width: 900px; margin: 0 auto 35px auto; font-weight: 600; }

.search-container { max-width: 650px; margin: 0 auto 45px auto; background: rgba(8, 15, 30, 0.85); border: 1px solid rgba(0, 210, 255, 0.2); padding: 8px 12px; border-radius: 50px; display: flex; align-items: center; backdrop-filter: blur(10px); box-shadow: 0 15px 35px rgba(0,0,0,0.5); transition: 0.3s ease; }
.search-container:focus-within { border-color: var(--accent-color); box-shadow: 0 15px 35px rgba(0, 210, 255, 0.15); }
.search-container i { color: #94a3b8; font-size: 18px; margin-left: 15px; margin-right: 10px; }
.search-container input { background: transparent; border: none; outline: none; color: var(--text-light); font-size: 16px; font-weight: 600; width: 100%; padding: 10px 5px; }
.search-container input::placeholder { color: #64748b; }
.search-btn { background: var(--accent-color); color: var(--primary-dark); border: none; padding: 10px 25px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.search-btn:hover { background: var(--primary-color); color: var(--text-light); }

.hero-btns { display: flex; justify-content: center; gap: 20px; }
.btn-primary { background: var(--primary-color); color: var(--text-light); padding: 15px 40px; border-radius: 30px; font-weight: 700; font-size: 17px; transition: 0.3s; box-shadow: 0 10px 25px rgba(0, 70, 135, 0.35); border: 1px solid rgba(0, 210, 255, 0.3); }
.btn-primary:hover { background: var(--accent-color); color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4); }
.btn-secondary { background: transparent; color: var(--text-light); padding: 15px 40px; border-radius: 30px; font-weight: 700; font-size: 17px; border: 2px solid var(--primary-color); transition: 0.3s; }
.btn-secondary:hover { background: rgba(0, 70, 135, 0.15); border-color: var(--accent-color); transform: translateY(-3px); }

.stats-bar { background: linear-gradient(90deg, #040a17 0%, #080f1e 100%); padding: 60px 0; border-top: 1px solid rgba(0, 210, 255, 0.1); border-bottom: 1px solid rgba(0, 210, 255, 0.1); }
.stats-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; text-align: center; }
.stat-card { flex: 1; min-width: 200px; }
.stat-card h2 { font-size: 52px; font-weight: 900; color: var(--accent-color); margin-bottom: 5px; }
.stat-card p { font-size: 15px; color: #94a3b8; font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: rgba(8, 15, 30, 0.6); backdrop-filter: blur(8px); padding: 40px 25px; border-radius: 16px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.6); transition: all 0.4s; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.card:hover { transform: translateY(-10px); border-color: var(--accent-color); background: rgba(8, 15, 30, 0.95); }
.card i { font-size: 45px; color: var(--accent-color); margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text-light); }
.card p { color: #cbd5e1; font-size: 14px; margin-bottom: 25px; }

.btn-more { background: transparent; color: var(--accent-color); border: 2px solid var(--primary-color); padding: 8px 22px; border-radius: 25px; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-more:hover { background: var(--primary-color); color: var(--text-light); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.feature-box { background: rgba(8, 15, 30, 0.7); border: 1px solid rgba(255,255,255,0.06); padding: 50px 35px; border-radius: 20px; }
.feature-box h3 { font-size: 24px; margin-bottom: 15px; }
.feature-box p { color: #cbd5e1; font-size: 15px; }

.preview-wrapper { background: rgba(4, 10, 22, 0.95); border-radius: 24px; padding: 50px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.preview-text h2 { font-size: 36px; font-weight: 900; margin-bottom: 20px; }
.preview-text h2 span { color: var(--accent-color); }
.preview-text p { font-size: 16px; margin-bottom: 25px; }

.mockup-window { background: #080f1e; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.mockup-header { background: #0c152b; padding: 12px 20px; display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: var(--accent-color); } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.mockup-body { padding: 30px; }
.mockup-stat { background: rgba(255,255,255,0.02); padding: 20px; border-radius: 8px; margin-bottom: 15px; display: flex; justify-content: space-between; }
.mockup-stat .value { font-size: 24px; font-weight: 900; color: var(--accent-color); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-card { background: rgba(8, 15, 30, 0.8); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; overflow: hidden; }
.blog-content { padding: 25px; }
.blog-content h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }

.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { width: 100%; height: 420px; object-fit: cover; }

.contact-box { background: rgba(8,15,30,0.95); border: 1px solid rgba(0,210,255,0.15); border-radius: 24px; padding: 60px; max-width: 900px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 35px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: span 2; }
.form-group input, .form-group textarea { background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.1); padding: 14px 20px; border-radius: 8px; color: var(--text-light); }
.btn-submit { background: var(--primary-color); color: var(--text-light); padding: 15px; border: none; border-radius: 8px; cursor: pointer; width: 100%; }

/* التجاوب (Media Queries) */
@media (max-width: 992px) {
    .preview-grid, .about-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-title { font-size: 30px; }
    .hero h1 { font-size: 28px; }
    .hero-btns { flex-direction: column; }
    .search-container { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .stat-card { min-width: 100%; }
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 15px 0;
  font-family: sans-serif;
  z-index: 99999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
  direction: ltr; /* تم التغيير ليصبح من اليسار لليمين */
  text-align: left;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.btn-accept {
  background-color: #4CAF50;
  color: white;
}

.btn-accept:hover {
  background-color: #45a049;
}

.btn-close {
  background-color: #f44336;
  color: white;
}

.btn-close:hover {
  background-color: #da190b;
}

