:root {
  --bg: #05070a;
  --bg-soft: #090d12;
  --panel: rgba(15, 20, 27, .72);
  --panel-solid: #0d1218;
  --panel-light: #121922;
  --text: #f5f7fa;
  --muted: #8e9aa9;
  --muted-2: #626e7c;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.15);
  --gold: #d8aa45;
  --gold-light: #f0cf78;
  --gold-dark: #89601c;
  --green: #52d99b;
  --max: 1220px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(216,170,69,.07), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(5,7,10,.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,207,120,.42);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(240,207,120,.18), rgba(216,170,69,.04));
  color: var(--gold-light);
  font-weight: 900;
  font-size: 20px;
  box-shadow:
    inset 0 0 24px rgba(216,170,69,.08),
    0 0 28px rgba(216,170,69,.07);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: .08em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .26em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation > a {
  color: #aeb7c2;
  font-size: 13px;
  font-weight: 650;
  transition: .2s ease;
}

.navigation > a:hover {
  color: #fff;
}

.navigation .nav-explorer {
  padding: 10px 16px;
  border: 1px solid rgba(240,207,120,.3);
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(216,170,69,.06);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  transition: .25s ease;
}


/* HERO */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .19;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-one {
  top: -250px;
  right: 3%;
  background: rgba(216,170,69,.12);
}

.hero-glow-two {
  bottom: -350px;
  left: 25%;
  background: rgba(63,98,160,.09);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 60px;
  align-items: center;
  padding-block: 100px;
}

.status-pill {
  width: fit-content;
  margin-bottom: 28px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(82,217,155,.18);
  border-radius: 999px;
  background: rgba(82,217,155,.05);
  color: #a8ebcc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(82,217,155,.75);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-description {
  max-width: 650px;
  margin: 28px 0 0;
  color: #9ca7b4;
  font-size: 17px;
  line-height: 1.8;
}

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

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease,
              border-color .2s ease,
              background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #171107;
  box-shadow: 0 12px 34px rgba(216,170,69,.14);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.025);
  color: #e8edf3;
}

.hero-meta {
  margin-top: 55px;
  padding-top: 24px;
  display: flex;
  gap: 45px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta span {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 15px;
}


/* NETWORK VISUAL */

.network-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-left: auto;
}

.core {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 148px;
  height: 148px;
  transform: translate(-50%, -50%);
  padding: 13px;
  border: 1px solid rgba(240,207,120,.25);
  border-radius: 50%;
  background: rgba(216,170,69,.035);
  box-shadow:
    0 0 80px rgba(216,170,69,.15),
    inset 0 0 50px rgba(216,170,69,.07);
}

.core-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,207,120,.45);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #3a2c13, #100d08 62%);
  color: var(--gold-light);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .08em;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(216,170,69,.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 230px;
  height: 230px;
}

.orbit-two {
  width: 350px;
  height: 350px;
  border-color: rgba(255,255,255,.08);
}

.orbit-three {
  width: 470px;
  height: 470px;
  border-style: dashed;
  border-color: rgba(216,170,69,.1);
}

.node {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  border: 2px solid #0c0f13;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(240,207,120,.65);
}

.node-one {
  top: 15%;
  left: 48%;
}

.node-two {
  top: 48%;
  right: 6%;
}

.node-three {
  bottom: 11%;
  left: 32%;
}

.node-four {
  top: 40%;
  left: 12%;
}

.visual-label {
  position: absolute;
  z-index: 6;
  min-width: 112px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(9,13,18,.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.visual-label small,
.visual-label strong {
  display: block;
}

.visual-label small {
  margin-bottom: 3px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: .12em;
}

.visual-label strong {
  font-size: 12px;
}

.label-mainnet {
  top: 13%;
  left: 2%;
}

.label-chain {
  right: 0;
  bottom: 20%;
}

.label-evm {
  left: 9%;
  bottom: 9%;
}

/* SHARED SECTIONS */

.network-section,
.technology-section,
.ecosystem-section,
.developer-section,
.resources-section {
  position: relative;
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  gap: 50px;
  align-items: end;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}


/* NETWORK */

.network-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.info-card {
  min-height: 170px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent),
    var(--panel);
  transition: transform .25s ease, border-color .25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,170,69,.27);
}

