@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --bg: #fff;
  --cream: #fbf7ef;
  --cream2: #f6efe2;
  --ink: #111318;
  --muted: #69707d;
  --gold: #d6a84f;
  --gold2: #f3d88c;
  --gold3: #9c6b1e;
  --blue: #2b8cff;
  --ice: #eaf6ff;
  --glass: rgba(255, 255, 255, .72);
  --line: rgba(214, 168, 79, .28);
  --shadow: 0 24px 70px rgba(115, 85, 24, .13);
  --radius: 28px;
  --ease: cubic-bezier(.2, .75, .18, 1)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #f7fbff 0, #fff 24%, #fbf7ef 68%, #fff 100%);
  overflow-x: hidden
}

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

img {
  max-width: 100%;
  display: block
}

button,
input,
select,
textarea {
  font: inherit
}

.page {
  min-height: 100vh;
  position: relative
}

.noise:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E")
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -1
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: -2;
  background: radial-gradient(circle at 15% 20%, rgba(43, 140, 255, .18), transparent 28%), radial-gradient(circle at 85% 10%, rgba(214, 168, 79, .24), transparent 30%), radial-gradient(circle at 50% 100%, rgba(243, 216, 140, .25), transparent 40%);
  filter: blur(25px);
  animation: aurora 14s ease-in-out infinite alternate
}

@keyframes aurora {
  to {
    transform: translate3d(2%, -2%, 0) scale(1.08)
  }
}

.header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  z-index: 50;
  border: 1px solid rgba(214, 168, 79, .22);
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(24px);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(18, 23, 35, .08);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 18px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .08em
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(43, 140, 255, .22))
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center
}

.nav a,
.dropbtn {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #3a3e45;
  background: transparent;
  border: 0;
  cursor: pointer
}

.nav a:hover,
.drop:hover .dropbtn {
  background: rgba(214, 168, 79, .12);
  color: #111
}

.drop {
  position: relative
}

.drop-menu {
  position: absolute;
  top: 46px;
  left: 0;
  width: 270px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  pointer-events: none;
  transition: .25s var(--ease)
}

.drop:hover .drop-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.drop-menu a {
  display: flex;
  justify-content: space-between;
  border-radius: 15px;
  padding: 12px
}

.header-actions {
  display: flex;
  gap: 8px
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(17, 19, 24, .2);
  transition: .28s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 9px
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(17, 19, 24, .26)
}

.btn.gold {
  background: linear-gradient(135deg, var(--gold3), var(--gold), var(--gold2));
  color: #111
}

.btn.ghost {
  background: rgba(255, 255, 255, .75);
  color: #111;
  border: 1px solid var(--line);
  box-shadow: none
}

.menu-btn {
  display: none;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 11px 13px;
  font-weight: 900;
  border: 1px solid var(--line)
}

.mobile-panel {
  position: fixed;
  inset: 0 0 auto auto;
  width: min(420px, 100%);
  height: 100vh;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(30px);
  transform: translateX(105%);
  transition: .45s var(--ease);
  padding: 28px;
  box-shadow: -30px 0 90px rgba(0, 0, 0, .14);
  overflow: auto
}

.mobile-panel.open {
  transform: none
}

.mobile-panel a {
  display: block;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-weight: 800
}

.close {
  float: right;
  border: 0;
  background: #111;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(circle, #fff 0, #f7fbff 55%, #fff8e8 100%);
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s
}

.preloader.hide {
  opacity: 0;
  visibility: hidden
}

.preloader-card {
  text-align: center
}

.dna-loader {
  width: 150px;
  height: 190px;
  margin: auto;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 2.5s linear infinite
}

.dna-loader span {
  position: absolute;
  left: 50%;
  top: calc(var(--i)*12px);
  width: 86px;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #fff, #2b8cff);
  border-radius: 99px;
  transform: translateX(-50%) rotateY(calc(var(--i)*28deg));
  box-shadow: 0 0 18px rgba(214, 168, 79, .7)
}

@keyframes spin {
  to {
    transform: rotateY(360deg)
  }
}

.progress {
  width: 310px;
  height: 7px;
  background: #eadfc9;
  border-radius: 99px;
  overflow: hidden;
  margin: 20px auto 8px
}

.bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold3), var(--gold2), #58a5ff);
  border-radius: 99px
}

.preloader h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin: 10px 0 4px
}

.preloader p {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase
}

main {
  padding-top: 86px
}

.wrap {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 34px;
  padding: 60px 0 70px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #7a5b17;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase
}

