/*--------------------------------------------------------------
# EarthID Enterprise Product Page
--------------------------------------------------------------*/
:root {
  --earthid-navy: #071a33;
  --earthid-blue: #0d2f5f;
  --earthid-blue-soft: #123f7a;
  --earthid-cyan: #7dd3fc;
  --earthid-gold: #f6c453;
  --earthid-gold-dark: #d89b1f;
  --earthid-ink: #102033;
  --earthid-muted: #64748b;
  --earthid-border: rgba(15, 23, 42, 0.1);
  --earthid-surface: #f7f9fc;
  --earthid-font: 'Inter', 'Raleway', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.earthid-page {
  background: #ffffff;
  color: var(--earthid-ink);
  font-family: var(--earthid-font);
}

.earthid-page #main {
  margin-top: 0;
}

.earthid-page .scrollbar {
  height: auto;
}

/* ─── Header ────────────────────────────────────────────── */
.earthid-header,
.earthid-header.header-scrolled {
  background: rgba(7, 26, 51, 0.95) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 35px rgba(7, 26, 51, 0.18);
}

.earthid-header.header-transparent {
  background: rgba(7, 26, 51, 0.72) !important;
}

.earthid-page .navbar a,
.earthid-page .navbar a:focus {
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-left: 4px;
  padding: 9px 12px;
  font-family: var(--earthid-font);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.earthid-page .navbar a:hover,
.earthid-page .navbar .active,
.earthid-page .navbar .active:focus,
.earthid-page .navbar li:hover > a {
  background: rgba(246, 196, 83, 0.12);
  color: #ffffff;
  border-radius: 8px;
}

.earthid-nav-cta {
  border: 1px solid rgba(246, 196, 83, 0.6) !important;
  border-radius: 999px !important;
  color: var(--earthid-gold) !important;
  padding: 8px 18px !important;
}

.earthid-nav-cta:hover {
  background: var(--earthid-gold) !important;
  color: var(--earthid-navy) !important;
}

/* ─── Hero ───────────────────────────────────────────────── */
.earthid-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 150px 0 100px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(246, 196, 83, 0.18), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(125, 211, 252, 0.22), transparent 30%),
    linear-gradient(135deg, #05101f 0%, #0b2446 52%, #071a33 100%);
}

.earthid-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 76%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 76%);
}

.earthid-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.48;
  animation: earthidFloat 9s ease-in-out infinite;
  pointer-events: none;
}

.earthid-hero-orb-one {
  width: 260px;
  height: 260px;
  right: 7%;
  top: 16%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.22), transparent);
}

.earthid-hero-orb-two {
  width: 180px;
  height: 180px;
  left: 6%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(246, 196, 83, 0.18), transparent);
  animation-delay: -3.5s;
}

@keyframes earthidFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -22px, 0); }
}

/* ─── Eyebrow & Kicker ───────────────────────────────────── */
.earthid-eyebrow,
.earthid-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--earthid-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--earthid-font);
}

.earthid-eyebrow::before,
.earthid-section-kicker::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ─── Hero Typography ────────────────────────────────────── */
.earthid-hero h1 {
  margin: 0 0 24px;
  max-width: 740px;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.97;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-family: var(--earthid-font);
}

.earthid-hero-copy {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17.5px;
  line-height: 1.78;
}

/* ─── Badges ─────────────────────────────────────────────── */
.earthid-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.earthid-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.earthid-badges span i {
  font-size: 14px;
  color: var(--earthid-gold);
}

/* ─── Hero Buttons ───────────────────────────────────────── */
.earthid-hero-actions,
.earthid-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.earthid-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--earthid-font);
  transition: all 0.22s ease;
  cursor: pointer;
  text-decoration: none;
}

.earthid-btn-primary {
  color: #071a33;
  background: var(--earthid-gold);
  box-shadow: 0 14px 34px rgba(246, 196, 83, 0.3);
}

.earthid-btn-primary:hover {
  color: #071a33;
  background: #ffd776;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(246, 196, 83, 0.38);
}

.earthid-btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.earthid-btn-secondary:hover {
  color: var(--earthid-gold);
  border-color: rgba(246, 196, 83, 0.5);
  transform: translateY(-2px);
}

