:root {
  --navy: #10365c;
  --navy-deep: #0c2a49;
  --gold: #c9a15c;
  --gold-dark: #b08a45;
  --gold-light: #dcbd82;
  --ink: #16304a;
  --text-dim: #647b93;
  --bg-1: #ffffff;
  --bg-2: #f4f7fb;
  --line: rgba(16, 54, 92, 0.10);
  --font-en: 'Sora', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  font-family: var(--font-en);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-2);
}
body[dir="rtl"] { font-family: var(--font-ar); }

/* ===== Background ===== */
.bg-base {
  position: fixed; inset: 0; z-index: -5;
  background:
    radial-gradient(1200px 700px at 15% 0%, #ffffff 0%, transparent 60%),
    radial-gradient(1000px 800px at 100% 100%, #eef3f9 0%, transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #eef3f9 100%);
}
.glow {
  position: fixed; border-radius: 50%; filter: blur(120px);
  z-index: -4; pointer-events: none; animation: float 18s ease-in-out infinite;
}
.glow-1 { width: 480px; height: 480px; background: rgba(201,161,92,0.20); top: -160px; right: -120px; }
.glow-2 { width: 520px; height: 520px; background: rgba(16,54,92,0.12); bottom: -180px; left: -150px; animation-delay: -9s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-24px) scale(1.08); }
}
/* faint concentric rings behind hero */
.rings {
  position: fixed; top: 50%; left: 50%; z-index: -3;
  width: 1200px; height: 1200px; transform: translate(-50%,-50%);
  background:
    radial-gradient(circle, transparent 0 28%, rgba(16,54,92,0.045) 28% 28.2%, transparent 28.2%),
    radial-gradient(circle, transparent 0 40%, rgba(201,161,92,0.10) 40% 40.2%, transparent 40.2%),
    radial-gradient(circle, transparent 0 52%, rgba(16,54,92,0.04) 52% 52.15%, transparent 52.15%);
  pointer-events: none;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ===== Top bar ===== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 44px;
}
.brand-mark { height: 40px; width: auto; }
.lang-toggle {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 9px 20px; border-radius: 40px;
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 14px rgba(16,54,92,0.06);
  transition: all 0.3s ease;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 120px; position: relative;
}
.hero-inner { max-width: 840px; animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  color: var(--gold-dark);
  padding: 8px 18px; border-radius: 40px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 40px; box-shadow: 0 4px 14px rgba(16,54,92,0.05);
}
.dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: ping 1.8s ease-in-out infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(201,161,92,0.5); }
  70% { box-shadow: 0 0 0 11px rgba(201,161,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,161,92,0); }
}

/* Logo — transparent, blends on light bg, no box */
.logo-hero { margin-bottom: 34px; animation: bob 6s ease-in-out infinite; }
.logo-hero img {
  width: 380px; max-width: 74vw; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(16,54,92,0.18));
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Title */
.title {
  font-size: clamp(2.1rem, 6.5vw, 4.2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -1px;
  color: var(--navy); margin-bottom: 22px;
}
.title .line { display: block; }
.title .line + .line { margin-top: 0.18em; }
body[dir="rtl"] .title { line-height: 1.3; }
body[dir="rtl"] .title .line + .line { margin-top: 0.28em; }
.title .accent {
  background: linear-gradient(110deg, var(--gold-dark) 0%, var(--gold) 45%, var(--gold-light) 55%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.lead {
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.7; max-width: 540px; margin: 0 auto 50px;
}

/* Countdown */
.countdown { display: flex; justify-content: center; gap: 16px; margin-bottom: 50px; flex-wrap: wrap; }
.count-box {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 8px; min-width: 110px;
  box-shadow: 0 10px 30px rgba(16,54,92,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.count-box:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(16,54,92,0.12); }
.count-box .num {
  font-size: clamp(2.2rem, 6vw, 3.3rem); font-weight: 800; color: var(--navy);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.count-box .label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold-dark); margin-top: 12px; font-weight: 700;
}

/* Notify */
.notify {
  display: flex; gap: 8px; max-width: 500px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: 50px; padding: 7px 7px 7px 8px;
  box-shadow: 0 12px 34px rgba(16,54,92,0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.notify:focus-within { border-color: var(--gold); box-shadow: 0 12px 34px rgba(201,161,92,0.2); }
.notify input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 13px 20px; color: var(--ink); font-family: inherit; font-size: 0.98rem;
}
.notify input::placeholder { color: #90a2b6; }
.notify button {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border: none; border-radius: 50px;
  padding: 13px 30px; font-family: inherit; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.notify button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,54,92,0.3); }
.form-msg { margin-top: 18px; color: var(--gold-dark); font-weight: 600; font-size: 0.92rem; }

/* Footer */
.footer {
  position: absolute; bottom: 30px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.socials { display: flex; gap: 14px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(16,54,92,0.05);
  transition: all 0.3s ease;
}
.socials a:hover { border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: var(--navy); transition: fill 0.3s ease; }
.socials a:hover svg { fill: var(--gold-dark); }
.copyright { color: var(--text-dim); font-size: 0.8rem; letter-spacing: 1px; }

/* Responsive */
@media (max-width: 560px) {
  .topbar { padding: 16px 22px; }
  .hero { padding: 104px 18px 130px; }
  .notify { flex-direction: column; border-radius: 22px; background: transparent; border: none; padding: 0; box-shadow: none; }
  .notify input { background: #fff; border: 1px solid var(--line); border-radius: 40px; text-align: center; }
  .notify button { width: 100%; padding: 15px; }
  .count-box { min-width: 72px; padding: 16px 6px; }
  .countdown { gap: 10px; }
  .footer { position: static; margin-top: 50px; }
}