.hero h1,
.title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 94px);
  line-height: .92;
  letter-spacing: -.055em;
  margin: 24px 0 22px
}

.gold-text {
  background: linear-gradient(120deg, var(--gold3), var(--gold), #57a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lead {
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.6;
  color: #434956;
  max-width: 760px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(43, 140, 255, .12);
  font-weight: 800;
  font-size: 13px;
  color: #354052
}

.hero-visual {
  position: relative;
  min-height: 600px
}

.orbital-card {
  position: absolute;
  inset: 30px 0 20px 0;
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .24));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden
}

.orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.holo-person {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 310px;
  height: 510px;
  filter: drop-shadow(0 30px 70px rgba(43, 140, 255, .25));
  animation: float 5s ease-in-out infinite
}

.holo-person svg {
  width: 100%;
  height: 100%
}

.metric-float {
  position: absolute;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(41, 59, 80, .12);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 900
}

.m1 {
  top: 90px;
  right: 5px
}

.m2 {
  bottom: 150px;
  left: 0
}

.m3 {
  bottom: 55px;
  right: 28px
}

.float-logo {
  position: absolute;
  top: -10px;
  left: 0;
  width: 118px;
  animation: float 6s ease-in-out infinite
}

@keyframes float {
  50% {
    transform: translateY(-16px)
  }
}

.holo-person {
  animation: hfloat 5s ease-in-out infinite
}

@keyframes hfloat {
  50% {
    transform: translate(-50%, -54%) rotate(1deg)
  }
}

.section {
  padding: 90px 0;
  position: relative
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 34px
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 10px 0
}

.section p.sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 710px
}

.grid {
  display: grid;
  gap: 18px
}

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

.g3 {
  grid-template-columns: repeat(3, 1fr)
}

.g4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58));
  border-radius: var(--radius);
  box-shadow: 0 22px 68px rgba(70, 57, 30, .08);
  padding: 26px;
  overflow: hidden;
  transition: .35s var(--ease);
  backdrop-filter: blur(18px)
}

.card:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, transparent, rgba(214, 168, 79, .18), transparent);
  opacity: 0;
  transition: .35s;
  pointer-events: none
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 34px 86px rgba(147, 104, 24, .18)
}

.card:hover:before {
  opacity: 1
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, var(--ice));
  border: 1px solid rgba(43, 140, 255, .18);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .9), 0 14px 30px rgba(43, 140, 255, .12);
  margin-bottom: 18px
}

.icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold3);
  stroke-width: 1.8;
  fill: none
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -.02em
}

.card p,
.card li {
  color: #5e6570;
  line-height: 1.65
}

.num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold3);
  font-weight: 800
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: t
}

.timeline .card {
  min-height: 260px
}

.timeline .card:after {
  counter-increment: t;
  content: '0' counter(t);
  position: absolute;
  right: 24px;
  top: 20px;
  font: 800 42px 'Playfair Display';
  color: rgba(214, 168, 79, .22)
}

.ecosystem-map {
  min-height: 520px;
  border-radius: 42px;
  background: radial-gradient(circle at center, rgba(43, 140, 255, .12), rgba(214, 168, 79, .08), rgba(255, 255, 255, .6));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.node {
  position: absolute;
  width: 170px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(25, 32, 45, .1);
  backdrop-filter: blur(16px);
  text-align: center;
  font-weight: 900
}

.node small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px
}

.node.center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  background: linear-gradient(135deg, #111, #31333a);
  color: white
}

.node.n1 {
  left: 6%;
  top: 10%
}

.node.n2 {
  right: 8%;
  top: 12%
}

.node.n3 {
  left: 8%;
  bottom: 13%
}

.node.n4 {
  right: 9%;
  bottom: 12%
}

.node.n5 {
  left: 50%;
  top: 5%;
  transform: translateX(-50%)
}

.node.n6 {
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%)
}

.lines {
  position: absolute;
  inset: 0
}

.device-card {
  min-height: 250px
}

.device-img {
  height: 110px;
  border-radius: 24px;
  background: radial-gradient(circle, var(--ice), transparent 70%);
  display: grid;
  place-items: center;
  margin-bottom: 14px
}

.device-svg {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 20px 24px rgba(43, 140, 255, .18))
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer
}

.tab.active {
  background: #111;
  color: white
}

.tab-panel {
  display: none
}

.tab-panel.active {
  display: block;
  animation: rise .45s var(--ease)
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.dashboard {
  background: #0e1117;
  color: #fff;
  border-radius: 44px;
  padding: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .22);
  position: relative;
  overflow: hidden
}

.dash-grid {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 16px
}