.earthid-btn-link {
  color: rgba(255, 255, 255, 0.82);
  padding-left: 8px;
  padding-right: 8px;
  font-size: 14px;
}

.earthid-btn-link:hover {
  color: var(--earthid-gold);
}

.earthid-btn-outline-navy {
  color: var(--earthid-navy);
  border: 1.5px solid rgba(7, 26, 51, 0.22);
  background: transparent;
  font-size: 14px;
}

.earthid-btn-outline-navy:hover {
  color: var(--earthid-navy);
  background: rgba(7, 26, 51, 0.06);
  border-color: rgba(7, 26, 51, 0.35);
  transform: translateY(-2px);
}

.earthid-btn-gold {
  color: #071a33;
  background: var(--earthid-gold);
  box-shadow: 0 14px 34px rgba(246, 196, 83, 0.25);
}

.earthid-btn-gold:hover {
  color: #071a33;
  background: #ffd776;
  transform: translateY(-2px);
}

/* ─── Hero Metrics ───────────────────────────────────────── */
.earthid-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 680px;
}

.earthid-hero-metrics div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.earthid-hero-metrics strong,
.earthid-hero-metrics span {
  display: block;
}

.earthid-hero-metrics strong {
  color: var(--earthid-gold);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  font-family: var(--earthid-font);
}

.earthid-hero-metrics span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ─── Orbital Hero Visualization ────────────────────────── */
.eo-orbital {
  position: relative;
  aspect-ratio: 560 / 480;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  user-select: none;
}

.eo-orbital-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eo-core-pulse {
  animation: eoCoreAura 3.2s ease-in-out infinite;
  transform-origin: 280px 248px;
}

@keyframes eoCoreAura {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.18); }
}

.eo-line {
  animation: eoLineDash 14s linear infinite;
}

@keyframes eoLineDash {
  to { stroke-dashoffset: -126; }
}

.eo-core {
  position: absolute;
  top: 51.67%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 32.14%;      /* 180/560 */
  min-height: 23%;    /* 110/480 */
  padding: 20px 14px 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06));
  border: 1.5px solid rgba(246, 196, 83, 0.45);
  border-radius: 22px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 0 0 8px rgba(246, 196, 83, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
  color: #ffffff;
  z-index: 3;
}

.eo-core-mark {
  display: grid;
  place-items: center;
  width: clamp(74px, 8.6vw, 92px);
  height: clamp(74px, 8.6vw, 92px);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.9));
  border: 1px solid rgba(23, 61, 102, 0.18);
  box-shadow:
    0 10px 28px rgba(6, 17, 36, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.eo-core img {
  height: clamp(56px, 6.8vw, 70px);
  width: clamp(56px, 6.8vw, 70px);
  object-fit: contain;
}

.eo-core strong {
  display: block;
  font-size: clamp(11px, 1.8vw, 15px);
  font-weight: 800;
  line-height: 1.25;
  font-family: var(--earthid-font);
}

.eo-core small {
  display: block;
  font-size: clamp(9px, 1.3vw, 12px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.eo-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 22%;           /* ~123/560 */
  min-height: 18%;      /* ~86/480 */
  padding: 12px 8px;
  background: rgba(5, 16, 31, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eo-node:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.eo-node i {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--earthid-cyan);
}

.eo-node span {
  font-size: clamp(9px, 1.4vw, 12.5px);
  font-weight: 700;
  line-height: 1.3;
  font-family: var(--earthid-font);
}

.eo-node-gold {
  border-color: rgba(246, 196, 83, 0.35);
}

.eo-node-gold i {
  color: var(--earthid-gold);
}

.eo-node-mydigital {
  border-color: rgba(125, 211, 252, 0.34);
  background: rgba(8, 33, 84, 0.9);
  padding: 10px 8px 8px;
  justify-content: center;
}

/* ─── Trust Bar ──────────────────────────────────────────── */
.earthid-trust-bar {
  padding: 28px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.earthid-trust-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earthid-muted);
  margin-bottom: 20px;
}

.earthid-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.earthid-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 24px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--earthid-font);
  transition: color 0.2s ease;
}

.earthid-trust-item:hover {
  color: var(--earthid-navy);
}

