:root {
  --bg: #f4efe4;
  --sand: #ede2c9;
  --ink: #1f2f29;
  --muted: #607068;
  --brand: #0f766e;
  --brand-dark: #0b5d56;
  --gold: #cba64a;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(19, 53, 45, 0.12);
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  font-family: "Tajawal", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -5%, rgba(15, 118, 110, 0.18), transparent 60%),
    radial-gradient(1100px 650px at 0% -10%, rgba(203, 166, 74, 0.22), transparent 55%),
    linear-gradient(160deg, var(--bg), var(--sand));
}

.top-banner {
  background: var(--brand-dark);
  color: #fff;
  padding: 0.4rem 0.5rem;
}
.top-banner-line1 {
  font-weight: 700;
  font-size: 0.85rem;
}
.top-banner-line2 {
  font-size: 0.7rem;
  opacity: 0.8;
}

.site-nav {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.navbar-brand,
.hero-title,
.card-title {
  font-family: "Aref Ruqaa Ink", serif;
}

.nav-user {
  font-weight: 700;
}

.page-shell { position: relative; }
.hero-card,
.content-card,
.form-card,
.panel-card,
.auth-card,
.report-card,
.poster-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.hero-card,
.panel-card,
.auth-card,
.form-card { border-radius: 1.75rem; padding: 1.5rem; }
.content-card,
.poster-card { border-radius: 1.5rem; padding: 1.25rem; }

.hero-badge,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.09);
  color: var(--brand-dark);
  font-weight: 700;
}

.hero-title { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.35; }
.hero-subtitle,
.card-text,
.message-box,
.timeline-item p { line-height: 1.9; }
.hero-logo-col {
  flex: 0 0 auto;
  width: clamp(130px, 18vw, 200px);
}
.hero-logo {
  width: clamp(110px, 16vw, 180px);
  height: clamp(110px, 16vw, 180px);
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.poster-copy,
.metric-card span,
.report-card span { color: var(--muted); }
.metric-card,
.stat-panel {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 1rem;
  background: rgba(255,255,255,0.72);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.metric-card strong,
.stat-panel strong { color: var(--brand-dark); font-size: 1.35rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: 0;
}
.btn-brand:hover { color: #fff; filter: brightness(1.04); }

.feature-list { display: grid; gap: 0.85rem; padding-right: 1rem; }
.feature-list li::marker { color: var(--brand); }
.auth-shell { display: grid; place-items: center; min-height: 60vh; }
.auth-card,
.narrow-panel { max-width: 640px; margin: 0 auto; }
.timeline-list { display: grid; gap: 1rem; }
.timeline-item { padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.timeline-item:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.message-box {
  background: rgba(15, 118, 110, 0.05);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 1rem;
  padding: 1rem;
}
.report-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem;
  border-radius: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}
.report-card:hover { transform: translateY(-1px); }

@media (max-width: 767px) {
  .hero-card,
  .panel-card,
  .auth-card,
  .form-card { padding: 1.1rem; }
}