.dash-side,
.dash-main,
.dash-right {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  padding: 18px;
}

.dash-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-side>b {
  display: block;
  margin: 0 0 4px;
  line-height: 1.2;
}

.dash-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 16px;
  margin-bottom: 0;
  color: #d6d9df;
  font-weight: 800;
  line-height: 1.15;
}

.dash-link.active {
  background: linear-gradient(135deg, var(--gold3), var(--gold));
  color: #111
}

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

.stat {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 16px
}

.stat b {
  font-size: 26px
}

.chart {
  height: 170px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(43, 140, 255, .18), rgba(214, 168, 79, .08));
  position: relative;
  overflow: hidden;
  margin-top: 14px
}

.chart canvas {
  width: 100%;
  height: 100%
}

.chat {
  height: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.bubble {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  line-height: 1.5
}

.bubble.ai {
  background: linear-gradient(135deg, rgba(214, 168, 79, .22), rgba(43, 140, 255, .12));
  border: 1px solid rgba(214, 168, 79, .22)
}

.author {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: center
}

.portrait {
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff
}

.portrait img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02)
}

.portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .36))
}

.quote {
  font: 700 28px/1.35 'Playfair Display';
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, .55);
  border-radius: 0 28px 28px 0
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .75);
  margin-bottom: 10px;
  overflow: hidden
}

.faq-q {
  padding: 20px 22px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  cursor: pointer
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: .35s var(--ease);
  color: var(--muted);
  line-height: 1.6;
  padding: 0 22px
}

.faq-item.open .faq-a {
  max-height: 220px;
  padding: 0 22px 20px
}

.form {
  display: grid;
  gap: 14px
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 7px;
  color: #3d4149
}

.field input,
.field textarea,
.field select,
.custom-select .selected {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .8);
  outline: none;
  transition: .25s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4)
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(214, 168, 79, .13)
}

.custom-select {
  position: relative
}

.selected {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 10;
  display: none
}

.custom-select.open .options {
  display: block
}

.option {
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800
}

.option:hover {
  background: rgba(214, 168, 79, .12)
}

.auth-wrap {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding: 70px 0
}

.auth-card {
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 38px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px)
}

.verify-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px
}

.verify-side {
  position: sticky;
  top: 110px;
  align-self: start
}

.step {
  padding: 15px;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  background: #fff;
  font-weight: 800
}

