:root {
  --glow-red: #f03732;
  --bg: #faf8f6;
  --bg-raised: #ffffff;
  --fg: #1a1a1a;
  --fg-muted: #6b6864;
  --border: rgba(26, 26, 26, 0.12);
  --font-ar: "Cairo", "Poppins", sans-serif;
  --font-en: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ar);
  overflow-x: hidden;
}

.scene {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 2.5rem;
  position: relative;
  text-align: center;
}

.glow-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 640px;
  height: 420px;
  background: radial-gradient(ellipse at top, rgba(240, 55, 50, 0.09), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.hero-logo img {
  width: 100px;
  height: auto;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  width: 100%;
}

.eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.eyebrow-ar {
  font-family: var(--font-ar);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--glow-red);
}

.eyebrow-en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--fg-muted);
}

.carousel {
  position: relative;
  width: 100%;
  min-height: 9.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
}

.headline-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}

.headline-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.headline-slide.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
}

.headline-ar {
  font-family: var(--font-ar);
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--glow-red);
}

.headline-en {
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: var(--fg-muted);
  font-style: italic;
}

.location {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  margin-top: 1.75rem;
}

.countdown {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.25rem;
  margin: 3rem 0 2.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.75rem;
  padding: 0.75rem 0.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.countdown-number {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--glow-red);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-family: var(--font-ar);
  font-weight: 300;
  font-size: 0.65rem;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.signup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin-bottom: 3.5rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-form input {
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--fg);
  text-align: center;
}

.signup-form input::placeholder {
  color: var(--fg-muted);
  font-weight: 300;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--glow-red);
}

.signup-form button {
  font-family: var(--font-ar);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: var(--glow-red);
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.signup-form button:hover {
  filter: brightness(1.08);
}

.signup-note {
  margin-top: 0.75rem;
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--fg-muted);
  min-height: 1.2em;
}

.contact {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 480px;
}

.contact-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.contact-address .label {
  font-family: var(--font-ar);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

.contact-address .value {
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--fg);
}

.contact-address .value.en {
  font-family: var(--font-en);
  font-weight: 300;
  direction: ltr;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.contact-links a {
  font-family: var(--font-ar);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--glow-red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-links a:hover {
  border-color: var(--glow-red);
}

.social {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.social a {
  display: flex;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social a img {
  display: block;
  width: 28px;
  height: 28px;
}

.social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .scene {
    padding: 3rem 1.25rem 2rem;
  }
  .countdown {
    gap: 0.6rem;
  }
  .countdown-unit {
    min-width: 3.1rem;
    padding: 0.6rem 0.35rem;
  }
}
