:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-light: #1d4ed8;
  --radius: 1.25rem;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.rtl {
  direction: rtl;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-bg { 
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-bg__image {
  position: absolute;
  inset: -2%;
  background: url('/hero-bg.jpg') center / cover no-repeat;
  filter: blur(4px);
  transform: scale(1.02);
}

.page-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(248 250 252 / 0.72) 0%,
    rgb(248 250 252 / 0.88) 45%,
    rgb(248 250 252 / 0.96) 100%
  );
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 28px 28px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgb(255 255 255 / 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-accent {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.85rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: #94a3b8;
  background: rgb(255 255 255 / 0.6);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgb(37 99 235 / 0.35);
}

.btn-primary:hover {
  background: #1d4ed8;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgb(37 99 235 / 0.25);
  background: rgb(37 99 235 / 0.08);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero p {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.features h2 {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.06);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-band {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

.cta-inner {
  background: linear-gradient(135deg, rgb(37 99 235 / 0.1), rgb(255 255 255 / 0.92));
  backdrop-filter: blur(8px);
  border: 1px solid rgb(37 99 235 / 0.2);
  box-shadow: 0 4px 24px rgb(37 99 235 / 0.08);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

footer a {
  color: var(--muted);
}

.hidden {
  display: none !important;
}