.step.done {
  background: linear-gradient(135deg, rgba(214, 168, 79, .18), #fff)
}

.legal-content {
  max-width: 900px;
  margin: auto
}

.legal-content h1 {
  font-family: 'Playfair Display';
  font-size: 58px
}

.legal-content p,
.legal-content li {
  color: #505967;
  line-height: 1.8
}

.footer {
  padding: 60px 0 30px;
  background: #111318;
  color: #fff;
  margin-top: 70px
}

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

.footer a {
  display: block;
  color: #c9ced8;
  margin: 10px 0
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: radial-gradient(circle, var(--gold2), #fff 45%, var(--ice));
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path .55s var(--ease);
  pointer-events: none
}

.page-transition.active {
  clip-path: circle(150% at var(--x, 50%) var(--y, 50%))
}

@media(max-width:980px) {

  .nav,
  .header-actions {
    display: none
  }

  .menu-btn {
    display: block;
    margin-left: auto
  }

  .header {
    top: 10px
  }

  .hero,
  .split,
  .author,
  .verify-layout {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 25px
  }

  .hero-visual {
    min-height: 540px
  }

  .g3,
  .g4,
  .timeline {
    grid-template-columns: 1fr 1fr
  }

  .dash-grid {
    grid-template-columns: 1fr
  }

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

  .section-head {
    display: block
  }
}

@media(max-width:640px) {
  main {
    padding-top: 76px
  }

  .wrap {
    width: min(100% - 22px, 1180px)
  }

  .hero h1,
  .title {
    font-size: 46px
  }

  .lead {
    font-size: 16px
  }

  .hero-visual {
    min-height: 480px
  }

  .holo-person {
    width: 240px;
    height: 430px
  }

  .g2,
  .g3,
  .g4,
  .timeline,
  .stat-grid {
    grid-template-columns: 1fr
  }

  .section {
    padding: 58px 0
  }

  .card {
    padding: 20px;
    border-radius: 24px
  }

  .node {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: auto !important;
    margin: 10px
  }

  .ecosystem-map {
    padding: 18px;
    min-height: auto
  }

  .lines {
    display: none
  }

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

  .portrait img {
    height: 440px
  }

  .metric-float {
    display: none
  }

  .dash-side {
    display: none
  }

  .auth-card {
    padding: 23px;
    border-radius: 28px
  }

  .mobile-panel {
    padding: 22px
  }

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

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

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}


/* CODEVITA grand expansion */
:root {
  --wrap: 1360px
}

.wrap {
  width: min(100% - 56px, var(--wrap))
}

.header {
  width: min(100% - 40px, 1500px)
}

.hero.wrap {
  width: min(100% - 40px, 1500px);
  grid-template-columns: 1.05fr .95fr;
  min-height: calc(100vh - 118px)
}

.hero h1 {
  font-size: clamp(56px, 6.2vw, 108px);
  letter-spacing: -.06em;
  line-height: .9;
  max-width: 100%;
}

.hero {
  grid-template-columns: minmax(0, .95fr) minmax(420px, .8fr);
}

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

.hero h1,
.hero p {
  overflow-wrap: normal;
}

.hero-text {
  max-width: 720px;
}

.lead {
  font-size: 21px;
  max-width: 820px
}

.section {
  padding: 105px 0
}

.section-head h2 {
  font-size: clamp(42px, 5vw, 78px);
  line-height: .92
}

.card {
  padding: 34px;
  border-radius: 34px
}

.btn {
  padding: 16px 23px;
  font-size: 14px
}

.btn.big {
  padding: 20px 30px;
  font-size: 16px
}

.pill {
  padding: 12px 16px
}

.hero-visual {
  min-height: 760px
}

.orbital-card {
  transform: scale(1.08)
}

.drop {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px
}

.dropbtn {
  position: relative;
  z-index: 3
}

.drop-menu {
  top: 42px
}

.drop:hover .drop-menu,
.drop:focus-within .drop-menu,
.drop-menu:hover {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.drop-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 22px
}

.drop-menu a:hover {
  background: rgba(214, 168, 79, .12)
}

.preloader-card {
  transform: scale(1.08);
  animation: preBreathe 1.6s ease-in-out infinite alternate
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .75s ease, visibility .75s, transform .75s ease
}

.progress {
  height: 10px
}

.bar {
  box-shadow: 0 0 26px rgba(214, 168, 79, .55)
}

@keyframes preBreathe {
  from {
    filter: drop-shadow(0 22px 55px rgba(214, 168, 79, .16))
  }

  to {
    filter: drop-shadow(0 28px 75px rgba(43, 140, 255, .18))
  }
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px
}

.mega-card {
  grid-column: span 4;
  min-height: 260px;
  position: relative;
  overflow: hidden
}

.mega-card.large {
  grid-column: span 8
}

.mega-grid .mega-card:nth-child(3),
.mega-grid .mega-card:nth-child(4) {
  grid-column: span 6;
}

.mega-card:after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 79, .22), transparent 65%)
}

.click-lab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch
}

.interactive-panel {
  height: auto;
  min-height: unset;
}

.hotspot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(214, 168, 79, .18), 0 0 35px rgba(214, 168, 79, .65);
  cursor: pointer;
  animation: pulse 1.7s infinite
}

.hotspot:after {
  content: attr(data-tip);
  position: absolute;
  left: 26px;
  top: -20px;
  width: 220px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  color: #222;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(6px);
  transition: .25s
}

.hotspot:hover:after {
  opacity: 1;
  transform: none
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 18px rgba(214, 168, 79, .08), 0 0 45px rgba(43, 140, 255, .45)
  }
}

.ai-demo {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 520px
}

.ai-messages {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 6px
}

.ai-input {
  display: flex;
  gap: 10px
}

.ai-input input {
  flex: 1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86)
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.quick-prompts button {
  height: 44px;
  min-width: unset;

  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(214, 168, 79, .2);
  border-radius: 999px;

  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}



.quick-prompts button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 800;
  cursor: pointer
}

.ai-send {
  border: 0;
  border-radius: 18px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  font-weight: 900;
  cursor: pointer
}

.bubble.user {
  align-self: flex-end;
  background: rgba(43, 140, 255, .12);
  border: 1px solid rgba(43, 140, 255, .18)
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 120px;
  font: 900 24px/1.1 'Playfair Display';
  letter-spacing: -.03em;
  background: linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .56))
}

.partner-logo small {
  display: block;
  font: 700 12px Inter;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0
}

.legal-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px
}

.legal-nav {
  position: sticky;
  top: 110px;
  align-self: start
}

.legal-nav a {
  display: block;
  padding: 13px 16px;
  border-radius: 16px;
  color: #454b55;
  font-weight: 800
}

