/* Al Hakim FX — cinematic home experience */

.page-home {
  background:
    radial-gradient(circle at 82% 18%, rgba(41, 200, 182, .1), transparent 28rem),
    linear-gradient(rgba(106, 216, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 216, 255, .022) 1px, transparent 1px),
    #03131e;
  background-size: auto, 52px 52px, 52px 52px, auto;
}

.page-home main {
  overflow: clip;
}

.home-shell {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

.hakim-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 8vw, 118px) 0 0;
  border-bottom: 1px solid rgba(148, 226, 232, .12);
  background:
    radial-gradient(circle at 78% 10%, rgba(41, 200, 182, .12), transparent 28rem),
    linear-gradient(180deg, rgba(2, 14, 23, .26), rgba(3, 19, 30, .92));
}

.market-motion-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: .66;
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  top: -32rem;
  right: -18rem;
  z-index: -2;
  width: 70rem;
  height: 70rem;
  border-radius: 50%;
  opacity: .42;
  pointer-events: none;
  background: conic-gradient(from 120deg, transparent 0 22%, rgba(41, 200, 182, .26), transparent 42% 67%, rgba(106, 216, 255, .18), transparent 84%);
  filter: blur(70px);
  animation: hero-aurora-drift 16s ease-in-out infinite alternate;
}

@keyframes hero-aurora-drift {
  from { transform: translate3d(0, 0, 0) rotate(-9deg) scale(.95); }
  to { transform: translate3d(-8rem, 7rem, 0) rotate(14deg) scale(1.08); }
}

.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}

.market-hero-copy {
  min-width: 0;
}

.hero-edition {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(106, 216, 255, .2);
  border-radius: 999px;
  color: #c7e4e9;
  background: rgba(5, 35, 52, .62);
  font-size: .74rem;
  font-weight: 800;
}

.hero-edition i,
.live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--brand-strong);
  box-shadow: 0 0 0 5px rgba(41, 200, 182, .08), 0 0 18px rgba(41, 200, 182, .75);
}

.market-hero-copy h1 {
  max-width: 840px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.35rem, 7.3vw, 7rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .92;
}

.market-hero-copy h1 span {
  display: inline-block;
  margin-top: 16px;
  color: var(--brand-strong);
  text-shadow: 0 0 38px rgba(41, 200, 182, .12);
}

.market-hero-copy > p {
  max-width: 720px;
  margin: 30px 0 0;
  color: #bad3d9;
  font-size: clamp(1rem, 1.65vw, 1.16rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.btn.is-hero {
  min-width: 174px;
  min-height: 54px;
  box-shadow: 0 15px 42px rgba(41, 200, 182, .16);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
  padding-top: 23px;
  border-top: 1px solid rgba(148, 226, 232, .12);
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bcd6dc;
  font-size: .8rem;
  font-weight: 700;
}

.hero-proof span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.market-intelligence {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(126, 245, 230, .2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 12%, rgba(68, 236, 212, .14), transparent 24%),
    radial-gradient(circle at 12% 70%, rgba(99, 151, 255, .1), transparent 32%),
    linear-gradient(145deg, rgba(7, 38, 54, .94), rgba(2, 17, 28, .98));
  box-shadow:
    0 38px 110px rgba(0, 7, 13, .46),
    inset 0 1px 0 rgba(255, 255, 255, .055),
    inset 0 0 70px rgba(38, 209, 190, .035);
  isolation: isolate;
}

.market-intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(106, 216, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 216, 255, .026) 1px, transparent 1px);
  background-size: 31px 31px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
}

.market-intelligence::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 6;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(137, 255, 241, .34), transparent 32%, transparent 70%, rgba(107, 198, 255, .16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.market-intelligence-aura {
  position: absolute;
  width: 270px;
  height: 270px;
  top: -160px;
  left: -100px;
  border-radius: 50%;
  background: rgba(67, 235, 213, .16);
  filter: blur(55px);
  animation: intelAura 7s ease-in-out infinite alternate;
}

.intel-head,
.intel-price-row,
.intel-visual,
.intel-stats,
.intel-footer {
  position: relative;
  z-index: 2;
}

.intel-head,
.intel-symbol,
.market-status,
.intel-price-row,
.intel-footer,
.intel-footer span,
.intel-footer a {
  display: flex;
  align-items: center;
}

.intel-head,
.intel-price-row,
.intel-footer {
  justify-content: space-between;
}

.intel-head {
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(133, 233, 232, .12);
}

.intel-symbol {
  gap: 11px;
}

.intel-symbol-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224, 194, 106, .35);
  border-radius: 14px;
  color: #f3d67d;
  background: rgba(224, 194, 106, .07);
  box-shadow: inset 0 0 20px rgba(224, 194, 106, .04);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .72rem;
  font-weight: 900;
}

