:root {
  --bg: #07110d;
  --panel: #0d1b15;
  --panel-2: #10261d;
  --ink: #f8f3e8;
  --muted: #a8b4ad;
  --green: #0fb36a;
  --green-soft: #5be49f;
  --gold: #e3b14d;
  --gold-2: #ffcf6e;
  --red: #dc4d4d;
  --line: rgba(248, 243, 232, 0.12);
  --line-strong: rgba(227, 177, 77, 0.34);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(15, 179, 106, 0.18), transparent 34%),
    radial-gradient(circle at 82% 2%, rgba(227, 177, 77, 0.13), transparent 30%),
    linear-gradient(180deg, #07110d 0%, #09150f 42%, #0f1713 100%);
  line-height: 1.75;
}

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

.hero {
  min-height: 100vh;
  padding: 22px clamp(16px, 4vw, 56px) 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0 72%, transparent);
  pointer-events: none;
}

.topbar,
.hero-main,
.section {
  max-width: 1180px;
  margin-inline: auto;
  position: relative;
}

.topbar {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo,
.nav-menu,
.top-cta {
  display: inline-flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-weight: 900;
}

.logo-box {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--gold-2);
  background: rgba(227, 177, 77, 0.08);
  font-family: "Readex Pro", sans-serif;
}

.nav-menu {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-cta {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 7px;
  background: rgba(15, 179, 106, 0.12);
  border: 1px solid rgba(91, 228, 159, 0.26);
  color: var(--green-soft);
  font-weight: 900;
}

.hero-main {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding-top: clamp(54px, 9vw, 112px);
}

.market-badge,
.label {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-weight: 900;
  font-size: 13px;
}

.market-badge span {
  display: inline-block;
  position: relative;
  width: 11px;
  height: 11px;
  margin-left: 7px;
  border-radius: 999px;
  background: var(--green-soft);
  box-shadow: 0 0 0 0 rgba(91, 228, 159, 0.55), 0 0 18px rgba(91, 228, 159, 0.95);
  transform-origin: center;
  vertical-align: middle;
  animation: marketDotBlink 1.05s ease-in-out infinite;
}

.market-badge span::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(91, 228, 159, 0.55);
  background: rgba(91, 228, 159, 0.12);
  animation: marketPulseRing 1.05s ease-out infinite;
  pointer-events: none;
}

@keyframes marketDotBlink {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.72;
    box-shadow: 0 0 8px rgba(91, 228, 159, 0.55), 0 0 0 0 rgba(91, 228, 159, 0.35);
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 20px rgba(91, 228, 159, 1), 0 0 0 6px rgba(91, 228, 159, 0.18);
  }
}

