/* ============================================================
   Muslim Ad Network (MAN) v2 — Style System
   Brand: Navy #1B2A4A + Gold #D4A847 + Emerald #10B981
   Fonts: Outfit (display) + Plus Jakarta Sans (body)
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --navy-light: #243556;
  --navy-dark: #111D33;
  --surface: #0E1525;
  --surface-light: #141E30;
  --surface-card: #172035;
  --gold: #D4A847;
  --gold-light: #E8C76A;
  --gold-dark: #B8912E;
  --gold-gradient: linear-gradient(135deg, #D4A847 0%, #E8C76A 50%, #D4A847 100%);
  --gold-shimmer: linear-gradient(135deg, #D4A847 0%, #F0D88A 25%, #D4A847 50%, #F0D88A 75%, #D4A847 100%);
  --emerald: #10B981;
  --emerald-dark: #059669;
  --white: #F8FAFC;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-300: #94A3B8;
  --gray-400: #64748B;
  --gray-500: #475569;
  --gray-600: #334155;
  --border: rgba(212, 168, 71, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --glow-gold: 0 0 30px rgba(212, 168, 71, 0.15);
  --glow-gold-strong: 0 0 60px rgba(212, 168, 71, 0.25);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-pad: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 2rem);
  --container: 1200px;
  --container-narrow: 900px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--gray-200);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Islamic geometric pattern overlay --- */
.geo-pattern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4A847' stroke-width='0.5'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z'/%3E%3Cpath d='M0 0L40 0L40 40L0 40Z'/%3E%3Cpath d='M40 0L80 0L80 40L40 40Z'/%3E%3Cpath d='M0 40L40 40L40 80L0 80Z'/%3E%3Cpath d='M40 40L80 40L80 80L40 80Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* --- Section divider arabesque --- */
.arabesque {
  display: block;
  width: 200px;
  height: 20px;
  margin: 0 auto 3rem;
  opacity: 0.3;
}

.arabesque--gold {
  opacity: 0.5;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  font-weight: 900;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gray-300);
  max-width: 640px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-gold {
  color: var(--gold);
}

.text-emerald {
  color: var(--emerald);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 500ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(14, 21, 37, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  white-space: nowrap;
}

.nav__logo-text span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  background: var(--gold-gradient);
  color: var(--navy-dark) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 168, 71, 0.3);
  color: var(--navy-dark) !important;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(7rem, 12vw, 10rem) clamp(1rem, 5vw, 2rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

/* Network graph canvas */
.hero__network {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero__network canvas {
  width: 100%;
  height: 100%;
}

/* Gradient overlay on top of canvas */
.hero__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 600px 400px at center 40%, rgba(212, 168, 71, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse at center, transparent 0%, var(--surface) 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Ramadan overlay banner */
.hero__ramadan-banner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(212, 168, 71, 0.1);
  border: 1px solid rgba(212, 168, 71, 0.25);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  backdrop-filter: blur(10px);
  animation: bannerPulse 3s ease-in-out infinite;
}

.hero__ramadan-banner .countdown-inline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

@keyframes bannerPulse {
  0%, 100% { border-color: rgba(212, 168, 71, 0.25); }
  50% { border-color: rgba(212, 168, 71, 0.5); }
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--emerald);
}

.hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero__title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(212, 168, 71, 0.35));
  animation: highlightGlow 3s ease-in-out infinite;
}

@keyframes highlightGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(212, 168, 71, 0.25)); }
  50% { filter: drop-shadow(0 0 40px rgba(212, 168, 71, 0.5)); }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--gray-300);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.hero__stat-number .suffix {
  font-size: 0.6em;
  color: var(--gold);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.3s, background-position 0.4s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold-shimmer);
  background-size: 200% auto;
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(212, 168, 71, 0.25);
}

.btn--gold:hover {
  background-position: right center;
  box-shadow: 0 8px 30px rgba(212, 168, 71, 0.35);
  color: var(--navy-dark);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--gray-500);
  color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--large {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 12px;
}

.btn--small {
  font-size: 0.875rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
}

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
  background: var(--surface);
  overflow: hidden;
}