.intel-symbol > div {
  display: grid;
}

.intel-symbol strong {
  color: #efffff;
  font-size: .92rem;
  letter-spacing: .04em;
}

.intel-symbol small {
  margin-top: 2px;
  color: #6f9aa5;
  font-size: .54rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-status {
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(83, 222, 164, .18);
  border-radius: 999px;
  color: #72eab7;
  background: rgba(83, 222, 164, .055);
  font-size: .61rem;
  font-weight: 900;
}

.market-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(83, 222, 164, .07), 0 0 16px currentColor;
}

.market-status.is-verified {
  color: #e7c870;
  border-color: rgba(231, 200, 112, .2);
  background: rgba(231, 200, 112, .055);
}

.market-status.is-loading {
  color: #73d8ff;
  border-color: rgba(115, 216, 255, .18);
  background: rgba(115, 216, 255, .05);
}

.intel-price-row {
  gap: 20px;
  padding: 25px 0 17px;
}

.intel-price-copy {
  min-width: 0;
  display: grid;
}

.intel-price-copy > span {
  color: #799fab;
  font-size: .62rem;
  font-weight: 800;
}

.intel-price-copy > strong {
  margin-top: 4px;
  color: #f5ffff;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(2.35rem, 4.7vw, 4.1rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1;
  text-shadow: 0 0 32px rgba(82, 230, 210, .1);
}

.intel-price-copy > strong.tick-up {
  color: #76efbd;
  animation: intelTickUp .48s ease;
}

.intel-price-copy > strong.tick-down {
  color: #ff8190;
  animation: intelTickDown .48s ease;
}

.intel-price-copy .price-change {
  margin-top: 8px;
  color: #70e5b5;
  font-size: .66rem;
  font-weight: 900;
}

.intel-price-copy .price-change.is-down {
  color: #ff8190;
}

.intel-neural-seal {
  position: relative;
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #9df9ed;
  background: radial-gradient(circle, rgba(53, 222, 201, .16), transparent 66%);
  filter: drop-shadow(0 0 18px rgba(53, 222, 201, .23));
}

.intel-neural-seal > i {
  font-size: 2rem;
  animation: intelBrain 2.5s ease-in-out infinite;
}

.seal-ring {
  position: absolute;
  border: 1px solid rgba(129, 244, 231, .2);
  border-radius: 50%;
}

.seal-ring-a {
  inset: 5px;
  border-style: dashed;
  animation: intelRotate 10s linear infinite;
}

.seal-ring-b {
  inset: 17px;
  border-color: rgba(115, 216, 255, .16);
  animation: intelRotate 7s linear infinite reverse;
}

.intel-visual {
  height: 170px;
  overflow: hidden;
  border: 1px solid rgba(127, 227, 229, .1);
  border-radius: 19px;
  background:
    linear-gradient(rgba(93, 201, 218, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 201, 218, .04) 1px, transparent 1px),
    rgba(1, 14, 23, .55);
  background-size: 26px 26px;
}

#homeQuoteCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intel-scan-line {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(transparent, rgba(112, 246, 230, .9), transparent);
  box-shadow: 0 0 24px rgba(112, 246, 230, .5);
  animation: intelScan 4.2s linear infinite;
}

.intel-axis {
  position: absolute;
  inset: auto 12px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(124, 182, 192, .55);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .5rem;
  letter-spacing: .12em;
}

.intel-axis b {
  color: rgba(122, 242, 228, .68);
}

.intel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.intel-stats > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(128, 226, 226, .095);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
}

.intel-stats span,
.intel-stats strong {
  display: block;
}

.intel-stats span {
  color: #678d98;
  font-size: .54rem;
}

.intel-stats strong {
  margin-top: 4px;
  overflow: hidden;
  color: #dff8fa;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intel-footer {
  gap: 15px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(133, 233, 232, .1);
}

