:root {
  --bg: #050505;
  --surface: #101010;
  --surface-2: #171717;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f4f4f4;
  --muted: #b9b9b9;
  --accent: #ff6b00;
  --accent-soft: rgba(255, 107, 0, 0.12);
  --gray: #8d8d8d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 107, 0, 0.16), transparent 22%),
    linear-gradient(160deg, #080808 0%, #030303 45%, #101010 100%);
  font-family: 'Tajawal', sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
  pointer-events: none;
}

.page-noise,
.page-noise::before,
.page-noise::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-noise {
  opacity: 0.12;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 30%, rgba(255,107,0,0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.15) 0 1px, transparent 1.5px);
  background-size: 140px 140px, 180px 180px, 160px 160px;
}

.page-noise::before,
.page-noise::after {
  content: '';
  background-image:
    linear-gradient(0deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255,107,0,0.05) 50%, transparent 100%);
  background-size: 100% 3px, 3px 100%;
  opacity: 0.35;
}

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

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

main,
.topbar,
.footer {
  position: relative;
  z-index: 1;
}

.topbar,
.hero,
.section-heading,
.products-grid,
.about,
.join-section,
.footer {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand,
.nav,
.nav-cta,
.btn,
.badge,
.eyebrow,
.product-topline,
.hero-tag,
.timer-label,
.footer strong,
.footer-links a,
h1,
h2,
h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  transform: skew(-12deg);
  box-shadow: var(--shadow);
}

.brand-text {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
}

.nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-cta,
.btn,
.join-form button,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.nav-cta {
  background: #fff;
  color: #000;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover,
.btn-primary:hover,
.join-form button:hover {
  background: var(--accent);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.clip-hero {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 90% 100%, 0 100%);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.hero h1,
.section-heading h2,
.about h2,
.join-copy h2 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.hero h1 span {
  color: var(--accent);
  display: inline-block;
}

.hero-text,
.section-heading p,
.product-body p,
.about-card p,
.join-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 42rem;
  font-size: 1.05rem;
}

.hero-timers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0;
}

.timer-card {
  min-width: 190px;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.timer-card strong {
  display: block;
  margin-top: 0.35rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}

.timer-card.accent {
  background: linear-gradient(135deg, rgba(255,107,0,0.22), rgba(255,255,255,0.04));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  min-width: 160px;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-secondary {
  border-color: var(--line);
  background: transparent;
  color: #fff;
}

.btn-secondary:hover,
.card-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  border-radius: 30px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badge {
  position: absolute;
  top: 1.2rem;
  inset-inline-start: 1rem;
  z-index: 2;
  padding: 1rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 18px;
  transform: rotate(-10deg);
  box-shadow: var(--shadow);
}

.hero-tag {
  position: absolute;
  z-index: 2;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.tag-one {
  bottom: 6.2rem;
  inset-inline-start: -0.6rem;
}

.tag-two {
  bottom: 2rem;
  inset-inline-end: -0.2rem;
  background: var(--accent);
  color: #fff;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  margin: 2rem 0 3.5rem;
  transform: skewY(-2deg);
}

.ticker-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  padding: 1rem 0;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: ticker 18s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-30%); }
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2,
.about h2,
.join-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,107,0,0.10), transparent 32%, transparent 70%, rgba(255,255,255,0.05));
  pointer-events: none;
}

.product-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.product-media {
  position: relative;
  overflow: hidden;
}

.product-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card.featured .product-media img {
  aspect-ratio: 1.15 / 1;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 1;
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card.featured .badge,
.product-card:nth-child(4n) .badge,
.product-card:nth-child(5n) .badge {
  background: var(--accent);
  color: #fff;
}

.product-body {
  padding: 1.2rem;
}

.product-topline,
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-topline {
  color: var(--gray);
  font-size: 0.82rem;
}

.product-body h3 {
  font-size: 1.6rem;
  margin: 0.65rem 0;
}

.product-body p {
  margin: 0 0 1rem;
  min-height: 84px;
}

.product-meta {
  margin-bottom: 1rem;
}

.product-meta strong {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: #fff;
}

.card-link {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  margin: 4rem auto;
}

.clip-banner {
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
}

.about-card {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-card.dark {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.accent-card {
  background: linear-gradient(160deg, var(--accent), #cb4f00);
  color: #fff;
  transform: translateY(18px) skew(-4deg);
}

.accent-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.accent-card li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.24);
  font-weight: 700;
}

.accent-card li:last-child {
  border-bottom: 0;
}

.join-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,107,0,0.1));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.join-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.join-form input {
  min-width: min(100%, 340px);
  padding: 1rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.42);
  color: #fff;
  outline: none;
  font: inherit;
}

.join-form input::placeholder {
  color: #a8a8a8;
}

.join-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.18);
}

.join-form button {
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: 700 1rem 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 0 2rem;
}

.footer strong {
  font-size: 1.35rem;
}

.footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

@media (max-width: 1100px) {
  .hero,
  .about,
  .join-section {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    min-height: 460px;
  }

  .join-form {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero h1 {
    line-height: 1.02;
  }

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

  .product-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .join-section,
  .about-card,
  .product-body {
    padding: 1.2rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 1rem, 100% - 1rem);
  }

  .hero-timers,
  .hero-actions,
  .join-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .join-form button,
  .join-form input,
  .timer-card {
    width: 100%;
  }

  .hero-visual img {
    min-height: 360px;
  }

  .tag-one,
  .tag-two {
    position: static;
    margin-top: 0.75rem;
  }

  .hero-visual {
    display: block;
  }
}