.trusted__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.trusted__track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.trusted__logos {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: 0 clamp(1.25rem, 2.5vw, 2rem);
  flex-shrink: 0;
}

.trusted__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  color: var(--gray-500);
  white-space: nowrap;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.3s, border-color 0.3s;
  user-select: none;
}

.trusted__logo:hover {
  color: var(--gray-300);
  border-color: var(--border);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trusted__track:hover {
  animation-play-state: paused;
}

/* Edge fade */
.trusted::before,
.trusted::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.trusted::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}

.trusted::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), transparent);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

/* Gold connecting line */
.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(212, 168, 71, 0.1);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--gold);
  position: relative;
  z-index: 2;
}

.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.step__desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.step__badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ============================================================
   WHY MAN — COMPARISON TABLE
   ============================================================ */
.comparison {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.comparison__table-wrap {
  margin-top: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  box-shadow: var(--glow-gold);
}

.comparison__table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison__table thead th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.02);
}

.comparison__table thead th:nth-child(2) {
  color: var(--navy-dark);
  background: var(--gold-gradient);
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-top: 2px solid var(--gold);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  font-size: 1rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.comparison__table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--gray-300);
  vertical-align: top;
  transition: background 0.2s ease;
}

.comparison__table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison__table tbody tr:hover td:nth-child(2) {
  background: rgba(212, 168, 71, 0.1);
}

.comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.comparison__table tbody td:first-child {
  font-weight: 600;
  color: var(--gray-200);
  white-space: nowrap;
}

/* MAN column highlight */
.comparison__table tbody td:nth-child(2) {
  color: var(--white);
  background: rgba(212, 168, 71, 0.06);
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  font-weight: 600;
}

.comparison__table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid var(--gold);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.comparison__table .check {
  color: var(--emerald);
  font-weight: 700;
}

.comparison__table .check::before {
  content: '\2713 ';
  font-weight: 900;
}

.comparison__table .cross {
  color: #EF4444;
  opacity: 0.8;
}

.comparison__table .cross::before {
  content: '\2717 ';
  font-weight: 900;
}

.comparison__table .warning {
  color: #F59E0B;
}

.comparison__table .warning::before {
  content: '\26A0 ';
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 71, 0.35);
  box-shadow: 0 12px 40px rgba(212, 168, 71, 0.15), 0 0 0 1px rgba(212, 168, 71, 0.1);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.product-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-card__features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-card__features li {
  font-size: 0.875rem;
  color: var(--gray-300);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.product-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.product-card__moat {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 100px;
  background: var(--gold-shimmer);
  background-size: 300% auto;
  color: var(--navy-dark);
  border: 1px solid var(--gold);
  margin-bottom: 1rem;
  animation: moatShimmer 3s linear infinite;
  box-shadow: 0 0 16px rgba(212, 168, 71, 0.25);
}

@keyframes moatShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ============================================================
   RAMADAN URGENCY
   ============================================================ */
.ramadan {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--surface) 0%, var(--navy-dark) 50%, var(--surface) 100%);
  overflow: hidden;
}

.ramadan__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0.06;
}

/* Crescent moon SVG */
.ramadan__crescent {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%) rotate(-15deg);
  width: 280px;
  height: 280px;
  opacity: 0.06;
  color: var(--gold);
  filter: drop-shadow(0 0 40px rgba(212, 168, 71, 0.15));
}

.ramadan__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ramadan__countdown {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 2.5rem 0;
}

.ramadan__countdown-item {
  text-align: center;
  background: rgba(212, 168, 71, 0.04);
  border: 1px solid rgba(212, 168, 71, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1rem;
  min-width: 100px;
}

.ramadan__countdown-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(212, 168, 71, 0.2);
  min-width: 2ch;
  display: inline-block;
}

#countdown-seconds {
  animation: secondsPulse 1s ease-in-out infinite;
}

@keyframes secondsPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(212, 168, 71, 0.2); }
  50% { opacity: 0.8; text-shadow: 0 0 50px rgba(212, 168, 71, 0.5); }
}

.ramadan__countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-top: 0.5rem;
  font-weight: 600;
}

.ramadan__colon {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  align-self: flex-start;
  padding-top: 0.15em;
}