.earthid-trust-item i {
  font-size: 18px;
  color: var(--earthid-muted);
}

.earthid-trust-item:hover i {
  color: var(--earthid-gold-dark);
}

.earthid-trust-logo {
  height: 24px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.earthid-trust-logo-mydigital {
  height: 28px;
  opacity: 0.72;
  filter: none;
}

.earthid-trust-item:hover .earthid-trust-logo {
  opacity: 0.9;
  filter: grayscale(0);
}

.earthid-trust-item:hover .earthid-trust-logo-mydigital {
  opacity: 1;
  filter: none;
}

.earthid-trust-divider {
  width: 1px;
  height: 24px;
  background: var(--earthid-border);
  flex-shrink: 0;
}

/* ─── Sections ───────────────────────────────────────────── */
.earthid-section {
  position: relative;
  padding: 100px 0;
}

.earthid-section h2 {
  margin-bottom: 18px;
  color: var(--earthid-navy);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-family: var(--earthid-font);
}

.earthid-section p {
  color: var(--earthid-muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.earthid-section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
}

.earthid-section-heading p {
  font-size: 17px;
}

/* ─── Section Backgrounds ────────────────────────────────── */
.earthid-problem,
.earthid-architecture-section,
.earthid-why,
.earthid-compliance-section {
  overflow: hidden;
  background: var(--earthid-surface);
}

.earthid-problem::before,
.earthid-architecture-section::before,
.earthid-why::before,
.earthid-compliance-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 20%, rgba(13, 47, 95, 0.08), transparent 32%);
  pointer-events: none;
}

/* ─── Panel (What is section) ────────────────────────────── */
.earthid-panel {
  height: 100%;
  border: 1px solid var(--earthid-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.07);
  padding: 36px;
}

.earthid-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.earthid-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--earthid-blue);
  background: #edf5ff;
  border: 1px solid rgba(13, 47, 95, 0.1);
}

.earthid-chips span i {
  color: #3b82f6;
  font-size: 14px;
}

.earthid-panel-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--earthid-gold);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(246, 196, 83, 0.07), transparent);
}

.earthid-panel-highlight i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 20px;
  color: var(--earthid-gold-dark);
}

.earthid-panel-highlight p {
  margin: 0;
  font-size: 15px;
  color: var(--earthid-ink);
  font-weight: 600;
  line-height: 1.65;
}

/* ─── Visual Frame ───────────────────────────────────────── */
.earthid-visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(7, 26, 51, 0.08);
  background: linear-gradient(145deg, rgba(7, 26, 51, 0.06), rgba(255, 255, 255, 0.94));
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
}

.earthid-dashboard-frame {
  margin-top: 28px;
}

.earthid-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Problem Section ────────────────────────────────────── */
.earthid-highlight-box {
  margin-top: 26px;
  padding: 22px 24px;
  border-left: 4px solid var(--earthid-gold);
  border-radius: 0 18px 18px 0;
  color: var(--earthid-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.earthid-enterprise-visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.earthid-strip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 18px;
  border: 1px solid rgba(7, 26, 51, 0.09);
  border-radius: 20px;
  color: var(--earthid-navy);
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.earthid-strip-card i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--earthid-navy);
  font-size: 19px;
  background: linear-gradient(135deg, rgba(246, 196, 83, 0.9), rgba(125, 211, 252, 0.55));
}

/* ─── Before / After ─────────────────────────────────────── */
.earthid-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.earthid-comparison-card {
  min-height: 340px;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--earthid-border);
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.earthid-comparison-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--earthid-gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.earthid-comparison-card h3 {
  color: var(--earthid-navy);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 0;
  font-family: var(--earthid-font);
}

.earthid-comparison-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--earthid-muted);
  line-height: 1.9;
  font-size: 14.5px;
}

.earthid-after-card {
  color: #ffffff;
  background: linear-gradient(145deg, #071a33, #0d2f5f);
  border-color: transparent;
}

.earthid-after-card h3,
.earthid-after-card ul {
  color: rgba(255, 255, 255, 0.92);
}

.earthid-after-card ul {
  color: rgba(255, 255, 255, 0.78);
}

.earthid-after-card .earthid-comparison-label {
  color: var(--earthid-gold);
}

.earthid-comparison-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #071a33;
  background: var(--earthid-gold);
  box-shadow: 0 8px 24px rgba(246, 196, 83, 0.3);
  flex-shrink: 0;
}

