:root{
  --text:#fff;
  --muted:rgba(255,255,255,.74);

  --p1:#a78bfa;
  --p2:#38bdf8;
  --p3:#2dd4bf;

  --glass:rgba(8,12,28,.18);
  --glass2:rgba(8,12,28,.28);
  --border:rgba(255,255,255,.14);

  --shadow:0 22px 70px rgba(0,0,0,.48);
  --radius:22px;

  --sidebar-w: 280px;
}

/* Reset */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"Segoe UI", Tahoma, sans-serif;
  color:var(--text);

  /* ✅ خلفية الصورة */
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.32)),
    url("../img/hero-tv.png") center/cover fixed no-repeat;

  overflow-x:hidden;
}

/* Background Orbs */
.bg-orbs{position:fixed; inset:0; pointer-events:none; z-index:0}
.orb{
  position:absolute; border-radius:9999px;
  filter:blur(40px);
  opacity:.35;
}
.orb-1{width:540px;height:540px; right:-140px; top:-120px; background:rgba(167,139,250,.7)}
.orb-2{width:520px;height:520px; left:-160px; bottom:-180px; background:rgba(56,189,248,.7)}
.orb-3{width:380px;height:380px; left:40%; top:55%; background:rgba(45,212,191,.65)}

/* App Layout */
.app{
  position:relative;
  z-index:1;
  display:flex;
  min-height:100vh;
}

/* Sidebar */
.sidebar{
  width:var(--sidebar-w);
  padding:18px;
  background:rgba(10,14,30,.52);
  border-left:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  display:flex;
  flex-direction:column;
  gap:18px;
}

.sidebar-top{
  background:var(--glass);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}

.brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.brand-badge{
  font-weight:900;
  letter-spacing:1.6px;
  font-size:18px;
  background:linear-gradient(90deg,var(--p1),var(--p2),var(--p3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.brand-sub{
  font-size:12px;
  color:rgba(255,255,255,.72);
  letter-spacing:1px;
}

.side-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.side-link{
  text-decoration:none;
  color:rgba(255,255,255,.88);
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  transition:.25s ease;
}
.side-link:hover{transform:translateY(-1px); background:rgba(255,255,255,.06)}
.side-link.active{
  border-color:rgba(56,189,248,.28);
  background:rgba(56,189,248,.10);
}

.sidebar-bottom{
  margin-top:auto;
  background:var(--glass);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
}
.tiny{
  margin-top:10px;
  font-size:12px;
  color:rgba(255,255,255,.65);
  line-height:1.6;
}

/* Main */
.main{
  flex:1;
  padding:18px 18px 40px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* Topbar */
.topbar{
  background:rgba(10,14,30,.50);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  box-shadow:var(--shadow);
}

.topbar-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.menu-btn{
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.page-title .small-muted{font-size:12px; color:rgba(255,255,255,.72)}
.page-title h1{
  font-size:18px;
  font-weight:800;
  line-height:1.2;
}

.galaxy-text{
  background:linear-gradient(90deg,var(--p1),var(--p2),var(--p3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
}

.search{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:999px;
  min-width:320px;
}
.search-ico{opacity:.85}
.search input{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  color:#fff;
}

/* Hero panel */
.hero-panel{
  background:var(--glass);
  border:1px solid var(--border);
  border-radius:var(--radius);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
}
.hero-panel-inner{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.hero-chip-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.pill{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  font-size:12px;
  letter-spacing:1px;
}
.pill-soft{
  opacity:.85;
}

.hero-desc{
  color:var(--muted);
  line-height:1.9;
  font-size:14.5px;
}

.quick-stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
}
.stat{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:14px;
}
.stat-title{font-size:12px; color:rgba(255,255,255,.70)}
.stat-value{margin-top:6px; font-weight:900}
.stat-sub{margin-top:6px; font-size:12px; color:rgba(255,255,255,.65)}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Panels */
.panel{
  background:var(--glass);
  border:1px solid var(--border);
  border-radius:var(--radius);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  padding:18px;
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}
.panel-head h2{
  font-size:18px;
  font-weight:900;
}
.small-muted{
  font-size:12px;
  color:rgba(255,255,255,.72);
}

/* Cards Grid */
.cards-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}

.card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:16px;
  transition:.25s ease;
}
.card:hover{
  transform:translateY(-2px);
  border-color:rgba(56,189,248,.22);
}

.card-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.icon{
  width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:18px;
}

.card-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.card h3{
  font-size:15px;
  font-weight:900;
}
.muted{
  margin-top:6px;
  color:var(--muted);
  line-height:1.75;
  font-size:13px;
}

.card-footer{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.tag{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.86);
}

.card-accent{
  border-color:rgba(167,139,250,.24);
  background:rgba(167,139,250,.06);
}

/* Lists */
.list{
  list-style:none;
  margin-top:12px;
  display:grid;
  gap:8px;
  color:rgba(255,255,255,.86);
  font-size:13px;
}
.card-actions{
  margin-top:14px;
}

/* Packages layout uses same cards-grid */

/* FAQ */
.faq-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}

.faq-item{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:12px 14px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  padding:6px 0;
}
.faq-item p{
  margin-top:10px;
  color:var(--muted);
  line-height:1.85;
  font-size:13px;
}

/* Contact panel */
.contact-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:16px;
}
.contact-panel h3{font-size:16px; font-weight:900}
.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  border:0;
  text-decoration:none;
  padding:11px 18px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.25s ease;
}
.btn-primary{
  background:linear-gradient(90deg, var(--p1), var(--p2));
  color:#0b1024;
  box-shadow:0 16px 50px rgba(56,189,248,.18);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 20px 65px rgba(56,189,248,.25)}
.btn-ghost{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.btn-ghost:hover{transform:translateY(-2px); background:rgba(255,255,255,.07)}
.w-full{width:100%}

/* Footer */
.footer{
  margin-top:10px;
  text-align:center;
  color:rgba(255,255,255,.70);
  font-size:13px;
}

/* Notes */
.note{margin-top:10px}

/* Responsive */
@media (max-width: 1100px){
  .cards-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .quick-stats{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width: 920px){
  :root{ --sidebar-w: 260px; }
  .search{min-width:220px}
}

@media (max-width: 860px){
  .menu-btn{display:inline-flex}
  .sidebar{
    position:fixed;
    top:0; bottom:0;
    right:0;
    transform:translateX(105%);
    transition:.25s ease;
    z-index:2000;
  }
  body.sidebar-open .sidebar{
    transform:translateX(0);
  }
  .search{display:none}
}

@media (max-width: 620px){
  .cards-grid{grid-template-columns:1fr}
  .faq-grid{grid-template-columns:1fr}
  .contact-panel{flex-direction:column; align-items:flex-start}
}
