/* Celeps — Coming soon page (direction A · Clareza) */
:root {
  --navy-900: #1B1F4B;
  --navy: #23285F;
  --blue: #1E5592;
  --sky: #7FB2DC;
  --amber: #F7941D;
  --gold: #FDB913;
  --muted: #555B7A;
  --line: #E1E6F0;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy-900);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
}

a { color: var(--blue); font-weight: 600; }
a:hover { color: var(--navy); }

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #EAF0FA 0%, #FFFFFF 60%);
}

/* Decorative logo marks */
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco--end { inset-inline-end: -180px; top: 120px; width: 520px; height: 520px; opacity: .10; }
.deco--start { inset-inline-start: -150px; bottom: 60px; width: 380px; height: 380px; opacity: .08; }

/* Header */
.header {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 22px; }
.brand__sub { font-size: 13px; color: var(--muted); }

.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
}
.lang button {
  min-width: 48px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lang button:hover { background: #EEF2F8; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; font-weight: 700; }
.lang button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Main */
.main {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #FFF1DF;
  color: #8A4B00;
  font-size: 14px;
  font-weight: 700;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 2s ease-in-out infinite; }

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
}
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.3; }

.lead {
  margin: 0;
  max-width: 680px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.launch { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.launch__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
html[lang="ar"] .launch__label { letter-spacing: 0; }
.launch__date { font-size: clamp(18px, 2.6vw, 22px); font-weight: 700; }
.launch__tz { font-size: 15px; color: var(--muted); }

/* Countdown */
.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 8px; }
.cd {
  width: 140px;
  padding: 22px 0 18px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(35, 40, 95, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cd__num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}
.cd__bar { width: 28px; height: 3px; border-radius: 2px; background: var(--amber); }
.cd__lbl { font-size: 14px; font-weight: 600; color: var(--muted); }
.cd--accent { background: var(--navy); border-color: var(--navy); }
.cd--accent .cd__num { color: var(--gold); }
.cd--accent .cd__bar { background: var(--sky); }
.cd--accent .cd__lbl { color: #DDE6F5; }

.live { margin: 8px 0 0; font-size: 26px; font-weight: 800; color: var(--blue); }
.local { margin: 0; font-size: 14px; color: var(--muted); }
.local b { color: var(--navy-900); }

/* Footer */
.footer { position: relative; border-top: 1px solid #E6EAF3; background: rgba(255, 255, 255, .85); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.footer__inner b { color: var(--navy-900); }

@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

@media (max-width: 640px) {
  .main { padding-top: 32px; }
  .countdown { gap: 10px; }
  .cd { width: calc(50% - 5px); max-width: 150px; padding: 18px 0 14px; }
  .cd__num { font-size: 44px; }
  .deco--end { width: 320px; height: 320px; inset-inline-end: -140px; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pill__dot { animation: none; }
}

[hidden] { display: none !important; }
