/* ============================================================
   NetflyTV — Premium Hacked Light Theme (Interwoven Colors)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --primary:     #007BFF;
  --primary-dark:#0056b3;
  --secondary:   #6C757D;
  --red:         #E50914;
  --red-dark:    #b0060f;
  
  /* New Interwoven Palette - Soft & Eye Friendly */
  --bg-primary:  #f0f7ff;
  --bg-secondary:#ffffff;
  --bg-glass:    rgba(255, 255, 255, 0.7);
  
  --mesh-pink:   #fff0f5;
  --mesh-blue:   #e6f0ff;
  --mesh-purple: #f3f0ff;
  
  --text-primary: #1a202c;
  --text-second:  #4a5568;
  --text-muted:   #718096;
  --border:       rgba(0, 0, 0, 0.06);
  
  --shadow-sm:    0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-md:    0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg:    0 20px 50px rgba(0, 0, 0, 0.08);
  
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  
  --font-ar:      'Tajawal', 'Cairo', sans-serif;
  --transition:   all 0.3s ease;
}

/* CONTENT SHOWCASE STYLES (Restored) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.content-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.content-card-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 4px; z-index: 1;
}
.content-card-img { width: 100%; height: 180px; object-fit: cover; display: block; background: #eee; }
.content-card-body { padding: 20px; }
.content-card-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.content-card-desc { font-size: 14px; color: var(--text-second); line-height: 1.5; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  background: var(--bg-primary);
  /* Interwoven background texture */
  background-image: 
    radial-gradient(at 0% 0%, var(--mesh-blue) 0, transparent 50%), 
    radial-gradient(at 50% 0%, var(--mesh-pink) 0, transparent 50%), 
    radial-gradient(at 100% 0%, var(--mesh-purple) 0, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section { padding: 90px 0; position: relative; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Professional Solid Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 55px; background: #ffffff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), #00c6ff, var(--primary)) 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.nav-logo { font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 12px; color: #1a1a1a; letter-spacing: -0.5px; }
.app-logo-img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.logo-accent { color: var(--primary); font-weight: 900; }

/* ── Desktop Nav Links ── */
.nav-links-desktop {
  display: flex; gap: 10px; align-items: center;
}
.nav-links-desktop a {
  text-decoration: none; color: var(--text-second); font-size: 13px; font-weight: 700;
  padding: 6px 15px; border-radius: 8px; border: 1px solid rgba(0, 123, 255, 0.08);
  background: rgba(255, 255, 255, 0.5);
}
.nav-links-desktop a:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.nav-right .nav-admin-btn {
  background: var(--primary); color: #fff; padding: 10px 22px;
  border-radius: 50px; font-weight: 700; text-decoration: none; font-size: 13px;
  box-shadow: 0 8px 15px var(--primary); opacity: 0.9;
}
.nav-right .nav-admin-btn:hover { opacity: 1; box-shadow: 0 12px 20px var(--primary); }

/* ── Hacked Title Design ── */
.hacked-title {
  font-size: 56px; font-weight: 900; line-height: 1.1;
  background: linear-gradient(135deg, #1a202c 0%, var(--primary) 50%, #00c6ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block; margin-bottom: 25px;
  position: relative;
}
.hacked-title::after {
  content: 'PREMIUM';
  position: absolute; top: -15px; left: -20px;
  font-size: 10px; padding: 2px 8px; border-radius: 4px;
  background: var(--red); color: #fff; -webkit-text-fill-color: #fff;
  letter-spacing: 1px; font-weight: 900;
}

/* ── Hero Section ── */
.app-hero-light { padding: 180px 0 100px; text-align: right; }
.hero-img-container { 
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
}

/* ── Dynamic Content Image Styling ── */
.dynamic-img { width: 100%; height: auto; display: block; object-fit: cover; }

/* ── Info Cards ── */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.info-card {
  padding: 40px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  text-align: center;
}
.info-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.info-card-icon {
  font-size: 32px; color: var(--primary); margin-bottom: 25px;
  width: 70px; height: 70px; background: rgba(0,123,255,0.05);
  border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px;
}

/* ── Accordion FAQ ── */
.accordion-wrapper { max-width: 800px; margin: 40px auto 0; }
.accordion-item { 
  background: #fff; border: 1px solid var(--border); 
  border-radius: var(--radius-md); margin-bottom: 15px; overflow: hidden;
}
.accordion-header {
  padding: 20px 25px; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 18px; color: var(--text-primary);
}
.accordion-header:hover { background: rgba(0,123,255,0.02); }
.accordion-header i { color: var(--primary); }
.accordion-content {
  display: none; overflow: hidden; padding: 0 25px;
  color: var(--text-second); line-height: 1.8;
}
.accordion-item.active .accordion-content { display: block; padding: 10px 25px 25px; }
.accordion-item.active .accordion-header i { transform: none; color: var(--red); }
.accordion-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }

/* ── Reviews ── */
.reviews-grid { display: grid; gap: 20px; margin-top: 40px; }
.review-card { background: #fff; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.official-reply { margin-top: 20px; padding: 20px; background: #f8fbff; border-right: 4px solid var(--primary); border-radius: 8px; font-size: 14px; }
.rating-stars { color: #f5c518; }
.user-avatar { 
  width: 50px; height: 50px; border-radius: 50%; 
  background: var(--mesh-blue); display: flex; align-items: center; justify-content: center; 
  font-weight: 900; color: var(--primary); 
  border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden; flex-shrink: 0;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Buttons ── */
.btn-solid-primary {
  background: var(--primary); color: #fff; padding: 15px 35px; border-radius: 50px;
  font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}
.btn-outline-dark {
  border: 2px solid var(--text-primary); color: var(--text-primary); padding: 13px 35px; border-radius: 50px;
  font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
}

/* ── Final Download Section ── */
.final-download { 
  padding: 100px 0; 
  background: transparent;
}
.download-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--primary), #00c6ff);
}
.download-card h2 { font-size: 42px; font-weight: 900; margin-bottom: 20px; color: var(--text-primary); }
.download-card p { font-size: 18px; color: var(--text-second); margin-bottom: 40px; max-width: 700px; margin-inline: auto; }

/* ── Advanced Footer ── */
.footer-main { 
  background: #fff; 
  padding: 100px 0 40px; 
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}
.footer-title {
  font-size: 20px; font-weight: 800; margin-bottom: 30px;
  color: var(--text-primary); position: relative; padding-bottom: 15px;
}
.footer-title::after {
  content: ''; position: absolute; right: 0; bottom: 0; width: 40px; height: 3px;
  background: var(--primary); border-radius: 2px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { 
  color: var(--text-second); font-size: 16px; 
  display: block; position: relative;
}
.footer-links a:hover { color: var(--primary); }

.trust-badge {
  display: flex; align-items: center; gap: 10px; margin-top: 25px;
  padding: 12px 20px; background: #f8fbff; border-radius: 12px;
  border: 1px solid rgba(0,123,255,0.1); font-size: 13px; color: var(--text-second);
}
.footer-bottom { 
  border-top: 1px solid var(--border); padding-top: 40px; 
  margin-top: 80px; text-align: center; 
}

/* ── Iconic Info Grid ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.info-item {
  background: #fff;
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
.info-item-icon {
  width: 54px; height: 54px;
  background: var(--mesh-blue);
  color: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(0,123,255,0.1);
}
.info-item-data { display: flex; flex-direction: column; gap: 4px; }
.info-item-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.info-item-value { font-size: 16px; color: var(--text-primary); font-weight: 800; }

/* ── Premium Characteristics ── */
.specs-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
  margin-top: 50px; 
}
.spec-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-md);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  background-clip: padding-box;
}
/* The "Interwoven" Border Effect */
.spec-item::before, .spec-item::after {
  content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: calc(var(--radius-md) + 2px); z-index: -1;
  background: linear-gradient(45deg, var(--primary), transparent, #00c6ff, transparent);
  background-size: 200% 200%;
}
.spec-item::after {
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  background: #fff; border-radius: var(--radius-md);
  z-index: -1;
}

.spec-icon { 
  font-size: 28px; color: var(--primary); 
  width: 65px; height: 65px; 
  background: var(--mesh-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 2px double rgba(0,123,255,0.2);
}
.spec-info h4 { font-size: 19px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
.spec-info p { font-size: 14px; color: var(--text-second); line-height: 1.6; }

/* ── Content Showcase Grid ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.content-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  background-clip: padding-box;
}

/* Interwoven border for content cards */
.content-card::before {
  content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: calc(var(--radius-md) + 2px); z-index: -1;
  background: linear-gradient(135deg, var(--primary), transparent, #00c6ff);
}
.content-card::after {
  content: ''; position: absolute; top: 1px; left: 1px; right: 1px; bottom: 1px;
  background: #fff; border-radius: var(--radius-md); z-index: -1;
}

.content-card-img {
  width: 100%; height: 220px; object-fit: cover;
  display: block; border-bottom: 1px solid var(--border);
}
.content-card-body { padding: 25px; text-align: right; }
.content-card-title { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; }
.content-card-desc { font-size: 14px; color: var(--text-second); line-height: 1.6; }

.content-card-tag {
  position: absolute; top: 15px; left: 15px;
  background: var(--primary); color: #fff;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

/* ── Social Icons ── */
.social-links {
  display: flex !important;
  gap: 12px;
  flex-wrap: wrap;
}
.social-icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  display: flex !important; align-items: center; justify-content: center; 
  font-size: 18px; color: var(--text-primary); background: #fff;
}
.social-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.social-icon i { line-height: 1; }


/* Utils */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), #00c6ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 0 20px; height: 55px; }
}
@media (max-width: 768px) {
  .hacked-title { font-size: 34px; }
  .navbar { padding: 0 12px; height: 55px; }
  .nav-logo { font-size: 17px; gap: 6px; }
  .nav-links-desktop { display: none; }
  .app-logo-img { width: 28px; height: 28px; }
  .nav-right .nav-admin-btn { padding: 6px 10px; font-size: 10px; border-radius: 6px; }
  .section { padding: 40px 0; }
  .flex-between { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .download-card { padding: 40px 20px; }
  .download-card h2 { font-size: 32px; }
}

/* ── Premium SEO Sections ── */
.gradient-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.gradient-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--red));
}
.gradient-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.guide-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,0.6); padding: 25px; border-radius: var(--radius-md);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.step-num {
  width: 40px; height: 40px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; flex-shrink: 0; font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

.seo-content-block {
  background: #fff;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  line-height: 2;
  color: var(--text-second);
  font-size: 17px;
  text-align: justify;
}
.seo-content-block h2, .seo-content-block h3 { color: var(--text-primary); margin: 30px 0 15px; }
.seo-content-block strong { color: var(--primary); }

@media (max-width: 768px) {
  .seo-content-block { padding: 30px 20px; font-size: 15px; }
  .gradient-card { padding: 25px; }
}
