:root {
  --bg: #0f172a;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #38bdf8;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #f8fafc;
  --card-bg: #ffffff;
  --muted: #94a3b8;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f1f5f9;
  color: var(--text-dark);
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.hero {
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent),
    radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.25), transparent),
    linear-gradient(135deg, var(--bg), #1e293b);
  color: var(--text-light);
  padding: 32px clamp(16px, 4vw, 40px) 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: clamp(16px, 6vw, 120px);
  inset-block-end: -60px;
  height: 200px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), transparent);
  filter: blur(60px);
  pointer-events: none;
}

.top-nav {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-light);
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.24);
  transform: translateY(-2px);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 0 32px;
  color: rgba(248, 250, 252, 0.85);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.35);
}

.btn.secondary {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-light);
}

.section {
  padding: clamp(64px, 10vw, 96px) clamp(16px, 4vw, 40px);
}

.section:nth-of-type(even) {
  background: #ffffff;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  text-align: center;
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
}

.section-header p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--text-mid);
}

.solutions-overview .solution-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.15);
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card p {
  color: var(--text-mid);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--primary);
}

.solution {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.65), transparent 120px);
}

.two-column {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.text-block {
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.architecture,
.channel-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.architecture article,
.channel-grid article {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.architecture h4,
.channel-grid h4 {
  margin-top: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-dark);
}

.highlight-list.compact {
  gap: 8px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.workflow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.workflow li {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border-inline-start: 4px solid var(--primary);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.table-wrapper {
  max-width: var(--max-width);
  margin: 48px auto 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow-x: auto;
  padding: 32px;
}

.table-wrapper h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  text-align: right;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

thead th {
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-dark);
  font-weight: 700;
}

tbody tr:hover {
  background: rgba(148, 163, 184, 0.12);
}

.callout {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-mid);
  font-weight: 600;
}

.add-ons {
  max-width: var(--max-width);
  margin: 48px auto 0;
}

.client-types {
  max-width: var(--max-width);
  margin: 32px auto 0;
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.advantage-grid,
.report-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.advantage-grid article,
.report-grid article {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.contact {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.12));
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--bg);
  color: var(--text-light);
  text-align: center;
  padding: 32px 16px;
  margin-top: auto;
}

.site-footer p {
  margin: 6px 0;
  color: rgba(248, 250, 252, 0.75);
}

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-bottom: 80px;
  }

  .section {
    padding: 56px 18px;
  }

  .table-wrapper {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  th,
  td {
    font-size: 0.95rem;
  }
}

