:root {
  --bg: #F3F6F8;
  --bg-soft: #E8EEF2;
  --surface: #FFFFFF;
  --ink: #0B1B2B;
  --ink-soft: #334155;
  --muted: #64748B;
  --line: #D7E0E8;
  --brand: #0B6E6A;
  --brand-deep: #085450;
  --brand-soft: #D8F0EE;
  --accent: #B45309;
  --shadow: 0 18px 50px rgba(11, 27, 43, 0.08);
  --radius: 18px;
  --font: "Cairo", "Instrument Sans", system-ui, sans-serif;
  --display: "Cairo", "Instrument Sans", system-ui, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; cursor: pointer; border: 0; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
}
.nav-links { display: flex; align-items: center; gap: 1.4rem; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-btn {
  background: transparent; border: 1px solid var(--line); color: var(--ink-soft);
  border-radius: 999px; padding: .45rem .85rem; font-weight: 700; font-size: .85rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .8rem 1.25rem; font-weight: 700;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(11,110,106,.25); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-dark { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .65rem; }

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(11,110,106,.14), transparent 55%),
    linear-gradient(180deg, #F7FAFC 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-soft); color: var(--brand-deep);
  border-radius: 999px; padding: .35rem .8rem;
  font-size: .82rem; font-weight: 700; margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  max-width: 12ch;
  margin-bottom: 1rem;
}
.hero .lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38rem;
  margin-bottom: 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  color: var(--ink-soft); font-size: .92rem; font-weight: 600;
}
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Product stage */
.product-stage {
  background: var(--ink);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: var(--shadow);
  position: relative;
}
.product-stage::before {
  content: "";
  position: absolute; inset: -18% -10% auto auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(11,110,106,.45), transparent 70%);
  pointer-events: none;
}
.window {
  background: #101B29;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .8rem 1rem;
  background: #0C1520;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.window-bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.window-bar i:nth-child(1) { background: #F87171; }
.window-bar i:nth-child(2) { background: #FBBF24; }
.window-bar i:nth-child(3) { background: #34D399; }
.window-title { margin-inline-start: .6rem; color: #94A3B8; font-size: .78rem; font-weight: 600; }
.window-body { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }
.side {
  background: #0A1320;
  border-inline-end: 1px solid rgba(255,255,255,.06);
  padding: 1rem .8rem;
}
.side .item {
  color: #94A3B8; font-size: .82rem; font-weight: 600;
  padding: .55rem .65rem; border-radius: 10px; margin-bottom: .25rem;
}
.side .item.active { background: rgba(11,110,106,.25); color: #E2F6F4; }
.main-pane { padding: 1rem; }
.pane-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; color: #E2E8F0; font-weight: 700;
}
.badge {
  background: rgba(52,211,153,.15); color: #6EE7B7;
  border-radius: 999px; padding: .25rem .65rem; font-size: .75rem; font-weight: 700;
}
.table {
  width: 100%; border-collapse: collapse; font-size: .8rem;
}
.table th, .table td {
  text-align: start; padding: .55rem .4rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #CBD5E1;
}
.table th { color: #64748B; font-weight: 700; font-size: .72rem; }
.status-ok { color: #6EE7B7; font-weight: 700; }
.status-wait { color: #FBBF24; font-weight: 700; }

/* Sections */
section { padding: 5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.kicker { color: var(--brand); font-weight: 800; font-size: .85rem; margin-bottom: .5rem; letter-spacing: .04em; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin-bottom: .75rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: -1rem; position: relative; z-index: 2;
}
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.2rem 1.1rem; box-shadow: 0 8px 24px rgba(11,27,43,.04);
}
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand-deep); margin-bottom: .2rem; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .6rem; }
.panel p { color: var(--muted); margin-bottom: 1rem; }
.checklist { list-style: none; display: grid; gap: .7rem; }
.checklist li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-weight: 600; color: var(--ink-soft);
}
.checklist li::before {
  content: ""; width: 18px; height: 18px; margin-top: .25rem; flex: 0 0 18px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230B6E6A'%3E%3Cpath d='M7.7 13.3 4.5 10l-1 1 4.2 4.2L16.5 6.4l-1-1z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 800; margin-bottom: .9rem;
}
.feature h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step {
  background: linear-gradient(180deg, #FFFFFF, #F7FBFC);
  border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem;
}
.step h3 { font-weight: 800; margin-bottom: .45rem; }
.step p { color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem;
}
.price.featured {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(11,110,106,.15);
  transform: translateY(-6px);
}
.price h3 { font-size: 1.2rem; font-weight: 800; }
.price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.price .amount small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; display: grid; gap: .55rem; color: var(--ink-soft); font-weight: 600; flex: 1; }
.price ul li::before { content: "✓ "; color: var(--brand); }

.cta-band {
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(120deg, var(--ink), #123047);
  color: #fff; border-radius: 28px; padding: 2.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; max-width: 16ch; }
.cta-band p { color: #94A3B8; margin-top: .5rem; max-width: 34rem; }

/* Page hero for inner pages */
.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #FFFFFF, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .6rem;
}
.page-hero p { color: var(--muted); max-width: 42rem; font-size: 1.08rem; }

.content-block { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; margin-bottom: 1rem; }
.content-block h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: .6rem; }
.content-block p, .content-block li { color: var(--muted); }
.content-block ul { padding-inline-start: 1.2rem; display: grid; gap: .4rem; }

.form {
  display: grid; gap: .9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem;
}
.form label { display: grid; gap: .35rem; font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.form input, .form textarea, .form select {
  border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  font: inherit; background: #fff; color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #FFFFFF;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.footer-grid h4 { font-weight: 800; margin-bottom: .7rem; }
.footer-grid a, .footer-grid p { color: var(--muted); display: block; margin-bottom: .4rem; font-weight: 600; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem; font-weight: 600;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .7s ease both; }
.reveal-delay-1 { animation-delay: .1s; }
.reveal-delay-2 { animation-delay: .2s; }
.reveal-delay-3 { animation-delay: .3s; }

@media (max-width: 960px) {
  .hero-grid, .split, .feature-grid, .steps, .pricing-grid, .stats, .footer-grid { grid-template-columns: 1fr 1fr; }
  .price.featured { transform: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .window-body { grid-template-columns: 1fr; }
  .side { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; inset-inline: 1rem; top: 72px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 1rem; box-shadow: var(--shadow);
  }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .split, .feature-grid, .steps, .pricing-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}
