/* ═══════════════════════════════════════════════════════
   GDATA GROUP — homepage.css
   Scope: Homepage sections (hero, resilience, ecosystem,
          capability, stats, roadmap, trust, CTA).
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   0. SHARED LAYOUT / TYPOGRAPHY
   ───────────────────────────────────────────────────── */
.hp-container {
  max-width: 100%;
  margin: 0 62px;
  padding: 0 40px;
}

.hp-accent {
  background: linear-gradient(90deg, #06F 0%, #00F0FF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk";
}

.hp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.hp-section-head--left {
  text-align: left;
  max-width: 100%;
  margin: 0 0 40px;
}

.hp-eyebrow {
  color: #48D6FF;
  font-family: "Space Grotesk";
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hp-section-title {
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 48px;
  margin: 0 0 16px;
}

.hp-section-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* ─────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────── */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 30px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "Space Grotesk";
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.hp-btn-primary {
  background: #0D59F2;
  color: #FFF;
  box-shadow: 0 0 24px rgba(13, 89, 242, 0.45);
}
.hp-btn-primary:hover {
  background: #3D7FFF;
  color: #FFF;
  transform: translateY(-1px);
}

.hp-btn-outline {
  background: transparent;
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.20);
}
.hp-btn-outline:hover {
  border-color: #3D7FFF;
  color: #FFF;
  background: rgba(13, 89, 242, 0.08);
}

.hp-btn-light {
  background: #FFF;
  color: #020C1B;
}
.hp-btn-light:hover {
  background: #3D7FFF;
  color: #fff;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  padding: 80px 40px 96px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 14, 27, 0.55) 0%, rgba(2, 6, 23, 0.75) 100%),
    radial-gradient(ellipse at top,    rgba(98, 0, 234, 0.22), transparent 55%),
    radial-gradient(ellipse at center, rgba(13, 89, 242, 0.16), transparent 60%),
    url("../assets/images/e423b4bb1280efe0f9b847a3064a71bee1333d53.gif") center / cover no-repeat,
    #0A0E1B;
  overflow: hidden;
}

.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}

.hp-hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(13, 89, 242, 0.18);
  border: 1px solid rgba(13, 89, 242, 0.35);
  color: #00F0FF;
  font-family: "Space Grotesk";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hp-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00C8D4;
  box-shadow: 0 0 8px #00C8D4;
}

