/* ═══════════════════════════════════════════════════
   HOW IT WORKS — PAGE STYLES
   Shared base styles are in hangar5.css
═══════════════════════════════════════════════════ */

/* ── HERO ───────────────────────────────────────── */
.hero{
  background:var(--bg-dark);
  position:relative;
  overflow:hidden;
  padding-top:66px;
}
/* override shared .hero-grid-bg mask for this page's centred hero */
.hero-grid-bg{
  mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 30%,transparent 100%);
  pointer-events:none;
}
.hero-inner{
  min-height:calc(80vh - 66px);
  max-width:var(--max);margin:0 auto;
  position:relative;z-index:1;
  padding:0 48px;
}
.hero-left{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;
  padding:80px 0;
  position:relative;z-index:2;
  max-width:680px;margin:0 auto;
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:13px;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--key);margin-bottom:28px;
  opacity:0;animation:fadeUp 0.5s 0.1s forwards;
}
.hero-eyebrow::before{content:'';width:28px;height:1px;background:var(--key)}
.hero h1{
  font-family:var(--fh);
  font-size:clamp(42px,5vw,60px);
  font-weight:800;letter-spacing:-0.04em;line-height:0.95;
  color:#fff;margin-bottom:24px;
  opacity:0;animation:fadeUp 0.6s 0.2s forwards;
}
.hero h1 .accent{color:var(--key)}
.hero h1 .dim{color:rgba(255,255,255,0.25)}
.hero-sub{
  font-size:16px;line-height:1.7;color:rgba(255,255,255,0.42);
  font-weight:300;max-width:420px;margin-bottom:40px;
  opacity:0;animation:fadeUp 0.6s 0.3s forwards;
}
.hero-steps-mini{
  display:flex;gap:0;
  opacity:0;animation:fadeUp 0.6s 0.4s forwards;
}
.mini-step{display:flex;align-items:center;gap:0;}
.mini-step-num{
  width:28px;height:28px;border-radius:50%;
  background:rgba(215,255,17,0.12);border:1px solid rgba(215,255,17,0.3);
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:700;color:var(--key);
  flex-shrink:0;
}
.mini-step-label{font-size:13px;color:rgba(255,255,255,0.45);font-weight:500;letter-spacing:0.04em;padding:0 10px;}
.mini-step-arrow{color:rgba(255,255,255,0.15);font-size:16px;
    padding-right: 5px;
    padding-top: 2px;}

/* ── STEP SECTIONS ──────────────────────────────── */
.step-section{position:relative;overflow:hidden;}
.step-section.dark{background:var(--bg-dark2)}
.step-section.light{background:var(--bg-light)}
.step-inner{
  max-width:var(--max);margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:600px;
  position:relative;
}
.step-section.rev .step-inner{direction:rtl}
.step-section.rev .step-inner > *{direction:ltr}

.step-copy{
  display:flex;flex-direction:column;justify-content:center;
  padding:80px 48px;
  position:relative;z-index:2;
}
.step-section.rev .step-copy{padding:80px 48px}

.step-num-large{
  font-family:var(--fh);
  font-size:120px;font-weight:800;
  letter-spacing:-0.06em;line-height:1;
  color:rgba(215,255,17,0.08);
  position:absolute;top:20px;left:60px;
  pointer-events:none;
  user-select:none;
}
.step-section.rev .step-inner .step-num-large{left:auto;right:60px}
.step-section.light .step-num-large{color:rgba(0,0,0,0.05)}

.step-tag{font-size:12px;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;margin-bottom:16px;display:inline-flex;align-items:center;gap:8px;}
.dark .step-tag{color:var(--key)}
.light .step-tag{color:var(--key-d)}
.step-tag::before{content:'';width:18px;height:1px}
.dark .step-tag::before{background:var(--key)}
.light .step-tag::before{background:var(--key-d)}

