:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --primary: #111827;
  --primary-soft: #1e293b;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-dark);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.brand-text span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--bg-dark);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  padding: 72px 0 32px;
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.14), transparent 35%),
    linear-gradient(to bottom, #f8fafc, #ffffff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-badge {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  display: block;
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 800;
  transition: 0.22s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-dark {
  background: var(--bg-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-light {
  background: #fff;
  color: var(--bg-dark);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.mini-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.preview-card {
  width: 100%;
  max-width: 520px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px;
}

.preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.preview-head h3 {
  margin: 4px 0 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.status-pill,
.edition-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 900;
}

.status-pill {
  background: #dcfce7;
  color: #166534;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.preview-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
}

.preview-box.wide {
  grid-column: 1 / -1;
}

.preview-box p {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 800;
}

.preview-box h4 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 900;
}

.preview-box span {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.align-right {
  max-width: none;
}

.section-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 900;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.features-grid,
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.video-card,
.faq-item,
.contact-card,
.edition-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.edition-card {
  padding: 26px;
}

.edition-card h3 {
  margin: 16px 0 12px;
  font-size: 1.6rem;
  font-weight: 900;
}

.edition-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
}

.edition-card li {
  padding: 7px 0;
}

.edition-card .edition-badge {
  background: var(--surface-soft);
  color: var(--text-muted);
}

.edition-card.featured {
  background: var(--bg-dark);
  color: #fff;
  border-color: transparent;
}

.edition-card.featured ul {
  color: rgba(255, 255, 255, 0.82);
}

.edition-card.featured .edition-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.video-card {
  padding: 18px;
  overflow: hidden;
}

.video-link {
  display: block;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #e2e8f0;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.03);
}

.play-badge {
  position: absolute;
  inset: auto 16px 16px auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.video-card h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
  font-weight: 900;
}

.video-card p {
  margin: 0;
  color: var(--text-soft);
}

.faq-wrap {
  display: grid;
  gap: 22px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  text-align: right;
}

.faq-question span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-soft);
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.contact-card {
  padding: 28px;
}

.contact-card.dark {
  background: var(--bg-dark);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.light {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card h2,
.contact-card h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.25;
  font-weight: 900;
}

.contact-card.dark p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-info {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.contact-info div {
  display: grid;
  gap: 5px;
}

.contact-info strong {
  font-size: 1rem;
}

.contact-info span {
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid,
  .editions-grid,
  .features-grid,
  .videos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    align-items: start;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .contact-grid,
  .editions-grid,
  .features-grid,
  .videos-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-text span {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .preview-card,
  .contact-card,
  .feature-card,
  .video-card,
  .edition-card {
    border-radius: 22px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }
}