.info-card span {
  margin-bottom: auto;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-card strong {
  font-size: 21px;
}

.info-card small {
  margin-top: 4px;
  color: var(--muted);
}

.endpoint-panel {
  margin-top: 16px;
  padding: 34px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
  border: 1px solid rgba(216,170,69,.17);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(216,170,69,.07), transparent 38%),
    var(--panel);
}

.endpoint-copy h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.endpoint-copy > p:last-child {
  margin: 0;
  max-width: 410px;
  color: var(--muted);
}

.endpoint-values {
  display: grid;
  gap: 10px;
}

.endpoint-row {
  min-width: 0;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.endpoint-row > div {
  min-width: 0;
}

.endpoint-row span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.endpoint-row code {
  display: block;
  overflow: hidden;
  color: #d9e0e8;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-row button,
.endpoint-row > a {
  flex-shrink: 0;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}


/* TECHNOLOGY */

.technology-section {
  background:
    radial-gradient(circle at 15% 45%, rgba(216,170,69,.055), transparent 25%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 240px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 50%),
    var(--panel);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(216,170,69,.09);
  border-radius: 50%;
}

.feature-large {
  grid-row: span 2;
  min-height: 494px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 25% 15%, rgba(216,170,69,.11), transparent 35%),
    var(--panel);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,170,69,.25);
  border-radius: 15px;
  color: var(--gold-light);
  background: rgba(216,170,69,.06);
  font-weight: 900;
}

.feature-number {
  margin-bottom: 55px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.feature-large h3 {
  max-width: 500px;
  font-size: 35px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.tech-tags {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aeb7c2;
  background: rgba(255,255,255,.025);
  font-size: 10px;
}


/* ECOSYSTEM */

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

.ecosystem-card {
  min-height: 180px;
  padding: 27px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: .25s ease;
}

a.ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,170,69,.27);
}

.ecosystem-index {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
}

.ecosystem-card h3 {
  margin: 0 0 9px;
  font-size: 23px;
}

.ecosystem-card p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.card-arrow {
  color: var(--muted-2);
  font-size: 20px;
}


/* DEVELOPERS */

.developer-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 50%, rgba(216,170,69,.065), transparent 30%);
}

.developer-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.developer-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.045em;
}

.developer-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 22px 0 0;
  color: var(--muted);
}

.developer-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(216,170,69,.16);
  border-radius: var(--radius);
  background: #080b0f;
  box-shadow: var(--shadow);
}

.code-header {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #303844;
}

.code-window pre {
  margin: 0;
  padding: 30px;
  overflow-x: auto;
}

.code-window code {
  color: #c8d0da;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.9;
}


/* RESOURCES */

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resource-card {
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,.03), transparent),
    var(--panel);
  transition: transform .25s ease, border-color .25s ease;
}

a.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,170,69,.28);
}

.resource-icon {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.resource-card > div {
  margin-top: auto;
}

.resource-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
}

.resource-arrow {
  margin-top: 18px;
  color: var(--gold-light);
}

/* =========================================================
   FOBIX NETWORK — FINAL UI / RESPONSIVE LAYER
   ========================================================= */

/* CTA */

.cta-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(216,170,69,.10) 0%,
    rgba(216,170,69,.025) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-box {
  position: relative;
  padding: 72px 45px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(216,170,69,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216,170,69,.10), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%),
    var(--panel);
  box-shadow: var(--shadow);
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -190px;
  bottom: -260px;
  border: 1px solid rgba(216,170,69,.12);
  border-radius: 50%;
}

.cta-box h2 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.045em;
}

.cta-box > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
}

.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}


/* FOOTER */

