:root {
  --ink: #0f1115;
  --surface: #161920;
  --card-dark: #1f242d;
  --crimson: #d90429;
  --racing: #ef233c;
  --slate: #8d99ae;
  --page: #f4f6f9;
  --line: #e6eaf0;
  --mute: #5c677c;
  --font: "Tajawal", "IBM Plex Sans Arabic", "Neo Sans Arabic", system-ui, sans-serif;
}

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

html { font-size: 16px; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: #1e293b;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.ef-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ef-logo__img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.ef-logo__word { display: flex; flex-direction: column; line-height: 1; }
.ef-logo__name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.ef-logo__fleet { color: var(--racing); }
.ef-logo__tag { margin-top: 4px; font-size: 0.68rem; font-weight: 500; color: var(--slate); }

.ef-lang {
  display: inline-flex;
  gap: 4px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.ef-lang__btn {
  border: 0;
  background: transparent;
  color: #475569;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ef-lang__btn.is-active { background: var(--ink); color: #fff; }

.site-main { width: min(1120px, calc(100% - 36px)); margin: 28px auto 20px; flex: 1; }

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 16px;
  align-items: stretch;
}

.hero__copy {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #0e1014 0%, #170d11 42%, #220d13 100%);
  border: 1px solid rgba(217, 4, 41, 0.22);
  box-shadow: 0 18px 40px -16px rgba(15, 17, 21, 0.45);
}
.hero__copy::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(217, 4, 41, 0.22);
  filter: blur(50px);
  top: -90px;
  inset-inline-end: -70px;
  pointer-events: none;
}

.hero__copy > * { position: relative; z-index: 1; }

.ef-badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217, 4, 41, 0.16);
  color: #fecdd3;
  border: 1px solid rgba(239, 35, 60, 0.35);
  font-weight: 700;
  font-size: 0.84rem;
}

.ef-title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ef-lead {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 40rem;
}

.hero__panel {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.05);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ef-countdown__label { margin: 0 0 14px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.ef-countdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ef-unit {
  background: var(--page);
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
  border: 1px solid var(--line);
}
.ef-unit__n { display: block; font-size: 1.7rem; font-weight: 800; color: var(--crimson); direction: ltr; }
.ef-unit__l { display: block; margin-top: 2px; color: var(--mute); font-size: 0.82rem; font-weight: 700; }

.teasers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  list-style: none;
  padding: 0;
}

.teaser {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.04);
  padding: 18px 16px 16px;
  font-weight: 700;
  line-height: 1.55;
}
.teaser::before {
  content: "";
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--crimson), var(--racing));
  margin-bottom: 12px;
}
.teaser small {
  display: block;
  margin-top: 6px;
  color: var(--mute);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto 28px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  color: var(--mute);
  font-weight: 700;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero, .teasers { grid-template-columns: 1fr; }
  .site-top { padding: 14px 16px; }
  .site-main, .site-foot { width: min(1120px, calc(100% - 20px)); }
  .hero__copy { padding: 28px 22px; }
}