.intel-footer span,
.intel-footer a {
  gap: 7px;
  color: #799faa;
  font-size: .56rem;
  font-weight: 800;
}

.intel-footer span i {
  color: #68e1cf;
}

.intel-footer a {
  color: #a5fff3;
}

@keyframes intelAura {
  to { transform: translate(80px, 55px) scale(1.16); }
}

@keyframes intelRotate {
  to { transform: rotate(360deg); }
}

@keyframes intelBrain {
  0%, 100% { transform: scale(.92); opacity: .76; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes intelScan {
  from { transform: translateX(-8px); }
  to { transform: translateX(500px); }
}

@keyframes intelTickUp {
  0% { text-shadow: 0 0 0 rgba(82, 222, 164, 0); }
  45% { text-shadow: 0 0 30px rgba(82, 222, 164, .65); }
}

@keyframes intelTickDown {
  0% { text-shadow: 0 0 0 rgba(255, 129, 144, 0); }
  45% { text-shadow: 0 0 30px rgba(255, 129, 144, .58); }
}

.founder-cinema {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3.22 / 1;
  margin-top: clamp(58px, 7vw, 96px);
  border: 1px solid rgba(148, 226, 232, .2);
  border-radius: 30px 30px 0 0;
  background: #08293b;
  box-shadow: 0 34px 100px rgba(0, 8, 15, .38);
}

.founder-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 19, 30, .44), transparent 28%, transparent 72%, rgba(3, 19, 30, .12)),
    linear-gradient(0deg, rgba(2, 15, 24, .82), transparent 54%);
  pointer-events: none;
}

.founder-cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: inherit;
  pointer-events: none;
}

.founder-cinema > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-cinema-overlay {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 48px);
  z-index: 3;
  display: grid;
  max-width: 520px;
}

.founder-cinema-overlay span {
  color: var(--brand-strong);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.founder-cinema-overlay strong {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  line-height: 1.3;
}

.founder-cinema-link {
  position: absolute;
  left: clamp(20px, 3vw, 42px);
  bottom: clamp(20px, 3vw, 42px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 19, 30, .7);
  font-size: .74rem;
  font-weight: 800;
}

.founder-cinema-link i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-950);
  background: var(--brand);
}

.market-tape {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(148, 226, 232, .12);
  background: var(--brand);
}

.market-tape-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 46px;
  padding: 12px 0;
  color: #03202c;
  animation: market-tape-run 28s linear infinite;
}

.market-tape-track span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}

.market-tape-track b {
  margin-inline: 12px;
}

@keyframes market-tape-run {
  to { transform: translate3d(50%, 0, 0); }
}

.home-main {
  display: grid;
  gap: 0;
  padding-bottom: 92px;
}

.home-section {
  position: relative;
  padding-block: clamp(76px, 10vw, 136px);
  border-top: 1px solid rgba(148, 226, 232, .12);
}

.home-section:first-child {
  border-top: 0;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-title.is-display {
  max-width: 860px;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  letter-spacing: -.055em;
  line-height: 1.05;
}

.home-section-heading .section-copy {
  max-width: 390px;
  margin: 0;
  line-height: 1.9;
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
}

.founder-story-media {
  position: relative;
  min-width: 0;
}

.founder-story-media::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: -1;
  width: 46%;
  height: 42%;
  border: 1px solid rgba(41, 200, 182, .55);
  border-radius: 24px;
}

.founder-story-media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  object-fit: cover;
  object-position: 55% center;
  filter: saturate(.9) contrast(1.03);
}

.founder-story-stamp {
  position: absolute;
  left: -22px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px;
  border: 1px solid rgba(148, 226, 232, .22);
  border-radius: 18px;
  color: #fff;
  background: #071f2f;
  box-shadow: 0 22px 55px rgba(0, 8, 15, .32);
}

.founder-story-stamp img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
}

.founder-story-stamp span {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.founder-story-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5.2vw, 5.1rem);
  letter-spacing: -.06em;
  line-height: 1.02;
}

.founder-story-copy h2 span {
  color: var(--brand);
}

.founder-story-copy p {
  margin: 22px 0 0;
  color: var(--text-muted);
  line-height: 2;
}

.founder-story-copy .founder-lead {
  color: #d9edf0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.founder-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
}

.founder-values article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 226, 232, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
}

