@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/tajawal.ttf') format('truetype');
}
:root {
  --primary: #62cbe4;
  --secondary: #e2ac58;
  --accent: #30d371;
  --dark: #2d3436;
  --muted: #667085;
  --bg: #fdf9ff;
  --card: #ffffff;
  --line: #e8e8ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Tajawal', Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 48px 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(128,131,132,.09);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  min-height: 92px;
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  align-items: center;
  gap: 20px;
}
.logo img { height: 110px; width: auto; }
.nav {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  font-weight: 700; color: #61708f;
}
.nav a:hover, .footer-grid a:hover { color: var(--primary); }
.cta, .hero-btn, form button {
  background: var(--accent); color: #000; border-radius: 999px; padding: 14px 22px; font-weight: 800;
  border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; align-items: center;
}
.hero-center { text-align: center; }
.hero-center h1, .section-title h2, .split-text h2, .about-card h2, .contact-card h2, .form-card h2 {
  font-size: clamp(32px, 4vw, 50px); margin: 0 0 16px;
}
.hero-center h1, .section-title span, .about-card h2 span, .split-text h2 span, .section-title h2 span { color: var(--primary); }
.hero-center p, .section-title p, .about-card p, .feature-card p, .price-card p, .split-text p, .contact-card p, .form-card p, .site-footer p {
  color: var(--muted); line-height: 1.9; font-size: 18px;
}
.hero-main-logo { width: min(320px, 75%); margin: 18px auto 24px; }
.circle { width: min(360px, 100%); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin: 0 auto; position: relative; }
.circle img { width: 100%; height: 100%; object-fit: cover; }
.coral { background: #ff7675; }
.yellow { background: #fdcb6e; }
.blue { background: var(--primary); }
.gold { background: var(--secondary); }
.pill {
  display: inline-block; background: rgba(98,203,228,.14); color: var(--primary); padding: 10px 16px; border-radius: 999px; font-weight: 800; margin-bottom: 14px;
}
.about-card { padding: 42px; text-align: center; }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.cards-3, .cards-4, .footer-grid, .contact-grid {
  display: grid; gap: 22px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.mini-card, .feature-card, .price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.mini-card h3, .feature-card h3, .price-card h3, .site-footer h3 { margin-top: 0; font-size: 24px; }
.price-card strong { display: block; font-size: 36px; margin: 12px 0; color: var(--primary); }
.price-card.featured { background: var(--primary); }
.price-card.featured h3, .price-card.featured strong, .price-card.featured p { color: #fff; }
.stats {
  padding: 36px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stats b { display: block; font-size: 44px; color: var(--secondary); margin-bottom: 8px; }
.stats span { color: var(--muted); font-weight: 700; }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-bottom: 24px;
}
.split.reverse .split-image { order: 2; }
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.contact-card, .form-card { padding: 32px; }
.contact-item { background: #f9fbfc; border-radius: 18px; padding: 14px 16px; margin-top: 12px; font-weight: 700; }
.qr-wrap { margin-top: 24px; }
.qr-wrap img { width: 230px; max-width: 100%; background: #fff; padding: 12px; border-radius: 26px; border: 1px solid var(--line); }
.form-logo { width: 180px; margin: 12px auto 22px; }
form { display: grid; gap: 14px; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; font: inherit; background: #fff;
}
.site-footer {
  background: rgba(128,131,132,.09);
  border-top: 1px solid var(--line);
  padding: 48px 0 18px;
}
.footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-logo { width: 160px; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.copyright { text-align: center; color: #8b93a7; margin-top: 28px; font-size: 14px; }
.menu-btn { display: none; }

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: 1fr auto auto; }
  .menu-btn { display: block; background: none; border: none; font-size: 28px; }
  .nav {
    display: none; position: absolute; top: 92px; right: 16px; left: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 14px 32px rgba(0,0,0,.08);
  }
  .nav.open { display: grid; gap: 14px; }
  .hero-grid, .cards-4, .cards-3, .split, .contact-grid, .footer-grid, .stats { grid-template-columns: 1fr 1fr; }
  .hero-center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .nav-wrap { min-height: 82px; }
  .logo img { height: 84px; }
  .cta { display: none; }
  .hero-grid, .cards-4, .cards-3, .split, .contact-grid, .footer-grid, .stats { grid-template-columns: 1fr; }
  .about-card, .contact-card, .form-card, .card { border-radius: 24px; }
  .hero-center p, .section-title p, .about-card p, .feature-card p, .price-card p, .split-text p, .contact-card p, .form-card p { font-size: 16px; }
}
