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

:root {
  --primary: #713c71;
  --primary-dark: #4f294f;
  --accent: #c59b55;
  --ink: #211b26;
  --muted: #706975;
  --surface: #ffffff;
  --soft: #f7f3f7;
  --line: #e9e1e9;
  --shadow: 0 24px 70px rgba(61, 34, 61, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(113,60,113,.08);
}
.nav { min-height: 76px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-mark {
  width:44px; height:44px; border-radius:14px; display:grid; place-items:center;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color:#fff; font-size:25px; font-weight:800;
  box-shadow: 0 10px 24px rgba(113,60,113,.2);
}
.brand strong, .brand small { display:block; line-height:1.25; }
.brand strong { font-size:17px; }
.brand small { color:var(--muted); font-size:12px; margin-top:4px; }
.nav-download {
  color:#fff; background:var(--primary); border-radius:12px;
  padding:10px 20px; font-weight:700; transition:.2s ease;
}
.nav-download:hover { transform:translateY(-2px); background:var(--primary-dark); }

.hero {
  position:relative; overflow:hidden;
  padding:90px 0 100px;
  background:
    radial-gradient(circle at 85% 15%, rgba(197,155,85,.11), transparent 24%),
    linear-gradient(180deg, #fff, #fbf8fb);
}
.glow { position:absolute; border-radius:50%; filter:blur(80px); opacity:.34; pointer-events:none; }
.glow-one { width:350px; height:350px; background:#d5b5d5; right:-160px; top:100px; }
.glow-two { width:280px; height:280px; background:#f0d394; left:-120px; bottom:-110px; }
.hero-grid { position:relative; display:grid; grid-template-columns:1.03fr .97fr; align-items:center; gap:72px; }
.eyebrow {
  display:inline-flex; align-items:center; gap:7px;
  color:var(--primary); background:#f2e9f2; border:1px solid #e7d6e7;
  border-radius:999px; padding:6px 13px; font-weight:700; font-size:14px;
}
.hero h1 { font-size:clamp(42px,5.3vw,72px); line-height:1.13; letter-spacing:-1.8px; margin:20px 0 22px; }
.hero h1 span { color:var(--primary); }
.hero-text { color:var(--muted); font-size:19px; max-width:640px; margin:0 0 30px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:13px; }
.btn {
  min-height:54px; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 24px; border-radius:14px; font-weight:800; transition:.2s ease;
}
.btn:hover { transform:translateY(-3px); }
.btn-primary { background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:#fff; box-shadow:0 16px 35px rgba(113,60,113,.24); }
.btn-secondary { background:#fff; border:1px solid var(--line); }
.download-icon { font-size:23px; line-height:1; }
.download-meta { display:flex; flex-wrap:wrap; gap:18px; color:#625d66; font-size:14px; margin-top:24px; }

.product-card {
  position:relative; background:#fff; border:1px solid rgba(113,60,113,.12);
  border-radius:26px; padding:13px; box-shadow:var(--shadow); transform:perspective(1000px) rotateY(-2deg);
}
.window-bar { height:32px; display:flex; align-items:center; gap:6px; padding:0 8px; direction:ltr; }
.window-bar span { width:9px; height:9px; border-radius:50%; background:#ddd3dd; }
.dashboard-preview { height:370px; overflow:hidden; border-radius:18px; display:grid; grid-template-columns:67px 1fr; background:#f8f5f8; direction:ltr; }
.side-panel { background:linear-gradient(180deg,var(--primary-dark),#301a30); padding:16px 13px; display:flex; align-items:center; flex-direction:column; gap:17px; }
.mini-logo { width:34px; height:34px; border-radius:10px; background:#fff; color:var(--primary); display:grid; place-items:center; font-weight:800; margin-bottom:8px; }
.side-panel i { width:28px; height:6px; border-radius:6px; background:rgba(255,255,255,.22); }
.side-panel i:nth-child(2) { background:#fff; }
.dashboard-body { padding:22px; direction:rtl; }
.preview-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.preview-head b, .preview-head small { display:block; }
.preview-head small { color:#8b838e; font-size:10px; }
.avatar { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#eadbea; color:var(--primary); font-weight:800; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }
.stats article { background:#fff; border:1px solid #eee7ee; border-radius:14px; padding:14px; }
.stats small, .stats strong, .stats em { display:block; }
.stats small { color:#8b838e; font-size:10px; }
.stats strong { font-size:21px; margin-top:3px; }
.stats em { color:var(--accent); font-size:10px; font-style:normal; }
.chart { height:175px; background:#fff; border:1px solid #eee7ee; border-radius:15px; margin-top:14px; padding:16px; }
.chart-title { font-size:12px; font-weight:700; }
.bars { height:116px; display:flex; direction:ltr; align-items:flex-end; justify-content:space-around; gap:10px; padding-top:15px; border-bottom:1px solid #eee; }
.bars i { flex:1; max-width:22px; background:linear-gradient(180deg,#a972a9,var(--primary)); border-radius:6px 6px 2px 2px; opacity:.9; }
.floating-badge {
  position:absolute; left:-28px; bottom:42px; width:76px; height:76px; border-radius:22px;
  display:grid; place-items:center; align-content:center; background:linear-gradient(145deg,#d1ad6a,var(--accent));
  color:#fff; font-weight:800; font-size:20px; line-height:1.05; box-shadow:0 18px 35px rgba(127,85,31,.26);
}
.floating-badge small { font-size:12px; }

.trust-strip { border-block:1px solid var(--line); background:#fff; }
.trust-items { display:grid; grid-template-columns:repeat(4,1fr); }
.trust-items div { padding:26px 24px; border-left:1px solid var(--line); }
.trust-items div:last-child { border-left:0; }
.trust-items strong, .trust-items span { display:block; text-align:center; }
.trust-items strong { font-size:16px; }
.trust-items span { color:var(--muted); font-size:13px; }

.section { padding:100px 0; }
.section-heading { text-align:center; max-width:650px; margin:0 auto 48px; }
.section-heading > span { color:var(--primary); font-weight:800; }
.section-heading h2 { font-size:clamp(32px,4vw,48px); line-height:1.25; margin:8px 0 12px; }
.section-heading p { color:var(--muted); margin:0; font-size:17px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card {
  border:1px solid var(--line); border-radius:20px; padding:28px;
  background:#fff; transition:.25s ease;
}
.feature-card:hover { transform:translateY(-6px); box-shadow:0 18px 40px rgba(59,36,59,.09); border-color:#dbc7db; }
.feature-icon { width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background:var(--soft); color:var(--primary); font-size:24px; font-weight:700; }
.feature-card h3 { margin:17px 0 7px; font-size:20px; }
.feature-card p { color:var(--muted); margin:0; font-size:15px; }

.download-section { padding:0 0 100px; }
.download-box {
  border-radius:28px; padding:48px 54px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,.13), transparent 25%),
    linear-gradient(135deg,var(--primary),#3d213d);
  color:#fff; box-shadow:0 30px 70px rgba(75,38,75,.22);
}
.eyebrow.light { color:#fff; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.15); }
.download-box h2 { font-size:36px; line-height:1.25; margin:12px 0 8px; }
.download-box p { margin:0; color:rgba(255,255,255,.75); }
.btn-white { background:#fff; color:var(--primary-dark); min-width:210px; flex-shrink:0; }

footer { border-top:1px solid var(--line); padding:28px 0; }
.footer-content { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-brand .brand-mark { width:38px; height:38px; border-radius:12px; }
.footer-content p { color:var(--muted); font-size:14px; margin:0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; gap:60px; }
  .hero-content { text-align:center; }
  .hero-text { margin-inline:auto; }
  .hero-actions, .download-meta { justify-content:center; }
  .product-card { max-width:620px; width:100%; margin-inline:auto; transform:none; }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .trust-items { grid-template-columns:repeat(2,1fr); }
  .trust-items div:nth-child(2) { border-left:0; }
  .trust-items div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .download-box { text-align:center; flex-direction:column; }
}

@media (max-width: 600px) {
  .container { width:min(100% - 26px,1160px); }
  .site-header .brand small { display:none; }
  .nav-download { padding:9px 14px; font-size:14px; }
  .hero { padding:62px 0 72px; }
  .hero h1 { font-size:40px; letter-spacing:-1px; }
  .hero-text { font-size:17px; }
  .hero-actions { flex-direction:column; }
  .btn { width:100%; }
  .download-meta { flex-direction:column; gap:5px; }
  .dashboard-preview { height:300px; grid-template-columns:48px 1fr; }
  .side-panel { padding:12px 7px; }
  .side-panel i { width:21px; }
  .dashboard-body { padding:13px; }
  .stats { gap:6px; }
  .stats article { padding:9px 7px; }
  .stats strong { font-size:15px; }
  .chart { height:135px; }
  .bars { height:80px; }
  .floating-badge { width:62px; height:62px; left:-8px; bottom:24px; border-radius:18px; font-size:16px; }
  .trust-items { grid-template-columns:1fr; }
  .trust-items div { border-left:0; border-bottom:1px solid var(--line); }
  .feature-grid { grid-template-columns:1fr; }
  .section { padding:75px 0; }
  .download-section { padding-bottom:75px; }
  .download-box { padding:38px 22px; }
  .download-box h2 { font-size:29px; }
  .footer-content { flex-direction:column; text-align:center; }
}
