/* PRO-FULL Home Hub styles. Edit tokens in :root to customize the theme. */
:root {
  --bg:#070a12;
  --panel:#0e1421;
  --panel2:#111b2b;
  --line:#202d40;
  --muted:#8492a8;
  --text:#edf5ff;
  --cyan:#58d8ff;
  --violet:#9b8cff;
  --green:#55e0ae
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,Kanit,sans-serif;
  overflow-x:hidden
}

body:before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:radial-gradient(ellipse at 72% 8%,#172d4a 0,transparent 35%),radial-gradient(ellipse at 10% 65%,#191333 0,transparent 35%),#070a12
}

#particles {
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  opacity:.55
}

.layout {
  display:grid;
  grid-template-columns:250px 1fr;
  min-height:100vh
}

.sidebar {
  border-right:1px solid #1b2637;
  background:#090e18cc;
  backdrop-filter:blur(20px);
  padding:28px 18px;
  position:sticky;
  top:0;
  height:100vh
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  padding:4px 10px 34px
}

.brand-mark {
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#58d8ff,#7866ff);
  box-shadow:0 0 28px #58d8ff55;
  font-size:20px;
  color:#07101b
}

.brand b {
  letter-spacing:2px;
  font-size:14px
}

.brand small {
  display:block;
  color:var(--muted);
  font-size:10px;
  letter-spacing:2px;
  margin-top:3px
}

.nav-label {
  color:#58677d;
  font-size:10px;
  letter-spacing:2px;
  padding:12px 12px
}

.nav a {
  display:flex;
  align-items:center;
  gap:13px;
  padding:13px 14px;
  color:#9cabc0;
  text-decoration:none;
  border-radius:12px;
  font-size:13px;
  margin:4px 0;
  transition:.25s
}

.nav a:hover,.nav a.active {
  background:linear-gradient(100deg,#162b40,#15172c);
  color:#fff;
  box-shadow:inset 2px 0 var(--cyan)
}

.nav .ico {
  width:20px;
  text-align:center;
  font-size:17px
}

.side-bottom {
  position:absolute;
  bottom:24px;
  left:22px;
  right:22px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:#101827
}

.pulse {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 12px var(--green);
  margin-right:8px
}

.side-bottom small {
  color:var(--muted);
  font-size:11px
}

main {
  padding:28px 4.2vw 60px;
  max-width:1600px;
  width:100%;
  margin:auto
}

.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:36px
}

.crumb {
  font-size:12px;
  color:var(--muted)
}

.top-actions {
  display:flex;
  align-items:center;
  gap:12px
}

.time {
  border:1px solid var(--line);
  padding:9px 13px;
  border-radius:10px;
  color:#a8b7cb;
  font-size:11px
}

.avatar {
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#243c5b,#6d5acb);
  font-size:13px
}

