
/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: #0f172a; /* slate-900 */
  background: #f8fafc;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg,#111827, #0ea5e9);
  display: grid; place-items: center; color: white; font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-name { font-weight: 800; font-size: 1.05rem; }
.nav-cta a {
  padding: 10px 16px; border-radius: 10px; border: 1px solid #0ea5e9; color: #0ea5e9;
  transition: all .2s;
}
.nav-cta a:hover { background: #0ea5e9; color: white; }

/* Hero */
.hero {
  padding: 80px 20px 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.badge {
  display: inline-block; background: #e0f2fe; color: #0369a1;
  font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: #475569; margin-bottom: 24px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
  border: 1px solid #0ea5e9; color: #fff; background: #0ea5e9; transition: all .2s;
}
.btn.outline { background: transparent; color: #0ea5e9; }
.btn:hover { filter: brightness(0.95); transform: translateY(-1px); }
.hero-card {
  background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}
.hero-card h3 { font-size: 18px; margin-bottom: 8px; }
.hero-card ul { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.hero-card li { display: flex; align-items: flex-start; gap: 10px; color: #334155; }
.check { color: #0ea5e9; }

/* Sections */
.section { padding: 40px 20px; }
.section h2 { font-size: 26px; margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(2,6,23,0.06); }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: #475569; font-size: 15px; }

/* Footer */
.footer {
  margin-top: 30px; padding: 24px 20px; background: #0b1220; color: #cbd5e1;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.footer a { color: #94a3b8; }
small { color: #94a3b8; }

/* RTL helper */
.rtl { direction: rtl; text-align: start; }
.rtl .cta-row { justify-content: flex-start; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