/* ─── Stats Section ──────────────────────────────────────── */
.earthid-stats-section {
  padding: 72px 0;
  background: linear-gradient(135deg, #071a33, #0d2f5f);
  position: relative;
  overflow: hidden;
}

.earthid-stats-section::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: 48px 48px;
  pointer-events: none;
}

.earthid-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.earthid-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.earthid-stat-item:last-child {
  border-right: none;
}

.earthid-stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.earthid-stat-number-wrap strong,
.earthid-stat-item > .earthid-stat-number-wrap > strong {
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  color: var(--earthid-gold);
  font-family: var(--earthid-font);
}

.earthid-stat-number-wrap sup {
  font-size: 24px;
  font-weight: 900;
  color: var(--earthid-gold);
  line-height: 1;
}

.earthid-stat-item > span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  font-family: var(--earthid-font);
}

.earthid-stat-item > small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.05em;
}

/* ─── Features ───────────────────────────────────────────── */
.earthid-feature-card {
  height: 100%;
  padding: 32px;
  border: 1px solid var(--earthid-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.earthid-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 196, 83, 0.45);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.earthid-feature-card i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--earthid-navy);
  font-size: 26px;
  background: linear-gradient(135deg, rgba(246, 196, 83, 0.9), rgba(125, 211, 252, 0.5));
}

.earthid-feature-card h3 {
  color: var(--earthid-navy);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 12px;
  font-family: var(--earthid-font);
}

.earthid-feature-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.75;
}

/* ─── How It Works ───────────────────────────────────────── */
.earthid-how-works {
  background: linear-gradient(135deg, #071a33, #0b2446 60%, #071a33);
  overflow: hidden;
}

.earthid-how-works::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: 52px 52px;
  pointer-events: none;
}

.earthid-how-works .earthid-section-heading h2 {
  color: #ffffff;
}

.earthid-how-works .earthid-section-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.earthid-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.earthid-step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.earthid-step:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(246, 196, 83, 0.28);
}

.earthid-step-num {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--earthid-gold);
  padding-top: 2px;
  font-family: var(--earthid-font);
}

.earthid-step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246, 196, 83, 0.85), rgba(125, 211, 252, 0.5));
  flex-shrink: 0;
}

.earthid-step-icon i {
  font-size: 20px;
  color: var(--earthid-navy);
}

.earthid-step-body h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
  font-family: var(--earthid-font);
}

.earthid-step-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ─── Architecture ───────────────────────────────────────── */
.earthid-architecture-diagram {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(7, 26, 51, 0.09);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.earthid-network-showcase {
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(237, 245, 255, 0.92));
}

.earthid-network-showcase img,
.earthid-network-svg {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.earthid-network-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.earthid-network-caption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--earthid-navy);
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--earthid-border);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  font-family: var(--earthid-font);
}

.earthid-network-caption i {
  color: var(--earthid-gold-dark);
  font-size: 14px;
}

/* ─── Architecture checklist ─────────────────────────────── */
.earthid-arch-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.earthid-arch-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--earthid-ink);
  font-weight: 600;
}

.earthid-arch-point i {
  flex-shrink: 0;
  font-size: 18px;
  color: #3b82f6;
}

/* ─── Deployment Cards ───────────────────────────────────── */
.earthid-deployment-card {
  height: 100%;
  padding: 34px 30px;
  border: 1px solid var(--earthid-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.earthid-deployment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 196, 83, 0.45);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.earthid-dep-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 26px;
  color: var(--earthid-navy);
  background: linear-gradient(135deg, rgba(246, 196, 83, 0.85), rgba(125, 211, 252, 0.5));
}

.earthid-dep-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--earthid-gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--earthid-font);
}

.earthid-deployment-card h3 {
  color: var(--earthid-navy);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 12px;
  font-family: var(--earthid-font);
}

.earthid-deployment-card p {
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.75;
}