.founder-values strong {
  color: var(--brand);
  font-size: .7rem;
}

.founder-values span {
  color: #d7ebee;
  font-size: .78rem;
  font-weight: 700;
}

.method-stage::after {
  content: "METHOD";
  position: absolute;
  top: 50%;
  left: -5vw;
  z-index: -1;
  color: rgba(255, 255, 255, .018);
  font-size: clamp(8rem, 24vw, 24rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .7;
  transform: translateY(-50%);
  pointer-events: none;
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-track::before {
  content: "";
  position: absolute;
  top: 48px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 200, 182, .5), transparent);
}

.method-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(148, 226, 232, .14);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(10, 46, 66, .86), rgba(5, 27, 41, .92));
  transition: transform .28s var(--ease), border-color .28s ease;
}

.method-card:hover {
  border-color: rgba(41, 200, 182, .42);
  transform: translateY(-8px);
}

.method-card > span {
  color: var(--brand);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.method-card > i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-top: 34px;
  border: 1px solid rgba(41, 200, 182, .26);
  border-radius: 50%;
  color: var(--brand-strong);
  background: rgba(41, 200, 182, .06);
  font-size: 1.25rem;
}

.method-card h3 {
  margin: auto 0 7px;
  color: #fff;
  font-size: 1.18rem;
}

.method-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
}

.method-card small {
  margin-top: 20px;
  color: #6f9ba5;
  font-size: .66rem;
  font-weight: 700;
}

.live-desk-stage {
  border-radius: 34px;
}

.home-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-live-wrap + .home-live-wrap {
  margin-top: 52px;
}

.home-live-label-row,
.home-live-top,
.home-signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-live-label-row {
  margin-bottom: 16px;
}

.home-live-label-row > span {
  color: #5f909b;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-live-heading {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.home-live-card,
.home-live-empty,
.home-live-gate {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(148, 226, 232, .14);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(9, 43, 62, .8), rgba(4, 26, 40, .9));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.home-live-card {
  position: relative;
  overflow: hidden;
  transition: border-color .22s ease, transform .22s var(--ease);
}

.home-live-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 2px;
  background: var(--brand);
}

.home-live-card:hover {
  border-color: rgba(41, 200, 182, .42);
  transform: translateY(-4px);
}

.home-live-empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  text-align: center;
}

.home-live-badge,
.home-signal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid rgba(148, 226, 232, .14);
  border-radius: 7px;
  color: #c7e0e5;
  background: rgba(255, 255, 255, .035);
  font-size: .67rem;
  font-weight: 800;
}

.home-live-badge.is-vip,
.home-signal-chip.is-vip {
  color: #f4d786;
  border-color: rgba(231, 196, 106, .34);
  background: rgba(231, 196, 106, .08);
}

.home-signal-chip.is-buy,
.home-signal-chip.is-active {
  color: var(--success);
  border-color: rgba(82, 216, 154, .26);
  background: rgba(82, 216, 154, .07);
}

.home-signal-chip.is-sell,
.home-signal-chip.is-ended {
  color: var(--danger);
  border-color: rgba(255, 107, 120, .25);
  background: rgba(255, 107, 120, .07);
}

.home-signal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-signal-live {
  display: grid;
  text-align: left;
}

.home-signal-live-price {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.home-signal-live-label {
  color: var(--brand);
  font-size: .6rem;
  font-weight: 800;
}

.home-signal-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

.home-signal-level {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 226, 232, .08);
  border-radius: 9px;
  background: rgba(3, 19, 30, .35);
}

.home-signal-level.full {
  grid-column: 1 / -1;
}

.home-signal-level .k,
.home-live-meta .k {
  color: var(--text-muted);
  font-size: .67rem;
  font-weight: 700;
}

.home-signal-level .v,
.home-live-meta .v {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.home-live-title {
  margin: 16px 0 12px;
  color: #fff;
  font-size: 1rem;
}

.home-live-row {
  display: flex;
  gap: 8px;
}

.home-live-meta {
  flex: 1;
  display: grid;
  padding: 8px 10px;
  border: 1px solid rgba(148, 226, 232, .08);
  border-radius: 9px;
}

.home-live-desc {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: .79rem;
}

.platform-stage {
  isolation: isolate;
}

.platform-stage::before {
  content: "";
  position: absolute;
  top: 24%;
  right: 50%;
  z-index: -1;
  width: 70vw;
  height: 36rem;
  border-radius: 50%;
  background: rgba(41, 200, 182, .055);
  filter: blur(100px);
  transform: translateX(50%);
}

.service-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-column: span 4;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(148, 226, 232, .14);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 46, 66, .88), rgba(4, 26, 40, .96));
  transition: border-color .28s ease, transform .28s var(--ease), box-shadow .28s ease;
}