.legal-nav a:hover {
  background: rgba(214, 168, 79, .12);
  color: #111
}

.legal-box {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 42px;
  box-shadow: var(--shadow)
}

.legal-box h2 {
  font-size: 34px;
  margin-top: 36px
}

.legal-box h2:first-child {
  margin-top: 0
}

.legal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 28px
}

.kbd {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  font-weight: 900;
  color: #555
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer
}

.link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 90px rgba(18, 23, 35, .16)
}

@media(max-width:980px) {
  .hero.wrap {
    grid-template-columns: 1fr
  }

  .click-lab,
  .legal-shell {
    grid-template-columns: 1fr
  }

  .mega-card,
  .mega-card.large {
    grid-column: span 6
  }

  .legal-nav {
    position: relative;
    top: auto
  }

  .hero-visual {
    min-height: 560px
  }
}

@media(max-width:640px) {
  .wrap {
    width: min(100% - 22px, 1180px)
  }

  .mega-card,
  .mega-card.large {
    grid-column: span 12
  }

  .click-lab {
    gap: 14px
  }

  .interactive-panel,
  .ai-demo {
    min-height: 440px
  }

  .legal-box {
    padding: 22px;
    border-radius: 24px
  }

  .hero h1 {
    font-size: 40px
  }

  .section {
    padding: 62px 0
  }
}

/* Final legal/payment/cookie polish */
.footer .payment-strip {
  margin-top: 18px;
  max-width: 560px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18)
}

.footer .legal-note {
  margin-top: 14px;
  color: #aeb6c5;
  font-size: 12px;
  line-height: 1.65;
  max-width: 680px
}

.footer .legal-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px
}

.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1040px, calc(100% - 36px));
  margin: auto;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(17, 19, 24, .94);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .12)
}

.cookie-consent.show {
  display: flex
}

.cookie-consent p {
  margin: 4px 0 0;
  color: #d7dce6;
  line-height: 1.55
}

.cookie-consent a {
  color: #f3d88c;
  text-decoration: underline;
  text-underline-offset: 3px
}

.cookie-consent .btn {
  box-shadow: none;
  white-space: nowrap
}

@media(max-width:760px) {
  .cookie-consent {
    display: none;
    flex-direction: column;
    align-items: flex-start
  }

  .cookie-consent.show {
    display: flex
  }

  .footer .payment-strip {
    max-width: 100%
  }
}

.legal-alert {
  border: 1px solid rgba(214, 168, 79, .28);
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 250, 241, .8));
  border-radius: 24px;
  padding: 20px;
  margin: 20px 0;
  color: #4b5260;
  line-height: 1.7
}

.legal-alert b {
  color: #111318
}

.source-list {
  display: grid;
  gap: 8px;
  margin-top: 18px
}

.source-list a {
  color: #7a5b17;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800
}


/* Footer/legal responsive fixes */
.footer {
  overflow: hidden
}

.footer-grid {
  grid-template-columns: minmax(360px, 1.55fr) repeat(3, minmax(150px, 1fr));
  align-items: start
}

.footer-about {
  min-width: 0
}

.footer-desc {
  color: #c9ced8;
  line-height: 1.7;
  max-width: 520px
}

.footer-col {
  min-width: 0
}

.footer-col b {
  display: block;
  margin-bottom: 12px
}

.footer .footer-col a {
  display: block;
  margin: 9px 0;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: break-word
}

.footer .legal-note a {
  display: inline;
  margin: 0;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap
}

.footer .payment-strip {
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 35px;
  padding-top: 22px;
  color: #aeb6c5;
  line-height: 1.6
}

.legal-content h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05
}

.legal-box {
  min-width: 0
}

.legal-nav {
  min-width: 0
}

.legal-nav a {
  line-height: 1.25
}

.legal-content ul {
  padding-left: 22px
}

.legal-content p,
.legal-content li {
  overflow-wrap: anywhere
}

@media(max-width:1240px) {

  .nav,
  .header-actions {
    display: none
  }

  .menu-btn {
    display: block;
    margin-left: auto
  }

  .header {
    top: 10px;
    width: min(100% - 24px, 900px)
  }
}

@media(max-width:980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-about {
    grid-column: 1/-1
  }

  .legal-shell {
    grid-template-columns: 1fr
  }

  .legal-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px
  }

  .legal-nav a {
    padding: 12px 14px;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(214, 168, 79, .18)
  }
}