.earthid-dep-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--earthid-blue);
  background: #edf5ff;
  border: 1px solid rgba(13, 47, 95, 0.1);
  font-family: var(--earthid-font);
}

.earthid-dep-featured {
  background: linear-gradient(145deg, #071a33, #0d2f5f);
  border-color: transparent;
}

.earthid-dep-featured .earthid-dep-num {
  color: var(--earthid-gold);
}

.earthid-dep-featured h3,
.earthid-dep-featured p {
  color: rgba(255, 255, 255, 0.92);
}

.earthid-dep-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.earthid-dep-featured .earthid-dep-tag {
  color: var(--earthid-gold);
  background: rgba(246, 196, 83, 0.12);
  border-color: rgba(246, 196, 83, 0.25);
}

.earthid-dep-featured .earthid-dep-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--earthid-gold);
}

/* ─── Why EarthID (pillars v2) ───────────────────────────── */
.earthid-pillars-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.earthid-pillar-v2 {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(145deg, #071a33, #0d2f5f);
  box-shadow: 0 16px 42px rgba(7, 26, 51, 0.18);
  transition: transform 0.25s ease;
}

.earthid-pillar-v2:hover {
  transform: translateY(-4px);
}

.earthid-pillar-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(246, 196, 83, 0.15);
  border: 1px solid rgba(246, 196, 83, 0.28);
}

.earthid-pillar-icon i {
  font-size: 22px;
  color: var(--earthid-gold);
}

.earthid-pillar-body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
  font-family: var(--earthid-font);
}

.earthid-pillar-body p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

/* ─── Use Cases ──────────────────────────────────────────── */
.earthid-use-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border: 1px solid var(--earthid-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}

.earthid-use-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 196, 83, 0.45);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.earthid-use-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 26px;
  color: var(--earthid-navy);
  background: linear-gradient(135deg, rgba(246, 196, 83, 0.9), rgba(125, 211, 252, 0.5));
}

.earthid-use-card h3 {
  color: var(--earthid-navy);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.35;
  font-family: var(--earthid-font);
}

.earthid-use-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--earthid-muted);
}

/* ─── Compliance / Stack Section ─────────────────────────── */
.earthid-compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.earthid-compliance-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--earthid-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.earthid-compliance-badge:hover {
  transform: translateY(-5px);
  border-color: rgba(246, 196, 83, 0.4);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

.earthid-compliance-badge i {
  font-size: 28px;
  color: var(--earthid-gold-dark);
}

.earthid-compliance-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--earthid-navy);
  font-family: var(--earthid-font);
}

.earthid-compliance-badge span {
  font-size: 12px;
  color: var(--earthid-muted);
  font-weight: 500;
}

/* ─── Final CTA ──────────────────────────────────────────── */
.earthid-final-cta {
  background: linear-gradient(135deg, #071a33 0%, #0d2f5f 55%, #071a33 100%);
}

.earthid-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(246, 196, 83, 0.14), transparent 40%);
  pointer-events: none;
}

.earthid-final-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
  padding: 54px 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
}

.earthid-final-text h2,
.earthid-final-text p {
  color: #ffffff;
}

.earthid-final-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-family: var(--earthid-font);
}

.earthid-final-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.earthid-final-actions {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 0;
  gap: 14px;
}

.earthid-final-actions .earthid-btn {
  width: 100%;
  justify-content: center;
}

.earthid-final-contact-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.earthid-final-contact-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.earthid-final-contact-row i {
  color: var(--earthid-gold);
  font-size: 15px;
}

/* ─── Section White (explicit) ───────────────────────────── */
.earthid-section-white {
  background: #ffffff;
}

/* ─── Footer ─────────────────────────────────────────────── */
.earthid-footer {
  background: #060f1e;
}

.earthid-footer .footer-top {
  background: #071a33;
}

/* Override global style.css which sets .footer-info { background: white; margin-top: -90px } */
.earthid-footer .footer-top .footer-info {
  margin-top: 0 !important;
  background: transparent !important;
  border-top: none !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-align: left !important;
  padding: 0 !important;
}

.earthid-footer .footer-top .footer-info h3 {
  color: #ffffff !important;
  font-size: 19px !important;
  margin: 10px 0 4px !important;
}