.service-card.is-featured,
.service-card.is-visual {
  grid-column: span 8;
}

.service-card.is-featured {
  min-height: 360px;
  background:
    radial-gradient(circle at 20% 12%, rgba(41, 200, 182, .2), transparent 18rem),
    linear-gradient(145deg, #0b4258, #061f30);
}

.service-card.is-visual {
  background:
    linear-gradient(120deg, rgba(4, 26, 40, .78), rgba(4, 26, 40, .96)),
    url("/assets/media/uploads/brand-400.jpg") center 42% / cover;
}

.service-card::after {
  content: "";
  position: absolute;
  left: -28px;
  bottom: -36px;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(41, 200, 182, .16);
  border-radius: 50%;
  transition: transform .34s var(--ease);
}

.service-card:hover {
  border-color: rgba(41, 200, 182, .48);
  box-shadow: 0 24px 60px rgba(0, 9, 16, .28);
  transform: translateY(-7px);
}

.service-card:hover::after {
  transform: scale(1.35);
}

.service-index {
  color: var(--brand);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-top: 26px;
  border: 1px solid rgba(41, 200, 182, .22);
  border-radius: 18px;
  color: var(--brand-strong);
  background: rgba(41, 200, 182, .06);
  font-size: 1.24rem;
}

.service-card h3 {
  margin: auto 0 7px;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.service-card p {
  max-width: 560px;
  margin: 0;
  color: #9fbfc7;
  font-size: .84rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
}

.home-consultation {
  overflow: hidden;
  margin-block: clamp(54px, 8vw, 96px);
  padding: clamp(28px, 5vw, 58px);
  border-color: rgba(41, 200, 182, .3);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 18%, rgba(41, 200, 182, .16), transparent 20rem),
    linear-gradient(145deg, #0a3b50, #061e2f);
}

.home-consultation::after {
  content: "HAKIM";
  position: absolute;
  left: -30px;
  bottom: -90px;
  color: rgba(255, 255, 255, .025);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
}

.home-consultation-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.home-consultation-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4rem);
  letter-spacing: -.045em;
  line-height: 1.15;
}

.home-consultation-lead {
  line-height: 1.95;
}

.consultation-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
}

.consultation-signature img {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  object-fit: cover;
}

.consultation-signature span {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.4;
}

.consultation-signature small {
  color: #8eb5be;
  font-size: .66rem;
  font-weight: 600;
}

.home-consultation-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(148, 226, 232, .15);
  border-radius: 22px;
  background: rgba(3, 19, 30, .48);
}

.home-consultation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-consultation-field {
  display: grid;
  gap: 7px;
}

.home-consultation-status {
  min-height: 26px;
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
}

.home-consultation-status.is-success {
  color: var(--success);
}

.home-consultation-status.is-error {
  color: var(--danger);
}

.trust-stage {
  padding-top: 70px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.partner-card {
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(148, 226, 232, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .022);
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease);
}

.partner-card:hover {
  border-color: rgba(41, 200, 182, .36);
  background: rgba(41, 200, 182, .035);
  transform: translateY(-4px);
}

.partner-card img {
  max-width: 112px;
  max-height: 42px;
  object-fit: contain;
  filter: saturate(.85) brightness(1.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 14px;
}

.home-testimonial-card {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(148, 226, 232, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .024);
  transform: translateY(0) rotate(-1deg);
  transition: transform .25s var(--ease), border-color .25s ease;
}

.home-testimonial-card:nth-child(even) {
  margin-top: 36px;
  transform: rotate(1deg);
}

.home-testimonial-card:hover {
  z-index: 2;
  border-color: rgba(41, 200, 182, .42);
  transform: translateY(-8px) rotate(0);
}

.home-testimonial-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  border-radius: 14px;
  object-fit: cover;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-faq-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(148, 226, 232, .13);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(9, 43, 62, .68), rgba(4, 26, 40, .86));
}

