:root {
  --bg: #050816;
  --bg2: #07111f;
  --card: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --muted: #a7b0c0;
  --blue: #38bdf8;
  --gold: #f5c66b;
  --purple: #8b5cf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.22), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(139, 92, 246, 0.22), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg2));
  color: var(--text);
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #03111d;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  color: white;
}

.lang-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto 100px;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.badge,
.pill {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(245, 198, 107, 0.09);
  border: 1px solid rgba(245, 198, 107, 0.25);
  font-size: 14px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -4px;
  margin: 0 0 26px;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
  margin: 0;
}

.hero p,
.section-head + p {
  color: var(--muted);
}

.hero-copy > p {
  font-size: 20px;
  line-height: 1.8;
  max-width: 690px;
  color: #cbd5e1;
}

.actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  color: #03111d;
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.25);
}

.secondary {
  color: white;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.trust {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust span {
  color: var(--muted);
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.card-top {
  height: 54px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
}

.card-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.dashboard-preview {
  padding: 28px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 24px;
}

.preview-header small {
  color: var(--muted);
}

.preview-header h3 {
  margin: 6px 0 0;
  font-size: 30px;
}

.status {
  color: #022c22;
  background: #5eead4;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-grid div,
.product,
.modules div,
.industries span {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  border-radius: 22px;
}

.metric-grid div {
  padding: 20px;
}

.metric-grid strong {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

.metric-grid span {
  color: var(--muted);
}

.chart {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(0,0,0,.18);
}

.chart i {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--blue), var(--purple));
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product {
  padding: 28px;
  min-height: 250px;
}

.product.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(56,189,248,.14), rgba(245,198,107,.1));
}

.product h3 {
  font-size: 28px;
  margin: 10px 0 14px;
}

.product p {
  color: var(--muted);
  line-height: 1.7;
}

.dark-panel {
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 46px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.modules div {
  padding: 20px;
  font-weight: 800;
  color: #e2e8f0;
}

.industries {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.industries span {
  padding: 18px 22px;
  color: #dbeafe;
  font-weight: 700;
}

.cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: 56px;
  border-radius: 40px;
  text-align: center;
  border: 1px solid rgba(245, 198, 107, 0.25);
  background:
    radial-gradient(circle at center, rgba(245,198,107,.14), transparent 55%),
    rgba(255,255,255,.06);
}

.cta p {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 28px;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 30px;
  padding: 22px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .navbar,
  nav,
  footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  nav {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .products,
  .modules {
    grid-template-columns: 1fr;
  }

  .product.featured {
    grid-column: span 1;
  }

  .dark-panel,
  .cta {
    padding: 28px;
  }
}
