/* FutureVerse Team Control Center — shell */
:root {
  --shell-bg: #f4f6fb;
  --shell-surface: #ffffff;
  --shell-ink: #171b2d;
  --shell-muted: #7b8399;
  --shell-border: #e6e9f2;
  --shell-violet: #6557f5;
  --shell-violet-soft: #f0eeff;
  --shell-sidebar: #0b1020;
  --shell-sidebar-muted: #929bb3;
  --shell-sidebar-width: 264px;
  --shell-topbar: 78px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  background: var(--shell-bg);
  color: var(--shell-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid rgba(117, 105, 255, .55); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Three-second CSS-built startup animation */
.boot-screen {
  position: fixed; inset: 0; z-index: 999999;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(90, 83, 255, .20), transparent 28%),
    radial-gradient(circle at 15% 85%, rgba(36, 201, 190, .08), transparent 28%),
    #080b18;
  color: #fff;
  opacity: 1; visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}
.boot-screen::before, .boot-screen::after {
  content: ""; position: absolute; width: min(78vw, 720px); aspect-ratio: 1;
  border: 1px solid rgba(143, 150, 255, .07); border-radius: 50%;
  animation: boot-breathe 3s ease-in-out infinite;
}
.boot-screen::after { width: min(58vw, 520px); animation-delay: .35s; }
.boot-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-content { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; text-align: center; }
.boot-emblem { position: relative; width: 116px; height: 116px; display: grid; place-items: center; margin-bottom: 23px; }
.boot-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; }
.boot-ring-one { border-top-color: #9c92ff; border-right-color: rgba(115, 129, 255, .65); border-bottom-color: rgba(115, 129, 255, .14); animation: boot-spin 1.2s linear infinite; }
.boot-ring-two { inset: 9px; border-left-color: #53d9d0; border-bottom-color: rgba(83, 217, 208, .4); border-right-color: transparent; animation: boot-spin-reverse 1.8s linear infinite; }
.boot-core { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(145deg, rgba(95,83,245,.30), rgba(29,40,75,.9)); box-shadow: 0 0 42px rgba(104,94,255,.23), inset 0 1px 0 rgba(255,255,255,.12); font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.boot-brand { font-size: 25px; font-weight: 800; letter-spacing: -.7px; }
.boot-eyebrow { margin-top: 8px; color: #8f99bc; font-size: 9px; font-weight: 800; letter-spacing: 3px; }
.boot-loading { display: flex; align-items: center; gap: 9px; margin-top: 31px; color: #aeb5cf; font-size: 12px; letter-spacing: .2px; }
.loading-dot { width: 6px; height: 6px; border-radius: 50%; background: #66e2d6; box-shadow: 0 0 13px rgba(102,226,214,.75); animation: dot-pulse .8s ease-in-out infinite alternate; }
.boot-progress { width: 180px; height: 3px; margin-top: 15px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.08); }
.boot-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6c5cff, #58d9d1); animation: progress-run 2.7s ease-in-out forwards; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
@keyframes boot-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes boot-breathe { 0%,100% { transform: scale(.97); opacity: .45; } 50% { transform: scale(1.03); opacity: 1; } }
@keyframes dot-pulse { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.15); } }
@keyframes progress-run { from { width: 0; } to { width: 100%; } }

/* Main application shell */
.team-app { min-height: 100vh; }
.team-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 200;
  width: var(--shell-sidebar-width); display: flex; flex-direction: column;
  padding: 22px 15px 16px; color: #eef0fa;
  background: radial-gradient(circle at 10% 0%, rgba(89,81,240,.13), transparent 30%), linear-gradient(180deg, #0c1224, #090e1b);
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 2px 7px 25px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-symbol { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border: 1px solid rgba(158,147,255,.3); border-radius: 13px; background: linear-gradient(140deg, #6e60ff, #4435c9); box-shadow: 0 9px 24px rgba(91,77,246,.25); font-size: 13px; font-weight: 800; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-copy strong { font-size: 16px; font-weight: 800; letter-spacing: -.4px; }
.brand-copy span { color: #818ba7; font-size: 8px; font-weight: 800; letter-spacing: 1.25px; }
.sidebar-close { display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; width: 33px; height: 33px; color: #dfe2f0; background: rgba(255,255,255,.05); }
.sidebar-caption { padding: 27px 12px 12px; color: #626d88; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.team-nav { display: flex; flex-direction: column; gap: 6px; }
.team-nav-item { position: relative; width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 12px; text-align: left; border: 1px solid transparent; border-radius: 12px; color: #98a1b8; background: transparent; font-size: 12px; font-weight: 650; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.team-nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.team-nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(101,87,245,.28), rgba(101,87,245,.08)); border-color: rgba(124,111,255,.18); box-shadow: inset 3px 0 0 #8b7cff; }
.nav-icon { width: 22px; display: grid; place-items: center; font-size: 14px; }
.nav-chevron { margin-left: auto; font-size: 9px; opacity: .45; }
.sidebar-bottom { margin-top: auto; }
.secure-status { display: flex; align-items: center; gap: 10px; padding: 13px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }
.status-pulse { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #48d99c; box-shadow: 0 0 0 4px rgba(72,217,156,.10); }
.secure-status div { display: flex; flex-direction: column; gap: 3px; }
.secure-status strong { font-size: 10px; font-weight: 700; }
.secure-status small { color: #79839d; font-size: 9px; }
.sidebar-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 17px; padding: 13px 4px 0; border-top: 1px solid rgba(255,255,255,.08); color: #626d86; font-size: 8px; }
.team-main { min-height: 100vh; margin-left: var(--shell-sidebar-width); }
.team-topbar { position: sticky; top: 0; z-index: 100; min-height: var(--shell-topbar); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; border-bottom: 1px solid var(--shell-border); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 13px; }
.context-overline { display: block; margin-bottom: 5px; color: #8c93a8; font-size: 8px; font-weight: 800; letter-spacing: 1.45px; }
.topbar-context strong { font-size: 13px; font-weight: 750; }
.workspace-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #e5e8f2; border-radius: 999px; color: #606a82; background: #fff; font-size: 10px; font-weight: 650; }
.workspace-chip span { width: 6px; height: 6px; border-radius: 50%; background: #32b77d; box-shadow: 0 0 0 3px rgba(50,183,125,.10); }
.topbar-avatar { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #dedaff; border-radius: 12px; color: #5c4ee7; background: #f0eeff; font-size: 10px; font-weight: 850; }
.mobile-menu { display: none; width: 38px; height: 38px; border: 1px solid var(--shell-border); border-radius: 10px; color: #525a70; background: #fff; }
.dashboard-view { width: min(1440px, 100%); margin: 0 auto; padding: 30px 32px 25px; }
.dashboard-hero { position: relative; min-height: 330px; display: flex; align-items: center; overflow: hidden; padding: 40px 43px; border: 1px solid #e4e3ff; border-radius: 25px; background: linear-gradient(112deg, #fff 0%, #f7f6ff 49%, #f1f6ff 100%); box-shadow: 0 18px 50px rgba(43,49,92,.055); }
.hero-grid-glow { position: absolute; inset: 0 0 0 auto; width: 53%; background-image: linear-gradient(rgba(102,91,237,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(102,91,237,.045) 1px, transparent 1px); background-size: 27px 27px; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #e3dfff; border-radius: 999px; color: #6457d9; background: rgba(255,255,255,.78); font-size: 8px; font-weight: 850; letter-spacing: 1.15px; }
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #6b5cf5; box-shadow: 0 0 0 3px rgba(107,92,245,.1); }
.hero-kicker { margin: 23px 0 9px; color: #8990a7; font-size: 9px; font-weight: 850; letter-spacing: 2.1px; }
.hero-copy h1 { margin: 0; color: #171b2d; font-size: clamp(29px, 3.4vw, 43px); line-height: 1.12; letter-spacing: -1.8px; font-weight: 800; }
.hero-copy h1 span { color: #6255ee; }
.hero-description { max-width: 550px; margin: 17px 0 0; color: #6f778e; font-size: 12px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 23px; }
.primary-action { display: inline-flex; align-items: center; gap: 9px; padding: 12px 15px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #6c5df6, #5044d8); box-shadow: 0 9px 20px rgba(93,78,235,.22); font-size: 11px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease; }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(93,78,235,.27); }
.hero-note { color: #8991a5; font-size: 9px; }
.hero-note i { margin-right: 5px; color: #6b5ce8; }
.hero-orbit { position: absolute; right: 4%; top: 50%; width: 280px; height: 280px; transform: translateY(-50%); display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(104,93,237,.17); border-radius: 50%; }
.orbit-a { width: 145px; height: 145px; }
.orbit-b { width: 215px; height: 215px; border-style: dashed; animation: orbit-turn 30s linear infinite; }
.orbit-c { width: 270px; height: 270px; border-color: rgba(104,93,237,.10); }
.orbit-core { width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.85); border-radius: 29px; color: #fff; background: linear-gradient(145deg, #7063fa, #4637c9); box-shadow: 0 22px 50px rgba(91,77,246,.25), inset 0 1px 0 rgba(255,255,255,.28); transform: rotate(-8deg); }
.orbit-core span { font-size: 25px; font-weight: 850; letter-spacing: -1.2px; }
.orbit-core small { font-size: 6px; font-weight: 800; letter-spacing: 1.2px; opacity: .78; }
.orbit-node { position: absolute; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #6d60f4; box-shadow: 0 0 0 4px rgba(109,96,244,.12); }
.node-a { top: 30px; right: 53px; }.node-b { left: 16px; top: 128px; background: #39c9ba; }.node-c { right: 26px; bottom: 37px; background: #91a6ff; }
.hero-bottom-line { position: absolute; left: 43px; right: 43px; bottom: 0; height: 37px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(101,87,245,.10); color: #9ba1b5; font-size: 7px; font-weight: 850; letter-spacing: 1.5px; }
.hero-bottom-line i { width: 3px; height: 3px; border-radius: 50%; background: #8b7dff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 31px 1px 16px; }
.section-eyebrow { color: #7769e9; font-size: 8px; font-weight: 850; letter-spacing: 1.65px; }
.section-heading h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.55px; }
.section-caption { color: #8b92a6; font-size: 10px; }
.workspace-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.workspace-card { min-height: 194px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; text-align: left; border: 1px solid #e7e9f2; border-radius: 17px; background: #fff; box-shadow: 0 8px 26px rgba(35,43,73,.025); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.workspace-card:hover { transform: translateY(-3px); border-color: #d4d0ff; box-shadow: 0 15px 35px rgba(35,43,73,.07); }
.card-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; font-size: 15px; }
.card-icon.violet { color: #6758e8; background: #f0eeff; }.card-icon.blue { color: #4385d8; background: #eaf4ff; }.card-icon.mint { color: #219b83; background: #e8faf5; }
.card-title { margin-top: 16px; font-size: 12px; font-weight: 800; }
.card-description { margin-top: 8px; color: #858ca0; font-size: 10px; line-height: 1.7; }
.card-link { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 15px; color: #6557e9; font-size: 9px; font-weight: 800; }
.card-link i { transition: transform .2s ease; }.workspace-card:hover .card-link i { transform: translateX(3px); }
.dashboard-footer { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 18px 2px 0; border-top: 1px solid #e5e8f1; }
.footer-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #6759e8; background: #eeecff; font-size: 8px; font-weight: 850; }
.dashboard-footer > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.dashboard-footer strong { font-size: 10px; }.dashboard-footer span { color: #9097aa; font-size: 9px; }
.footer-private { margin-left: auto; }
.footer-private i { margin-right: 5px; }
.module-stage { min-height: calc(100vh - var(--shell-topbar)); position: relative; padding: 0; background: #f5f7fb; }
.module-frame { display: none; width: 100%; height: calc(100vh - var(--shell-topbar)); min-height: 650px; border: 0; background: #f5f7fb; }
.module-frame.is-active { display: block; }
.module-loading { position: absolute; inset: 0; z-index: 3; min-height: 300px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #737c92; background: #f5f7fb; font-size: 11px; }
.module-loading strong { color: #293149; font-size: 13px; }.module-loading span { color: #9299ab; font-size: 10px; }
.mini-spinner { width: 30px; height: 30px; margin-bottom: 6px; border: 3px solid #e5e4ff; border-top-color: #6658ed; border-radius: 50%; animation: boot-spin .8s linear infinite; }
.mobile-scrim { display: none; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .dashboard-hero { padding: 35px 30px; }.hero-orbit { right: 1%; transform: translateY(-50%) scale(.82); transform-origin: center right; }
  .hero-copy { max-width: 58%; }.workspace-cards { gap: 10px; }.workspace-card { padding: 16px; }
}
@media (max-width: 820px) {
  :root { --shell-sidebar-width: 248px; --shell-topbar: 70px; }
  .team-sidebar { transform: translateX(-102%); transition: transform .25s ease; }
  .team-sidebar.is-open { transform: translateX(0); }
  .mobile-scrim.is-visible { display: block; position: fixed; inset: 0; z-index: 150; background: rgba(6,10,22,.48); backdrop-filter: blur(3px); }
  .sidebar-close, .mobile-menu { display: grid; place-items: center; }
  .team-main { margin-left: 0; }
  .team-topbar { padding: 0 20px; }
  .dashboard-view { padding: 22px 20px; }
  .dashboard-hero { min-height: 315px; padding: 30px 26px 44px; }
  .hero-copy { max-width: 67%; }.hero-orbit { right: -28px; transform: translateY(-50%) scale(.65); }
  .hero-copy h1 { font-size: clamp(28px, 5vw, 38px); }
  .hero-description { font-size: 11px; }
  .hero-bottom-line { left: 26px; right: 26px; }
  .workspace-cards { grid-template-columns: 1fr; }
  .workspace-card { min-height: 150px; }
}
@media (max-width: 560px) {
  .team-topbar { padding: 0 14px; }.workspace-chip { display: none; }
  .topbar-avatar { width: 32px; height: 32px; }
  .dashboard-view { padding: 14px 12px 20px; }
  .dashboard-hero { min-height: auto; padding: 26px 20px 45px; border-radius: 19px; }
  .hero-copy { max-width: 100%; }.hero-copy h1 { font-size: 31px; letter-spacing: -1.3px; }
  .hero-description { max-width: 100%; }
  .hero-orbit { opacity: .12; right: -115px; transform: translateY(-50%) scale(.65); pointer-events: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-bottom-line { left: 20px; right: 20px; gap: 7px; font-size: 6px; letter-spacing: .9px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-top: 24px; }
  .workspace-card { min-height: 145px; }
  .dashboard-footer { align-items: flex-start; }.footer-private { display: none; }
  .module-frame { min-height: calc(100vh - var(--shell-topbar)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}




/* Remove Android Chrome tap highlight */
html {
    -webkit-tap-highlight-color: transparent;
}