:root {
  /* Core palette from Color Hunt */
  --bg: #f6e7bc;
  --bg-alt: #ffffff;
  --primary: #0b2d72;
  --secondary: #0992c2;
  --accent: #0ac4e0;
  --text: #111827;
  --text-muted: #4b5563;
  --card-bg: #ffffff;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(11, 45, 114, 0.22);
  --shadow-glow: 0 0 22px rgba(9, 146, 194, 0.4);

  /* Optional aliases */
  --color-primary: #0b2d72;
  --color-secondary: #0992c2;
  --color-accent: #0ac4e0;
  --color-bg-light: #f6e7bc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Tajawal", "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 56px;
  position: relative;
  overflow: hidden;
}

.orbit {
  position: fixed;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 45, 114, 0.24), transparent 52%),
    radial-gradient(circle at 100% 10%, rgba(9, 146, 194, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(10, 196, 224, 0.16), transparent 55%);
  opacity: 0.4;
  filter: blur(3px);
  z-index: -2;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 999px;
  margin-bottom: 26px;
  background: linear-gradient(135deg, var(--primary), #061b46);
  border: 1px solid rgba(6, 27, 70, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 16px;
  background: conic-gradient(from 160deg, var(--primary), var(--accent), #38bdf8, var(--primary));
  padding: 2px;
  box-shadow: var(--shadow-glow);
}

.logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  background: radial-gradient(circle at 30% 0%, #f6e7bc 0, #ffe9a9 45%, #f9fafb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2d72;
  font-weight: 700;
  font-size: 17px;
}

.brand-text h1 {
  font-size: 18px;
  letter-spacing: 0.03em;
  color: #f9fafb;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: #e5e7eb;
}

nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav button {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 11px;
  cursor: pointer;
  background: transparent;
  color: #e5e7eb;
  transition: all 0.18s ease-out;
}

nav button.primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #f6e7bc;
  border-color: rgba(10, 196, 224, 0.8);
  box-shadow: 0 16px 40px rgba(6, 27, 70, 0.45);
}

nav button:hover {
  color: #f6e7bc;
  border-color: rgba(10, 196, 224, 0.9);
  background: rgba(9, 146, 194, 0.18);
}

nav button.primary:hover {
  transform: translateY(-1px);
  background: var(--accent);
}

.hero {
  margin-top: 26px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.hero-text h2 {
  font-size: clamp(28px, 4.3vw, 36px);
  margin-bottom: 10px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(250, 204, 21, 0.6);
  box-shadow: 0 14px 35px rgba(11, 45, 114, 0.18);
  font-size: 11px;
  color: #111827;
  margin-bottom: 10px;
}

.tagline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, var(--accent), var(--secondary));
  box-shadow: 0 0 8px rgba(10, 196, 224, 0.7);
}

.hero-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: 35rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  min-width: 120px;
  border-radius: 16px;
  padding: 10px 11px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), #fff4cf);
  border: 1px solid rgba(234, 179, 8, 0.5);
  box-shadow: 0 10px 30px rgba(148, 119, 66, 0.35);
}

