:root {
  --ink: #111315;
  --ink-soft: #656866;
  --surface: #ffffff;
  --surface-soft: #f4f4ed;
  --line: #dedfd5;
  --brand: #dfda00;
  --brand-dark: #11130f;
  --accent: #dfda00;
  --success: #1d8b63;
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
}

.site-header {
  background: rgba(5, 6, 6, .96);
  border-bottom: 1px solid #292c29;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px);
}

.nav { min-height: 76px; }

.logo {
  color: #dfda00;
  font-size: 20px;
  letter-spacing: -.4px;
}

.logo span {
  color: #f0f1ed;
  font-size: 9px;
  letter-spacing: 4.5px;
  margin-top: 2px;
}

.menu {
  color: #d7d8d2;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
}

.menu a { padding: 28px 0 25px; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.active { color: #dfda00; border-bottom-color: #dfda00; }

.btn {
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 12px;
  border-color: #b9c7d5;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
  box-shadow: none;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(223, 218, 0, .16); }
.btn-gold { color: #10110b; border-color: #dfda00; background: #dfda00; }
.btn-gold:hover { color: #10110b; background: #f0ea00; border-color: #f0ea00; }
.btn-outline { color: var(--ink); border-color: #cfd0c6; background: rgba(255,255,255,.78); }
.nav-actions .btn-outline { color: #eceee9; border-color: #484b46; background: transparent; }
.nav-actions .btn:last-child { color: #c9cbc5; background: transparent; border-color: transparent; }

.eyebrow {
  color: #777400;
  font-size: 12px;
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.modern-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 570px;
  display: flex;
  align-items: center;
  margin: 30px auto 26px;
  padding: 72px 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 38%, rgba(223, 218, 0, .13), transparent 31%),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(220,214,0,.035) 75px),
    linear-gradient(135deg, #050606 0%, #171a16 100%);
  border: 1px solid #292c28;
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
  overflow: hidden;
}

.modern-hero-grid { width: min(1068px, 88%); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.modern-hero .eyebrow { color: #dfda00; }
.modern-hero-copy h1 { color: #fff; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; margin-bottom: 28px; }
.modern-hero-copy h1 span { color: #dfda00; }
.hero-lead { max-width: 650px; color: #d4d6d1; font-size: 18px; line-height: 1.7; }
.modern-hero .hero-buttons { margin-top: 34px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-top: 38px; color: #b9bcb6; font-size: 12px; font-weight: 700; }
.trust-row span::before { content: "✓"; color: var(--success); margin-right: 7px; }

.ecosystem-visual { position: relative; min-height: 430px; }
.ecosystem-visual::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(223,218,0,.23); border-radius: 50%; }
.ecosystem-visual::after { content: ""; position: absolute; inset: 23%; border: 1px dashed rgba(223,218,0,.2); border-radius: 50%; }
.visual-core, .visual-node { position: absolute; display: grid; place-items: center; z-index: 2; background: #11130f; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.visual-core { width: 150px; height: 150px; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 38px; border: 1px solid #3a3d36; }
.visual-core strong { color: #dfda00; font-size: 35px; line-height: 1; }
.visual-core span { margin-top: -34px; color: #a7aaa3; font-size: 12px; }
.visual-node { width: 98px; height: 98px; border-radius: 28px; border: 1px solid #34372f; }
.visual-node b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #dfda00; color: #111; }
.visual-node span { margin-top: -15px; color: #c6c8c2; font-size: 10px; font-weight: 700; }
.node-one { left: 4%; top: 17%; }.node-two { right: 4%; top: 8%; }.node-three { right: 8%; bottom: 5%; }

.ecosystem-section { padding: 100px 0; background: #f4f4ed; }
.modern-section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.modern-section-heading h2, .how-section h2, .modern-cta h2 { color: var(--ink); font-size: clamp(36px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.modern-section-heading > p, .section-lead { color: var(--ink-soft); line-height: 1.7; }

.public-area-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.public-area-card { position: relative; min-height: 340px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: .25s ease; }
.public-area-card:hover { transform: translateY(-5px); border-color: #a9c3d6; box-shadow: 0 22px 50px rgba(42, 68, 92, .1); }
.public-area-card.featured { background: #080909; border-color: #080909; color: #fff; }
.area-number { position: absolute; right: 24px; top: 24px; color: #9aabba; font-size: 11px; font-weight: 800; }
.area-monogram { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #565400; background: #f3f0a8; font-weight: 900; letter-spacing: -.03em; }
.featured .area-monogram { background: rgba(255,255,255,.11); color: #fff; }
.public-area-card h3 { margin: 50px 0 14px; color: var(--ink); font-size: 23px; letter-spacing: -.02em; }
.public-area-card.featured h3 { color: #fff; }
.public-area-card p { color: var(--ink-soft); line-height: 1.65; font-size: 14px; }
.public-area-card.featured p { color: #b9c6d3; }
.area-label { position: absolute; bottom: 25px; left: 28px; color: #777400; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.featured .area-label { color: #dfda00; }

.how-section { padding: 110px 0; background: var(--surface-soft); }
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.how-section .section-lead { margin-top: 24px; max-width: 500px; }
.steps-list { list-style: none; display: grid; }
.steps-list li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps-list li > span { color: #777400; font-size: 12px; font-weight: 900; }
.steps-list strong { color: var(--ink); font-size: 19px; }
.steps-list p { color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

.modern-cta { padding: 90px 0; background: #fff; }
.modern-cta-box { display: grid; grid-template-columns: 1fr .7fr; gap: 100px; align-items: end; padding: 58px; color: #fff; background: #080909; border-radius: 30px; border-bottom: 5px solid #dfda00; }
.modern-cta-box h2 { color: #fff; }
.modern-cta-box .eyebrow { color: #dfda00; }
.modern-cta-box p { color: #c9cbc5; line-height: 1.65; margin-bottom: 24px; }
.modern-cta-box .btn-gold { color: #111; background: #dfda00; border-color: #dfda00; }

.panel-page { min-height: calc(100vh - 76px); color: var(--ink); background: #f4f4ed; }
.workspace-hero { padding: 72px 0 44px; background: #fff; border-bottom: 1px solid var(--line); }
.workspace-hero-grid { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.workspace-hero h1 { color: var(--ink); font-size: clamp(38px,5vw,62px); letter-spacing: -.05em; line-height: 1; }
.workspace-hero p:last-child { color: var(--ink-soft); margin-top: 14px; font-size: 16px; }
.workspace-actions { display: flex; gap: 10px; }
.workspace-content { padding: 36px 0 90px; }
.notice { display: flex; gap: 10px 18px; align-items: center; padding: 17px 20px; margin-bottom: 24px; border-radius: 14px; background: #e8f6f0; border: 1px solid #bfe2d3; color: #1b684d; }
.notice span { color: #467463; }
.workspace-summary { display: grid; grid-template-columns: repeat(3,1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.workspace-summary div { padding: 24px 28px; border-right: 1px solid var(--line); }
.workspace-summary div:last-child { border: 0; }
.workspace-summary strong { display: block; color: #666300; font-size: 28px; }
.workspace-summary span { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.workspace-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 64px 0 28px; }
.workspace-heading h2 { color: var(--ink); font-size: 34px; letter-spacing: -.035em; }
.workspace-heading > p { max-width: 440px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; text-align: right; }
.workspace-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.workspace-card { min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(32, 54, 75, .04); }
.workspace-card.is-active { border-color: #d7d376; box-shadow: 0 13px 34px rgba(70, 69, 0, .09); }
.workspace-card-top, .workspace-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.area-category { color: #7a8999; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.workspace-card h3 { color: var(--ink); font-size: 22px; letter-spacing: -.025em; margin-bottom: 11px; }
.workspace-card p { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.workspace-card-footer { padding-top: 18px; border-top: 1px solid #edf0f4; }
.status-dot { color: #7a8999; font-size: 11px; font-weight: 800; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #aeb8c2; }
.status-dot.is-on { color: var(--success); }.status-dot.is-on::before { background: var(--success); box-shadow: 0 0 0 4px rgba(29,139,99,.1); }
.status-dot.is-waiting { color: #9a721b; }.status-dot.is-waiting::before { background: #d6a33b; }
.text-link { color: #686500; font-size: 12px; font-weight: 900; }.text-link span { margin-left: 4px; transition: .2s; }.text-link:hover span { margin-left: 8px; }
.text-muted { color: #9aa6b3; font-size: 11px; }

.site-footer { padding: 42px 0; color: #8190a0; border-top-color: var(--line); background: #fff; text-align: left; }
.footer-grid { display: grid; grid-template-columns: .8fr 1.4fr auto; align-items: center; gap: 35px; }
.footer-brand strong { display: block; color: var(--ink); font-size: 15px; }
.footer-brand span { display: block; color: #777400; font-size: 8px; letter-spacing: 3px; margin-top: 3px; }
.site-footer p { font-size: 12px; }
.site-footer nav { display: flex; gap: 20px; color: #607084; font-size: 12px; font-weight: 700; }
.site-footer a:hover { color: #666300; }

@media (max-width: 1050px) {
  .modern-hero-grid, .modern-section-heading, .how-grid, .modern-cta-box { grid-template-columns: 1fr; gap: 44px; }
  .public-area-grid { grid-template-columns: repeat(2,1fr); }
  .workspace-grid { grid-template-columns: repeat(2,1fr); }
  .ecosystem-visual { max-width: 580px; width: 100%; margin: auto; }
}

@media (max-width: 980px) {
  .menu { top: 76px; background: rgba(5,6,6,.99); border-color: #292c29; box-shadow: 0 18px 30px rgba(0,0,0,.22); }
  .menu a { color: #eceee9; padding: 15px 0; border-bottom: 1px solid #292c29; }
  .menu-toggle { color: #dfda00; border-color: #4a4d45; border-radius: 10px; }
}

@media (max-width: 700px) {
  section { padding: 65px 0; }
  .modern-hero { min-height: auto; padding: 70px 0; }
  .modern-hero-copy h1 { font-size: 48px; }
  .ecosystem-visual { min-height: 330px; }
  .visual-core { width: 125px; height: 125px; }
  .visual-node { width: 82px; height: 82px; }
  .public-area-grid, .workspace-grid, .workspace-summary { grid-template-columns: 1fr; }
  .workspace-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-hero-grid, .workspace-heading { align-items: flex-start; flex-direction: column; }
  .workspace-heading > p { text-align: left; }
  .workspace-actions { width: 100%; flex-direction: column; }
  .workspace-actions .btn { width: 100%; }
  .modern-cta-box { padding: 35px 25px; }
  .trust-row { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* =========================================================
   VDT CONTROL CENTER — PANEL PRINCIPAL
   ========================================================= */
.site-header:has(+ .control-center) {
  box-shadow: none;
}
.nav-actions .btn.is-current {
  color: #dfda00;
  border-color: rgba(223,218,0,.42);
  background: rgba(223,218,0,.07);
  pointer-events: none;
}
.control-center {
  min-height: calc(100vh - 76px);
  color: #111315;
  background: #f4f4ed;
}
.control-hero {
  min-height: 470px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 34%, rgba(223,218,0,.11), transparent 27%),
    linear-gradient(116deg, #050606 0%, #11130f 54%, #1b1e18 100%);
  border-bottom: 1px solid #2b2e28;
}
.control-hero-grid {
  position: absolute; inset: 0; opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}
.control-hero-glow {
  width: 420px; height: 420px; position: absolute; right: 7%; top: -35%;
  border-radius: 50%; background: rgba(223,218,0,.12); filter: blur(80px);
  pointer-events: none;
}
.control-signal {
  width: min(55vw, 760px); height: 300px; position: absolute; right: -2%; bottom: 14px;
  overflow: visible; opacity: .52; pointer-events: none;
}
.control-signal .signal-line { fill: none; stroke: #dfda00; stroke-width: 1.7; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(223,218,0,.28)); }
.control-signal .signal-area { fill: rgba(223,218,0,.08); }
.control-signal circle { fill: #dfda00; stroke: rgba(223,218,0,.25); stroke-width: 9; }
.control-hero-content {
  min-height: 470px; position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  grid-template-rows: 1fr auto; column-gap: 70px; align-items: center;
  padding-top: 46px; padding-bottom: 28px;
}
.control-welcome { max-width: 670px; padding-bottom: 35px; }
.control-kicker { display: flex; align-items: center; gap: 9px; color: #d4d6d0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.control-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #dfda00; box-shadow: 0 0 0 5px rgba(223,218,0,.09); }
.control-account { margin: 36px 0 8px; color: #90948d; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.control-welcome h1 { max-width: 620px; margin: 0; color: #fff; font-size: clamp(37px,4.2vw,59px); line-height: 1.02; letter-spacing: -.052em; font-weight: 520; }
.control-welcome h1 strong { color: #dfda00; font-weight: 760; }
.control-lead { max-width: 570px; margin: 18px 0 25px; color: #bec1bb; font-size: 15px; line-height: 1.65; }
.control-primary-action { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 0 17px; color: #111; background: #dfda00; border-radius: 11px; font-size: 12px; font-weight: 900; transition: .22s ease; }
.control-primary-action:hover { background: #efea13; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(223,218,0,.13); }
.control-primary-action span { font-size: 17px; transition: transform .22s ease; }
.control-primary-action:hover span { transform: translate(2px,-2px); }

.control-overview { width: 390px; height: 278px; position: relative; justify-self: end; align-self: center; margin-bottom: 34px; }
.control-overview::before, .control-overview::after { content: ""; position: absolute; border: 1px solid rgba(223,218,0,.19); border-radius: 50%; }
.control-overview::before { width: 250px; height: 250px; top: 17px; left: 72px; }
.control-overview::after { width: 164px; height: 164px; top: 60px; left: 115px; border-style: dashed; opacity: .65; }
.overview-label { display: flex; justify-content: space-between; color: #777c74; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.overview-label small { color: #dfda00; }
.overview-core { width: 96px; height: 96px; position: absolute; z-index: 2; left: 149px; top: 95px; display: grid; place-items: center; border: 1px solid #3b3e37; border-radius: 27px; background: #11130f; box-shadow: 0 20px 50px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.05); }
.overview-core span { color: #dfda00; font-size: 25px; font-weight: 900; }
.overview-core small { margin-top: -29px; color: #747970; font-size: 7px; letter-spacing: .12em; }
.overview-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #c0c4bc; border: 1px solid #343730; border-radius: 9px; background: rgba(13,15,12,.9); font-size: 8px; font-weight: 800; letter-spacing: .05em; box-shadow: 0 9px 25px rgba(0,0,0,.22); }
.overview-node i { width: 5px; height: 5px; border-radius: 50%; background: #dfda00; box-shadow: 0 0 0 3px rgba(223,218,0,.09); }
.node-trading { left: 10px; top: 84px; }.node-learning { right: 1px; top: 52px; }.node-tools { right: 20px; bottom: 24px; }
.overview-coordinate { position: absolute; bottom: 0; left: 0; color: #666b63; font-size: 7px; letter-spacing: .15em; }

.control-metrics { grid-column: 1 / -1; display: flex; align-items: stretch; width: max-content; border-top: 1px solid rgba(255,255,255,.11); }
.control-metrics div { min-width: 150px; padding: 16px 35px 3px 0; margin-right: 35px; border-right: 1px solid rgba(255,255,255,.1); }
.control-metrics div:last-child { border-right: 0; }
.control-metrics strong { display: block; color: #fff; font-size: 23px; line-height: 1; font-variant-numeric: tabular-nums; }
.control-metrics span { display: block; margin-top: 6px; color: #858a81; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.portals-section { padding: 82px 0 110px; position: relative; }
.portals-section::before { content: ""; position: absolute; inset: 0 0 auto; height: 210px; background: linear-gradient(#ecece4, transparent); pointer-events: none; }
.portals-section .container { position: relative; }
.control-notice { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; padding: 15px 18px; color: #414200; border: 1px solid #d4d06b; border-radius: 13px; background: #f5f2aa; }
.control-notice > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #dfda00; background: #11130f; font-weight: 900; }
.control-notice p { margin: 2px 0 0; color: #65675f; font-size: 12px; }
.portals-heading { display: grid; grid-template-columns: 1fr minmax(280px,.55fr); gap: 50px; align-items: end; margin-bottom: 38px; }
.portals-index { margin-bottom: 13px; color: #777400; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.portals-heading h2 { color: #111315; font-size: clamp(31px,4vw,48px); line-height: 1.05; letter-spacing: -.045em; }
.portals-heading > p { color: #686b65; font-size: 13px; line-height: 1.65; }

.portals-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.vdt-portal { min-height: 315px; grid-column: span 4; position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid #dedfd5; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(20,22,19,.055); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.vdt-portal:first-child { min-height: 360px; grid-column: span 8; padding: 30px; color: #fff; border-color: #262923; background: linear-gradient(130deg,#090a09,#1a1d17); }
.vdt-portal::after { content: ""; position: absolute; z-index: 4; inset: auto 24px 0; height: 3px; border-radius: 3px 3px 0 0; background: #dfda00; transform: scaleX(0); transform-origin: left; transition: transform .32s ease; }
.vdt-portal:hover { transform: translateY(-4px); border-color: #c3c05d; box-shadow: 0 22px 50px rgba(20,22,19,.11); }
.vdt-portal:hover::after { transform: scaleX(1); }
.portal-head { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.portal-monogram { width: 46px; height: 46px; display: grid; place-items: center; color: #343500; border-radius: 13px; background: #efeca0; font-size: 13px; font-weight: 900; letter-spacing: -.02em; }
.vdt-portal:first-child .portal-monogram { color: #111; background: #dfda00; }
.portal-category { color: #898c85; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.vdt-portal:first-child .portal-category { color: #8f948b; }
.portal-copy { position: relative; z-index: 3; max-width: 390px; margin-top: auto; padding: 55px 0 30px; }
.vdt-portal:first-child .portal-copy { max-width: 440px; padding-top: 85px; }
.portal-copy h3 { color: #111315; font-size: 24px; line-height: 1.1; letter-spacing: -.035em; }
.vdt-portal:first-child .portal-copy h3 { color: #fff; font-size: 32px; }
.portal-copy p { margin-top: 11px; color: #6d706a; font-size: 13px; line-height: 1.65; }
.vdt-portal:first-child .portal-copy p { color: #aeb2aa; }
.portal-footer { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid #ecece5; }
.vdt-portal:first-child .portal-footer { border-color: #30332d; }
.portal-status { color: #7b7f77; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.portal-status::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #a7aaa3; }
.portal-status.is-on { color: #4e6e4f; }.portal-status.is-on::before { background: #70a66c; box-shadow: 0 0 0 4px rgba(112,166,108,.09); }
.vdt-portal:first-child .portal-status.is-on { color: #a8cba4; }
.portal-status.is-waiting { color: #817c00; }.portal-status.is-waiting::before { background: #c5c000; }
.portal-link { display: inline-flex; align-items: center; gap: 10px; color: #575800; font-size: 11px; font-weight: 900; }
.vdt-portal:first-child .portal-link { color: #dfda00; }
.portal-link span { font-size: 15px; transition: transform .22s ease; }
.vdt-portal:hover .portal-link span { transform: translate(3px,-3px); }
.portal-muted { color: #a1a49e; font-size: 9px; }

.portal-visual { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.portal-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(223,218,0,.035)); }
.portal-vdt .portal-visual svg { width: 53%; position: absolute; right: 2%; top: 22%; overflow: visible; opacity: .58; transition: transform .5s ease; }
.portal-vdt:hover .portal-visual svg { transform: translateY(-4px); }
.portal-vdt .portal-visual path:first-child { fill: none; stroke: #dfda00; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(223,218,0,.24)); }
.portal-vdt .portal-fill { fill: rgba(223,218,0,.045); stroke: none; }
.learning-bars { position: absolute; width: 145px; height: 85px; right: 22px; top: 76px; display: flex; align-items: end; gap: 7px; opacity: .32; }
.learning-bars i { flex: 1; height: 32%; border-radius: 4px 4px 1px 1px; background: #777400; transition: height .4s ease; }
.learning-bars i:nth-child(2){height:55%}.learning-bars i:nth-child(3){height:44%}.learning-bars i:nth-child(4){height:76%}.learning-bars i:nth-child(5){height:91%;background:#c5c000}
.vdt-portal:hover .learning-bars i:nth-child(2){height:67%}.vdt-portal:hover .learning-bars i:nth-child(4){height:88%}
.precision-rings { width: 145px; height: 145px; position: absolute; right: -20px; top: 48px; opacity: .34; }
.precision-rings i { position: absolute; inset: 0; border: 1px solid #858200; border-radius: 50%; }.precision-rings i:nth-child(2){inset:28px;border-style:dashed}.precision-rings b{position:absolute;inset:53px;display:grid;place-items:center;color:#858200;font-size:24px}
.session-grid { width: 126px; position: absolute; right: 18px; top: 72px; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; opacity: .28; }
.session-grid i { height: 29px; border: 1px solid #858200; border-radius: 5px; }.session-grid i:nth-child(5){background:#dfda00;border-color:#dfda00}
.timeline-visual { position: absolute; width: 150px; right: 12px; top: 71px; opacity: .3; }
.timeline-visual::before { content:""; position:absolute; left:8px; top:5px; bottom:5px; width:1px; background:#858200; }
.timeline-visual i { width:9px; height:9px; display:block; position:relative; margin-bottom:20px; border:2px solid #858200; border-radius:50%; background:#fff; }.timeline-visual i::after{content:"";position:absolute;left:20px;top:2px;width:80px;height:3px;border-radius:3px;background:#858200}

@media (max-width: 1040px) {
  .control-hero-content { grid-template-columns: 1fr 330px; column-gap: 30px; }
  .control-overview { width: 330px; transform: scale(.9); transform-origin: right center; }
  .vdt-portal, .vdt-portal:first-child { grid-column: span 6; }
}
@media (max-width: 760px) {
  .control-hero { min-height: auto; }
  .control-signal { width: 105%; height: 220px; right: -28%; bottom: 105px; opacity: .22; }
  .control-hero-content { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding-top: 45px; padding-bottom: 0; }
  .control-welcome { padding-bottom: 25px; }
  .control-account { margin-top: 27px; }
  .control-welcome h1 { font-size: 39px; }
  .control-overview { width: 100%; height: 190px; margin: 0; transform: scale(.75); transform-origin: center top; align-self: center; }
  .control-overview::before { left: calc(50% - 125px); }.control-overview::after { left: calc(50% - 82px); }.overview-core { left: calc(50% - 48px); }
  .node-trading { left: 2%; }.node-learning { right: 2%; }.node-tools { right: 9%; }
  .control-metrics { width: calc(100% + 8%); margin-left: -4%; }
  .control-metrics div { flex: 1; min-width: 0; margin: 0; padding: 15px 12px 18px; text-align: center; }
  .control-metrics strong { font-size: 20px; }
  .control-metrics span { font-size: 7px; }
  .portals-section { padding: 58px 0 75px; }
  .portals-heading { grid-template-columns: 1fr; gap: 16px; }
  .vdt-portal, .vdt-portal:first-child { min-height: 310px; grid-column: 1 / -1; padding: 23px; }
  .vdt-portal:first-child .portal-copy { padding-top: 75px; }
  .portal-vdt .portal-visual svg { width: 75%; right: -13%; top: 27%; }
}

/* Navegación móvil inferior tipo app financiera */
.mobile-dock { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .site-header { position: relative; }
  .nav { min-height: 68px; }
  .logo { font-size: 17px; }
  .logo span { font-size: 7px; letter-spacing: 3.5px; }
  .menu-toggle, .site-header .menu, .site-header .nav-actions { display: none !important; }

  .mobile-dock {
    height: calc(66px + env(safe-area-inset-bottom));
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    position: fixed;
    z-index: 500;
    inset: auto 0 0;
    padding: 7px 7px env(safe-area-inset-bottom);
    color: #878b83;
    background: rgba(8,9,9,.97);
    border-top: 1px solid #2d302a;
    box-shadow: 0 -12px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(16px);
  }
  .mobile-dock > a {
    min-width: 55px;
    height: 53px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    color: inherit;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .01em;
    transition: color .2s ease, transform .2s ease;
  }
  .mobile-dock > a > svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-dock > a.is-active { color: #dfda00; }
  .mobile-dock > a.is-active::after {
    content: "";
    width: 4px; height: 4px;
    position: absolute; bottom: 0;
    border-radius: 50%; background: #dfda00;
  }
  .mobile-dock .dock-primary {
    justify-content: flex-start;
    color: #d7d9d3;
    transform: translateY(-20px);
  }
  .dock-primary-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border: 5px solid #080909;
    border-radius: 17px;
    color: #111;
    background: #dfda00;
    box-shadow: 0 9px 24px rgba(0,0,0,.32), 0 0 0 1px rgba(223,218,0,.18);
  }
  .dock-primary-icon svg {
    width: 21px; height: 21px;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .mobile-dock .dock-primary > span:last-child { margin-top: 1px; font-size: 8px; }

  /* El hero móvil se recompone; no comprime la versión desktop. */
  .control-hero-content { padding-top: 34px; }
  .control-kicker { font-size: 9px; }
  .control-account { margin-top: 23px; font-size: 9px; }
  .control-welcome h1 { max-width: 100%; font-size: clamp(30px, 8.6vw, 36px); line-height: 1.04; letter-spacing: -.045em; }
  .control-lead { margin: 16px 0 20px; font-size: 13px; line-height: 1.55; }
  .control-primary-action { min-height: 41px; padding: 0 14px; font-size: 11px; }
  .control-overview { height: 142px; margin-top: 5px; transform: scale(.57); transform-origin: center top; }
  .control-signal { height: 165px; bottom: 82px; }
  .overview-coordinate { display: none; }
  .control-metrics { margin-top: -19px; }
  .control-metrics div { padding-top: 13px; padding-bottom: 14px; }
  .control-metrics strong { font-size: 18px; }
  .portals-heading h2 { font-size: 30px; }
  .portals-heading > p { font-size: 12px; }
}

/* Movimiento y energía visual VDT */
@keyframes vdtFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes vdtPulse { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: .7; transform: scale(1.08); } }
@keyframes vdtTicker { from { background-position: 0 0; } to { background-position: 120px 0; } }

.modern-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(90deg, #dfda00 0 28%, #777400 28% 31%, #dfda00 31% 70%, #fff84a 70%);
  background-size: 120px 100%;
  animation: vdtTicker 5s linear infinite;
}
.modern-hero { position: relative; }
.visual-core { animation: vdtFloat 5s ease-in-out infinite; }
.node-one { animation: vdtFloat 4.2s ease-in-out -.8s infinite; }
.node-two { animation: vdtFloat 4.8s ease-in-out -1.7s infinite; }
.ecosystem-visual::after { animation: vdtPulse 4s ease-in-out infinite; }
.public-area-card:nth-child(2) { transform: translateY(24px); }
.public-area-card:nth-child(2):hover { transform: translateY(17px); }
.public-area-card::after, .workspace-card::after {
  content: ""; position: absolute; inset: auto 22px 0; height: 3px;
  border-radius: 3px 3px 0 0; background: #dfda00;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.public-area-card:hover::after, .workspace-card:hover::after { transform: scaleX(1); }
.workspace-card { position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.workspace-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(23,25,22,.12); }
.workspace-card:nth-child(3n+2) .area-monogram { color: #111; background: #dfda00; }
.workspace-summary { box-shadow: 0 16px 40px rgba(18,20,18,.07); }
.workspace-summary div:first-child { background: #11130f; }
.workspace-summary div:first-child strong { color: #dfda00; }
.workspace-summary div:first-child span { color: #c9cbc5; }

/* Login, registro y perfil: misma identidad viva */
.login-page, .register-page, .profile-page, .admin-page {
  min-height: calc(100vh - 76px);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(223,218,0,.2), transparent 22%),
    radial-gradient(circle at 92% 72%, rgba(223,218,0,.12), transparent 24%),
    #f4f4ed;
}
.login-hero, .register-hero, .profile-hero, .admin-hero {
  padding: 70px 0;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(220,214,0,.035) 75px),
    linear-gradient(120deg, #050606, #1d201a);
  border-bottom: 6px solid #dfda00;
}
.login-grid, .register-grid, .profile-grid { gap: 45px; }
.login-info h1, .register-hero h1, .profile-hero h1, .admin-hero h1 { color: #fff; letter-spacing: -.045em; }
.login-info h1 span, .register-hero h1 span, .profile-hero h1 span, .admin-hero h1 span { color: #dfda00; }
.login-info .eyebrow, .register-hero .eyebrow, .profile-hero .eyebrow, .admin-hero .eyebrow { color: #dfda00; }
.login-text, .login-info p, .register-hero p, .profile-hero p, .admin-hero p { color: #c9cbc5 !important; }
.login-benefits, .register-benefits, .profile-status {
  color: #fff; background: rgba(255,255,255,.07); border-color: rgba(223,218,0,.22);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.login-benefits li, .register-benefits li { color: #d7d9d3; }
.login-benefits li::marker, .register-benefits li::marker { color: #dfda00; }
.login-box, .form-box, .profile-card, .admin-filters, .access-table {
  color: var(--ink); background: #fff; border-color: #dedfd5;
  box-shadow: 0 22px 55px rgba(18,20,18,.11);
}
.login-box { position: relative; overflow: hidden; }
.login-box::before, .form-box::before, .profile-card::before {
  content: ""; display: block; position: absolute; inset: 0 0 auto; height: 5px; background: #dfda00;
}
.login-box h2, .profile-card h2 { color: #111315; }
.login-box .login-text { color: #777400 !important; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.login-links a, .register-login-link a { color: #666300; }
.register-form-section, .profile-section, .admin-access-section { background: transparent; }
.profile-summary { border-color: #dedfd5; background: #f6f6ef; }
.profile-avatar { color: #111; background: #dfda00; box-shadow: 0 14px 35px rgba(128,125,0,.2); }
.profile-photo { border-color: #dfda00; box-shadow: 0 14px 35px rgba(128,125,0,.18); }
.profile-status strong { color: #dfda00; }
.access-badge.ok { color: #111; background: #dfda00; }

input, select, textarea {
  color: #111315; background: #fbfbf7; border-color: #cfd1c7;
}
input:focus, select:focus, textarea:focus {
  border-color: #a6a200; box-shadow: 0 0 0 4px rgba(223,218,0,.14);
}
label { color: #686500; }

/* Administración más clara y operativa */
.admin-hero { padding: 58px 0 42px; }
.admin-alert { color: #3f3e00; background: #f2efa1; border-color: #d9d46e; }
.admin-results-info strong { color: #686500; }
.access-row { color: var(--ink); background: #f8f8f3; border-color: #dedfd5; transition: .2s ease; }
.access-row:hover { background: #fff; border-color: #c8c460; transform: translateX(3px); }
.access-row.pending { background: #fffde7; border-color: #d2cd50; }
.access-user strong, .access-area strong { color: #111315; }
.access-user span, .access-area span, .empty-text { color: #71746e; }
.access-check { color: #555852; }

/* Empresas y confirmaciones */
.affiliate-page { background: radial-gradient(circle at 8% 15%, rgba(223,218,0,.2), transparent 22%), #f4f4ed !important; }
.affiliate-info { border-bottom: 6px solid #dfda00; background: linear-gradient(145deg,#050606,#20231d) !important; }
.affiliate-info span, .affiliate-point strong { color: #dfda00 !important; }
.affiliate-point { border-color: rgba(223,218,0,.2) !important; }
.affiliate-form-card { border-color: #dedfd5 !important; box-shadow: 0 22px 55px rgba(18,20,18,.11) !important; }
.btn-submit-gold { background: #dfda00 !important; transition: .2s ease; }
.btn-submit-gold:hover { background: #f0ea00 !important; transform: translateY(-2px); }
.success-page { background: radial-gradient(circle at 50% 20%, rgba(223,218,0,.2), transparent 30%), #f4f4ed; }
.success-card { position: relative; overflow: hidden; border: 1px solid #dedfd5; box-shadow: 0 24px 60px rgba(18,20,18,.12) !important; }
.success-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: #dfda00; }
.success-icon { background: #dfda00 !important; box-shadow: 0 0 0 12px rgba(223,218,0,.16); }

/* Aparición progresiva, sin ocultar contenido si JS falla */
.motion-ready .motion-item { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.motion-ready .motion-item.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .motion-item:nth-child(2) { transition-delay: .08s; }
.motion-ready .motion-item:nth-child(3) { transition-delay: .16s; }
.motion-ready .motion-item:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .motion-ready .motion-item { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 700px) {
  .public-area-card:nth-child(2), .public-area-card:nth-child(2):hover { transform: none; }
  .login-hero, .register-hero, .profile-hero, .admin-hero { padding: 52px 0; }
}