.site-footer {
  position: relative;
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  background: #06080b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 55px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-column h4 {
  margin: 0 0 18px;
  color: #e6e9ed;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column a {
  color: var(--muted);
  font-size: 13px;
  transition: color .2s ease;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.footer-network-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-network-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(82,217,155,.6);
}


/* INTERACTION */

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button,
.btn,
.nav-links a,
.resource-card,
.ecosystem-card {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

::selection {
  color: #07090c;
  background: var(--gold-light);
}


/* SCROLLBAR */

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #07090d;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #07090d;
  border-radius: 999px;
  background: #2c3139;
}

::-webkit-scrollbar-thumb:hover {
  background: #424a55;
}


/* ANIMATIONS */

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(82,217,155,.25);
  }
  50% {
    opacity: .75;
    box-shadow: 0 0 0 7px rgba(82,217,155,0);
  }
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-dot,
.live-dot {
  animation: statusPulse 2.4s infinite;
}

.hero-visual,
.network-visual {
  animation: networkFloat 7s ease-in-out infinite;
}

.hero-copy {
  animation: fadeUp .65s ease both;
}

.hero-actions {
  animation: fadeUp .75s .08s ease both;
}


/* TABLET */

@media (max-width: 1050px) {

  .nav-links {
    gap: 18px;
  }

  .hero-layout,
  .developer-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 700px;
    width: 100%;
    margin: 20px auto 0;
  }

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

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

  .feature-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 330px;
  }

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

  .resource-card:last-child {
    grid-column: 1 / -1;
  }

  .developer-layout {
    gap: 45px;
  }

  .code-window {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}


/* MOBILE NAVIGATION */

