:root {
  --blue: #1d3f95;
  --blue-deep: #152e6e;
  --orange: #f58220;
  --orange-deep: #d96c12;
  --yellow: #fdb913;
  --cream: #fef3d2;
  --ink: #14203a;
  --muted: #5a6478;
  --paper: #fffdf8;
  --line: rgba(29, 63, 149, 0.14);
  --radius: 18px;
  --font: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --display: 'Scheherazade New', 'IBM Plex Sans Arabic', serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(253, 185, 19, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(245, 130, 32, 0.12), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 40%, var(--cream) 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  min-height: 100%;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--blue);
}

.brand:hover { text-decoration: none; color: var(--blue-deep); }

.brand-logo {
  width: 40px;
  height: auto;
  display: block;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-link.active,
.nav-link:hover {
  color: var(--orange);
  text-decoration: none;
}

.site-main {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(254, 243, 210, 0.35);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-brand:hover { text-decoration: none; color: var(--blue-deep); }

.footer-logo {
  width: 28px;
  height: auto;
}

.footer-links { margin-top: 0.35rem; }

.hero {
  padding: 1.5rem 0 1rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: 120px 1fr;
  }
}

.hero-logo {
  width: 110px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 10px 24px rgba(29, 63, 149, 0.18));
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--blue);
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-deep);
  text-decoration: none;
  color: #fff;
}

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

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-decoration: none;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 8px 28px rgba(29, 63, 149, 0.06);
}

.panel h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--blue);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-top: 4px solid var(--yellow);
}

.feature:nth-child(2) { border-top-color: var(--orange); }
.feature:nth-child(3) { border-top-color: var(--blue); }

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--blue);
}

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

.prose h1 {
  font-family: var(--display);
  color: var(--blue);
  margin-top: 0;
}

.prose h2 {
  color: var(--blue);
  font-size: 1.2rem;
  margin-top: 1.75rem;
}

.prose p, .prose li { color: var(--ink); }
.prose ul { padding-inline-start: 1.25rem; }

.form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(245, 130, 32, 0.35);
  border-color: var(--orange);
}

textarea { min-height: 100px; resize: vertical; }

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
}

.msg {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.msg-ok {
  background: rgba(29, 63, 149, 0.1);
  color: var(--blue-deep);
}

.msg-err {
  background: rgba(245, 130, 32, 0.14);
  color: #9a4a0c;
}

.msg-info {
  background: rgba(253, 185, 19, 0.18);
  color: var(--ink);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0.5rem 0 1rem;
}

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; }
}