.metric span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.metric strong {
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-main {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #f6e7bc;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 45px rgba(148, 163, 184, 0.55);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.btn-main:hover {
  transform: translateY(-1px);
  background: var(--accent);
  box-shadow: 0 20px 60px rgba(6, 27, 70, 0.55);
}

.btn-ghost {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 45, 114, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease-out;
}

.btn-ghost:hover {
  color: #f6e7bc;
  border-color: rgba(10, 196, 224, 0.9);
  background: var(--secondary);
}

.hero-card {
  position: relative;
  border-radius: 24px;
  padding: 18px 16px 16px;
  background: radial-gradient(circle at top left, rgba(11, 45, 114, 0.05), #fffdf3);
  border: 1px solid rgba(148, 119, 66, 0.35);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(9, 146, 194, 0.22), transparent 50%),
    radial-gradient(circle at 100% 0, rgba(10, 196, 224, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(11, 45, 114, 0.28), transparent 55%);
  opacity: 0.55;
  mix-blend-mode: screen;
  z-index: -1;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 196, 224, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, var(--accent), var(--secondary));
  box-shadow: 0 0 10px rgba(10, 196, 224, 0.9);
}

.hero-time-label {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-timeline {
  border-radius: 18px;
  padding: 10px 10px 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(234, 179, 8, 0.45);
  margin-bottom: 12px;
  font-size: 11px;
}

.hero-timeline h3 {
  font-size: 12px;
  margin-bottom: 6px;
  color: #e5e7eb;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.step {
  border-radius: 10px;
  padding: 6px 7px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.step small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.step strong {
  font-size: 11px;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.stat-block {
  flex: 1;
  border-radius: 14px;
  padding: 8px 9px;
  background: linear-gradient(145deg, #ffffff, #fff4cf);
  border: 1px solid rgba(234, 179, 8, 0.4);
  font-size: 11px;
}

.stat-label {
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.stat-value {
  font-size: 13px;
}

.hero-footer-note {
  font-size: 10px;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 7px;
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.badge-soft {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(10, 196, 224, 0.1);
  color: #0b2d72;
  border: 1px solid rgba(10, 196, 224, 0.6);
  font-size: 10px;
}

section {
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

.section-header h3 {
  font-size: 16px;
  color: var(--primary);
}

.section-header span {
  font-size: 11px;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.card {
  border-radius: var(--radius-lg);
  padding: 14px 13px;
  background: radial-gradient(circle at top, #ffffff, #fff8d7);
  border: 1px solid rgba(226, 176, 60, 0.6);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
}

.card h4 {
  margin-bottom: 7px;
  font-size: 13px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 196, 224, 0.5);
  font-size: 11px;
  color: var(--text-muted);
}

ul {
  list-style: none;
}

ul li {
  position: relative;
  padding-right: 14px;
  margin-bottom: 5px;
  color: var(--text-muted);
}

ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, var(--accent), var(--secondary));
}

.timeline {
  border-radius: var(--radius-lg);
  padding: 12px 13px;
  background: radial-gradient(circle at top, #ffffff, #fff6cc);
  border: 1px dashed rgba(226, 176, 60, 0.9);
  font-size: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
}

.timeline-step:not(:last-child) {
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.timeline-label {
  font-size: 11px;
  color: var(--text-muted);
}

.timeline-label span {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}

.timeline-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}

.highlight-box {
  margin-top: 10px;
  border-radius: 14px;
  padding: 10px 11px;
  background: linear-gradient(135deg, rgba(255, 248, 209, 0.96), rgba(250, 250, 249, 0.96));
  border: 1px solid rgba(226, 176, 60, 0.9);
  font-size: 11px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.request-box {
  border-radius: 16px;
  padding: 12px 13px;
  background: radial-gradient(circle at top left, rgba(9, 146, 194, 0.14), #fffdf3);
  border: 1px solid rgba(9, 146, 194, 0.8);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
}

.request-text {
  margin-bottom: 8px;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill-outline {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 11px;
  color: var(--text-muted);
}

footer {
  margin-top: 18px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  padding-top: 10px;
}

.footer-tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 45, 114, 0.5);
  font-size: 10px;
}

.scroll-progress {
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform-origin: 0 50%;
  width: 0;
  z-index: 20;
  box-shadow: 0 0 12px rgba(10, 196, 224, 0.7);
}

nav button.is-active {
  background: rgba(9, 146, 194, 0.16);
  border-color: rgba(10, 196, 224, 0.9);
  color: #fefce8;
}

nav button.primary.is-active {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

@media (max-width: 768px) {
  header {
    border-radius: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .hero-text h2 {
    font-size: 24px;
  }

  .timeline-step {
    grid-template-columns: minmax(0, 1fr);
  }

  nav {
    justify-content: center;
  }
}