.hp-hero-title {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 96px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.hp-hero-tagline {
  color: #00F0FF;
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.hp-hero-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 32px;
}

.hp-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════
   2. BUILT FOR RESILIENCE
   ═══════════════════════════════════════════════════ */
.hp-resilience {
  padding: 96px 0;
}

.hp-resilience-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.hp-resilience-left {
  padding-right: 75px;
}

.hp-resilience-right {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.hp-stats-row {
  display: flex;
  gap: 64px;
  margin-top: 32px;
}

.hp-stat-value {
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.hp-stat-label {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hp-future {
  margin-top: 36px;
  padding-left: 20px;
  border-left: 2px solid #48D6FF;
}

.hp-future-title {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hp-future-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.hp-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 30px 30px;
  border-radius: 16px;
  border: 1px solid rgba(13, 89, 242, 0.25);
  background: rgba(13, 89, 242, 0.06);
  backdrop-filter: blur(8px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hp-feature-card:hover {
  border-color: rgba(13, 89, 242, 0.55);
  transform: translateY(-2px);
}

.hp-feature-card--cyan {
  margin-top: 50px;
  border-color: rgba(0, 200, 212, 0.25);
  background: rgba(0, 200, 212, 0.06);
}
.hp-feature-card--cyan:hover {
  border-color: rgba(0, 200, 212, 0.55);
}

.hp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(13, 89, 242, 0.18);
  color: #3D7FFF;
  font-size: 20px;
  margin-bottom: 16px;
}
.hp-feature-card--cyan .hp-feature-icon {
  background: rgba(0, 200, 212, 0.18);
  color: #00C8D4;
}

.hp-feature-title {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hp-feature-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 14px;
  line-height: 22px;
  margin: 0;
}

/* ════════════════════════════════════════════════════
   3. CONNECTED ECOSYSTEM
   ═══════════════════════════════════════════════════ */
.hp-ecosystem {
  padding: 90px 0;
}

.hp-eco-map {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  min-height: 540px;
}

.hp-eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hp-eco-lines line {
  stroke: #94a3b861;
  stroke-width: 1;
}

.hp-eco-dot         { filter: drop-shadow(0 0 6px currentColor); }
.hp-eco-dot--cyan   { fill: #00F0FF; color: rgba(0, 240, 255, 0.85); }
.hp-eco-dot--blue   { fill: #3D7FFF; color: rgba(61, 127, 255, 0.85); }
.hp-eco-dot--purple { fill: #A855F7; color: rgba(168, 85, 247, 0.85); }
.hp-eco-dot--green  { fill: #10B981; color: rgba(16, 185, 129, 0.85); }
.hp-eco-dot--gray   { fill: #647068; color: rgba(101, 104, 113, 0.85); }

/* Core hub */
.hp-eco-hub {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 256px;
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 240, 255, 0.75);
  background: rgba(15, 23, 42, 0.80);
  box-shadow: 0 0 60px 0 rgba(37, 99, 235, 0.25);
  backdrop-filter: blur(6px);
}

.hp-eco-hub-inner {
  text-align: center;
  color: #FFF;
}

.hp-eco-hub-inner i,
.hp-eco-hub-icon {
  display: block;
  margin: 0 auto 12px;
  font-size: 36px;
  color: #00F0FF;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}
.hp-eco-hub-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hp-eco-hub-title {
  color: #FFF;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hp-eco-hub-sub {
  color: #00C8D4;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-top: 4px;
}

/* Surrounding nodes — shared base */
.hp-eco-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 280px;
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.92));
  z-index: 1;
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.hp-eco-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

/* Position + border colour per node, merged (was duplicated) */
.hp-eco-node--tl     { top: 60px;   left: 0;   border: 1px solid rgba(0, 240, 255, 0.80); }
.hp-eco-node--tr     { top: 60px;   right: 0;  border: 1px solid rgba(168, 85, 247, 0.80); }
.hp-eco-node--bl     { bottom: 130px; left: 0; border: 1px solid rgba(0, 102, 255, 0.80); }
.hp-eco-node--br     { bottom: 130px; right: 0; border: 1px solid rgba(16, 185, 129, 0.80); }
.hp-eco-node--bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(189, 189, 189, 0.50);
}
.hp-eco-node--bottom:hover {
  transform: translateX(-50%) translateY(-2px);
}

.hp-eco-node-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #3D7FFF;
  font-size: 20px;
}

/* Per-node icon tints (match the connector dots) */
.hp-eco-node--tl     .hp-eco-node-icon { color: #00F0FF; background: rgba(0, 240, 255, 0.10); }
.hp-eco-node--tr     .hp-eco-node-icon { color: #A855F7; background: rgba(168, 85, 247, 0.10); }
.hp-eco-node--bl     .hp-eco-node-icon { color: #3D7FFF; background: rgba(61, 127, 255, 0.10); }
.hp-eco-node--br     .hp-eco-node-icon { color: #10B981; background: rgba(16, 185, 129, 0.10); }
.hp-eco-node--bottom .hp-eco-node-icon { color: #647068; background: rgba(100, 112, 104, 0.10); }

.hp-eco-node-title {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.hp-eco-node-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 12px;
  line-height: 1.45;
}

/* ════════════════════════════════════════════════════
   4. INFRASTRUCTURE CAPABILITY
   ═══════════════════════════════════════════════════ */
.hp-capability {
  padding: 96px 0;
}

.hp-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hp-cap-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at top, rgba(13, 89, 242, 0.08), transparent 60%),
    rgba(7, 14, 28, 0.85);
  backdrop-filter: blur(8px);
}

.hp-cap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hp-cap-card-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 24px;
  font-weight: 700;
}

.hp-cap-title-icon {
  flex-shrink: 0;
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hp-cap-tag {
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  color: #3D7FFF;
  font-family: "Space Grotesk";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* ── Multi-Layer Security list ─────────────────────── */
.hp-cap-layers {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-cap-layers::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-left: 1px dashed #334155;
}

.hp-cap-layers li {
  position: relative;
  padding: 18px 44px 18px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.hp-cap-layers li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -42px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #475569;
  background: #0B1220;
  transform: translateY(-50%);
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.hp-cap-layers li.is-active,
.hp-cap-layers li:hover {
  border-color: rgba(61, 127, 255, 0.55);
  background: rgba(13, 89, 242, 0.10);
  box-shadow: 0 0 24px rgba(13, 89, 242, 0.15);
}
.hp-cap-layers li.is-active::before {
  background: #3D7FFF;
  border-color: #3D7FFF;
  box-shadow: 0 0 0 4px rgba(61, 127, 255, 0.20), 0 0 12px rgba(61, 127, 255, 0.8);
}

.hp-cap-layer-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.hp-cap-step,
.hp-cap-name {
  color: #FFF;
  font-family: "Space Grotesk";
  font-weight: 700;
}
.hp-cap-step { font-size: 12px; }
.hp-cap-name { font-size: 14px; }

.hp-cap-layer-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 13px;
  line-height: 1.5;
}

.hp-cap-layers li.is-active .hp-cap-step,
.hp-cap-layers li.is-active .hp-cap-name,
.hp-cap-layers li.is-active .hp-cap-layer-desc {
  color: #3D7FFF;
}

.hp-cap-chev {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.45;
  transition: opacity var(--dur) var(--ease);
}
.hp-cap-layers li.is-active .hp-cap-chev { opacity: 1; }

/* ── Backup & Disaster Recovery ────────────────────── */
.hp-bdr {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
}

.hp-bdr-site {
  position: relative;
  padding: 28px 18px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 23, 42, 0.70);
  text-align: center;
}

.hp-bdr-site-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  background: #0B1221;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #CBD5E1;
  font-family: "Space Grotesk";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.hp-bdr-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.hp-bdr-icon--cyan {
  /* Distinguish the DR replica icon with a hue shift (img inherits no color) */
  filter: hue-rotate(35deg) saturate(1.2);
}

.hp-bdr-site-title {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-weight: 700;
}

.hp-bdr-site-sub {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hp-bdr-link {
  text-align: center;
  min-width: 120px;
}

.hp-bdr-link-label {
  color: #3D7FFF;
  font-family: "Space Grotesk";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  margin-bottom: 8px;
}

.hp-bdr-link-bar {
  height: 2px;
  border-radius: 2px;
  background: #3D7FFF;
}

.hp-bdr-link-pulse {
  color: #3D7FFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-top: 6px;
}

.hp-bdr-targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 10px;
}

.hp-bdr-target {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
}

.hp-bdr-target-label {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 11px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.hp-bdr-target-value {
  color: #22C55E;
  font-family: "Space Grotesk";
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.hp-bdr-target-bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.hp-bdr-target-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #16A34A, #22C55E);
  border-radius: 4px;
}

/* ════════════════════════════════════════════════════
   5. NUMBERS / STATS
   ═══════════════════════════════════════════════════ */
.hp-numbers {
  padding: 80px 0;
  background: linear-gradient(90deg, rgba(2, 4, 8, 0.45) 0%, rgba(2, 4, 8, 0.00) 50%, rgba(2, 4, 8, 0.45) 100%);
}

.hp-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.hp-num-value {
  background: linear-gradient(270deg, #64748B 0%, #FFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk";
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hp-num-value span { color: #00C8D4; }

.hp-num-label {
  color: #0066FF;
  font-family: "Space Grotesk";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.20em;
}

/* ════════════════════════════════════════════════════
   6. ROADMAP
   ═══════════════════════════════════════════════════ */
.hp-roadmap {
  padding: 96px 0;
  background: url(../assets/images/Section-3.png) #00000085 50% / cover no-repeat;
}

.hp-roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 36px;
}

.hp-roadmap-line {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(13, 89, 242, 0.7) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}

.hp-milestone {
  position: relative;
  padding-top: 36px;
}

.hp-milestone-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3D7FFF;
  box-shadow: 0 0 0 4px rgba(61, 127, 255, 0.20), 0 0 12px rgba(61, 127, 255, 0.8);
}

.hp-milestone:hover .hp-milestone-dot   { background: #00F0FF; }
.hp-milestone:hover .hp-milestone-title { color: #00F0FF; }

.hp-milestone-year {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.hp-milestone-title {
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hp-milestone-desc {
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ════════════════════════════════════════════════════
   7. TRUST
   ═══════════════════════════════════════════════════ */
.hp-trust {
  padding: 64px 0;
  background: linear-gradient(90deg, rgba(2, 4, 8, 0.45) 0%, rgba(2, 4, 8, 0.00) 50%, rgba(2, 4, 8, 0.45) 100%);
}

.hp-trust-label {
  text-align: center;
  font-family: "Space Grotesk";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

/* Marquee viewport — clips the track and adds soft edge fades */
.hp-trust-grid {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  mask-image: linear-gradient(90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%);
}

.hp-trust-grid.is-dragging {
  cursor: grabbing;
}

/* Track holds Set A + duplicated Set B (12 items total).
   Translating −50% lands the start of Set B exactly where
   Set A started — so the loop is seamless. */
.hp-trust-track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: max-content;
  animation: hp-trust-scroll 10s linear infinite;
  will-change: transform;
}

.hp-trust-grid:hover .hp-trust-track {
  animation-play-state: paused;
}

@keyframes hp-trust-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hp-trust-track { 
    /* animation: none;  */
  }
}

.hp-trust-logo {
  flex: 0 0 auto;
  text-align: center;
  padding: 20px 25px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hp-trust-logo:hover {
  color: #FFF;
  border-color: rgba(13, 89, 242, 0.40);
}

/* ════════════════════════════════════════════════════
   8. CTA
   ═══════════════════════════════════════════════════ */
.hp-cta {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(90deg, rgba(2, 4, 8, 0.45) 0%, rgba(2, 4, 8, 0.00) 50%, rgba(2, 4, 8, 0.45) 100%);
}

.hp-cta-title {
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 32px;
}

.hp-cta-desc {
  color: #94A3B8;
  font-family: "Space Grotesk";
  font-size: 20px;
  margin-bottom: 32px;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 991px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hp-container { padding: 0 24px; }

  /* Hero */
  .hp-hero { padding: 64px 24px 80px; }
  .hp-hero-title { font-size: clamp(32px, 6vw, 48px); }

  /* Resilience: stack two columns into one */
  .hp-resilience { padding: 72px 0; }
  .hp-resilience-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hp-resilience-right { gap: 14px; }

  /* Ecosystem: switch from radial map to a vertical stack */
  .hp-ecosystem { padding: 72px 0; }
  .hp-eco-map {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-height: auto;
    max-width: 560px;
  }
  .hp-eco-lines { display: none; }

  .hp-eco-hub {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 8px auto 16px;
  }

  .hp-eco-node,
  .hp-eco-node--tl,
  .hp-eco-node--tr,
  .hp-eco-node--bl,
  .hp-eco-node--br,
  .hp-eco-node--bottom {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    padding: 25px;
    margin-bottom: 20px;
  }
  .hp-eco-node--bottom:hover { transform: translateY(-2px); }

  /* Capability: stack cards */
  .hp-capability { padding: 72px 0; }
  .hp-cap-grid { grid-template-columns: 1fr; }

  /* Numbers: 2 x 2 */
  .hp-numbers { padding: 56px 0; }
  .hp-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .hp-num-value { font-size: 44px; }

  /* Roadmap: 1 column vertical */
  .hp-roadmap { padding: 72px 0; }
  .hp-roadmap-track {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 12px;
  }

  .hp-roadmap .hp-section-head--left { text-align: center; }
  .hp-roadmap .hp-section-head--left .hp-section-title,
  .hp-roadmap .hp-section-head--left .hp-accent { font-size: 30px; }

  .hp-roadmap-line,
  .hp-milestone-dot { display: none; }

  article.hp-milestone {
    padding: 0 0 0 28px;
    border-left: 2px solid #334155;
  }
  article.hp-milestone.active,
  article.hp-milestone:hover { border-left: 2px solid #00F0FF; }
  article.hp-milestone.active .hp-milestone-title,
  article.hp-milestone:hover .hp-milestone-title { color: #00F0FF; }

  /* Trust: 3 columns */
  .hp-trust { padding: 48px 0; }
  .hp-trust-logo { min-width: 150px; }

  /* CTA */
  .hp-cta { padding: 72px 0; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 575px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 575px) {
  .hp-container {
    padding: 0 24px;
    margin: 0;
  }

  /* Hero */
  .hp-hero { padding: 48px 16px 64px; }
  .hp-hero-title,
  .hp-hero-title .hp-accent { font-size: 36px; }
  .hp-hero-tagline,
  .hp-hero-desc { font-size: 14px; }
  .hp-btn { width: 100%; }
  .hp-btn-outline { background: rgba(255, 255, 255, 0.05); }

  /* Section titles */
  .hp-section-title,
  .hp-accent { font-size: 30px; }
  .hp-section-desc { font-size: 14px; }

  /* Resilience */
  .hp-resilience { padding: 56px 0; }
  .hp-resilience-left { padding-right: 0; }
  .hp-resilience-right {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .hp-stats-row { gap: 32px; }
  .hp-stat-value { font-size: 36px; }

  .hp-feature-card,
  .hp-feature-card--cyan {
    margin-top: 0;
    width: 100%;
    padding: 30px;
    align-items: center;
    text-align: center;
  }
  .hp-feature-icon { margin-left: auto; margin-right: auto; }

  /* Ecosystem */
  .hp-ecosystem { padding: 56px 0; }
  .hp-eco-node { width: 100%; }

  /* Capability */
  .hp-capability { padding: 56px 0; }
  .hp-cap-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hp-bdr-link {
    min-width: auto;
    margin: 6px 0;
  }
  .hp-bdr-site-sub { font-size: 10px; }
  .hp-bdr-targets { grid-template-columns: 1fr; }

  /* Numbers stay 2x2 */
  .hp-num-value { font-size: 40px; }

  /* Roadmap */
  .hp-milestone-year { font-size: 28px; }

  /* Trust: 2 columns */
  .hp-trust-logo { min-width: 130px; padding: 14px 10px; font-size: 12px; }
  .hp-trust-track { gap: 20px; animation-duration: 15s; }

  /* CTA */
  .hp-cta { padding: 56px 0; }
  .hp-cta-title { font-size: 30px; }
  .hp-cta-desc { font-size: 14px; }
  .hp-btn-light { width: auto; }
}

/* ════════════════════════════════════════════════════
   SCROLL-REVEAL TUNING — resilience / ecosystem / capability
   The shared `.revealed { transform: none !important }` would
   (a) un-center the transform-positioned eco hub & bottom node and
   (b) cancel the cards'/nodes' hover-lift. Fade those two via
   opacity only, and restore the hover-lift on revealed elements.
   ═══════════════════════════════════════════════════════ */

/* Restore hover-lift on revealed cards / corner nodes (safe in both layouts) */
.hp-feature-card.revealed:hover     { transform: translateY(-2px) !important; }
.hp-eco-node.revealed:hover         { transform: translateY(-2px) !important; }

/* Desktop only: the eco hub & bottom node are positioned with transform.
   Keep that transform through the reveal (fade only). On ≤991px they are
   position:relative with transform:none, so these must NOT apply there. */
@media (min-width: 992px) {
  .js-on .hp-eco-hub.reveal           { opacity: 0; transform: translate(-50%, -50%); }
  .hp-eco-hub.revealed                { transform: translate(-50%, -50%) !important; }

  .js-on .hp-eco-node--bottom.reveal  { opacity: 0; transform: translateX(-50%); }
  .hp-eco-node--bottom.revealed       { transform: translateX(-50%) !important; }
  .hp-eco-node--bottom.revealed:hover { transform: translateX(-50%) translateY(-2px) !important; }
}

