@font-face {
  font-family: "Shahid";
  src: url("/fonts/Shahid-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shahid";
  src: url("/fonts/Shahid-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shahid";
  src: url("/fonts/Shahid-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shahid";
  src: url("/fonts/Shahid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #181d25;
  --card: #323c4c;
  --text: #ffffff;
  --text-muted: #a3afc2;
  --text-soft: #f3f4f7;
  --badge: #d61962;
  --border: rgba(255, 255, 255, 0.12);
  --btn: rgba(255, 255, 255, 0.2);
  --btn-border: rgba(255, 255, 255, 0.15);
  --menu-bg: rgba(24, 29, 37, 0.5);
  --menu-border: rgba(255, 255, 255, 0.1);
  --teal: #00906c;
  --font: "Shahid", "Cairo", "Segoe UI", Tahoma, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
a {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page {
  min-height: 100vh;
  background: var(--bg);
}

/* Header — exact Shahid promo header */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: clamp(72px, 6.67vw, 128px);
  padding: clamp(16px, 1.95vw, 37px) clamp(16px, 3.9vw, 75px);
  background: transparent;
}

.logo img {
  height: clamp(28px, 2.1vw, 40px);
  width: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.6vw, 12px);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: clamp(32px, 2.1vw, 40px);
  padding: 0 clamp(14px, 1.1vw, 21px);
  border: 1px solid var(--menu-border);
  border-radius: 24px;
  background: var(--menu-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
  color: #fff;
}

.pill:hover {
  background: rgba(24, 29, 37, 0.7);
}

.lang {
  position: relative;
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 140px;
  padding: 8px;
  border-radius: 12px;
  background: #1c222b;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 5;
}

.lang__menu li {
  border-radius: 8px;
  font-size: 14px;
}

.lang__menu a {
  display: block;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}

.lang__menu li:hover a,
.lang__menu li.is-active a {
  background: rgba(255, 255, 255, 0.08);
}

.lang__menu li.is-active a {
  color: #7dffb3;
}

/* Hero — exact original proportions & copy placement */
.hero {
  position: relative;
  margin-top: clamp(72px, 6.67vw, 128px);
  margin-bottom: clamp(-80px, -3vw, -11px);
  background: linear-gradient(#0e1d2b 85%, rgba(20, 53, 79, 0.5) 0, rgba(24, 29, 37, 0) 0);
}

.hero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 615;
  min-height: 280px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  bottom: -1px;
  pointer-events: none;
  background: linear-gradient(
    rgba(24, 29, 37, 0),
    rgba(24, 29, 37, 0) 17%,
    rgba(24, 29, 37, 0.4) 44%,
    rgb(24, 29, 37) 87%
  );
}

.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__title {
  position: absolute;
  inset-inline: 0;
  top: 38.9%;
  width: min(952px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
  font-size: clamp(24px, 2.5vw, 48px);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}

.hero__lead {
  position: absolute;
  inset-inline: 0;
  top: 51.9%;
  width: min(952px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
  font-size: clamp(14px, 1.67vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
}

.underline-title {
  display: inline-block;
  text-align: center;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  padding: 0 12px 12px;
  border-style: solid;
  border-width: 0 0 4px;
  border-image: linear-gradient(
      90deg,
      rgba(0, 204, 153, 0),
      rgb(0, 144, 108),
      rgba(0, 204, 153, 0)
    )
    1;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.underline-title--cta {
  position: absolute;
  inset-inline: 0;
  top: 76.7%;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  font-size: clamp(16px, 1.67vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  padding: 0 12px 12px;
  border-width: 0 0 4px;
  pointer-events: auto;
  z-index: 5;
}

/* Plans */
.plans {
  width: min(1828px, calc(100% - 92px));
  margin: 0 auto;
  padding-bottom: 24px;
  position: relative;
  z-index: 50;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 0.85vw, 16px);
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 248px;
  height: 100%;
  padding: clamp(16px, 1.1vw, 21px);
  border-radius: 4px;
  background: var(--card);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.plan-card h2 {
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 700;
  color: #fff;
}

.plan-card__badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--badge);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-card__price {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.plan-card__desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.link-more {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-sub {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--btn-border);
  cursor: pointer;
  height: 32px;
  min-height: 32px;
  padding: 0 21px;
  border-radius: 24px;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sub:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-sub--sm {
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-sub--solid {
  background: #fff;
  color: #181d25;
  border-color: #fff;
}

.btn-sub--solid:hover {
  background: #f0f2f5;
}

.compare-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 28px;
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.compare-toggle img {
  transition: transform 0.25s ease;
  opacity: 0.9;
}

.compare-toggle.is-open img {
  transform: rotate(180deg);
}

.compare {
  overflow: hidden;
  margin-top: 18px;
}

.compare__scroll {
  overflow-x: auto;
}

.compare__table {
  min-width: 780px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.compare__row {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.compare__row:last-child {
  border-bottom: none;
}

.compare__row--head {
  background: rgba(255, 255, 255, 0.04);
}

.compare__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.88rem;
}

.compare__label {
  align-items: flex-start;
  text-align: start;
  color: var(--text-muted);
  font-weight: 600;
}

.compare__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.compare__price small {
  font-size: 0.75rem;
}

/* Features */
.features {
  width: min(1200px, calc(100% - 40px));
  margin: 48px auto 24px;
  text-align: center;
}

.features > .underline-title {
  margin-bottom: 40px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.feature {
  text-align: center;
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 500;
}

/* Voucher */
.voucher {
  width: min(560px, calc(100% - 40px));
  margin: 48px auto;
  text-align: center;
}

.voucher > .underline-title {
  margin-bottom: 28px;
}

.voucher__box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.voucher__field {
  flex: 1;
  text-align: start;
}

.voucher__field input {
  width: 100%;
  height: 36px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
}

.voucher__field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.voucher__gift {
  display: inline-block;
  margin-top: 16px;
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font-weight: 600;
}

.voucher__note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.voucher__note a {
  text-decoration: underline;
}

/* FAQ */
.faq {
  width: min(860px, calc(100% - 40px));
  margin: 24px auto 72px;
  text-align: center;
}

.faq > .underline-title {
  margin-bottom: 28px;
}

.faq__list {
  border-top: 1px solid var(--border);
  text-align: start;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__a {
  overflow: hidden;
}

.faq__a p {
  padding: 0 4px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 40px 24px 48px;
  border-top: 1px solid var(--border);
  background: #12161c;
  text-align: center;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin: 0 auto 22px;
  opacity: 0.95;
}

.footer__market {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 22px;
}

.footer__links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.flash {
  width: min(720px, calc(100% - 32px));
  margin: 96px auto 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  position: relative;
  z-index: 70;
}

.flash--success {
  background: rgba(0, 144, 108, 0.2);
  border: 1px solid rgba(0, 144, 108, 0.5);
}

.flash--error {
  background: rgba(214, 25, 98, 0.15);
  border: 1px solid rgba(214, 25, 98, 0.45);
}

/* Responsive */
@media (max-width: 1100px) {
  .plans {
    width: calc(100% - 32px);
  }

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

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    margin-bottom: -24px;
  }

  .hero__title {
    top: 34%;
  }

  .hero__lead {
    top: 48%;
  }

  .underline-title--cta {
    top: 72%;
  }
}

@media (max-width: 760px) {
  .header {
    height: 72px;
    padding: 12px 14px;
  }

  .logo img {
    height: 28px;
  }

  .pill {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    margin-top: 72px;
    margin-bottom: 8px;
  }

  .hero__frame {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }

  .hero__title {
    top: 42%;
    font-size: 24px;
    width: calc(100% - 32px);
  }

  .hero__lead {
    top: 56%;
    font-size: 14px;
    width: calc(100% - 32px);
  }

  .underline-title--cta {
    top: 78%;
    font-size: 16px;
    padding-bottom: 8px;
  }

  .plans {
    width: calc(100% - 24px);
  }

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

  .plan-card {
    min-height: auto;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .voucher__box {
    flex-direction: column;
    align-items: stretch;
  }
}

.lang__menu[hidden],
.compare[hidden],
.faq__a[hidden] {
  display: none !important;
}

.compare:not([hidden]) {
  display: block;
}

.faq__a:not([hidden]) {
  display: block;
}
