/*
Theme Name: MainData Performance
Theme URI: https://m2y.net
Template: maindata
Author: M2Y Developers
Description: Child Theme لتحسينات الأداء وسرعة التحميل (Core Web Vitals) - Performance Optimized Child Theme for MainData
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maindata-performance
*/

/* Critical CSS - Above the Fold Styles */
/* سيتم تحميل هذه الأنماط الحرجة inline في header.php */

/* إضافة أي تخصيصات CSS إضافية هنا */

/* تحسين الـ Hero Section للصفحة الرئيسية */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center 0;
  min-height: 480px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25); /* تعتيم 25% */
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
}
.hero-title {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding: 0.5rem 0.5rem;
  line-height: 1.15;
}
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
    padding: 0.25rem 0.25rem;
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
    padding: 0.15rem 0.15rem;
  }
}
.hero-description {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0.5rem;
  line-height: 1.7;
}
.hero-badge {
  margin-bottom: 2rem;
}
/* زر CTA الرئيسي */
.cta-btn-primary, .tier-cta.premium {
  background: linear-gradient(90deg, #fbbf24 0%, #8b5cf6 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(139,92,246,0.12);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-btn-primary:hover, .tier-cta.premium:hover {
  background: linear-gradient(90deg, #8b5cf6 0%, #fbbf24 100%);
  box-shadow: 0 8px 32px rgba(139,92,246,0.18);
  transform: scale(1.04);
}
/* زر CTA الثانوي */
.cta-btn-secondary, .tier-cta.free {
  background: #fff;
  color: #1f2937;
  border: 2px solid #8b5cf6;
  font-weight: 700;
  transition: background 0.2s, border 0.2s, transform 0.2s;
}
.cta-btn-secondary:hover, .tier-cta.free:hover {
  background: #f3f4f6;
  border-color: #fbbf24;
  transform: scale(1.04);
}
/* تحسين التوافق مع Vibe Coding */
.landing-page, .container, .main-content {
  width: 100%;
  box-sizing: border-box;
}