@media(max-width:640px) {
  .footer {
    padding: 42px 0 24px
  }

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

  .footer .payment-strip {
    border-radius: 16px;
    padding: 8px;
    margin-top: 16px
  }

  .footer-bottom {
    font-size: 14px
  }

  .legal-nav {
    grid-template-columns: 1fr
  }

  .legal-box {
    padding: 22px;
    border-radius: 24px
  }

  .legal-box h2 {
    font-size: 26px
  }

  .legal-meta {
    gap: 8px
  }

  .kbd {
    font-size: 12px
  }

  .title {
    font-size: clamp(34px, 12vw, 46px);
    line-height: 1.02
  }

  .lead {
    max-width: 100%
  }
}

/* Mobile cabinet CTA + auth helper */
.mobile-cabinet-quick {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(214, 168, 79, .98), rgba(255, 232, 164, .92));
  color: #111318;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(214, 168, 79, .25);
  border: 1px solid rgba(255, 255, 255, .4);
  white-space: nowrap
}

.mobile-panel a.mobile-cabinet-link {
  margin: 8px 0 12px;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(214, 168, 79, .98), rgba(255, 232, 164, .92));
  color: #111318;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(214, 168, 79, .22);
  border: 1px solid rgba(255, 255, 255, .45)
}

.auth-switch {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(214, 168, 79, .22);
  color: #5d6470;
  text-align: center
}

.auth-switch a {
  color: #111318;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 168, 79, .55)
}

@media(max-width:1240px) {
  .mobile-cabinet-quick {
    display: inline-flex;
    margin-left: auto
  }

  .menu-btn {
    margin-left: 8px
  }
}

@media(max-width:430px) {
  .header {
    width: calc(100% - 12px) !important;
    gap: 4px !important;
    padding: 8px 6px !important;
  }

  .brand {
    gap: 6px;
    min-width: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 18px;
    letter-spacing: .03em;
  }

  .mobile-cabinet-quick {
    max-width: 96px;
    padding: 0 8px;
    font-size: 11px;
    min-height: 36px;
  }

  .menu-btn {
    padding: 0 10px;
    font-size: 13px;
    min-height: 36px;
  }
}


/* === CODEVITA RESPONSIVE CLEAN SYSTEM === */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
}

img,
svg,
canvas,
video {
  max-width: 100%;
}

.header,
.brand,
.nav,
.header-actions,
.mobile-cabinet-quick,
.menu-btn {
  min-width: 0;
}

.brand {
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
}

.nav a,
.dropbtn {
  white-space: nowrap;
  line-height: 1.15;
}

.header-actions {
  flex: 0 0 auto;
}

.header-actions .btn {
  white-space: nowrap;
}

.btn {
  justify-content: center;
  text-align: center;
}

.card,
.grid,
.split,
.mega-grid,
.click-lab,
.dashboard,
.dash-grid,
.legal-shell,
.auth-card {
  min-width: 0;
}

.card h1,
.card h2,
.card h3,
.card p,
.card li,
.lead,
.sub {
  overflow-wrap: anywhere;
}

@media(max-width:1360px) {
  .header {
    width: min(100% - 28px, 1320px);
    gap: 10px;
    padding: 9px 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: 17px;
    letter-spacing: .055em;
  }

  .nav {
    gap: 2px;
  }

  .nav a,
  .dropbtn {
    padding: 9px 8px;
    font-size: 12px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .btn {
    padding: 14px 24px;
    font-size: 13px;
  }
}

@media(max-width:1180px) {

  .nav,
  .header-actions {
    display: none !important;
  }

  .menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
  }

  .mobile-cabinet-quick {
    display: inline-flex;
    margin-left: auto;
  }

  .header {
    top: 10px;
    width: min(100% - 22px, 900px);
  }
}