.hero {
  position:relative;
  min-height:330px;
  border:1px solid #273a50;
  border-radius:24px;
  overflow:hidden;
  padding:42px 44px;
  background:linear-gradient(105deg,#0e1929 0%,#101a2aee 48%,#10182b88 100%);
  box-shadow:0 22px 80px #0006
}

.hero:after {
  content:"";
  position:absolute;
  right:-6%;
  top:-45%;
  width:58%;
  height:190%;
  background:radial-gradient(ellipse,#3c7da744,transparent 62%);
  animation:breath 6s ease-in-out infinite
}

.hero-grid {
  position:absolute;
  inset:0;
  background-image:linear-gradient(#5bbde70a 1px,transparent 1px),linear-gradient(90deg,#5bbde70a 1px,transparent 1px);
  background-size:36px 36px;
  mask-image:linear-gradient(90deg,transparent,#000)
}

.hero-content {
  position:relative;
  z-index:2;
  max-width:590px
}

.eyebrow {
  font-size:10px;
  letter-spacing:3px;
  color:var(--cyan);
  font-weight:700
}

.hero h1 {
  font-size:clamp(34px,4vw,58px);
  line-height:1.08;
  letter-spacing:-2px;
  margin:18px 0 14px
}

.gradient {
  background:linear-gradient(90deg,#fff,#72dcff 50%,#a99aff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}

.hero p {
  color:#9aabc1;
  line-height:1.8;
  font-size:13px;
  max-width:470px
}

.hero-buttons {
  display:flex;
  gap:12px;
  margin-top:26px
}

.btn {
  border:1px solid #34465e;
  color:#dceeff;
  padding:11px 16px;
  border-radius:10px;
  text-decoration:none;
  font-size:12px;
  background:#142236;
  transition:.25s
}

.btn.primary {
  background:linear-gradient(100deg,#43c8ef,#7769f5);
  border:0;
  color:#06101b;
  font-weight:800;
  box-shadow:0 8px 28px #4dcff533
}

.btn:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 30px #4dcff522
}

.orbital {
  position:absolute;
  right:8%;
  top:50%;
  transform:translateY(-50%);
  width:290px;
  height:250px;
  z-index:1
}

.orb {
  position:absolute;
  inset:12px 25px;
  border:1px solid #63dfff66;
  border-radius:50%;
  transform:rotate(-24deg);
  animation:spin 18s linear infinite
}

.orb.two {
  inset:38px 0;
  border-color:#9c8cff77;
  transform:rotate(48deg);
  animation:spin 24s linear infinite reverse
}

.core {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:118px;
  height:118px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:56px;
  background:radial-gradient(circle at 35% 30%,#76e7ff,#273d70 52%,#11182c 75%);
  box-shadow:0 0 35px #56dfff88,0 0 100px #6e63ff55;
  animation:float 4s ease-in-out infinite
}

.sat {
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#68e4ff;
  box-shadow:0 0 20px #68e4ff
}

.sat.a {
  top:12px;
  left:62px
}

.sat.b {
  bottom:22px;
  right:40px;
  background:#b19aff
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin:36px 0 17px
}

.section-head h2 {
  font-size:18px;
  margin:0
}

.section-head p {
  color:var(--muted);
  font-size:11px;
  margin:6px 0 0
}

.section-tag {
  font-size:10px;
  color:#8fa2bb;
  letter-spacing:1px
}

.stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px
}

.stat {
  background:linear-gradient(145deg,#101a29,#0d1420);
  border:1px solid var(--line);
  border-radius:15px;
  padding:17px 19px;
  display:flex;
  justify-content:space-between;
  align-items:center
}

.stat small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-bottom:8px
}

.stat strong {
  font-size:20px
}

.stat-icon {
  width:42px;
  height:42px;
  border-radius:12px;
  background:#1a2c40;
  display:grid;
  place-items:center;
  font-size:20px;
  color:var(--cyan)
}

.projects {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px
}

.project {
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#111b2b,#0c121e);
  border:1px solid #25354a;
  border-radius:18px;
  padding:22px;
  min-height:210px;
  transition:.3s;
  text-decoration:none;
  color:inherit
}

.project:before {
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-80px;
  top:-90px;
  border-radius:50%;
  background:var(--glow);
  filter:blur(45px);
  opacity:.22;
  transition:.3s
}

.project:hover {
  transform:translateY(-6px);
  border-color:#4b7898;
  box-shadow:0 18px 45px #0007
}

.project:hover:before {
  opacity:.5
}

.project-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative
}

.project-icon {
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--iconbg);
  font-size:23px;
  border:1px solid #ffffff16
}

.status {
  font-size:9px;
  letter-spacing:1px;
  color:#8ea1b8;
  border:1px solid #34445a;
  border-radius:30px;
  padding:6px 9px
}

.project h3 {
  font-size:17px;
  margin:22px 0 7px;
  position:relative
}

.project p {
  font-size:11px;
  color:#8d9db2;
  line-height:1.7;
  margin:0;
  position:relative
}

.project-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:20px;
  color:#6e829a;
  font-size:10px;
  position:relative
}

.arrow {
  color:var(--cyan);
  font-size:18px
}

.bottom-grid {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  margin-top:18px
}

.panel {
  border:1px solid var(--line);
  border-radius:17px;
  background:#0e1623;
  padding:20px
}

.panel h3 {
  font-size:13px;
  margin:0 0 17px
}

.chart {
  height:145px;
  position:relative;
  overflow:hidden;
  background:repeating-linear-gradient(to bottom,transparent 0 35px,#25324766 36px),repeating-linear-gradient(to right,transparent 0 65px,#25324744 66px)
}

.chart svg {
  width:100%;
  height:100%;
  overflow:visible
}

.chart-line {
  stroke-dasharray:900;
  stroke-dashoffset:900;
  animation:draw 3s ease forwards
}

.activity {
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 0;
  border-bottom:1px solid #1e2a3b
}

.activity:last-child {
  border:0
}

.activity i {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 10px var(--green)
}

.activity span {
  font-size:11px;
  color:#aebdd0
}

.activity small {
  margin-left:auto;
  color:#667991;
  font-size:9px
}

footer {
  text-align:center;
  color:#526178;
  font-size:10px;
  margin-top:38px;
  letter-spacing:1px
}

@keyframes spin {
  to {
  transform:rotate(336deg)
}

}

@keyframes float {
  0%,100% {
  transform:translate(-50%,-50%) translateY(0)
}

50% {
  transform:translate(-50%,-50%) translateY(-12px)
}

}

@keyframes breath {
  50% {
  opacity:.5;
  transform:scale(1.2)
}

}

@keyframes draw {
  to {
  stroke-dashoffset:0
}

}

@media(max-width:1000px) {
  .layout {
  grid-template-columns:78px 1fr
}

.sidebar {
  padding:24px 10px
}

.brand {
  justify-content:center;
  padding:4px 0 34px
}

.brand>div:last-child,.nav-label,.nav a span:last-child,.side-bottom {
  display:none
}

.nav a {
  justify-content:center;
  padding:14px
}

.orbital {
  right:1%;
  opacity:.7
}

.projects {
  grid-template-columns:repeat(2,1fr)
}

}

@media(max-width:680px) {
  .layout {
  display:block
}

.sidebar {
  height:auto;
  position:relative;
  padding:12px 16px;
  border-right:0;
  border-bottom:1px solid var(--line)
}

.brand {
  justify-content:flex-start;
  padding:0
}

.brand>div:last-child {
  display:block
}

.nav {
  display:flex;
  gap:5px;
  margin-top:12px;
  overflow:auto
}

.nav-label {
  display:none
}

.nav a {
  padding:9px 11px;
  white-space:nowrap
}

.nav a span:last-child {
  display:block;
  font-size:10px
}

.nav .ico {
  font-size:14px
}

.topbar {
  margin-bottom:20px
}

main {
  padding:20px 16px 40px
}

.hero {
  padding:28px 23px;
  min-height:360px
}

.hero-content {
  max-width:100%
}

.hero h1 {
  font-size:38px
}

.orbital {
  width:180px;
  height:150px;
  top:auto;
  bottom:-24px;
  right:-25px;
  opacity:.4
}

.core {
  width:75px;
  height:75px;
  font-size:36px
}

.stats {
  grid-template-columns:1fr
}

.projects {
  grid-template-columns:1fr
}

.bottom-grid {
  grid-template-columns:1fr
}

.time {
  display:none
}

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
  animation:none!important;
  scroll-behavior:auto!important;
  transition:none!important
}

}

/* Home page component modifiers */
.crumb-current { color: #dbeaff; }
.nav-label-system { margin-top: 24px; }
.workspace-state { font-size: 11px; margin-bottom: 7px; }
.project-pos { --glow: #50e0ad; --iconbg: #12352f; }
.project-stock-ai { --glow: #59d8ff; --iconbg: #112e40; }
.project-auto-trader { --glow: #a18cff; --iconbg: #282143; }
.visual-preview-tag { float: right; color: #71859e; font-size: 9px; font-weight: 400; }
.chart-caption { color: #657a94; font-size: 9px; }
.activity-dot-cyan { background: #58d8ff !important; box-shadow: 0 0 10px #58d8ff !important; }
.activity-dot-violet { background: #a18cff !important; box-shadow: 0 0 10px #a18cff !important; }
