:root{
  --bg: #0F172A;
  --bg2:#0B1220;
  --text:#E2E8F0;
  --muted:#94A3B8;
  --muted2:#CBD5E1;
  --gold:#C6A84B;
  --gold2:#B89B3C;
  --line: rgba(198,168,75,0.22);
  --card: rgba(255,255,255,0.03);
  --card2: rgba(255,255,255,0.02);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --radius: 18px;
  --max: 1200px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 110px; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 70% 15%, rgba(198,168,75,0.06), transparent 60%),
              radial-gradient(900px 600px at 20% 80%, rgba(198,168,75,0.04), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height:1.65;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:0.95; }

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

.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,23,42,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
  gap: 18px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand__mark{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(198,168,75,0.10);
}
.brand__name{
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav__links{
  display:flex;
  align-items:center;
  gap: 18px;
  color: var(--muted2);
  font-size: 14px;
}
.nav__links a{
  padding: 8px 6px;
  border-radius: 10px;
}
.nav__links a:hover{
  background: rgba(255,255,255,0.03);
}
.nav__mobile{
  display:none;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
}

.microline{
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero{
  position: relative;
  padding: 140px 0 90px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:-1px;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.2), rgba(15,23,42,0.9)),
    radial-gradient(900px 500px at 78% 28%, rgba(198,168,75,0.08), transparent 60%),
    radial-gradient(650px 420px at 25% 70%, rgba(198,168,75,0.04), transparent 55%);
  pointer-events:none;
}
.hero__inner{
  position: relative;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items:center;
}
.hero__title{
  margin: 0 0 18px;
  font-weight: 600;
  line-height: 1.05;
  font-size: 56px;
  letter-spacing: -0.8px;
}
.hero__sub{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
}
.hero__sub--tight{ margin-top: 8px; }
.hero__cta{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero__meta{
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: 680px;
}
.meta{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  color: var(--muted);
  font-size: 14px;
}
.meta__k{
  color: rgba(226,232,240,0.85);
  min-width: 72px;
  letter-spacing: 0.2px;
}
.meta__v{ color: rgba(148,163,184,0.95); }

.hero__visual{
  display:flex;
  justify-content:center;
  align-items:center;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.35));
}
.network{
  width: min(520px, 100%);
  height: auto;
  opacity: 0.85;
}

/* SVG styling */
.network .pulse{
  stroke: rgba(198,168,75,0.32);
  stroke-width: 1.2;
  opacity: 0.12;
  animation: pulse 7.5s linear infinite;
}
.network .p0{ animation-delay: 0s; }
.network .p1{ animation-delay: 1s; }
.network .p2{ animation-delay: 2s; }
.network .p3{ animation-delay: 3s; }
.network .p4{ animation-delay: 4s; }
.network .p5{ animation-delay: 5s; }

@keyframes pulse{
  0%{ opacity: 0.10; }
  50%{ opacity: 0.35; }
  100%{ opacity: 0.10; }
}

.network .node{
  fill: rgba(226,232,240,0.06);
  stroke: rgba(226,232,240,0.22);
  stroke-width: 1.2;
}
.network .core{
  fill: rgba(15,23,42,0.55);
  stroke: rgba(198,168,75,0.55);
  stroke-width: 1.6;
}
.network .core2{
  fill: transparent;
  stroke: rgba(198,168,75,0.20);
  stroke-width: 1.2;
}
.network .arc{
  fill: none;
  stroke: rgba(198,168,75,0.20);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.hero__divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,168,75,0.22), transparent);
  margin-top: 70px;
}