.ramadan__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.ramadan__stat {
  font-size: 0.95rem;
  color: var(--gray-300);
}

.ramadan__stat strong {
  color: var(--white);
}

.ramadan__slots {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.ramadan__slots .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.case-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--glow-gold);
}

.case-card:hover::before {
  opacity: 1;
}

.case-card__industry {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.case-card__client {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.case-card__section {
  margin-bottom: 1rem;
}

.case-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 0.3rem;
}

.case-card__text {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.case-card__result .case-card__text {
  color: var(--emerald);
  font-weight: 600;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(212, 168, 71, 0.15), 0 0 80px rgba(212, 168, 71, 0.05);
  background: linear-gradient(180deg, rgba(212, 168, 71, 0.06) 0%, var(--surface-card) 40%);
  transform: scale(1.03);
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--gold-shimmer);
  background-size: 200% auto;
  color: var(--navy-dark);
  border-radius: 100px;
  animation: moatShimmer 3s linear infinite;
  box-shadow: 0 4px 15px rgba(212, 168, 71, 0.3);
  white-space: nowrap;
}

.pricing-card--featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 16px 16px 0 0;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--glow-gold);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 12px 50px rgba(212, 168, 71, 0.25);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pricing-card__range {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.pricing-card__range span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.pricing__dooh {
  margin-top: 2rem;
  text-align: center;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  background: rgba(212, 168, 71, 0.06);
  border: 1px solid var(--border);
}

.pricing__dooh-text {
  font-size: 0.95rem;
  color: var(--gray-300);
}

.pricing__dooh-text strong {
  color: var(--gold);
}

/* ============================================================
   FOR PUBLISHERS
   ============================================================ */
.publishers {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--surface) 0%, var(--navy-dark) 100%);
}

.publishers__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.publishers__benefits {
  list-style: none;
}

.publishers__benefits li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  color: var(--gray-200);
  border-bottom: 1px solid var(--border-subtle);
}

.publishers__benefits li:last-child {
  border-bottom: none;
}

.publishers__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.publishers__stats-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.publishers__stats-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.publishers__stats-text {
  font-size: 1.1rem;
  color: var(--gray-300);
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.about {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.about__text {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.8;
}

.about__text p {
  margin-bottom: 1.5rem;
}

.about__text strong {
  color: var(--white);
}

.about__bbb {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.value-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.value-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.value-card__desc {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact__booking {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.contact__booking-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact__booking-desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.contact__booking-face {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 168, 71, 0.15);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
}

.contact__form {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 71, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--surface-card);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--emerald);
  font-weight: 600;
}

.form__success.visible {
  display: block;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--gold-gradient);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.sticky-cta__btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border: 2px solid var(--navy-dark);
  border-radius: 6px;
  background: transparent;
  color: var(--navy-dark);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.sticky-cta__btn:hover {
  background: var(--navy-dark);
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--gray-300);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.footer__badge svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .how-it-works__steps::before {
    display: none;
  }

  .products__grid,
  .case-studies__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .about__grid,
  .publishers__content,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14, 21, 37, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.25rem;
  }

  .nav__mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero__stats {
    gap: 1.25rem;
  }

  .hero__stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero__ramadan-banner {
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    text-align: center;
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
  }

  .comparison__table {
    font-size: 0.8rem;
  }

  .comparison__table thead th,
  .comparison__table tbody td {
    padding: 0.75rem 0.75rem;
  }

  /* Horizontal scroll hint for comparison table */
  .comparison__table-wrap {
    position: relative;
  }

  .comparison__table-wrap::after {
    content: 'Scroll \2192';
    position: absolute;
    bottom: -1.75rem;
    right: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .ramadan__countdown-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

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

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

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

  .sticky-cta {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
  }

  .sticky-cta__text {
    font-size: 0.75rem;
  }

  /* Prevent sticky CTA from overlapping footer bottom */
  .footer {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn--large {
    width: 100%;
    justify-content: center;
  }

  .ramadan__countdown {
    gap: 0.5rem;
  }

  .ramadan__colon {
    font-size: 1.5rem;
    padding-top: 0.5em;
  }

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

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