@keyframes marketPulseRing {
  0% {
    transform: scale(0.35);
    opacity: 0.75;
  }
  80%, 100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7.2vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

.subhead {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 7px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-gold,
.btn-final {
  color: #151006;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 42px rgba(227, 177, 77, 0.24);
}

.btn-glass {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-strong);
}

.micro-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.micro-proof span {
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.terminal {
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 38, 29, 0.92), rgba(6, 17, 13, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.terminal-head,
.ticker-strip,
.radar-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.terminal-head {
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  border-radius: 999px;
}

.dot.green { background: var(--green-soft); }
.dot.amber { background: var(--gold); }
.dot.red { background: var(--red); }

.ticker-strip {
  margin-bottom: 12px;
}

.ticker-strip div {
  flex: 1;
  padding: 13px;
  border-radius: 7px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
}

.ticker-strip span {
  display: block;
  color: var(--muted);
  font-family: "Readex Pro", sans-serif;
  font-size: 12px;
}

.ticker-strip b {
  color: var(--green-soft);
}

.pulse-chart {
  height: 292px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 30% 60%, rgba(15,179,106,0.18), transparent 42%),
    #08130f;
  background-size: 100% 25%, 16.66% 100%, 100% 100%, 100% 100%;
}

.line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(227,177,77,0.45);
}

.l1 { top: 30%; }
.l2 { top: 52%; opacity: 0.55; }
.l3 { top: 73%; opacity: 0.35; }

.candle {
  position: absolute;
  bottom: 38px;
  width: 20px;
  border-radius: 4px;
  background: var(--green-soft);
  box-shadow: 0 0 20px rgba(91,228,159,0.2);
}

.candle::after {
  content: "";
  position: absolute;
  left: 9px;
  top: -20px;
  width: 2px;
  height: calc(100% + 40px);
  background: inherit;
  opacity: 0.6;
}

.c1 { right: 12%; height: 82px; }
.c2 { right: 25%; height: 122px; background: var(--gold-2); }
.c3 { right: 38%; height: 76px; }
.c4 { right: 51%; height: 148px; }
.c5 { right: 64%; height: 108px; background: var(--red); }
.c6 { right: 77%; height: 174px; }

.radar-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.radar-list article {
  padding: 13px 14px;
  border-radius: 7px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
}

.radar-list span { color: var(--muted); font-size: 13px; }
.radar-list strong { color: var(--ink); font-size: 14px; }

.sticky-cta {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(227, 177, 77, 0.96);
  color: #151006;
  box-shadow: 0 12px 34px rgba(0,0,0,0.24);
}

.sticky-cta p { margin: 0; }

.btn-mini {
  min-height: 40px;
  padding: 8px 18px;
  color: var(--ink);
  background: var(--bg);
}

.section {
  padding: 92px clamp(16px, 4vw, 56px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.1;
  font-weight: 900;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pain-grid article,
.radar-card,
.signal-list div,
.trust-stats div {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
}

.pain-grid article {
  padding: 26px;
}

.pain-grid b {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-2);
}

.pain-grid h3,
.signal-list h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.pain-grid p,
.radar-copy p,
.signal-list p,
.trust-copy p,
.final p,
.footer p {
  color: var(--muted);
}

.radar {
  max-width: none;
  padding-inline: max(clamp(16px, 4vw, 56px), calc((100vw - 1180px) / 2 + 56px));
  background: linear-gradient(180deg, rgba(15,179,106,0.08), rgba(227,177,77,0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.radar-card {
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at 15% 20%, rgba(91,228,159,0.12), transparent 28%),
    rgba(255,255,255,0.045);
}

.sector-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sector {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.sector span { color: var(--muted); }
.sector strong { font-size: 21px; }
.sector.hot { background: rgba(15,179,106,0.16); border-color: rgba(91,228,159,0.28); }
.sector.wait { background: rgba(227,177,77,0.13); border-color: rgba(227,177,77,0.26); }
.sector.cool { background: rgba(255,255,255,0.05); }

.signal-grid,
.trust-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 36px;
  align-items: center;
}

.phone-shell {
  padding: 18px;
  border: 10px solid #050806;
  border-radius: 30px;
  background: #dbeede;
  box-shadow: var(--shadow);
}

.wa-head {
  margin: -4px -4px 16px;
  padding: 14px;
  border-radius: 17px 17px 8px 8px;
  background: #075e54;
  font-weight: 900;
}

.wa-msg {
  width: 88%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #183125;
  background: #fff;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.wa-msg.mine {
  margin-right: auto;
  background: #d9fdd3;
}

.signal-list {
  display: grid;
  gap: 13px;
}

.signal-list div {
  padding: 22px 24px;
}

.signal-list span {
  color: var(--gold-2);
  font-weight: 900;
}

.trust {
  max-width: none;
  padding-inline: max(clamp(16px, 4vw, 56px), calc((100vw - 1180px) / 2 + 56px));
  background: #f4ead7;
  color: #12100b;
}

.trust-grid {
  max-width: 1180px;
  margin-inline: auto;
}

.trust .label { color: #7a4f11; }
.trust-copy p { color: #665841; }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.trust-stats div {
  padding: 24px;
  background: rgba(255,255,255,0.58);
  border-color: rgba(18,16,11,0.12);
}

.trust-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #0d6b43;
  font-family: "Readex Pro", sans-serif;
  font-size: 38px;
}

.trust-stats span { color: #665841; }

.final {
  text-align: center;
}

.final-inner {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227,177,77,0.14), transparent 38%),
    rgba(255,255,255,0.045);
  box-shadow: var(--shadow);
}

.btn-final {
  min-height: 64px;
  margin-top: 14px;
  padding-inline: 36px;
  font-size: 20px;
}

.footer {
  padding: 34px clamp(16px, 4vw, 56px);
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 760px;
  margin: 8px auto 0;
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav-menu { display: none; }
  .hero-main,
  .radar-card,
  .signal-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }
  .topbar {
    gap: 12px;
  }
  .logo span:last-child {
    max-width: 128px;
    line-height: 1.25;
  }
  .top-cta {
    padding-inline: 12px;
    font-size: 13px;
  }
  h1 {
    font-size: 40px;
  }
  .btn,
  .cta-row {
    width: 100%;
  }
  .terminal {
    padding: 12px;
  }
  .ticker-strip,
  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .sticky-cta {
    gap: 8px;
    padding-block: 10px;
    text-align: center;
  }
  .sticky-cta p {
    font-size: 14px;
  }
  .btn-mini {
    min-height: 38px;
    padding-block: 8px;
  }
  .section {
    padding-block: 66px;
  }
  .sector-board,
  .trust-stats {
    grid-template-columns: 1fr;
  }
  .phone-shell {
    border-width: 7px;
  }
}

@keyframes ctaBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(221, 178, 74, 0), 0 10px 24px rgba(6, 54, 31, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(221, 178, 74, 0.16), 0 18px 38px rgba(6, 54, 31, 0.24); }
}

.btn,
.top-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  animation: ctaBreath 3.6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.btn::before,
.top-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.14) 34%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.14) 66%, transparent 100%);
  transform: translateX(125%);
  transition: transform 0.7s ease;
  z-index: 0;
}

.btn:hover,
.top-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 38px rgba(6, 54, 31, 0.24), 0 0 0 6px rgba(221, 178, 74, 0.14);
  filter: saturate(1.08);
}

.btn:hover::before,
.top-cta:hover::before {
  transform: translateX(-125%);
}

.btn:active,
.top-cta:active {
  transform: translateY(-1px) scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .market-badge span {
    animation: none;
  }
  .btn,
  .top-cta {
    animation: none;
  }
  .btn,
  .btn::before,
  .top-cta,
  .top-cta::before {
    transition: none;
  }
}