.step-copy h2{font-family:var(--fh);font-size:clamp(28px,3vw,44px);font-weight:800;letter-spacing:-0.035em;line-height:1.05;margin-bottom:20px;}
.dark .step-copy h2{color:#fff}
.light .step-copy h2{color:var(--text-dark)}
.dark .step-copy h2 em{font-style:normal;color:var(--key)}
.light .step-copy h2 em{font-style:normal;color:var(--key-d)}

.step-copy p{font-size:16px;line-height:1.72;font-weight:300;max-width:400px;margin-bottom:28px;}
.dark .step-copy p{color:rgba(255,255,255,0.45)}
.light .step-copy p{color:#555550}

.step-bullets{list-style:none;display:flex;flex-direction:column;gap:10px;max-width:380px}
.step-bullets li{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;line-height:1.5;}
.dark .step-bullets li{color:rgba(255,255,255,0.5)}
.light .step-bullets li{color:#555550}
.step-bullets li::before{content:'';width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-top:5px;}
.dark .step-bullets li::before{background:var(--key)}
.light .step-bullets li::before{background:var(--key-d)}

/* ── SCREENSHOT VISUAL PANELS ───────────────────── */
.step-visual{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;}
.step-section.dark .step-visual::before{
  content:'';position:absolute;inset:0;z-index:3;
  background:linear-gradient(to right,var(--bg-dark2) 0%,transparent 18%),
             linear-gradient(to left,var(--bg-dark2) 0%,transparent 10%);
  pointer-events:none;
}
.step-section.rev.dark .step-visual::before{
  background:linear-gradient(to left,var(--bg-dark2) 0%,transparent 18%),
             linear-gradient(to right,var(--bg-dark2) 0%,transparent 10%);
}
.step-section.light .step-visual::before{
  content:'';position:absolute;inset:0;z-index:3;
  background:linear-gradient(to right,var(--bg-light) 0%,transparent 18%),
             linear-gradient(to left,var(--bg-light) 0%,transparent 10%);
  pointer-events:none;
}
.step-section.rev.light .step-visual::before{
  background:linear-gradient(to left,var(--bg-light) 0%,transparent 18%),
             linear-gradient(to right,var(--bg-light) 0%,transparent 10%);
}
.step-visual::after{content:'';position:absolute;bottom:0;left:0;right:0;height:120px;z-index:3;pointer-events:none;}
.step-section.dark .step-visual::after{background:linear-gradient(to top,var(--bg-dark2),transparent)}
.step-section.light .step-visual::after{background:linear-gradient(to top,var(--bg-light),transparent)}

.step-ss{position:absolute;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.08);box-shadow:0 20px 60px rgba(0,0,0,0.5);}
.step-ss img{width:100%;display:block;object-fit:cover;object-position:top left}

.v1-main{width:90%;top:-20px;left:-10px;transform:rotate(2deg) scale(1.02);opacity:0.9}
.v1-chip{
  position:absolute;bottom:80px;right:20px;z-index:4;
  background:var(--key);color:#111;
  font-size:13px;font-weight:700;letter-spacing:0.05em;
  padding:10px 18px;border-radius:4px;
  box-shadow:0 8px 24px rgba(215,255,17,0.4);
}
.v2-main{width:95%;top:10px;left:-5px;transform:rotate(-1.5deg);opacity:0.88}
.v2-overlay{
  position:absolute;bottom:90px;right:15px;z-index:4;
  background:rgba(35,35,35,0.92);
  border:1px solid rgba(215,255,17,0.2);
  border-radius:8px;padding:14px 20px;
  backdrop-filter:blur(10px);
}
.v2-overlay-label{font-size:10px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--key);margin-bottom:6px}
.v2-overlay-val{font-size:22px;font-weight:800;color:#fff;letter-spacing:-0.03em}
.v3-main{width:95%;top:-10px;left:0px;transform:rotate(1.2deg);opacity:0.88}
.v4-main{width:90%;top:10px;left:-8px;transform:rotate(-1.8deg);opacity:0.9}
.v4-badge{
  position:absolute;top:60px;right:20px;z-index:4;
  background:rgba(28,28,28,0.9);
  border:1px solid rgba(215,255,17,0.2);
  border-radius:8px;padding:16px 20px;
  backdrop-filter:blur(12px);
  text-align:center;
}
.v4-badge-num{font-size:36px;font-weight:800;color:var(--key);letter-spacing:-0.04em;line-height:1}
.v4-badge-label{font-size:10px;color:rgba(255,255,255,0.4);font-weight:500;letter-spacing:0.08em;text-transform:uppercase;margin-top:4px}

/* ── REPORTING STRIP ────────────────────────────── */
#reporting-strip{background:var(--bg-dark2);padding:0;overflow:hidden;position:relative}
.reporting-wrap{position:relative;overflow:hidden;min-height:360px}
.reporting-bg{width:100%;display:block;min-height:360px;object-fit:cover;object-position:center}
.reporting-overlay{position:absolute;inset:0;background:linear-gradient(to right,var(--bg-dark2) 0%,rgba(35,35,35,0.6) 50%,var(--bg-dark2) 100%)}
.reporting-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:40px 24px}
.reporting-eyebrow{font-size:13px;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:var(--key);margin-bottom:20px;display:flex;align-items:center;gap:10px}
.reporting-eyebrow span{display:inline-block;width:20px;height:1px;background:var(--key)}
.reporting-h2{font-family:var(--fh);font-size:clamp(28px,4vw,52px);font-weight:800;letter-spacing:-0.04em;color:#fff;margin-bottom:14px;line-height:1.05}
.reporting-h2 .accent{color:var(--key)}
.reporting-p{font-size:15px;color:rgba(255,255,255,0.4);max-width:460px;line-height:1.7;font-weight:300}

/* ── METRICS STRIP ──────────────────────────────── */
#metrics{background:var(--key);padding:56px 0;}
.metrics-inner{max-width:var(--max);margin:0 auto;padding:0 48px;display:grid;grid-template-columns:repeat(3,1fr);gap:0;}
.metric{padding:0 40px;border-right:1px solid rgba(0,0,0,0.12);text-align:center;}
.metric:last-child{border-right:none}
.metric-num{font-family:var(--fh);font-size:56px;font-weight:800;letter-spacing:-0.05em;color:#111;line-height:1;}
.metric-label{font-size:13px;color:rgba(0,0,0,0.55);font-weight:500;margin-top:6px;letter-spacing:0.02em}

/* ── CTA ────────────────────────────────────────── */
#cta{background:var(--bg-dark);padding:120px 0;text-align:center;position:relative;overflow:hidden;}
#cta::before{
  content:'';position:absolute;
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:800px;height:500px;
  background:radial-gradient(ellipse,rgba(215,255,17,0.07) 0%,transparent 70%);
  pointer-events:none;
}
#cta h2{font-family:var(--fh);font-size:clamp(32px,4vw,56px);font-weight:800;letter-spacing:-0.04em;color:#fff;margin-bottom:16px;position:relative;z-index:1;}
#cta h2 em{font-style:normal;color:var(--key)}
#cta p{font-size:16px;color:rgba(255,255,255,0.4);font-weight:300;margin-bottom:40px;max-width:440px;margin-left:auto;margin-right:auto;line-height:1.7;position:relative;z-index:1;}
.cta-btns{display:flex;align-items:center;justify-content:center;gap:14px;position:relative;z-index:1;}

/* ── ANIMATIONS ─────────────────────────────────── */
@keyframes floatA{0%,100%{transform:rotate(-1.5deg) translateY(0)}50%{transform:rotate(-1.5deg) translateY(-14px)}}
@keyframes floatB{0%,100%{transform:rotate(1.2deg) translateY(0)}50%{transform:rotate(1.2deg) translateY(-10px)}}
@keyframes floatC{0%,100%{transform:rotate(-0.8deg) translateY(0)}50%{transform:rotate(-0.8deg) translateY(-12px)}}

/* ── STAGE SVG ──────────────────────────────────── */
.step-stage{
  width:100%;display:flex;align-items:center;justify-content:center;
  padding:16px;
}
.step-stage img{width:100%;max-width:520px;height:auto;display:block;}

/* ── SCREENSHOT PLACEHOLDER ─────────────────────── */
.step-ss-placeholder{
  width:100%;height:100%;min-height:400px;
  background:linear-gradient(135deg,rgba(215,255,17,0.06) 0%,rgba(255,255,255,0.03) 100%);
  border:1px dashed rgba(215,255,17,0.15);
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,0.15);font-size:13px;font-weight:500;
  letter-spacing:0.05em;text-transform:uppercase;
}
.light .step-ss-placeholder{
  background:linear-gradient(135deg,rgba(184,220,0,0.06) 0%,rgba(0,0,0,0.02) 100%);
  border-color:rgba(0,0,0,0.1);
  color:rgba(0,0,0,0.15);
}

@media(max-width:960px){
  .hero-inner{padding:0 24px}
  .hero-left{padding:60px 0;max-width:100%}
  .step-inner,.step-section.rev .step-inner{grid-template-columns:1fr;direction:ltr}
  .step-copy,.step-section.rev .step-copy{padding:60px 24px}
  .step-num-large{font-size:80px}
  .step-visual{min-height:280px}
  /* Remove side-fade gradients when stacked vertically */
  .step-section.dark .step-visual::before,
  .step-section.rev.dark .step-visual::before,
  .step-section.light .step-visual::before,
  .step-section.rev.light .step-visual::before{background:none}
  .metrics-inner{grid-template-columns:1fr;gap:32px;padding:0 24px}
  .metric{border-right:none;border-bottom:1px solid rgba(0,0,0,0.12);padding-bottom:32px}
  .metric:last-child{border-bottom:none}
}

@media(max-width:640px){
  .hero-left{padding:48px 0}
  .hero h1{font-size:clamp(32px,9vw,48px)}
  .hero-steps-mini{flex-wrap:wrap;justify-content:center;gap:8px}
  .step-copy,.step-section.rev .step-copy{padding:44px 20px}
  .step-stage img{max-width:100%}
  .step-visual{min-height:200px}
  #metrics{padding:40px 0}
  .metric-num{font-size:42px}
  #cta{padding:72px 0}
  .cta-btns{flex-direction:column;align-items:center}
}
