:root {
  --bg: #060916;
  --bg-deep: #03050c;
  --surface: rgba(14, 20, 39, 0.82);
  --surface-strong: #11182d;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(165, 180, 252, 0.13);
  --line-strong: rgba(129, 140, 248, 0.24);
  --text: #f6f7ff;
  --muted: #909ab4;
  --muted-strong: #b8c0d6;
  --blue: #6578ff;
  --blue-bright: #7695ff;
  --cyan: #32dfdc;
  --violet: #a879ff;
  --success: #47e6a2;
  --danger: #ff6685;
  --warning: #ffc86a;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.42);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans Variable", "Plus Jakarta Sans", Manrope, Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(50, 223, 220, 0.3);
  outline-offset: 3px;
}
h1, h2, h3, h4, .logo { font-family: Manrope, "Plus Jakarta Sans Variable", system-ui, sans-serif; }
h1, h2, h3, h4, p { text-wrap: pretty; }
::selection { color: #fff; background: rgba(101, 120, 255, 0.55); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #293451; border: 3px solid var(--bg-deep); border-radius: 999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Landing */
.landing-body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 7%, rgba(101, 120, 255, 0.2), transparent 29%),
    radial-gradient(circle at 10% 28%, rgba(168, 121, 255, 0.1), transparent 27%),
    linear-gradient(145deg, #070b18 0%, #050711 48%, #080b19 100%);
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.landing-nav {
  position: sticky;
  top: 16px;
  z-index: 40;
  width: min(1220px, calc(100% - 40px));
  height: 76px;
  margin: 16px auto 0;
  padding: 0 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(165, 180, 252, 0.15);
  border-radius: 20px;
  background: rgba(8, 12, 25, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(135%);
}
.logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.logo b { color: var(--cyan); font-weight: 800; }
.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: linear-gradient(145deg, #7389ff, #5964e9 52%, #8c5eea);
  box-shadow: 0 10px 28px rgba(101, 120, 255, .35), inset 0 1px rgba(255, 255, 255, .2);
}
.logo-mark::after { content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: 17px; background: rgba(101, 120, 255, .14); filter: blur(8px); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 13px; color: #a9b2ca; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.nav-button, .primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.nav-button, .secondary-btn { color: #eff2ff; border: 1px solid rgba(165, 180, 252, .17); background: rgba(255, 255, 255, .045); box-shadow: inset 0 1px rgba(255, 255, 255, .035); }
.nav-button:hover, .secondary-btn:hover { border-color: rgba(101, 120, 255, .42); background: rgba(101, 120, 255, .11); transform: translateY(-2px); }
.primary-btn { color: #fff; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(135deg, #7187ff, #5c67ed 55%, #855fe7); box-shadow: 0 16px 38px rgba(93, 104, 238, .32), inset 0 1px rgba(255, 255, 255, .2); }
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(93, 104, 238, .42), inset 0 1px rgba(255, 255, 255, .22); }
.hero {
  width: min(1220px, calc(100% - 40px));
  min-height: 720px;
  margin: auto;
  padding: 112px 12px 88px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 72px;
}
.eyebrow, .section-heading > span, .feature-text > span, .dash-header > div > span, .content-heading span, .panel-head span {
  color: #76ebe6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(50, 223, 220, .17); border-radius: 999px; background: rgba(50, 223, 220, .055); }
.eyebrow i { font-size: 6px; filter: drop-shadow(0 0 7px var(--cyan)); }
.hero h1 {
  max-width: 700px;
  margin: 25px 0 24px;
  font-size: clamp(54px, 6.5vw, 84px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 780;
}
.hero h1 span { color: transparent; background: linear-gradient(100deg, #63e5df 2%, #7c9bff 52%, #bc83ff 98%); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 610px; margin: 0; color: #a5aec5; font-size: 17px; line-height: 1.82; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 28px; }
.hero-actions .primary-btn, .hero-actions .secondary-btn { min-height: 50px; padding: 0 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; color: #74809b; font-size: 11px; font-weight: 650; }
.trust-row i { margin-right: 7px; color: var(--cyan); }
.hero-visual { position: relative; height: 540px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 390px; height: 390px; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(101, 120, 255, .18), transparent 67%); filter: blur(18px); }
.orbit { position: absolute; border: 1px solid rgba(135, 151, 255, .15); border-radius: 50%; }
.orbit-one { width: 460px; height: 460px; box-shadow: inset 0 0 80px rgba(101, 120, 255, .035); animation: spin 22s linear infinite; }
.orbit-two { width: 350px; height: 350px; border-style: dashed; border-color: rgba(50, 223, 220, .18); animation: spin 15s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.bot-core {
  position: relative;
  width: 242px;
  height: 286px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(145, 160, 255, .3);
  border-radius: 76px 76px 54px 54px;
  background: linear-gradient(155deg, rgba(25, 35, 64, .96), rgba(8, 12, 25, .98));
  box-shadow: 0 48px 100px rgba(0, 0, 0, .55), 0 0 65px rgba(101, 120, 255, .12), inset 0 1px rgba(255, 255, 255, .08);
}
.bot-core::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .045), transparent 60%); transform: translateX(-100%); animation: sheen 5s ease-in-out infinite; }
@keyframes sheen { 55%, 100% { transform: translateX(100%); } }
.bot-core > i { font-size: 102px; color: #72e8e1; filter: drop-shadow(0 0 28px rgba(50, 223, 220, .33)); }
.bot-core > span { position: absolute; bottom: 25px; color: #6ff0bd; font-size: 9px; font-weight: 800; letter-spacing: .28em; }
.core-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: var(--blue); opacity: .14; filter: blur(70px); }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 175px;
  padding: 14px 16px;
  border: 1px solid rgba(165, 180, 252, .16);
  border-radius: 16px;
  background: rgba(12, 18, 35, .78);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(20px) saturate(130%);
}
.float-card > i { width: 34px; height: 34px; display: grid; place-items: center; color: #78ebe4; border-radius: 10px; background: linear-gradient(145deg, rgba(50, 223, 220, .14), rgba(101, 120, 255, .08)); }
.float-card b, .float-card small { display: block; }
.float-card b { font-size: 11px; letter-spacing: -.01em; }
.float-card small { margin-top: 2px; color: #77829d; font-size: 9px; }
.fc-one { top: 74px; left: -18px; animation: float 5.5s ease-in-out infinite; }
.fc-two { right: -20px; top: 215px; animation: float 6.5s ease-in-out infinite .7s; }
.fc-three { bottom: 54px; left: 16px; animation: float 6s ease-in-out infinite 1.2s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.metrics {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 150px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(17, 24, 45, .76), rgba(9, 14, 28, .68));
  box-shadow: var(--shadow-lg), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px);
}
.metrics div { position: relative; padding: 32px 36px; border-right: 1px solid var(--line); }
.metrics div:last-child { border-right: 0; }
.metrics strong, .metrics span { display: block; }
.metrics strong { color: #fff; font-size: 31px; line-height: 1.2; letter-spacing: -.04em; }
.metrics span { margin-top: 5px; color: #7d89a5; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.showcase, .steps { width: min(1160px, calc(100% - 40px)); margin: 0 auto 160px; }
.section-heading { max-width: 760px; margin: 0 auto 82px; text-align: center; }
.section-heading h2 { margin: 15px 0 0; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -.048em; }
.feature-showcase { display: grid; grid-template-columns: .88fr 1.12fr; gap: 82px; align-items: center; margin: 112px 0; }
.feature-showcase.reverse { grid-template-columns: 1.12fr .88fr; }
.feature-showcase.reverse .feature-text { order: 2; }
.feature-text h3 { margin: 15px 0 18px; font-size: clamp(29px, 3.5vw, 41px); line-height: 1.17; letter-spacing: -.04em; }
.feature-text p { color: var(--muted); line-height: 1.8; }
.feature-text a { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: #7d99ff; font-weight: 750; text-decoration: none; }
.feature-text a:hover { color: #aabaff; gap: 13px; }
.mock-window {
  min-height: 370px;
  padding: 30px;
  border: 1px solid rgba(165, 180, 252, .16);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(21, 30, 55, .92), rgba(8, 12, 25, .95));
  box-shadow: 0 42px 95px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .05);
}
.mock-top { display: flex; gap: 7px; }
.mock-top i { width: 7px; height: 7px; border-radius: 50%; background: #34415e; }
.brand-mock { text-align: center; }
.profile-ring { width: 126px; height: 126px; margin: 52px auto 22px; display: grid; place-items: center; border: 1px solid rgba(50, 223, 220, .45); border-radius: 40px; background: linear-gradient(145deg, rgba(50, 223, 220, .08), rgba(101, 120, 255, .08)); box-shadow: 0 20px 55px rgba(0, 0, 0, .28), 0 0 45px rgba(50, 223, 220, .1); }
.profile-ring i { color: #67e7df; font-size: 54px; }
.brand-mock h4 { margin: 0; font-size: 18px; }
.brand-mock h4 small { padding: 3px 6px; color: #fff; border-radius: 5px; background: var(--blue); font-size: 8px; vertical-align: middle; }
.brand-mock p { color: #7d89a4; font-size: 11px; }
.terminal-line, .event { display: flex; align-items: center; }
.terminal-line { justify-content: space-between; margin-bottom: 30px; color: #75819c; font-size: 10px; letter-spacing: .07em; }
.terminal-line span { color: var(--success); }
.event { gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event > i { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; color: #68e5de; border-radius: 12px; background: rgba(50, 223, 220, .09); }
.event p, .event small { display: block; margin: 0; }
.event p { font-size: 12px; font-weight: 700; }
.event small { margin-top: 3px; color: #717d98; font-size: 9px; font-weight: 500; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-grid article { position: relative; min-height: 235px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg, rgba(17, 24, 45, .8), rgba(9, 14, 28, .72)); box-shadow: var(--shadow-sm), inset 0 1px rgba(255, 255, 255, .035); }
.step-grid article::after { content: ""; position: absolute; width: 110px; height: 110px; right: -50px; bottom: -55px; border-radius: 50%; background: var(--blue); opacity: .08; filter: blur(20px); }
.step-grid article:hover { border-color: var(--line-strong); transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.step-grid article > b { position: absolute; right: 24px; color: #2a3452; font-size: 29px; }
.step-grid article > i { margin-bottom: 28px; color: #72e7df; font-size: 25px; }
.step-grid h3 { margin: 0 0 10px; font-size: 18px; }
.step-grid p { color: #8792ac; font-size: 12px; line-height: 1.75; }
.final-cta { width: min(1160px, calc(100% - 40px)); margin: 0 auto 95px; padding: 50px 54px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; border: 1px solid rgba(117, 141, 255, .28); border-radius: 28px; background: radial-gradient(circle at 85% 0, rgba(168, 121, 255, .18), transparent 35%), linear-gradient(115deg, rgba(22, 32, 61, .96), rgba(11, 16, 33, .92)); box-shadow: var(--shadow-lg), inset 0 1px rgba(255, 255, 255, .05); }
.final-cta span { color: #74e8e1; font-size: 9px; font-weight: 800; letter-spacing: .19em; }
.final-cta h2 { margin: 9px 0 0; font-size: 31px; letter-spacing: -.035em; }
.final-cta a { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; padding: 0 20px; color: #fff; border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; background: linear-gradient(135deg, #7187ff, #785fe9); box-shadow: 0 15px 35px rgba(101, 120, 255, .28); font-weight: 750; text-decoration: none; }
.final-cta a:hover { transform: translateY(-3px); box-shadow: 0 21px 45px rgba(101, 120, 255, .38); }
footer { width: min(1220px, calc(100% - 40px)); min-height: 108px; margin: auto; padding: 30px 12px; display: flex; align-items: center; justify-content: space-between; color: #6f7a96; border-top: 1px solid var(--line); font-size: 11px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 7px; }
.footer-links a { padding: 7px 9px; color: #7d88a2; border-radius: 8px; text-decoration: none; }
.footer-links a:hover { color: #fff; background: rgba(255, 255, 255, .045); }

/* Dashboard */
.dashboard-body { min-height: 100vh; background: radial-gradient(circle at 87% -5%, rgba(101, 120, 255, .16), transparent 27%), linear-gradient(145deg, #070a15, #050711 48%, #080b17); }
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; text-align: center; background: #060916; transition: opacity .45s ease; }
.loader-shield { color: #6be7e0; font-size: 50px; animation: pulse 1.4s ease-in-out infinite; }
.loader-track { width: 220px; height: 3px; margin-top: 17px; overflow: hidden; border-radius: 99px; background: #1a2238; }
.loader-track i { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue)); animation: load 1.1s ease-in-out infinite; }
#loader p { color: #7f8aa6; font-size: 9px; font-weight: 800; letter-spacing: .22em; }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(250%); } }
@keyframes pulse { 50% { filter: drop-shadow(0 0 22px rgba(50, 223, 220, .5)); transform: scale(1.05); } }
#sidebar { position: fixed; inset: 14px auto 14px 14px; z-index: 35; width: 264px; padding: 18px 15px; display: flex; flex-direction: column; overflow-y: auto; border: 1px solid rgba(165, 180, 252, .13); border-radius: 24px; background: rgba(9, 13, 27, .83); box-shadow: 18px 0 55px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035); backdrop-filter: blur(24px) saturate(130%); }
.side-logo { padding: 5px 8px 22px; border-bottom: 1px solid var(--line); }
.side-section { margin-top: 24px; }
.side-section > span { display: block; padding: 0 12px 7px; color: #56617b; font-size: 8px; font-weight: 800; letter-spacing: .19em; }
.side-section a { position: relative; display: flex; align-items: center; gap: 12px; margin: 3px 0; padding: 11px 12px; color: #8490aa; border: 1px solid transparent; border-radius: 12px; font-size: 12px; font-weight: 650; text-decoration: none; }
.side-section a i { width: 20px; color: #68748f; text-align: center; transition: color .22s ease, transform .22s ease; }
.side-section a:hover { color: #e8ecfa; background: rgba(255, 255, 255, .035); }
.side-section a:hover i { color: #9dacff; transform: scale(1.08); }
.side-section a.active { color: #fff; border-color: rgba(111, 132, 255, .18); background: linear-gradient(100deg, rgba(101, 120, 255, .18), rgba(101, 120, 255, .035)); box-shadow: inset 3px 0 #7187ff; }
.side-section a.active i { color: #7f98ff; }
.connection-card { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018)); }
.connection-card > div { display: grid; grid-template-columns: 8px 1fr auto; gap: 9px; align-items: center; padding: 6px 2px; color: #9aa5bd; font-size: 10px; }
.connection-card i { width: 7px; height: 7px; border-radius: 50%; background: #536078; }
.connection-card i.online { background: var(--success); box-shadow: 0 0 10px rgba(71, 230, 162, .65); }
.connection-card b { color: #687590; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.back-site { margin-top: 12px; padding: 9px 10px; color: #727e99; border-radius: 10px; font-size: 10px; text-decoration: none; }
.back-site:hover { color: #fff; background: rgba(255, 255, 255, .035); }
.dashboard-main { min-height: 100vh; margin-left: 292px; padding: 28px 30px 54px; }
.dash-header { min-height: 76px; margin-bottom: 28px; padding: 0 4px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.dash-header h1 { margin: 4px 0 0; font-size: 28px; line-height: 1.1; letter-spacing: -.04em; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-actions select, #refreshButton, #collectionsRefresh { min-height: 42px; color: #dfe4f4; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .035); }
.header-actions select { min-width: 190px; padding: 0 38px 0 13px; cursor: pointer; }
.header-actions select:hover, #refreshButton:hover, #collectionsRefresh:hover { border-color: var(--line-strong); background: rgba(101, 120, 255, .09); }
#refreshButton { width: 42px; padding: 0; cursor: pointer; }
#menuButton { display: none; }
.bot-chip { min-height: 45px; padding: 6px 11px 6px 7px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)); }
.bot-chip > i { width: 32px; height: 32px; display: grid; place-items: center; color: #73e7df; border-radius: 10px; background: rgba(50, 223, 220, .09); }
.bot-chip b, .bot-chip small { display: block; }
.bot-chip b { font-size: 10px; }
.bot-chip small { color: #6f7b96; font-size: 8px; }
.bot-chip small i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--success); }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
.stat-card { position: relative; min-height: 140px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(18, 25, 47, .85), rgba(9, 14, 28, .78)); box-shadow: var(--shadow-sm), inset 0 1px rgba(255, 255, 255, .035); }
.stat-card::after { content: ""; position: absolute; width: 95px; height: 95px; right: -45px; top: -45px; border-radius: 50%; background: var(--accent); opacity: .09; filter: blur(18px); }
.stat-card:hover { border-color: rgba(129, 140, 248, .3); border-color: color-mix(in srgb, var(--accent) 35%, transparent); transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0, 0, 0, .27); }
.stat-card > i { width: 34px; height: 34px; display: grid; place-items: center; color: var(--accent); border-radius: 11px; background: rgba(101, 120, 255, .1); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.stat-card strong, .stat-card span { display: block; }
.stat-card strong { margin-top: 15px; font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.stat-card span { margin-top: 7px; color: #75819d; font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 18px; margin-bottom: 38px; }
.glass-panel { border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg, rgba(17, 24, 45, .82), rgba(8, 13, 26, .8)); box-shadow: var(--shadow-sm), inset 0 1px rgba(255, 255, 255, .035); backdrop-filter: blur(16px); }
.chart-panel, .activity-panel { height: 380px; padding: 22px; }
.chart-panel canvas { max-height: 285px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-head h2 { margin: 4px 0 0; font-size: 17px; letter-spacing: -.025em; }
.panel-head > b { padding: 5px 8px; color: var(--success); border: 1px solid rgba(71, 230, 162, .17); border-radius: 7px; background: rgba(71, 230, 162, .06); font-size: 8px; letter-spacing: .1em; }
.panel-head > i { color: #75829f; }
.activity-feed { height: 285px; overflow-y: auto; padding-right: 5px; }
.activity-feed .empty { display: grid; height: 100%; place-items: center; color: #626f89; font-size: 11px; }
.activity-item { display: flex; gap: 12px; padding: 13px 3px; border-bottom: 1px solid var(--line); }
.activity-item > i { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; color: #72e5de; border-radius: 10px; background: rgba(50, 223, 220, .08); }
.activity-item p, .activity-item small { display: block; margin: 0; }
.activity-item p { color: #cdd3e5; font-size: 10px; font-weight: 650; }
.activity-item small { margin-top: 3px; color: #626f89; font-size: 8px; }
.content-heading { margin: 38px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.content-heading h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.035em; }
.content-heading p { margin: 0; color: #77839e; font-size: 11px; }
.module-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.module-card { position: relative; min-height: 210px; padding: 22px; overflow: hidden; cursor: pointer; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(150deg, rgba(18, 26, 48, .88), rgba(8, 13, 27, .82)); box-shadow: 0 13px 35px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .03); }
.module-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -65px; bottom: -65px; border-radius: 50%; background: var(--module); opacity: .1; filter: blur(20px); }
.module-card:hover { border-color: rgba(129, 140, 248, .3); border-color: color-mix(in srgb, var(--module) 38%, transparent); transform: translateY(-5px); box-shadow: 0 24px 55px rgba(0, 0, 0, .32); }
.module-icon { width: 45px; height: 45px; display: grid; place-items: center; color: var(--module); border: 1px solid rgba(129, 140, 248, .15); border-color: color-mix(in srgb, var(--module) 15%, transparent); border-radius: 14px; background: rgba(101, 120, 255, .09); background: color-mix(in srgb, var(--module) 9%, transparent); }
.module-card h3 { margin: 22px 0 8px; font-size: 15px; letter-spacing: -.02em; }
.module-card p { min-height: 38px; margin: 0; color: #76829c; font-size: 10px; line-height: 1.65; }
.module-card > span { display: inline-block; margin-top: 17px; color: #9dacff; color: color-mix(in srgb, var(--module) 75%, #fff); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.database-panel { margin-top: 38px; padding: 23px; }
#collectionsRefresh { padding: 0 14px; color: #cbd2e5; cursor: pointer; font-size: 10px; font-weight: 700; }
.collection-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.collection-item { padding: 13px 14px; color: #9aa5bd; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .025); font-size: 10px; }
.collection-item:hover { color: #fff; border-color: var(--line-strong); background: rgba(101, 120, 255, .07); transform: translateY(-2px); }
.collection-item i { margin-right: 8px; color: #7b91ff; }
.collection-item b { color: #dce1ef; }
.modal-shell { position: fixed; inset: 0; z-index: 80; padding: 22px; display: grid; place-items: center; visibility: hidden; opacity: 0; background: rgba(2, 4, 10, .76); backdrop-filter: blur(14px); transition: opacity .22s ease, visibility .22s ease; }
.modal-shell.open { visibility: visible; opacity: 1; }
.modal-card { position: relative; width: min(650px, 100%); max-height: calc(100vh - 44px); padding: 32px; overflow-y: auto; border: 1px solid rgba(165, 180, 252, .2); border-radius: 25px; background: radial-gradient(circle at 100% 0, rgba(101, 120, 255, .13), transparent 28%), #0e1529; box-shadow: 0 45px 110px rgba(0, 0, 0, .58), inset 0 1px rgba(255, 255, 255, .05); transform: translateY(12px) scale(.98); transition: transform .25s ease; }
.modal-shell.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; display: grid; place-items: center; color: #8e9ab4; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .035); cursor: pointer; }
.modal-close:hover { color: #fff; border-color: rgba(255, 102, 133, .3); background: rgba(255, 102, 133, .09); transform: rotate(4deg); }
.modal-icon { width: 50px; height: 50px; display: grid; place-items: center; color: #7de8e2; border-radius: 16px; background: linear-gradient(145deg, rgba(50, 223, 220, .13), rgba(101, 120, 255, .1)); font-size: 20px; }
#modalCode { display: block; margin-top: 22px; color: #6b7a9b; font-size: 8px; font-weight: 800; letter-spacing: .17em; }
#modalTitle { margin: 6px 0 7px; font-size: 27px; letter-spacing: -.04em; }
#modalDescription { margin: 0; color: #8c98b2; font-size: 12px; }
.modal-features { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 24px; }
.modal-features span { padding: 6px 9px; color: #a9b3ca; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .025); font-size: 8px; }
#moduleForm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
#moduleForm label { color: #96a1ba; font-size: 10px; font-weight: 700; }
#moduleForm label.full { grid-column: 1 / -1; }
#moduleForm input, #moduleForm select, #moduleForm textarea { width: 100%; min-height: 43px; margin-top: 7px; padding: 10px 12px; color: #eef1fa; border: 1px solid var(--line); border-radius: 11px; background: rgba(3, 7, 17, .48); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
#moduleForm textarea { min-height: 100px; resize: vertical; }
#moduleForm input:hover, #moduleForm select:hover, #moduleForm textarea:hover { border-color: rgba(145, 160, 255, .24); }
#moduleForm input:focus, #moduleForm select:focus, #moduleForm textarea:focus { outline: 0; border-color: #6e83fb; background: rgba(5, 10, 24, .7); box-shadow: 0 0 0 4px rgba(101, 120, 255, .1); }
#moduleForm button { grid-column: 1 / -1; min-height: 46px; color: #fff; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: linear-gradient(135deg, #7187ff, #6b62e8); box-shadow: 0 14px 32px rgba(101, 120, 255, .24); cursor: pointer; font-weight: 750; }
#moduleForm button:hover { transform: translateY(-2px); box-shadow: 0 19px 42px rgba(101, 120, 255, .34); }

@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .landing-nav { top: 10px; width: calc(100% - 24px); margin-top: 10px; }
  .nav-links { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 88px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { height: 480px; }
  .feature-showcase, .feature-showcase.reverse { grid-template-columns: 1fr; gap: 42px; }
  .feature-showcase.reverse .feature-text { order: 0; }
  .step-grid { grid-template-columns: 1fr; }
  .final-cta { display: block; text-align: center; }
  .final-cta a { margin-top: 24px; }
  #sidebar { inset: 10px auto 10px 10px; transform: translateX(calc(-100% - 24px)); transition: transform .28s ease; }
  #sidebar.open { transform: none; }
  .dashboard-main { margin-left: 0; padding: 20px; }
  #menuButton { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; color: #fff; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .035); cursor: pointer; }
  .dash-header { align-items: flex-start; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .bot-chip { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .landing-nav { height: 68px; padding: 0 12px 0 16px; border-radius: 17px; }
  .logo-mark { width: 38px; height: 38px; }
  .nav-button { width: 42px; padding: 0; font-size: 0; }
  .nav-button i { font-size: 13px; }
  .hero { width: calc(100% - 28px); padding: 72px 0 62px; }
  .hero h1 { font-size: 48px; }
  .hero-actions { flex-direction: column; }
  .hero-visual { display: none; }
  .metrics { width: calc(100% - 28px); grid-template-columns: repeat(2, 1fr); margin-bottom: 105px; }
  .metrics div { padding: 25px 22px; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .showcase, .steps { width: calc(100% - 32px); margin-bottom: 110px; }
  .section-heading { margin-bottom: 58px; }
  .feature-showcase { margin: 78px 0; }
  .mock-window { min-height: 325px; padding: 22px; }
  .final-cta { width: calc(100% - 28px); padding: 38px 24px; }
  .final-cta h2 { font-size: 25px; }
  footer { display: block; text-align: center; }
  footer .logo { justify-content: center; margin-bottom: 19px; }
  .footer-links { margin-bottom: 15px; }
  .dashboard-main { padding: 15px; }
  .dash-header { display: grid; grid-template-columns: auto 1fr; }
  .header-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .header-actions select { min-width: 0; flex: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { min-height: 130px; padding: 17px; }
  .chart-panel, .activity-panel { height: 350px; padding: 18px; }
  .content-heading { display: block; }
  .content-heading p { margin-top: 8px; }
  .module-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-shell { padding: 10px; }
  .modal-card { max-height: calc(100vh - 20px); padding: 25px 20px; border-radius: 20px; }
  #moduleForm { grid-template-columns: 1fr; }
  #moduleForm label.full, #moduleForm button { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* WCAG AA contrast: normal and small text remains above 4.5:1. */
:root { --muted: #aab4cb; --muted-strong: #c8cfe0; }
.nav-links a,
.hero-copy > p,
.trust-row,
.feature-text p,
.step-grid p,
.content-heading p,
#modalDescription { color: #aab4cb; }
.float-card small,
.metrics span,
.brand-mock p,
.terminal-line,
.event small,
footer,
.footer-links a,
#loader p,
.side-section > span,
.connection-card > div,
.connection-card b,
.back-site,
.bot-chip small,
.stat-card span,
.activity-feed .empty,
.activity-item small,
.module-card p,
#modalCode { color: #b5bfd5; }
.side-section a,
.side-section a i,
.panel-head > i { color: #aab4cb; }
.float-card b,
.bot-chip b,
.activity-item p,
.collection-item,
.modal-features span,
#moduleForm label { color: #d0d6e5; }
.brand-mock h4 small,
.primary-btn,
.final-cta a,
#moduleForm button { color: #fff; background: linear-gradient(135deg, #465bdc, #6044b8); }
.nav-button,
.secondary-btn { color: #f7f8ff; background: rgba(33, 43, 75, .92); }
.panel-head > b { color: #8ff0bd; background: rgba(14, 67, 49, .9); border-color: rgba(143, 240, 189, .42); }
.bot-core > span,
.terminal-line span { color: #8ff0bd; }
.module-card > span { color: #bdc7ff; }
.header-actions select,
#refreshButton,
#collectionsRefresh,
#moduleForm input,
#moduleForm select,
#moduleForm textarea { color: #f2f4fb; }
.header-actions select option,
#moduleForm select option { color: #f2f4fb; background: #10172b; }
input::placeholder,
textarea::placeholder { color: #98a4bd; opacity: 1; }