/* Sections */
.section{ padding: 120px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section__head{ max-width: 820px; margin-bottom: 46px; }
.section__head h2{
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.section__head p{ margin: 0; color: var(--muted); font-size: 17px; }

/* Callout */
.callout{
  margin-top: 36px;
  background: radial-gradient(600px 300px at 20% 20%, rgba(198,168,75,0.06), transparent 60%),
              var(--card2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 980px;
}
.callout__title{
  color: rgba(226,232,240,0.92);
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}
.callout__body{ color: var(--muted); font-size: 16px; }
.callout__actions{ margin-top: 18px; }

/* Grid / Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.25);
  min-height: 190px;
}
.card__topline{
  height: 2px;
  width: 54px;
  background: rgba(198,168,75,0.60);
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h3{ margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.card p{ margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* Split list */
.split{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.kicker{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(226,232,240,0.92);
}
.split__col p{ margin: 0; color: var(--muted); font-size: 15px; }

.section__actions{
  display:flex;
  gap: 18px;
  align-items:center;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* Closing */
.closing{ max-width: 980px; }
.closing__title{
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
}
.closing__text{
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
}
.closing__actions{ display:flex; gap: 14px; flex-wrap: wrap; }

/* Buttons & links */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1px;
  border: 1px solid transparent;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: rgba(198,168,75,0.10);
  border-color: rgba(198,168,75,0.35);
  color: var(--text);
}
.btn--primary:hover{
  background: rgba(198,168,75,0.14);
  border-color: rgba(198,168,75,0.55);
}

.btn--outline{
  background: transparent;
  border-color: rgba(198,168,75,0.32);
  color: var(--gold);
}
.btn--outline:hover{
  background: rgba(198,168,75,0.08);
  border-color: rgba(198,168,75,0.50);
}

.link{ color: rgba(226,232,240,0.92); font-size: 14px; }
.link:hover{ text-decoration: underline; }

.link--muted{ color: rgba(148,163,184,0.95); }
.link--muted:hover{ color: rgba(226,232,240,0.92); }

/* Footer */
.footer{
  padding: 54px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,18,32,0.7);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 24px;
  align-items:flex-start;
  padding-bottom: 22px;
}
.footer__brand{
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}
.footer__note{ color: var(--muted); font-size: 14px; }
.footer__right{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(148,163,184,0.95);
  font-size: 14px;
}
.footer__right a:hover{ color: rgba(226,232,240,0.92); }
.footer__bottom{
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(148,163,184,0.85);
  font-size: 13px;
}

/* --- Domain Two-Column Layout --- */
.domain{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.domain:last-child{ border-bottom: none; }

.domain__left h3{ margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.domain__left p{ margin: 0; color: var(--muted); font-size: 15px; }

.domain__right{ color: var(--muted); font-size: 15px; }
.domain__right ul{ list-style: none; padding: 0; margin: 0; }
.domain__right li{
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}
.domain__right li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(198,168,75,0.7);
}

.domain__left a:hover{ text-decoration: underline; }

/* --- Diagram interactive highlighting --- */
.diagram-wrap svg .dline{
  stroke: rgba(198,168,75,0.28);
  stroke-width: 2;
  opacity: 0.14;
  transition: opacity 200ms ease, stroke-width 200ms ease;
}
.diagram-wrap svg .dnode{
  fill: rgba(226,232,240,0.06);
  stroke: rgba(226,232,240,0.24);
  stroke-width: 2;
  transition: stroke 120ms ease, fill 120ms ease, transform 120ms ease;
}
.diagram-wrap svg .dlabel{ fill: rgba(226,232,240,0.85); }

.diagram-wrap svg .is-active.dline{
  opacity: 0.35;
  stroke-width: 2.2;
}
.diagram-wrap svg .is-active.dnode{
  stroke: rgba(198,168,75,0.75);
  fill: rgba(198,168,75,0.10);
  transform: scale(1.02);
  transform-origin: center;
}

/* Press feedback */
.diagram-wrap svg .is-pressed.dnode{
  stroke: rgba(198,168,75,0.95);
  fill: rgba(198,168,75,0.16);
  transform: scale(1.04);
  transform-origin: center;
}

/* SVG link interactivity + mobile targets */
.diagram-wrap svg a { cursor: pointer; }
.diagram-wrap svg a:hover .dline{ opacity: 0.22; }
.diagram-wrap svg a:hover .dnode{
  stroke: rgba(198,168,75,0.65);
  fill: rgba(198,168,75,0.08);
}
.diagram-wrap svg .hitline{
  stroke: rgba(0,0,0,0);
  stroke-width: 22;
  pointer-events: stroke;
}
.diagram-wrap svg .hitnode{
  fill: rgba(0,0,0,0);
  pointer-events: all;
}

/* Forms */
.form{ max-width: 820px; }
.field{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-bottom: 16px;
}
.field label{ color: rgba(226,232,240,0.9); font-size: 14px; }
.field input, .field textarea{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(198,168,75,0.40);
  box-shadow: 0 0 0 4px rgba(198,168,75,0.10);
}
.notice{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 14px;
}
.notice--ok{ border-color: rgba(198,168,75,0.25); }
.notice--bad{ border-color: rgba(255,120,120,0.25); }

/* Responsive */
@media (max-width: 980px){
  .hero{ padding: 120px 0 70px; }
  .hero__inner{ grid-template-columns: 1fr; gap: 34px; }
  .hero__title{ font-size: 46px; }
  .grid{ grid-template-columns: 1fr 1fr; }
  .split{ grid-template-columns: 1fr; }
  .nav__links{ display:none; }
  .nav__mobile{ display:inline-flex; }
  .domain{ grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 580px){
  .container{ width: calc(100% - 34px); }
  .hero{ padding: 100px 0 60px; }
  .hero__title{ font-size: 40px; }
  .section{ padding: 90px 0; }
  .grid{ grid-template-columns: 1fr; }
}