/* مجرد مبدعون — التصميم الفاتح (معاينة /new).
   مبني على ألوان الشعار الحقيقية: بنفسجي نيلي #382565 → #2a2758، مع بنفسجي أفتح كلمسة
   حيوية، وخلفيات لافندر فاتحة جدًا بدل الأسود. ملف مستقل تمامًا عن jc.css. */

:root {
  --bg: #ffffff;
  --bg-tint: #f6f3fd;
  --bg-tint-2: #efe9fb;
  --surface: #ffffff;
  --line: #e7e1f4;
  --line-strong: #d6cdee;
  --ink: #1c1638;
  --ink-soft: #5a5375;
  --ink-dim: #8a84a3;
  --brand: #382565;
  --brand-2: #2a2758;
  --violet: #6d4ce0;
  --violet-soft: #ece6ff;
  --green: #12a65c;
  --gradient-brand: linear-gradient(135deg, #2a2758 0%, #382565 45%, #6d4ce0 100%);
  --gradient-btn: linear-gradient(120deg, #382565, #6d4ce0);
  --gradient-text: linear-gradient(110deg, #382565 10%, #7b52f0 90%);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 20px 50px -28px rgba(56,37,101,.35);
  --shadow-lg: 0 40px 80px -40px rgba(56,37,101,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Tajawal', system-ui, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; margin: 0; color: var(--ink); }
.container { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
section { padding-block: 100px; position: relative; }
@media (max-width: 640px) { section { padding-block: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .85rem; color: var(--violet);
  background: var(--violet-soft); border-radius: 50px; padding: .3rem .95rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
h2.section-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.35; margin: 0 0 .9rem; text-wrap: balance; }
p.section-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 640px; line-height: 1.9; margin: 0 0 3rem; }
.section-head { text-align: center; }
.section-head p.section-lead { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem; border-radius: 50px; padding: .9rem 2rem;
  font-weight: 800; font-size: .95rem; cursor: pointer; border: 1px solid transparent; transition: all .25s ease; white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--gradient-btn); color: #fff; box-shadow: 0 14px 30px -14px rgba(109,76,224,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(109,76,224,.8); }
.btn-outline { border-color: var(--line-strong); color: var(--brand); background: #fff; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }
.btn-sm { padding: .6rem 1.3rem; font-size: .84rem; }

/* ===== الهيدر ===== */
header.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; gap: 1.5rem; }
header.site-header .logo img { height: 40px; width: auto; }
header.site-header nav { display: flex; gap: 1.8rem; font-weight: 700; font-size: .92rem; }
header.site-header nav a { color: var(--ink-soft); transition: color .2s ease; }
header.site-header nav a:hover { color: var(--violet); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
@media (max-width: 900px) { header.site-header nav { display: none; } }
@media (max-width: 560px) { .header-actions .btn-outline { display: none; } header.site-header .logo img { height: 34px; } }

/* ===== الهيرو ===== */
.hero {
  overflow: hidden; isolation: isolate; padding-block: 90px 110px;
  background: radial-gradient(ellipse 70% 80% at 85% 10%, #e6ddff 0%, transparent 60%),
              radial-gradient(ellipse 60% 70% at 0% 100%, #f1e9ff 0%, transparent 60%), var(--bg-tint);
}
.hero::before, .hero .glow-2 {
  content: ''; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(109,76,224,.14);
}
.hero::before { width: 560px; height: 560px; top: -260px; inset-inline-start: -180px; }
.hero .glow-2 { width: 380px; height: 380px; bottom: -200px; inset-inline-end: 30%; background: radial-gradient(circle, rgba(109,76,224,.10), transparent 70%); border: 0; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.1rem); line-height: 1.4; margin-bottom: 1.2rem; text-wrap: balance; }
.hero h1 .accent { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 540px; margin: 0 0 2.2rem; line-height: 2; }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; }
.v2-stack { position: relative; min-height: 400px; }
.browser { position: absolute; width: 86%; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f4f1fb; border-bottom: 1px solid var(--line); direction: ltr; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; }
.browser-bar span:first-child { background: #ff5f57; } .browser-bar span:nth-child(2) { background: #febc2e; } .browser-bar span:nth-child(3) { background: #28c840; }
.browser-bar em { font-style: normal; font-family: 'Space Mono', monospace; font-size: .68rem; color: var(--ink-dim); margin-inline-start: 10px; }
.browser-0 { top: 0; inset-inline-start: 0; z-index: 2; transform: rotate(-2deg); }
.browser-1 { top: 90px; inset-inline-end: 0; z-index: 1; transform: rotate(2.5deg); }
.tag-badge {
  position: absolute; bottom: -6px; inset-inline-start: 6%; z-index: 3; display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem 1rem; font-size: .8rem; font-weight: 700;
  color: var(--ink); box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,166,92,.15); }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; } .cta-row { justify-content: center; }
  .v2-stack { min-height: 300px; max-width: 520px; width: 100%; margin: 0 auto; }
  .browser { width: 82%; } .browser-1 { top: 60px; }
}

/* ===== شريط المزايا ===== */
.trust-strip { padding-block: 22px; background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; }
.trust-strip .item { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-size: .88rem; font-weight: 700; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 50px; padding: .5rem 1.1rem; }
.trust-strip .item svg { width: 16px; height: 16px; color: var(--green); }

/* ===== المنتجات ===== */
.v2-products { background: #fff; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.product-card {
  position: relative; display: flex; flex-direction: column; gap: 1.3rem; padding: 2.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.product-card::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--gradient-btn); }
.product-card:first-child { background: linear-gradient(170deg, #f3eeff 0%, #fff 40%); border-color: var(--line-strong); }
.product-tag { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--brand); background: var(--violet-soft); border-radius: 50px; padding: .25rem .85rem; margin-bottom: .8rem; }
.product-head h3 { font-size: 1.65rem; margin-bottom: .55rem; line-height: 1.4; }
.product-head p { color: var(--ink-soft); font-size: .97rem; line-height: 1.9; margin: 0; }
.product-features { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; flex: 1; }
.product-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; line-height: 1.7; }
.product-features svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: .3rem; }
.product-proof, .product-demo { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .86rem; color: var(--ink-soft); background: var(--bg-tint); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; }
.product-proof a { color: var(--violet); font-weight: 800; }
.product-proof a:hover { text-decoration: underline; }
.product-demo code { font-family: 'Space Mono', monospace; color: var(--brand); background: #fff; border: 1px solid var(--line); padding: .15rem .55rem; border-radius: 8px; font-size: .8rem; direction: ltr; }
.product-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr; } .product-card { padding: 1.8rem; } }

/* ===== الخدمات ===== */
.services { background: var(--bg-tint); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: all .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card .icon-wrap { width: 60px; height: 60px; border-radius: 18px; background: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; }
.service-card .icon-wrap img { width: 34px; height: 34px; object-fit: contain; }
.service-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.service-card p { color: var(--ink-soft); font-size: .9rem; line-height: 1.85; margin: 0; }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ===== الأعمال ===== */
.work { background: #fff; }
.work-grid { display: grid; gap: 1.6rem; }
.v2-work-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.v2-work-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.work-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .35s ease; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.work-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); transition: transform .5s ease; }
.work-card:hover img { transform: scale(1.03); }
.work-card .content { padding: 1.5rem 1.7rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.work-card .badge { align-self: flex-start; font-weight: 700; font-size: .76rem; color: var(--brand); background: var(--violet-soft); border-radius: 50px; padding: .22rem .85rem; margin-bottom: .8rem; }
.work-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.work-card p { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1.1rem; line-height: 1.85; flex: 1; }
.work-card .visit { display: inline-flex; align-items: center; gap: .35rem; color: var(--violet); font-weight: 800; font-size: .88rem; }
.work-card .visit svg { width: 16px; height: 16px; transition: transform .2s ease; }
.work-card:hover .visit svg { transform: translateX(-4px); }
@media (max-width: 1060px) { .v2-work-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .v2-work-grid.cols-2, .v2-work-grid.cols-3 { grid-template-columns: 1fr; } }

/* ===== طريقة العمل ===== */
.v2-process { background: var(--bg-tint); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.step { padding: 2rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 16px; font-family: 'Space Mono', monospace; font-weight: 700; color: #fff; background: var(--gradient-btn); margin-bottom: 1.1rem; box-shadow: 0 12px 24px -12px rgba(109,76,224,.8); }
.step h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.step p { color: var(--ink-soft); font-size: .9rem; line-height: 1.85; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ===== الاستضافة ===== */
.v2-hosting { background: #fff; padding-block: 90px; }
.hosting-wrap { display: grid; grid-template-columns: .8fr 2.2fr; gap: 2.5rem; align-items: center; }
.hosting-copy h2.section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.hosting-copy p.section-lead { margin-bottom: 0; font-size: 1rem; }
.hosting-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan { display: flex; flex-direction: column; gap: .85rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.plan.featured { border-color: var(--violet); box-shadow: var(--shadow); background: linear-gradient(170deg, #f3eeff, #fff 55%); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.plan-top strong { font-size: 1.05rem; }
.plan-flag { font-size: .7rem; font-weight: 800; color: #fff; background: var(--gradient-btn); padding: .2rem .65rem; border-radius: 50px; }
.plan-price { color: var(--ink-soft); font-size: .85rem; }
.plan-price .num { font-family: 'Space Mono', monospace; font-size: 1.9rem; font-weight: 700; color: var(--brand); margin-inline-end: .2rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; flex: 1; }
.plan li { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .84rem; }
.plan li svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
.plan .btn { justify-content: center; }
@media (max-width: 1060px) { .hosting-wrap { grid-template-columns: 1fr; text-align: center; } .hosting-copy p.section-lead { margin-inline: auto; } }
@media (max-width: 760px) { .hosting-plans { grid-template-columns: 1fr; } }

/* ===== دعوة للعمل (القسم الغامق الوحيد) ===== */
.cta-band { background: var(--gradient-brand); text-align: center; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -260px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.cta-band .container { position: relative; max-width: 720px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.5rem); margin-bottom: .9rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin: 0 0 2rem; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.cta-band .btn-outline { background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.35) !important; color: #fff; }

/* ===== التواصل ===== */
.contact { background: var(--bg-tint); }
.contact .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.6rem; align-items: stretch; }
.contact-form, .contact-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .45rem; color: var(--ink-soft); }
.contact-form input, .contact-form textarea { width: 100%; padding: .85rem 1.05rem; border-radius: 12px; border: 1px solid var(--line-strong); font-family: inherit; font-size: .95rem; background: var(--bg-tint); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .error { color: #dc2626; font-size: .82rem; margin-top: .3rem; }
.contact-form .success-banner { background: #e8f8ef; color: #0f7a45; border: 1px solid #b6e8cc; border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-weight: 700; font-size: .92rem; }
.contact-form h2.section-title { color: var(--ink); }
.contact-info h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.contact-info > p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.7rem; }
.contact-info .row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--violet-soft); color: var(--violet); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info .txt { display: flex; flex-direction: column; }
.contact-info .txt .label { font-size: .78rem; color: var(--ink-dim); }
.contact-info .txt .val { font-weight: 700; color: var(--ink); }
.quick-links { display: grid; gap: .65rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.quick-links a { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 14px; background: var(--bg-tint); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; transition: all .2s ease; }
.quick-links a svg { color: var(--violet); flex-shrink: 0; }
.quick-links a small { margin-inline-start: auto; color: var(--ink-dim); font-weight: 500; font-size: .78rem; }
.quick-links a:hover { border-color: var(--violet); background: #fff; }
@media (max-width: 860px) { .contact .container { grid-template-columns: 1fr; } }

/* ===== الفوتر ===== */
footer.site-footer { background: #1c1638; padding-block: 3rem 2rem; }
footer.site-footer .container { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
footer.site-footer img { height: 40px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; font-weight: 700; font-size: .86rem; color: rgba(255,255,255,.75); }
.footer-links a:hover { color: #fff; }
.footer-bottom { color: rgba(255,255,255,.5); font-size: .82rem; }

::selection { background: var(--violet); color: #fff; }

/* ===== الصفحات الداخلية ===== */
.page-hero {
  padding-block: 70px 60px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 90% at 85% 0%, #e6ddff 0%, transparent 60%), var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: 720px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 2.7rem); margin-bottom: .8rem; }
.page-hero p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.crumbs { font-size: .85rem; font-weight: 700; color: var(--ink-dim); margin-bottom: 1.1rem; }
.crumbs a { color: var(--violet); }
.crumbs span { margin-inline: .35rem; }

/* ===== الحسابات البنكية ===== */
.bank-list { background: #fff; padding-block: 70px 90px; }
.bank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.bank-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); transition: all .3s ease; }
.bank-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.bank-card-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.bank-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bank-ic svg { width: 22px; height: 22px; }
.bank-card h3 { font-size: 1.08rem; }
.bank-row { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.bank-row:last-child { margin-bottom: 0; }
.bank-row .label { font-size: .78rem; color: var(--ink-dim); }
.bank-row .val { font-weight: 700; color: var(--ink); font-size: .95rem; }
.bank-row .val.mono { font-family: 'Space Mono', monospace; font-size: .8rem; letter-spacing: -.01em; white-space: nowrap; overflow-x: auto; }
.bank-grid.count-1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.bank-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 12px; padding: .55rem .7rem; }
.copy-btn { flex-shrink: 0; font-family: inherit; font-weight: 800; font-size: .78rem; color: var(--violet); background: #fff; border: 1px solid var(--line-strong); border-radius: 50px; padding: .25rem .8rem; cursor: pointer; transition: all .2s ease; }
.copy-btn:hover { border-color: var(--violet); }
.copy-btn.done { background: var(--green); border-color: var(--green); color: #fff; }
.bank-note { margin-top: 2rem; text-align: center; color: var(--ink-soft); font-size: .95rem; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.bank-note strong { color: var(--ink); }
.bank-note a { color: var(--violet); font-weight: 800; }
@media (max-width: 960px) { .bank-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