@media(max-width:980px) {
  main {
    padding-top: 82px;
  }

  .hero.wrap,
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .hero {
    padding: 36px 0 64px;
    gap: 28px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .g3,
  .g4,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g2,
  .split,
  .author,
  .verify-layout,
  .click-lab,
  .legal-shell,
  .dash-grid {
    grid-template-columns: 1fr !important;
  }

  .mega-card,
  .mega-card.large {
    grid-column: span 6;
  }

  .section-head {
    display: block;
  }
}

@media(max-width:768px) {
  .header {
    width: calc(100vw - 14px) !important;
    max-width: calc(100vw - 14px) !important;
    padding: 8px !important;
    gap: 6px !important;
    border-radius: 999px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px;
  }

  .brand span {
    font-size: 18px !important;
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-cabinet-quick {
    flex: 0 1 auto;
    max-width: 142px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .wrap,
  .hero.wrap {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .hero h1,
  .title {
    font-size: clamp(38px, 12.5vw, 58px) !important;
    line-height: .96 !important;
    letter-spacing: -.06em !important;
    max-width: 100%;
  }

  .lead {
    font-size: 17px !important;
    line-height: 1.55 !important;
    max-width: 100%;
  }

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

  .hero-actions .btn,
  .btn.big {
    width: 100%;
    min-height: 50px;
    padding: 15px 18px;
    white-space: normal;
  }

  .g2,
  .g3,
  .g4,
  .timeline,
  .stat-grid,
  .mega-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .mega-card,
  .mega-card.large {
    grid-column: 1/-1 !important;
  }

  .section {
    padding: 58px 0 !important;
  }

  .card {
    padding: 22px;
    border-radius: 26px;
    width: 100%;
    max-width: 100%;
  }

  .section h2 {
    font-size: clamp(34px, 10.5vw, 52px) !important;
    line-height: .98 !important;
  }

  .device-img {
    height: 120px;
    display: grid;
    place-items: center;
  }

  .device-svg {
    width: 86px;
    height: 86px;
    margin: auto;
  }

  .interactive-panel,
  .ai-demo {
    min-height: auto;
  }

  .ai-input {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-send {
    min-height: 48px;
  }

  .quick-prompts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quick-prompts button {
    width: 100%;
    min-width: 0;
    padding: 11px 10px;
  }
}

@media(max-width:430px) {
  main {
    padding-top: 76px;
  }

  .header {
    width: calc(100vw - 10px) !important;
    max-width: calc(100vw - 10px) !important;
    padding: 7px 6px !important;
    gap: 5px !important;
  }

  .brand span {
    display: none !important;
  }

  .brand img {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px;
  }

  .mobile-cabinet-quick {
    max-width: 132px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .menu-btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .wrap,
  .hero.wrap {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
  }

  .hero h1,
  .title {
    font-size: clamp(34px, 13vw, 46px) !important;
  }

  .lead {
    font-size: 16px !important;
  }

   .card {
    padding: 17px !important;
    border-radius: 22px !important;
  }

  .interactive-panel {
    min-height: 280px !important;
    padding: 17px !important;
  }

  .interactive-panel .holo-person {
    width: 190px !important;
    height: 280px !important;
    left: 50% !important;
    top: 58% !important;
  }

  .hotspot {
    transform: scale(.75);
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
    font-size: 10px;
    padding: 8px 11px;
  }

  .quick-prompts {
    grid-template-columns: 1fr;
  }
}

@media(max-width:360px) {
  .mobile-cabinet-quick {
    max-width: 122px;
    font-size: 10px;
    padding: 0 8px;
  }

  .menu-btn {
    font-size: 12px;
    padding: 0 9px;
  }

  .hero h1,
  .title {
    font-size: 32px !important;
  }

  .card {
    padding: 17px;
  }
}
/* CODEVITA Doctor Dashboard */
.doctor-page main { padding-top: 118px; }
.doctor-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 24px; align-items: stretch; padding-bottom: 28px; }
.doctor-hero .title { margin: 12px 0 14px; max-width: 760px; }
.doctor-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.doctor-nfc-card { position: relative; overflow: hidden; display: grid; gap: 18px; align-content: center; min-height: 420px; border: 1px solid rgba(214,168,79,.28); background: linear-gradient(145deg, rgba(14,17,23,.94), rgba(24,28,38,.88)); color: #fff; border-radius: 42px; padding: 32px; box-shadow: 0 40px 110px rgba(0,0,0,.2); }
.doctor-nfc-card:before { content: ""; position: absolute; inset: -35%; background: radial-gradient(circle at 25% 20%, rgba(214,168,79,.33), transparent 28%), radial-gradient(circle at 80% 0%, rgba(43,140,255,.24), transparent 30%); filter: blur(18px); opacity: .9; }
.doctor-nfc-card > * { position: relative; z-index: 1; }
.nfc-orb { width: 112px; height: 112px; border-radius: 50%; border: 1px solid rgba(243,216,140,.45); display: grid; place-items: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 30px rgba(214,168,79,.18), 0 0 50px rgba(214,168,79,.18); }
.nfc-orb span { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--gold2), var(--gold)); box-shadow: 0 0 36px rgba(214,168,79,.52); animation: nfcPulse 1.8s ease-in-out infinite; }
@keyframes nfcPulse { 50% { transform: scale(.86); opacity: .72; } }
.nfc-status { display: inline-flex; width: fit-content; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--gold2); font-weight: 900; font-size: 13px; }
.nfc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.nfc-meta span { color: rgba(255,255,255,.58); font-size: 13px; }
.nfc-meta b { font-size: 15px; }
.doctor-workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr) 340px; gap: 18px; align-items: start; background: rgba(14,17,23,.96); color: #fff; border-radius: 44px; padding: 20px; box-shadow: 0 40px 120px rgba(0,0,0,.22); }
.doctor-sidebar, .doctor-main-panel, .doctor-ai-panel { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); border-radius: 28px; padding: 18px; }
.doctor-profile-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--gold3), var(--gold)); color: #111; font-weight: 900; }
.doctor-profile-mini span, .doctor-search span { display: block; color: rgba(255,255,255,.6); font-size: 13px; margin-top: 3px; }
.doctor-search input { width: 100%; margin-top: 8px; border: 1px solid rgba(255,255,255,.12); color: #fff; background: rgba(255,255,255,.08); border-radius: 18px; padding: 13px 14px; outline: none; }
.doctor-search input:focus { border-color: rgba(214,168,79,.64); box-shadow: 0 0 0 4px rgba(214,168,79,.12); }
.doctor-nav { display: grid; gap: 8px; margin: 18px 0; }
.doctor-nav a { padding: 12px 14px; border-radius: 16px; color: rgba(255,255,255,.76); font-weight: 800; }
.doctor-nav a.active, .doctor-nav a:hover { background: linear-gradient(135deg, var(--gold3), var(--gold)); color: #111; }
.mini-note { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; color: rgba(255,255,255,.72); line-height: 1.55; }
.mini-note code { color: var(--gold2); }
.doctor-topline, .section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.doctor-topline h2, .section-head h2, .section-head h3 { margin: 6px 0 0; }
.access-badge { border-radius: 999px; padding: 10px 14px; font-weight: 900; white-space: nowrap; }
.access-badge.locked { background: rgba(255,255,255,.08); color: #ffcfb8; }
.access-badge.open { background: rgba(119, 255, 198, .14); color: #94ffd4; border: 1px solid rgba(119,255,198,.28); }
.doctor-patient-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-bottom: 14px; }
.patient-card, .doctor-chart-card { border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 18px; }
.patient-card.primary { background: linear-gradient(135deg, rgba(214,168,79,.18), rgba(255,255,255,.06)); }
.patient-card.warning { border-color: rgba(243,216,140,.26); }
.card-label { color: var(--gold2); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.medical-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; }
.medical-list div { background: rgba(0,0,0,.12); border-radius: 16px; padding: 12px; }
.medical-list dt { color: rgba(255,255,255,.54); font-size: 12px; }
.medical-list dd { margin: 5px 0 0; font-weight: 900; }
.vitals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.vital { padding: 16px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.vital span, .vital small { display: block; color: rgba(255,255,255,.58); }
.vital b { display: block; margin: 5px 0; font-size: 28px; }
.doctor-chart { height: 210px; }
.ai-header { margin-bottom: 14px; }
.doctor-ai-summary { display: grid; gap: 12px; }
.doctor-ai-summary p { margin: 0; padding: 14px; border-radius: 18px; line-height: 1.55; background: linear-gradient(135deg, rgba(214,168,79,.18), rgba(43,140,255,.1)); border: 1px solid rgba(214,168,79,.18); }
.access-log { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.log-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.log-row span { color: rgba(255,255,255,.55); }
.log-row.muted b { color: rgba(255,255,255,.58); }
.btn.full { width: 100%; justify-content: center; margin-top: 18px; }
.doctor-roadmap { padding-top: 34px; }
.roadmap-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.roadmap-mini-grid div { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.roadmap-mini-grid p { color: var(--muted); margin-bottom: 0; line-height: 1.55; }
.doctor-page.nfc-granted .doctor-nfc-card { border-color: rgba(119,255,198,.34); }
.doctor-page.nfc-granted .nfc-orb span { background: linear-gradient(135deg, #9cffd7, var(--gold2)); }
@media (max-width: 1180px) { .doctor-workspace { grid-template-columns: 240px 1fr; } .doctor-ai-panel { grid-column: 1 / -1; } .doctor-hero { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .doctor-page main { padding-top: 96px; } .doctor-workspace { grid-template-columns: 1fr; border-radius: 30px; padding: 12px; } .doctor-patient-grid, .vitals-grid, .medical-list, .roadmap-mini-grid { grid-template-columns: 1fr; } .doctor-topline, .section-head { align-items: flex-start; flex-direction: column; } .doctor-nfc-card { min-height: auto; border-radius: 30px; } }
@media (prefers-reduced-motion: reduce) { .nfc-orb span { animation: none; } }