.home-faq-card > span {
  color: var(--brand);
  font-size: .68rem;
  font-weight: 800;
}

.home-faq-card h3 {
  margin: 30px 0 9px;
  color: #fff;
  font-size: 1rem;
}

.home-faq-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
}

.testimonial-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 7, 12, .94);
}

.testimonial-lightbox.is-open {
  display: grid;
}

.testimonial-lightbox img {
  max-width: min(560px, 92vw);
  max-height: 84vh;
  border-radius: 16px;
}

.testimonial-lightbox-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 226, 232, .24);
  border-radius: 50%;
  color: #fff;
  background: var(--ink-800);
  cursor: pointer;
}

.has-reveal-motion .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .65s ease, transform .65s var(--ease);
}

.has-reveal-motion .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1080px) {
  .hero-editorial,
  .founder-story {
    grid-template-columns: 1fr;
  }

  .hero-terminal {
    width: min(720px, 100%);
    transform: none;
  }

  .founder-cinema {
    aspect-ratio: 16 / 6.4;
  }

  .founder-story-media {
    width: min(680px, 100%);
  }

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

  .method-track::before {
    display: none;
  }

  .service-card,
  .service-card.is-featured,
  .service-card.is-visual {
    grid-column: span 6;
  }

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

@media (max-width: 760px) {
  .page-home {
    background-size: auto, 38px 38px, 38px 38px, auto;
  }

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

  .hakim-hero {
    padding-top: 50px;
  }

  .hero-editorial {
    gap: 38px;
  }

  .market-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
    letter-spacing: -.07em;
  }

  .market-hero-copy > p {
    font-size: .94rem;
  }

  .hero-actions > .btn {
    flex: 1 1 150px;
  }

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

  .market-intelligence {
    min-height: 470px;
    padding: 16px;
    border-radius: 25px;
  }

  .intel-head {
    gap: 10px;
  }

  .intel-symbol small {
    display: none;
  }

  .market-status {
    padding: 7px 9px;
    font-size: .55rem;
  }

  .intel-price-copy > strong {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .intel-neural-seal {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .intel-visual {
    height: 145px;
  }

  .intel-stats {
    gap: 6px;
  }

  .intel-stats > div {
    padding: 8px;
  }

  .intel-stats span {
    font-size: .52rem;
  }

  .intel-stats strong {
    font-size: .69rem;
  }

  .intel-footer {
    align-items: flex-start;
    gap: 8px;
  }

  .founder-cinema {
    min-height: 390px;
    aspect-ratio: auto;
    margin-top: 44px;
    border-radius: 24px 24px 0 0;
  }

  .founder-cinema > img {
    object-position: 78% center;
  }

  .founder-cinema::before {
    background: linear-gradient(0deg, rgba(2, 15, 24, .96), transparent 70%);
  }

  .founder-cinema-overlay {
    right: 18px;
    bottom: 72px;
    max-width: calc(100% - 36px);
  }

  .founder-cinema-overlay strong {
    font-size: 1.3rem;
  }

  .founder-cinema-link {
    right: 18px;
    bottom: 16px;
    left: auto;
  }

  .home-section {
    padding-block: 76px;
  }

  .home-section-heading {
    display: grid;
    align-items: start;
  }

  .section-title.is-display {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .founder-story {
    gap: 50px;
  }

  .founder-story-media {
    width: calc(100% - 16px);
  }

  .founder-story-media > img {
    aspect-ratio: 4 / 5.4;
  }

  .founder-story-stamp {
    left: -16px;
    bottom: 22px;
  }

  .founder-story-copy h2 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .founder-values {
    grid-template-columns: 1fr;
  }

  .method-track,
  .home-live-grid,
  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 280px;
  }

  .service-card,
  .service-card.is-featured,
  .service-card.is-visual {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .service-card.is-featured {
    min-height: 320px;
  }

  .home-consultation-shell,
  .home-consultation-form-grid {
    grid-template-columns: 1fr;
  }

  .home-consultation {
    margin-block: 34px 70px;
    padding: 22px;
    border-radius: 24px;
  }

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

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

  .home-testimonial-card {
    grid-column: span 1;
  }

  .home-testimonial-card:nth-child(even) {
    margin-top: 24px;
  }

  .market-tape-track {
    animation-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .market-tape-track {
    animation: none;
  }

  .has-reveal-motion .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
