@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --navy: #082238;
  --navy-2: #0d314d;
  --gold: #c59a35;
  --gold-light: #e5c16b;
  --cream: #f7f1e8;
  --text: #0b263b;
  --muted: #5d6670;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(197,154,53,.16), transparent 35%),
    linear-gradient(135deg, #fbf8f2 0%, var(--cream) 48%, #ffffff 100%);
  overflow-x: hidden;
}

.page {
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,34,56,.08), transparent 45%),
    repeating-linear-gradient(90deg, rgba(8,34,56,.035) 0 1px, transparent 1px 110px);
  opacity: .55;
  z-index: -3;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 190px;
  background:
    linear-gradient(180deg, transparent, rgba(8,34,56,.95)),
    linear-gradient(90deg, var(--navy), var(--navy-2));
  clip-path: ellipse(75% 100% at 50% 100%);
  z-index: -2;
}

.bg-shape {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(197,154,53,.24);
  border-radius: 38px;
  transform: rotate(45deg);
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  top: 8%;
  right: 7%;
}

.shape-2 {
  bottom: 15%;
  left: 6%;
  animation-delay: -3s;
}

.card {
  width: min(920px, 100%);
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(197,154,53,.25);
  border-radius: 34px;
  box-shadow: 0 24px 80px rgba(8,34,56,.14);
  backdrop-filter: blur(14px);
}

.logo {
  width: min(360px, 88%);
  height: auto;
  display: block;
  margin: 0 auto 18px;
  border-radius: 22px;
  filter: drop-shadow(0 16px 35px rgba(8,34,56,.12));
}

.line {
  width: 220px;
  max-width: 70%;
  height: 1px;
  margin: 10px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 82px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
}

.subtitle {
  width: min(650px, 100%);
  margin: 18px auto 20px;
  font-size: clamp(18px, 2.6vw, 25px);
  line-height: 1.8;
  color: var(--muted);
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  margin: 4px auto 28px;
  padding: 10px 30px;
  color: white;
  font-weight: 800;
  font-size: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  box-shadow: 0 10px 28px rgba(197,154,53,.28);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: min(720px, 100%);
  margin: 0 auto 34px;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--navy), #071827);
  box-shadow: 0 18px 45px rgba(8,34,56,.28);
}

.time-box {
  padding: 20px 10px;
  border-radius: 18px;
  border: 1px solid rgba(229,193,107,.18);
  background: rgba(255,255,255,.035);
}

.time-box span {
  display: block;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--gold-light);
}

.time-box small {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  color: rgba(255,255,255,.86);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 30px;
}

.feature {
  padding: 18px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(197,154,53,.18);
}

.feature span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 24px;
}

.feature strong,
.feature small {
  display: block;
}

.feature strong {
  font-size: 18px;
  color: var(--navy);
}

.feature small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  min-width: 155px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(197,154,53,.34);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(8,34,56,.14);
}

.btn.primary {
  color: white;
  background: linear-gradient(135deg, #0ea75a, #128c49);
  border-color: transparent;
}

.reveal {
  animation: reveal .9s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-18px); }
}

@media (max-width: 720px) {
  .hero {
    padding: 20px 12px;
  }

  .card {
    border-radius: 24px;
    padding: 26px 16px;
  }

  .logo {
    width: min(290px, 92%);
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