@media (max-width: 820px) {

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .menu-button {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    z-index: 1000;
    top: 68px;
    left: 0;
    right: 0;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid transparent;
    background: rgba(7,9,13,.98);
    backdrop-filter: blur(18px);
    transition:
      max-height .3s ease,
      padding .3s ease,
      border-color .3s ease;
  }

  .nav-links.open,
  .nav-links.active {
    max-height: 520px;
    padding: 14px 20px 22px;
    border-color: var(--line);
  }

  .nav-links a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-section {
    padding-top: 70px;
  }

  .hero-layout {
    gap: 45px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 13vw, 76px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 580px;
  }

  .endpoint-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* SMALL MOBILE */

@media (max-width: 600px) {

  :root {
    --radius: 17px;
  }

  .container {
    width: min(100% - 30px, var(--max));
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .hero-section {
    padding: 55px 0 75px;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-meta > * {
    min-width: 0;
  }

  .network-section,
  .technology-section,
  .ecosystem-section,
  .developer-section,
  .resources-section,
  .cta-section {
    padding: 76px 0;
  }

  .network-cards {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 135px;
  }

  .endpoint-panel {
    padding: 24px 18px;
  }

  .endpoint-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .endpoint-row button,
  .endpoint-row > a {
    width: 100%;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: auto;
    min-height: 360px;
  }

  .feature-card {
    min-height: 220px;
  }

  .feature-large h3 {
    font-size: 29px;
  }

  .ecosystem-card {
    min-height: 0;
    grid-template-columns: 34px 1fr;
  }

  .ecosystem-card .card-arrow {
    display: none;
  }

  .developer-copy h2 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .developer-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .developer-actions .btn {
    width: 100%;
  }

  .code-window pre {
    padding: 20px;
  }

  .code-window code {
    font-size: 11px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card:last-child {
    grid-column: auto;
  }

  .resource-card {
    min-height: 200px;
  }

  .cta-box {
    padding: 55px 20px;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 45px;
  }
}


/* VERY SMALL DEVICES */

@media (max-width: 390px) {

  .container {
    width: min(100% - 22px, var(--max));
  }

  .nav-wrap {
    min-height: 64px;
  }

  .nav-links {
    top: 64px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   FOBIX NETWORK — PRODUCTION FINAL OVERRIDES
   ========================================================= */

.brand-logo {
  padding: 3px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(240,207,120,.14), transparent 68%),
    rgba(255,255,255,.018);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}

.button-ghost {
  border: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: #aeb7c2;
}

.button-ghost:hover {
  color: #fff;
  border-color: rgba(240,207,120,.28);
  background: rgba(216,170,69,.035);
}

.add-network-button {
  appearance: none;
  -webkit-appearance: none;
}

#rpcStatus {
  color: #a8ebcc;
}

.status-dot.offline {
  background: #ff6577;
  box-shadow: 0 0 13px rgba(255,101,119,.65);
}

.online-text {
  color: #a8ebcc;
}

.hero-meta {
  gap: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.hero-meta > div {
  padding-right: 24px;
}

.hero-meta > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.network-visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(216,170,69,.07),
    transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.navigation a {
  position: relative;
}

.navigation > a:not(.nav-explorer)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--gold-light);
  transition: right .22s ease;
}

.navigation > a:not(.nav-explorer):hover::after {
  right: 0;
}

.site-header {
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}

.info-card,
.feature-card,
.ecosystem-card,
.resource-card,
.endpoint-panel,
.code-window,
.cta-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.info-card:hover,
.feature-card:hover,
.ecosystem-card:hover {
  border-color: rgba(216,170,69,.24);
}

@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .network-visual {
    width: min(100%, 500px);
    margin: 10px auto 0;
  }
}

/* Correct mobile navigation selectors */
@media (max-width: 820px) {

  .nav-wrap {
    min-height: 68px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 1002;
    cursor: pointer;
  }

  .navigation {
    position: fixed;
    z-index: 1000;
    top: 68px;
    left: 0;
    right: 0;

    max-height: 0;
    padding: 0 20px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    border-bottom: 1px solid transparent;

    background: rgba(5,7,10,.985);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    transition:
      max-height .3s ease,
      padding .3s ease,
      border-color .3s ease;
  }

  .navigation.open,
  .navigation.active {
    max-height: 600px;
    padding: 12px 20px 22px;
    border-color: var(--line);
  }

  .navigation > a {
    width: 100%;
    padding: 15px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .navigation > a::after {
    display: none !important;
  }

  .navigation .nav-explorer {
    margin-top: 10px;
    text-align: center;
    border: 1px solid rgba(240,207,120,.3);
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding-block: 75px;
    gap: 55px;
  }

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

  .hero-meta > div {
    padding: 14px 14px 14px 0;
  }

  .hero-meta > div + div {
    padding-left: 14px;
  }

  .hero-meta > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-meta > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {

  .brand-logo {
    width: 39px;
    height: 39px;
  }

  .hero-layout {
    padding-block: 58px 70px;
  }

  .hero h1,
  .hero-copy h1 {
    font-size: clamp(43px,13vw,62px);
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions,
  .developer-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .developer-actions .button {
    width: 100%;
  }

  .network-visual {
    width: min(100%,390px);
  }

  .network-section,
  .technology-section,
  .ecosystem-section,
  .developer-section,
  .resources-section,
  .mainnet-cta {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .footer-main {
    gap: 45px;
  }

  .footer-links {
    gap: 28px;
  }
}

@media (max-width: 390px) {
  .navigation {
    top: 64px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta > div,
  .hero-meta > div + div,
  .hero-meta > div:nth-child(3) {
    padding: 13px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-meta > div:first-child {
    border-top: 0;
  }
}

/* FOBIX FINAL MOBILE HEADER */
@media (max-width: 820px) {
  .nav-wrap {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
  }

  .brand-logo img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;
  }

  .menu-button {
    display: flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .menu-button span {
    display: block !important;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: #f0cf78;
    transition: .25s ease;
  }

  .navigation {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(5,7,10,.985) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 9999;
    padding: 0 20px !important;
    border-bottom: 1px solid transparent;
  }

  .navigation.open,
  .navigation.active {
    max-height: 600px;
    padding: 14px 20px 24px !important;
    border-color: rgba(255,255,255,.08);
  }

  .navigation > a {
    display: block;
    width: 100%;
    padding: 15px 4px !important;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
}

