/* موقع kush-crown.com — نفس هوية التطبيق: بنفسجي ملكي + ذهبي */
:root {
  --purple-900: #1f0d29;
  --purple-800: #32163F;
  --purple-700: #4B2A7B;
  --purple-600: #5B4078;
  --purple-100: #f4eefa;
  --gold: #D9A936;
  --gold-dark: #b8862a;
  --ink: #241a2c;
  --muted: #6d6177;
  --line: #ebe3f2;
  --white: #ffffff;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.sc-wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- الترويسة ---------- */
.sc-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.sc-brand { display: flex; align-items: center; gap: 10px; color: var(--purple-800); font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.sc-brand:hover { text-decoration: none; }
.sc-brand img { width: 40px; height: 40px; border-radius: 11px; }
.sc-brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; line-height: 1.1; }
.sc-links { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.sc-links a { color: var(--ink); }
.sc-lang { background: var(--purple-100); color: var(--purple-700) !important; padding: 6px 14px; border-radius: 999px; }

/* ---------- الواجهة ---------- */
.sc-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 500px at 85% -10%, #6b3fa0 0%, transparent 60%),
              linear-gradient(160deg, var(--purple-800) 0%, var(--purple-900) 100%);
}
.sc-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sc-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.sc-kicker { display: inline-block; color: var(--gold); font-weight: 700; font-size: 15px; border: 1px solid rgba(217, 169, 54, .45); padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; }
.sc-hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.2; font-weight: 800; }
.sc-hero h1 span { color: var(--gold); }
.sc-hero .sc-lead { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .82); margin: 16px 0 28px; max-width: 560px; }
.sc-hero-art { display: flex; justify-content: center; }
.sc-hero-art img {
  width: min(300px, 70vw); border-radius: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(217, 169, 54, .35);
}

/* ---------- الأزرار ---------- */
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sc-btn:hover { text-decoration: none; transform: translateY(-2px); }
.sc-btn svg { width: 24px; height: 24px; flex: 0 0 24px; }
.sc-btn-play { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.sc-btn-play small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1.1; }
.sc-btn-play b { display: block; font-size: 17px; line-height: 1.2; }
.sc-btn-web { background: var(--gold); color: var(--purple-900); box-shadow: 0 10px 26px rgba(217, 169, 54, .3); }
.sc-btn-web:hover { background: #e6b744; }
.sc-btn-ghost { background: transparent; color: var(--purple-700); border: 1.5px solid var(--line); }
.sc-btn-danger { background: #b42318; color: #fff; border: 0; cursor: pointer; font-family: inherit; }
.sc-soon { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 10px; }

/* ---------- الأقسام ---------- */
.sc-section { padding: 72px 0; }
.sc-section.alt { background: var(--purple-100); }
.sc-title { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sc-title h2 { font-size: clamp(26px, 4vw, 36px); color: var(--purple-800); font-weight: 800; }
.sc-title p { color: var(--muted); margin-top: 6px; }
.sc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.sc-section.alt .sc-card { border-color: #e2d6ee; }
.sc-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--purple-100); margin-bottom: 14px; }
.sc-card h3 { color: var(--purple-800); font-size: 18px; margin-bottom: 6px; }
.sc-card p { color: var(--muted); font-size: 15px; }
.sc-about { max-width: 820px; margin: 0 auto; text-align: center; font-size: 17px; color: #4e4357; }
.sc-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.sc-team .sc-card { text-align: center; }
.sc-team .role { color: var(--muted); font-size: 14px; }
.sc-team .name { color: var(--purple-800); font-weight: 800; font-size: 18px; margin-top: 4px; }
.sc-cta { text-align: center; color: #fff; background: linear-gradient(135deg, var(--purple-700), var(--purple-800)); }
.sc-cta h2 { color: #fff; }
.sc-cta p { color: rgba(255, 255, 255, .8); }
.sc-cta .sc-actions { justify-content: center; }

/* ---------- صفحات النصوص ---------- */
.sc-article { max-width: 820px; padding: 48px 0 64px; }
.sc-article h1 { font-size: clamp(28px, 5vw, 40px); color: var(--purple-800); font-weight: 800; }
.sc-updated { color: var(--muted); font-size: 14px; margin: 4px 0 24px; }
.sc-toc { background: var(--purple-100); border-radius: 14px; padding: 16px 20px; margin-bottom: 28px; }
.sc-toc ol { padding-inline-start: 20px; }
.sc-sec { margin-bottom: 28px; }
.sc-sec h2 { font-size: 21px; color: var(--purple-700); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.sc-sec p { margin-bottom: 10px; color: #3b3043; }
.sc-sec ul { padding-inline-start: 22px; margin-bottom: 10px; color: #3b3043; }
.sc-sec li { margin-bottom: 4px; }
.sc-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; background: #fcfaff; }
.sc-box h3 { color: var(--purple-800); margin-bottom: 8px; }
.sc-form label { display: block; font-weight: 700; margin: 12px 0 6px; }
.sc-form input[type=text], .sc-form input[type=password], .sc-form input[type=email] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff;
}
.sc-form input:focus { outline: none; border-color: var(--gold); }
.sc-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 600; }
.sc-check input { margin-top: 6px; }
.sc-alert { border-radius: 12px; padding: 12px 16px; margin: 14px 0; font-weight: 600; }
.sc-alert.ok { background: #e6f6ea; color: #1a7f37; }
.sc-alert.err { background: #fdecec; color: #b42318; }

/* حقل فخ للبرامج الآلية: مخفي بصريًا دون إزاحة الصفحة (left سالب يمدّ الصفحة في RTL) */
.sc-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- التذييل ---------- */
.sc-footer { background: var(--purple-900); color: rgba(255, 255, 255, .7); padding: 36px 0; text-align: center; font-size: 14px; }
.sc-footer a { color: #fff; }
.sc-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; font-weight: 600; }
.sc-foot-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.sc-slogan { color: var(--gold); margin-top: 6px; }

/* ---------- الشاشات الصغيرة ---------- */
@media (max-width: 900px) {
  .sc-hero-grid { grid-template-columns: 1fr; text-align: center; padding: 48px 0 56px; }
  .sc-hero .sc-lead { margin-inline: auto; }
  .sc-hero .sc-actions { justify-content: center; }
  .sc-hero-art { order: -1; }
  .sc-hero-art img { width: min(200px, 55vw); border-radius: 32px; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .sc-links a:not(.sc-lang) { display: none; }
  .sc-grid, .sc-team { grid-template-columns: 1fr; }
  .sc-section { padding: 52px 0; }
  .sc-btn { width: 100%; justify-content: center; }
}
