/* ===== Module page styles ===== */

.mod-hero{padding:calc(var(--nav-h) + 80px) 0 100px;position:relative;overflow:hidden}
.mod-hero::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 70% 30%, rgba(255,91,46,0.10) 0%, transparent 55%),
             radial-gradient(circle at 20% 80%, rgba(61,139,255,0.06) 0%, transparent 55%);
  pointer-events:none;z-index:0;
}
.mod-hero__inner{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr 0.9fr;gap:64px;align-items:center}
.mod-hero__left{display:flex;flex-direction:column;gap:24px}

.mod-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 14px;
  background:rgba(255,91,46,0.08);
  border:1px solid rgba(255,91,46,0.25);
  border-radius:99px;
  width:fit-content;
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--edge);
  font-weight:500;
}
.mod-badge__dot{
  width:7px;height:7px;border-radius:50%;background:var(--edge);
  box-shadow:0 0 0 3px rgba(255,91,46,0.18);
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.55}}

.mod-hero__title{
  font-size:clamp(48px,7vw,86px);
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.02;
  color:var(--bone);
}
.mod-hero__sub{
  font-size:clamp(17px,1.6vw,21px);
  color:var(--mute);
  line-height:1.5;
  max-width:560px;
}
.mod-hero__ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}

/* Module card */
.mod-card{
  background:linear-gradient(160deg,#161d2e,#10141f);
  border:1px solid rgba(255,91,46,0.25);
  border-radius:22px;
  padding:36px 32px;
  box-shadow:0 30px 80px -40px rgba(255,91,46,0.4),
             0 0 0 1px rgba(255,91,46,0.08);
  display:flex;flex-direction:column;gap:18px;
}
.mod-card__icon{
  width:64px;height:64px;
  border-radius:14px;
  background:rgba(255,91,46,0.12);
  display:flex;align-items:center;justify-content:center;
  color:var(--edge);
}
.mod-card__icon svg{width:32px;height:32px}
.mod-card__label{
  font-family:'JetBrains Mono',monospace;
  font-size:11px;
  letter-spacing:0.18em;
  color:var(--edge);
  font-weight:500;
}
.mod-card__status{
  font-size:24px;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--bone);
  line-height:1.2;
}
.mod-card__divider{height:1px;background:rgba(255,255,255,0.07);margin:4px 0}
.mod-card__meta{display:flex;flex-direction:column;gap:12px}
.mod-card__row{display:flex;justify-content:space-between;align-items:center;font-size:14px;gap:16px}
.mod-card__k{color:var(--mute)}
.mod-card__v{color:var(--bone);font-weight:500;text-align:right}

/* Features */
.mod-features{padding:80px 0 60px}
.mod-feats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:44px;
}
.mod-feat{
  background:var(--slate);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:28px 26px;
  display:flex;flex-direction:column;gap:12px;
  transition:transform .35s var(--ease),border-color .35s var(--ease),box-shadow .35s var(--ease);
}
.mod-feat:hover{
  transform:translateY(-4px);
  border-color:rgba(255,91,46,0.35);
  box-shadow:0 24px 60px -28px rgba(255,91,46,0.35);
}
.mod-feat__icon{
  width:44px;height:44px;
  border-radius:11px;
  background:rgba(255,91,46,0.10);
  color:var(--edge);
  display:flex;align-items:center;justify-content:center;
}
.mod-feat__icon svg{width:22px;height:22px}
.mod-feat__title{font-size:17px;font-weight:700;color:var(--bone);letter-spacing:-.01em}
.mod-feat__body{font-size:14.5px;color:var(--mute);line-height:1.5}

/* Unified */
.mod-unified{padding:60px 0 80px}
.unified-card{
  background:var(--slate);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:22px;
  padding:56px 48px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.unified-card__left{display:flex;flex-direction:column;gap:18px}
.unified-card__left .section__title{font-size:clamp(32px,4vw,46px)}
.mod-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.mod-pill{
  padding:14px 22px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:99px;
  color:var(--bone);
  font-weight:600;
  font-size:15px;
  letter-spacing:-.01em;
  text-decoration:none;
  transition:all .25s var(--ease);
}
.mod-pill:hover{
  background:rgba(255,91,46,0.10);
  border-color:rgba(255,91,46,0.4);
  color:var(--edge);
}
.mod-pill.current{
  background:var(--edge);
  border-color:var(--edge);
  color:var(--bone);
  pointer-events:none;
}

/* Closing */
.mod-closing{
  padding:100px 0 120px;
  text-align:center;
  background:linear-gradient(180deg,transparent,rgba(255,91,46,0.04));
}
.mod-closing .closing__title{
  font-size:clamp(40px,6vw,72px);
  font-weight:800;
  letter-spacing:-.035em;
  color:var(--bone);
  line-height:1.05;
}
.mod-closing .closing__sub{
  color:var(--mute);
  font-size:18px;
  margin:18px 0 36px;
}

/* Responsive */
@media (max-width:900px){
  .mod-hero__inner{grid-template-columns:1fr;gap:48px}
  .mod-feats{grid-template-columns:1fr}
  .unified-card{grid-template-columns:1fr;padding:36px 28px;gap:32px}
  .mod-pills{justify-content:flex-start}
}
@media (max-width:640px){
  .mod-hero{padding:calc(var(--nav-h) + 48px) 0 64px}
  .mod-hero__ctas{flex-direction:column;align-items:stretch}
  .mod-hero__ctas .btn{width:100%;text-align:center}
}