.earthid-footer .footer-top .footer-info p {
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.earthid-footer .footer-top .footer-info em {
  color: rgba(255, 255, 255, 0.48) !important;
}

/* ─── MyDigital ID orbital node logo ─────────────────────── */
.eo-node-logo {
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.eo-node-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 94%;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 45, 99, 0.16);
  box-shadow: 0 7px 14px rgba(3, 10, 24, 0.22);
}

.earthid-footer .footer-info,
.earthid-footer .footer-links {
  color: rgba(255, 255, 255, 0.88);
}

.earthid-footer h3,
.earthid-footer h4 {
  color: #ffffff;
}

.earthid-footer p,
.earthid-footer em {
  color: rgba(255, 255, 255, 0.68);
}

.earthid-footer .footer-links ul a,
.earthid-footer .footer-info a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.earthid-footer .footer-links ul a:hover,
.earthid-footer .footer-info a:hover {
  color: var(--earthid-gold);
}

.earthid-footer .footer-links ul {
  list-style: none;
  padding: 0;
}

.earthid-footer .footer-links ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.earthid-footer .footer-links ul li i {
  color: var(--earthid-gold);
  font-size: 14px;
}

.earthid-footer .copyright {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13.5px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.earthid-footer .copyright strong {
  color: rgba(255, 255, 255, 0.68);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1199px) {
  .earthid-page .navbar a,
  .earthid-page .navbar a:focus {
    padding: 8px 9px;
    font-size: 13px;
  }

  .earthid-compliance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .earthid-hero {
    padding-top: 130px;
  }

  .earthid-before-after {
    grid-template-columns: 1fr;
  }

  .earthid-comparison-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .earthid-final-card {
    grid-template-columns: 1fr;
    padding: 38px 32px;
  }

  .earthid-final-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .earthid-final-actions .earthid-btn {
    width: auto;
    flex: 1;
    min-width: 160px;
  }

  .earthid-pillars-v2 {
    grid-template-columns: 1fr;
  }

  .earthid-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .earthid-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .earthid-stat-item:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .earthid-steps {
    grid-template-columns: 1fr;
  }

  .earthid-compliance-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .earthid-enterprise-visual-strip {
    grid-template-columns: 1fr;
  }

  .earthid-page .navbar-mobile a,
  .earthid-page .navbar-mobile a:focus {
    color: #2f4d5a;
  }

  .earthid-page .navbar-mobile a:hover,
  .earthid-page .navbar-mobile .active,
  .earthid-page .navbar-mobile li:hover > a {
    color: var(--earthid-gold-dark);
  }
}

@media (max-width: 767px) {
  .earthid-hero {
    min-height: auto;
    padding: 116px 0 72px;
  }

  .earthid-hero h1 {
    font-size: 38px;
  }

  .earthid-section {
    padding: 72px 0;
  }

  .earthid-panel,
  .earthid-feature-card,
  .earthid-deployment-card,
  .earthid-use-card,
  .earthid-comparison-card,
  .earthid-final-card,
  .earthid-architecture-diagram {
    padding: 24px;
    border-radius: 20px;
  }

  .eo-orbital {
    max-width: 380px;
  }

  .eo-node span {
    display: none;
  }

  .eo-node {
    min-height: 15%;
    width: 20%;
  }

  .earthid-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .earthid-step {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .earthid-step-num {
    grid-column: 1;
    grid-row: 1;
  }

  .earthid-step-icon {
    display: none;
  }

  .earthid-step-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .earthid-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .earthid-trust-row {
    gap: 0;
  }

  .earthid-trust-divider {
    display: none;
  }

  .earthid-trust-item {
    flex: 0 0 50%;
    justify-content: center;
    padding: 10px 12px;
  }
}

@media (max-width: 575px) {
  .earthid-hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .earthid-hero-actions,
  .earthid-final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .earthid-btn {
    width: 100%;
    justify-content: center;
  }

  .earthid-hero h1 {
    font-size: 34px;
  }

  .earthid-stats-grid {
    grid-template-columns: 1fr;
  }

  .earthid-stat-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .earthid-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .earthid-pillars-v2 {
    grid-template-columns: 1fr;
  }
}
