:root {
  --bg: #f4f6fc;
  --bg-soft: #fbfcff;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --spotlight: #231c5d;
  --spotlight-soft: #2f2780;
  --primary: #5c55f6;
  --primary-strong: #3f35df;
  --text: #161d34;
  --muted: #727a94;
  --line: rgba(76, 82, 122, 0.12);
  --gold: #ffae1c;
  --gold-strong: #ff8d06;
  --success: #2dc178;
  --shadow-soft: 0 16px 40px rgba(30, 34, 70, 0.08);
  --shadow-bold: 0 24px 60px rgba(36, 30, 99, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.08), transparent 26%),
    radial-gradient(circle at 90% 32%, rgba(255, 174, 28, 0.08), transparent 20%),
    linear-gradient(180deg, #f8f9ff 0%, #f3f6fc 100%);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.page-dashboard {
  background:
    radial-gradient(circle at 10% 10%, rgba(92, 85, 246, 0.1), transparent 20%),
    linear-gradient(180deg, #f5f7ff 0%, #eef2ff 100%);
}

body.page-dashboard.is-data-screen-active {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 120, 220, 0.12), transparent 28%),
    linear-gradient(180deg, #01091f 0%, #020b28 100%);
}

body.page-chat-detail {
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.14), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(255, 174, 28, 0.08), transparent 18%),
    linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%);
}

body.page-news-detail {
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
}

body.page-cases-detail {
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

body.page-products-detail {
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

body.page-login {
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.1), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(255, 174, 28, 0.08), transparent 18%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
}

body.page-news-article,
body.page-product-article {
  background:
    radial-gradient(circle at top left, rgba(92, 85, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
}

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

button,
input {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 28px rgba(21, 24, 54, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), #837dff);
  box-shadow: 0 14px 28px rgba(92, 85, 246, 0.34);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.nav,
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav {
  flex: 1;
  justify-content: center;
  gap: 8px;
  min-width: 420px;
  max-width: fit-content;
  margin: 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(53, 58, 111, 0.05);
}

.topbar.is-scrolled .nav {
  background: rgba(248, 249, 255, 0.94);
  border-color: rgba(92, 85, 246, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(53, 58, 111, 0.06);
}

.nav a {
  position: relative;
  flex: 1;
  min-width: 92px;
  padding: 11px 24px;
  border-radius: 12px;
  color: #5f6784;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.nav a::after {
  display: none;
}

.nav a:hover {
  color: #434b67;
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #6d63ff 0%, #5a4ff0 100%);
  box-shadow: 0 10px 22px rgba(92, 85, 246, 0.28);
}

.nav a.is-active:hover {
  color: #fff;
  background: linear-gradient(135deg, #7369ff 0%, #6156f3 100%);
  transform: translateY(-1px);
}

.chip,
.lang {
  border-radius: 999px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 11px 16px;
  border: 1px solid rgba(81, 88, 135, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #434b67;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.chip-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(92, 85, 246, 0.28);
}

.top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.top-btn:hover {
  transform: translateY(-1px);
}

.top-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  border: 1px solid transparent;
  box-shadow: 0 10px 20px rgba(92, 85, 246, 0.22);
}

.top-btn-primary:hover {
  box-shadow: 0 14px 24px rgba(92, 85, 246, 0.28);
}

.top-btn-outline {
  color: #4f5678;
  background: #fff;
  border: 1px solid rgba(94, 100, 148, 0.18);
}

.top-btn-outline:hover {
  border-color: rgba(92, 85, 246, 0.28);
  background: #f8f9ff;
}

.top-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  font-size: 14px;
  line-height: 1;
}

.lang {
  padding: 10px 0;
  border: 0;
  color: #5f6780;
  background: transparent;
  cursor: pointer;
}

.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  color: #5f6780;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover,
.lang-switcher.is-open .lang-toggle {
  color: var(--primary);
  background: rgba(92, 85, 246, 0.08);
}

.lang-caret {
  font-size: 11px;
  line-height: 1;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 128px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(98, 104, 147, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(33, 38, 84, 0.14);
  z-index: 120;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #434b67;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover,
.lang-option.is-active {
  color: var(--primary);
  background: #f3f4ff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.mobile-nav {
  display: none;
}

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

.section-lite::before,
.section-gradient::before,
.section-dashboard::before {
  content: "";
  position: absolute;
  inset: 24px auto auto 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 85, 246, 0.09), transparent 70%);
  pointer-events: none;
}

.section-gradient {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(238,241,255,0.7) 100%);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading-light .section-kicker,
.section-heading-light h2,
.section-heading-light p {
  color: #fff;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.tab {
  appearance: none;
  padding: 9px 16px;
  border: 1px solid rgba(94, 100, 148, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #79809c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: transparent;
  box-shadow: 0 12px 20px rgba(92, 85, 246, 0.2);
}

[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  padding: 56px 0 96px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(255, 174, 28, 0.12), transparent 24%),
    linear-gradient(135deg, #1a1558 0%, #2a248f 42%, #3f35c8 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
  color: #fff;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 174, 28, 0.1), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-carousel-shell {
  position: relative;
  z-index: 1;
}

.hero-slides {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(36px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.hero-carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-carousel-controls .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.hero-carousel-controls .hero-arrow:hover {
  transform: translateY(-50%) translateY(-2px);
}

.hero-arrow-prev {
  left: -24px;
}

.hero-arrow-next {
  right: -24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-arrow:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, #ffc341, var(--gold-strong));
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-kicker span {
  color: var(--gold);
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-title-main {
  color: #fff;
}

.hero-title-accent {
  color: #ffae1c;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-desc {
  max-width: 54ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.85;
  font-size: 15px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-icon {
  margin-right: 8px;
  font-size: 15px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #472700;
  background: linear-gradient(135deg, #ffbf3c, var(--gold-strong));
  box-shadow: 0 16px 30px rgba(255, 157, 30, 0.28);
}

.btn-secondary {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-metrics-banner {
  gap: 28px;
  margin-top: 30px;
}

.hero-metrics-banner .metric-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-metrics-banner .metric-card strong {
  margin-bottom: 8px;
  color: #ffae1c;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hero-metrics-banner .metric-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.metric-card {
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  min-height: 460px;
}

.hero-media-card {
  height: 100%;
  min-height: 460px;
}

.hero-media-screen {
  position: relative;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, #17133f 0%, #2a225f 48%, #3d2f4f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(10, 8, 34, 0.35);
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #17133f;
}

.hero-media-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 34, 0.08), rgba(12, 10, 34, 0.22));
  pointer-events: none;
}

.hero-media-play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-media-screen:hover .hero-media-play {
  opacity: 1;
  transform: scale(1.06);
}

.hero-media-screen-chat,
.hero-media-screen-dashboard {
  display: grid;
  place-items: center;
  padding: 28px;
}

.hero-video-card {
  position: relative;
  height: 100%;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.hero-orb-a {
  top: 22px;
  right: 18px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 174, 28, 0.34), transparent 70%);
}

.hero-orb-b {
  bottom: 16px;
  left: 20px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

.hero-screen {
  position: absolute;
  inset: 44px 28px 54px 40px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #1d173e 0%, #30234a 46%, #4a2a1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-bold);
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%);
  pointer-events: none;
}

.hero-screen-chat,
.hero-screen-dashboard {
  display: grid;
  place-items: center;
  padding: 24px;
}

.chat-preview,
.dashboard-preview {
  display: grid;
  gap: 14px;
  width: min(100%, 460px);
}

.preview-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.7;
  color: #f6f6ff;
  font-size: 14px;
}

.preview-bubble-ai {
  justify-self: start;
  max-width: 88%;
  background: linear-gradient(135deg, rgba(102, 90, 255, 0.42), rgba(255,255,255,0.08));
}

.preview-bubble-user {
  justify-self: end;
  max-width: 82%;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-preview-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-preview-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.7rem;
}

.dashboard-preview-card span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 13px;
}

.dashboard-preview-card.wide {
  grid-column: 1 / -1;
}

.hero-screen-head {
  display: flex;
  gap: 8px;
  padding: 18px 20px 0;
}

.signal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc341, var(--gold-strong));
  box-shadow: 0 18px 34px rgba(255, 166, 18, 0.34);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-screen:hover .play,
.video-card:hover .play {
  transform: scale(1.08);
  box-shadow: 0 22px 40px rgba(255, 166, 18, 0.38);
}

.play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.play-large {
  width: 88px;
  height: 88px;
}

.play-small {
  width: 38px;
  height: 38px;
}

.play-small::before {
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 8px;
}

.floating-note {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-bold);
}

.floating-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-note strong {
  line-height: 1.6;
  font-size: 0.95rem;
}

.note-a {
  top: 24px;
  left: 0;
}

.note-b {
  right: 0;
  bottom: 12px;
}

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

.video-grid-2 {
  grid-template-columns: 1fr;
}

.video-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-card,
.product-card,
.news-panel,
.case-card,
.panel,
.testimonials blockquote {
  border: 1px solid rgba(100, 108, 154, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.video-card:hover,
.product-card:hover,
.news-panel:hover,
.case-card:hover,
.testimonials blockquote:hover,
.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(33, 38, 84, 0.12);
  border-color: rgba(92, 85, 246, 0.18);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0)),
    linear-gradient(135deg, #4d46ce 0%, #554df0 100%);
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 34, 0), rgba(14, 14, 34, 0.22));
}

.tag,
.duration {
  position: absolute;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
}

.tag {
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
}

.yellow { background: #cf8d00; }
.purple { background: #645bf8; }
.green { background: var(--success); }
.violet { background: #8b69f6; }

.duration {
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 12, 28, 0.68);
}

.video-meta,
.product-info,
.news-panel,
.case-card,
.panel {
  padding: 18px;
}

.video-meta h3,
.product-info h3,
.news-panel h3,
.case-card h3,
.dashboard-head h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.video-meta p,
.product-info p,
.dashboard-head p,
.case-card p,
.testimonials blockquote {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-grid,
.case-grid,
.testimonials,
.stats-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 188px;
  font-size: 52px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.4), transparent 26%),
    linear-gradient(180deg, #dbe3ff 0%, #cfd9ff 100%);
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.product-bottom strong {
  color: var(--primary);
}

.quote-trigger {
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffbb37, #ff9500);
  box-shadow: 0 12px 22px rgba(255, 165, 0, 0.24);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.quote-trigger:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(255, 165, 0, 0.3);
}

.quote-trigger:focus-visible {
  outline: 3px solid rgba(84, 77, 240, 0.22);
  outline-offset: 2px;
}

.news-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.panel-head a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(98, 104, 147, 0.12);
}

.news-list li:first-child {
  border-top: 0;
}

.news-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff2ff;
}

.news-list strong {
  display: block;
  line-height: 1.6;
}

.news-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.section-spotlight {
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(255, 174, 28, 0.1), transparent 20%),
    linear-gradient(180deg, #261e69 0%, #1d194f 100%);
}

.chat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.chat-sidebar,
.chat-box {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.chat-sidebar {
  padding: 20px;
}

.chat-sidebar h3 {
  margin: 0 0 14px;
  color: #d7d7ff;
  font-size: 15px;
}

.chat-sidebar a {
  display: block;
  margin-bottom: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #e4e4ff;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}

.chat-sidebar a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
}

.chat-box {
  padding: 20px;
}

.chat-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.chat-toolbar .tab {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255,255,255,0.7);
}

.chat-toolbar .tab.active {
  color: #fff;
}

.chat-messages {
  min-height: 260px;
  max-height: 420px;
  overflow-y: auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(13, 11, 39, 0.3);
  scroll-behavior: smooth;
}

.bubble-enter {
  animation: chatBubbleIn 0.38s ease;
}

@keyframes chatBubbleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  animation: chatTypingDot 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatTypingDot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.bubble {
  max-width: 76%;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.8;
  color: #f0f0ff;
}

.bubble-ai {
  background: linear-gradient(135deg, rgba(102, 90, 255, 0.34), rgba(255,255,255,0.08));
}

.bubble-user {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
}

.chat-input {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.chat-input input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.chat-input input::placeholder {
  color: rgba(255,255,255,0.46);
}

.chat-input button {
  width: 52px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #726bff);
  box-shadow: 0 12px 24px rgba(92, 85, 246, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.chat-input button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(92, 85, 246, 0.34);
}

.chat-input button:disabled,
.chat-input input:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.chat-send-btn.is-sending {
  transform: scale(0.92);
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.case-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #746eff);
  box-shadow: 0 14px 28px rgba(92, 85, 246, 0.22);
}

.case-result {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: #eef0ff;
  font-size: 12px;
  font-weight: 800;
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.case-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef0ff;
  font-size: 12px;
  font-weight: 700;
}

.testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonials blockquote {
  padding: 20px;
}

.testimonials footer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.section-dashboard {
  background: linear-gradient(180deg, rgba(244,246,252,0) 0%, rgba(233,236,249,0.55) 100%);
}

.dashboard-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.nav-panel h3 {
  margin: 0 0 14px;
}

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

.side-nav a {
  padding: 13px 14px;
  border-radius: 14px;
  color: #656c84;
  background: #f7f8ff;
  font-size: 14px;
  font-weight: 700;
}

.side-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.dashboard-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,251,255,0.94));
}

.dashboard-page-main {
  min-height: calc(100vh - 78px);
}

.chat-page-main {
  min-height: calc(100vh - 78px);
}

.news-page-main {
  min-height: calc(100vh - 78px);
}

.cases-page-main {
  min-height: calc(100vh - 78px);
}

.products-page-main {
  min-height: calc(100vh - 78px);
}

.news-standalone {
  padding-top: 30px;
  padding-bottom: 48px;
}

.news-standalone-shell {
  width: min(1320px, calc(100% - 40px));
}

.cases-standalone {
  padding-top: 30px;
  padding-bottom: 48px;
}

.cases-standalone-shell {
  width: min(1320px, calc(100% - 40px));
}

.products-standalone {
  padding-top: 30px;
  padding-bottom: 48px;
}

.products-standalone-shell {
  width: min(1320px, calc(100% - 40px));
}

.login-page-main {
  min-height: calc(100vh - 78px);
}

.login-standalone {
  padding-top: 48px;
  padding-bottom: 64px;
}

.login-shell {
  width: min(480px, calc(100% - 40px));
}

.login-card {
  padding: 32px 28px 28px;
  border-radius: 28px;
}

.login-card-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 34px);
}

.login-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.login-demo-tip {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: #5f6484;
  font-size: 13px;
  line-height: 1.6;
  background: #f3f5ff;
}

.login-feedback {
  min-height: 20px;
  margin: 0;
  color: #d64545;
  font-size: 13px;
}

.login-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  color: #fff;
  background: #837dff;
  box-shadow: 0 16px 30px rgba(131, 125, 255, 0.32);
}

.login-submit:hover {
  background: #7269ff;
  box-shadow: 0 18px 34px rgba(131, 125, 255, 0.38);
}

.detail-page-main {
  min-height: calc(100vh - 78px);
}

.detail-standalone {
  padding-top: 30px;
  padding-bottom: 48px;
}

.detail-shell {
  width: min(920px, calc(100% - 40px));
}

.detail-article {
  padding: 28px;
  border-radius: 28px;
}

.detail-back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #eff2ff;
  font-size: 28px;
}

.detail-badge {
  display: inline-flex;
  margin-right: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  background: #eef0ff;
}

.detail-date {
  color: var(--muted);
  font-size: 13px;
}

.detail-article h1 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.35;
}

.detail-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-body {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(98, 104, 147, 0.12);
}

.detail-body p {
  margin: 0 0 16px;
  color: #4f5678;
  line-height: 1.9;
}

.detail-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: #4f5678;
  line-height: 1.9;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
  background: #eef0ff;
}

.detail-empty {
  padding: 40px 28px;
  text-align: center;
}

.detail-empty h2 {
  margin: 0 0 10px;
}

.detail-empty p {
  margin: 0 0 20px;
  color: var(--muted);
}

.detail-back-btn {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: #837dff;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: start;
}

.product-detail-visual {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 24px;
  font-size: 72px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.4), transparent 26%),
    linear-gradient(180deg, #dbe3ff 0%, #cfd9ff 100%);
}

.product-detail-info h1 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 4vw, 34px);
}

.product-detail-spec {
  margin: 0;
  color: #4f5678;
  line-height: 1.7;
}

.product-detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.product-detail-price-row strong {
  color: var(--primary);
  font-size: 24px;
}

.product-detail-body {
  display: grid;
  gap: 24px;
}

.news-page-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-page-layout-single {
  grid-template-columns: 1fr;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.news-card-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(98, 104, 147, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 255, 0.92));
  color: inherit;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.news-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 85, 246, 0.18);
  box-shadow: 0 18px 36px rgba(33, 38, 84, 0.1);
}

.product-card[data-product-href],
.case-card[data-case-href] {
  cursor: pointer;
}

.detail-video-player {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 20px;
  background: #0f1228;
}

.detail-video-player video {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.news-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff2ff;
  font-size: 18px;
}

.news-card-body strong {
  display: block;
  line-height: 1.6;
}

.news-card-body small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.news-card-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.news-page-panel {
  padding: 24px;
  border-radius: 28px;
}

.news-page-head {
  margin-bottom: 10px;
}

.news-page-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.news-page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  background: #eef0ff;
}

.news-list-detailed li {
  align-items: start;
  padding: 18px 0;
}

.news-list-detailed p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cases-page-grid {
  margin-bottom: 26px;
}

.cases-page-testimonials {
  margin-top: 10px;
}

.chat-standalone {
  padding-top: 34px;
  padding-bottom: 52px;
}

.chat-standalone-shell {
  width: min(1320px, calc(100% - 40px));
}

.chat-detail-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: stretch;
}

.chat-detail-sidebar {
  display: grid;
  gap: 18px;
}

.chat-sidebar-card,
.chat-detail-panel,
.chat-insight-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(24, 28, 72, 0.16);
}

.chat-sidebar-card {
  padding: 22px 18px;
}

.chat-sidebar-card h3,
.chat-insight-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.chat-sidebar-card a {
  display: block;
  margin-bottom: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #ececff;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, background 0.22s ease;
}

.chat-quick-btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 14px;
  border: 0;
  border-radius: 14px;
  color: #ececff;
  font: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.chat-quick-btn:hover,
.chat-sidebar-card a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
}

.chat-quick-btn.is-pressed {
  transform: translateX(4px) scale(0.98);
  background: rgba(131, 125, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.chat-quick-btn:last-child {
  margin-bottom: 0;
}

.chat-metric-list {
  display: grid;
  gap: 12px;
}

.chat-metric-list div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(8, 10, 34, 0.18);
}

.chat-metric-list strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.5rem;
}

.chat-metric-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.chat-detail-stage {
  display: grid;
  gap: 22px;
}

.chat-detail-panel {
  padding: 22px;
}

.chat-toolbar-detail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: chatStatusPulse 2s infinite;
}

.chat-status-text {
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

@keyframes chatStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.chat-toolbar-detail [data-chat-lang]:first-of-type {
  margin-left: auto;
}

.chat-toolbar .tab {
  appearance: none;
  cursor: pointer;
}

.chat-toolbar .tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.chat-toolbar .tab.active {
  color: #fff;
  background: rgba(131, 125, 255, 0.28);
}

.chat-messages-detail {
  min-height: 420px;
}

.chat-input-detail {
  margin-top: 16px;
}

.chat-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.chat-hot-panel {
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
    rgba(18, 16, 48, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(24, 28, 72, 0.16);
}

.chat-hot-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-hot-kicker {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-hot-panel-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.chat-hot-hint {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.chat-hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.chat-hot-group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chat-hot-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  color: #f2f2ff;
  font: inherit;
  text-align: left;
  background: rgba(8, 10, 34, 0.22);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.chat-hot-item:hover {
  transform: translateY(-2px);
  border-color: rgba(131, 125, 255, 0.32);
  background: rgba(131, 125, 255, 0.14);
  box-shadow: 0 14px 28px rgba(24, 28, 72, 0.18);
}

.chat-hot-item.is-pressed {
  transform: translateY(0) scale(0.99);
  border-color: rgba(131, 125, 255, 0.42);
  background: rgba(131, 125, 255, 0.22);
}

.chat-hot-item-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.chat-hot-item-text {
  line-height: 1.5;
  font-size: 14px;
  font-weight: 700;
}

.chat-hot-item-arrow {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.22s ease, color 0.22s ease;
}

.chat-hot-item:hover .chat-hot-item-arrow {
  color: #fff;
  transform: translateX(3px);
}

.chat-insight-card {
  padding: 20px;
}

.chat-insight-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.chat-insight-card li {
  line-height: 1.7;
}

.chat-quick-item {
  cursor: pointer;
  border-radius: 10px;
  padding: 4px 6px;
  margin-left: -6px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.chat-quick-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.chat-quick-item.is-pressed {
  color: #fff;
  background: rgba(131, 125, 255, 0.24);
}

.dashboard-standalone {
  padding-top: 28px;
  padding-bottom: 44px;
}

.dashboard-standalone-shell {
  width: min(1400px, calc(100% - 40px));
}

.dashboard-wrap-page {
  align-items: stretch;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.dashboard-nav-panel,
.dashboard-panel-page {
  border: 1px solid rgba(92, 85, 246, 0.12);
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(53, 58, 111, 0.1);
}

.dashboard-nav-panel {
  padding: 22px 16px 18px;
}

.dashboard-nav-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 8px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #2f3650;
}

.dashboard-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  font-size: 18px;
  line-height: 1;
}

.side-nav-page {
  gap: 4px;
}

.dashboard-menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  color: #6b7289;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.dashboard-menu-label {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.dashboard-menu-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  background: #3b82f6;
}

.dashboard-menu-btn:hover {
  color: #4f5678;
  background: #f3f4fb;
  transform: none;
  box-shadow: none;
}

.dashboard-menu-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 14px 28px rgba(92, 85, 246, 0.22);
}

.dashboard-menu-btn.active .dashboard-menu-badge {
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-panel-page {
  min-height: 720px;
  padding: 30px 28px 34px;
}

.dashboard-panel-page.is-data-screen {
  padding: 0;
  background: #000b2e;
  border-color: rgba(0, 198, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 24, 72, 0.45);
  overflow: hidden;
}

.dashboard-view-analytics {
  margin: 0;
}

.data-screen {
  min-height: 720px;
  padding: 12px 14px 10px;
  color: #d8ecff;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 198, 255, 0.12), transparent 34%),
    radial-gradient(circle at 50% 42%, rgba(0, 120, 220, 0.08), transparent 48%),
    linear-gradient(180deg, #000b2e 0%, #031538 52%, #000b2e 100%);
}

.data-screen-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(0, 198, 255, 0.18);
}

.data-screen-header-deco {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 72%);
  height: 42px;
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.data-screen-header-deco::before,
.data-screen-header-deco::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f2ff);
  transform: translateY(-50%);
}

.data-screen-header-deco::before {
  left: -34px;
}

.data-screen-header-deco::after {
  right: -34px;
  transform: translateY(-50%) scaleX(-1);
}

.data-screen-header h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 6px 28px;
  color: #eff8ff;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 0 18px rgba(0, 242, 255, 0.25);
}

.data-screen-clock {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.data-screen-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.data-screen-kpis article {
  padding: 10px 8px;
  border: 1px solid rgba(0, 198, 255, 0.16);
  border-radius: 8px;
  background: rgba(4, 24, 68, 0.72);
  text-align: center;
}

.data-screen-kpis strong {
  display: block;
  margin-bottom: 4px;
  color: #f8fbff;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(0, 242, 255, 0.18);
}

.data-screen-kpis span {
  color: #9cc9e8;
  font-size: 12px;
}

.data-screen-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(340px, 1.28fr) minmax(220px, 0.86fr);
  gap: 10px;
  min-height: 580px;
}

.data-screen-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.data-screen-col-center {
  grid-template-rows: minmax(280px, 1.85fr) auto;
}

.data-screen-panel {
  padding: 10px 12px;
  border: 1px solid rgba(0, 198, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 18, 52, 0.82);
  box-shadow: inset 0 0 0 1px rgba(0, 198, 255, 0.04);
}

.data-screen-panel h3 {
  margin: 0 0 10px;
  padding-left: 8px;
  border-left: 3px solid #00d4ff;
  color: #e8f7ff;
  font-size: 13px;
  font-weight: 800;
}

.data-screen-sales-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.data-screen-sales-grid div {
  padding: 8px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.data-screen-sales-grid strong {
  display: block;
  margin-bottom: 4px;
  color: #ffb347;
  font-size: 14px;
}

.data-screen-sales-grid span {
  color: #8eb9d9;
  font-size: 11px;
  line-height: 1.4;
}

.data-screen-bubbles {
  position: relative;
  min-height: 120px;
  border-radius: 6px;
  background: radial-gradient(circle at center, rgba(0, 198, 255, 0.08), transparent 70%);
}

.bubble-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 50%;
  color: #dff6ff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(0, 214, 255, 0.55), rgba(0, 84, 180, 0.35));
  border: 1px solid rgba(125, 232, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: dataScreenPulse 3s ease-in-out infinite;
}

.bubble-item em {
  display: block;
  color: #ffb347;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.bubble-lg { width: 72px; height: 72px; }
.bubble-md { width: 58px; height: 58px; }
.bubble-sm { width: 48px; height: 48px; }
.bubble-xs { width: 38px; height: 38px; font-size: 10px; }

@keyframes dataScreenPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 214, 255, 0); }
  50% { box-shadow: 0 0 18px rgba(0, 214, 255, 0.35); }
}

.data-screen-content-assets {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
}

.data-screen-donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    conic-gradient(
      #00d4ff 0 calc(var(--p1) * 1%),
      #ff9f43 calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
      #4f7cff calc((var(--p1) + var(--p2)) * 1%) calc((var(--p1) + var(--p2) + var(--p3)) * 1%),
      #34d399 calc((var(--p1) + var(--p2) + var(--p3)) * 1%) 100%
    );
  mask: radial-gradient(circle, transparent 58%, #000 59%);
}

.data-screen-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9cc9e8;
  font-size: 11px;
}

.data-screen-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.data-screen-legend strong {
  margin-left: auto;
  color: #ffb347;
  font-weight: 800;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-cyan { background: #00d4ff; }
.dot-orange { background: #ff9f43; }
.dot-blue { background: #4f7cff; }
.dot-green { background: #34d399; }

.data-screen-asset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.data-screen-asset-row div {
  padding: 10px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.data-screen-asset-row strong {
  display: block;
  margin-bottom: 4px;
  color: #ffb347;
  font-size: 14px;
}

.data-screen-asset-row span {
  color: #8eb9d9;
  font-size: 11px;
}

.data-screen-panel-map {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.data-screen-map-tip {
  margin-bottom: 6px;
  color: #ffb347;
  font-size: 12px;
  font-weight: 700;
}

.data-screen-map {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 220px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 198, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(8, 34, 88, 0.55), rgba(4, 18, 48, 0.72));
  overflow: hidden;
}

.data-screen-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 18px, rgba(0, 198, 255, 0.04) 18px 19px),
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 14deg, rgba(0, 198, 255, 0.03) 14deg 15deg);
  pointer-events: none;
}

.data-screen-log {
  display: grid;
  gap: 6px;
  max-height: 118px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.data-screen-log.is-scrolling {
  animation: dataScreenLogScroll 16s linear infinite;
}

.data-screen-log:hover {
  animation-play-state: paused;
}

@keyframes dataScreenLogScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.data-screen-log li {
  display: grid;
  grid-template-columns: 78px 64px 1fr;
  gap: 8px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 11px;
}

.data-screen-log time {
  color: #7dd3fc;
  font-variant-numeric: tabular-nums;
}

.data-screen-log span {
  color: #dff6ff;
  font-weight: 700;
}

.data-screen-log a {
  color: #9cc9e8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-screen-panel-tags {
  padding-bottom: 8px;
}

.data-screen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.data-screen-tags span {
  padding: 5px 9px;
  border-radius: 4px;
  color: #dff6ff;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 132, 255, 0.18);
  border: 1px solid rgba(0, 198, 255, 0.16);
}

.data-screen-tags span:nth-child(3n + 1) {
  background: rgba(255, 159, 67, 0.16);
  border-color: rgba(255, 159, 67, 0.22);
}

.data-screen-tags span:nth-child(3n + 2) {
  background: rgba(0, 210, 255, 0.14);
}

.data-screen-gauge-row,
.data-screen-meter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.data-screen-meter-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-screen-gauge,
.data-screen-meter {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
  text-align: center;
}

.gauge-ring,
.meter-arc {
  --percent: 50;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    conic-gradient(#00d4ff 0 calc(var(--percent) * 1%), rgba(255, 255, 255, 0.08) 0 100%);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
}

.meter-arc {
  width: 72px;
  height: 36px;
  border-radius: 72px 72px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, transparent 62%, #000 63%),
    conic-gradient(from 180deg at 50% 100%, #00d4ff 0 calc(var(--percent) * 0.5%), rgba(255, 255, 255, 0.08) 0 100%);
}

.data-screen-gauge strong,
.data-screen-meter strong {
  color: #ffb347;
  font-size: 16px;
}

.data-screen-gauge span,
.data-screen-meter span,
.data-screen-gauge em {
  color: #8eb9d9;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
}

.data-screen-users {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-screen-users li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #4f7cff, #00d4ff);
}

.data-screen-users strong {
  display: block;
  color: #eff8ff;
  font-size: 12px;
}

.data-screen-users small {
  color: #8eb9d9;
  font-size: 10px;
}

.data-screen-indexes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.data-screen-indexes span {
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.index-baidu { color: #fff; background: #2932e1; }
.index-bing { color: #fff; background: #008373; }
.index-google { color: #202124; background: #fbbc04; }

.data-screen-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 198, 255, 0.14);
}

.data-screen-footer a {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 700;
}

.data-screen-footer a:hover {
  color: #dff6ff;
}

.dashboard-head-page {
  align-items: flex-start;
  margin-bottom: 10px;
}

.dashboard-head-page .section-kicker {
  margin-bottom: 12px;
  color: #7077a5;
  font-size: 13px;
}

.dashboard-head-page h3 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.dashboard-head-page p:last-child {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.dashboard-head-page .dashboard-time {
  padding: 16px 22px;
  font-size: 1.05rem;
}

.stats-grid-page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0 28px;
}

.stat-card-page {
  min-height: 190px;
  padding: 28px 28px 24px;
  border-radius: 24px;
  border-color: rgba(108, 99, 255, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

.stat-card-page strong {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 4.2vw, 3.8rem);
  letter-spacing: -0.03em;
}

.stat-card-page span {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.quick-tags-page {
  gap: 12px;
}

.quick-tags-page span {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(34, 39, 90, 0.05);
}

.dashboard-view[hidden] {
  display: none !important;
}

.dashboard-view-quote {
  max-width: 760px;
}

.quote-page-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(98, 104, 147, 0.14);
}

.quote-page-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 900;
  color: #2f3650;
}

.quote-page-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.quote-page-desc {
  margin: 18px 0 0;
  color: #6b7289;
  font-size: 15px;
  line-height: 1.7;
}

.quote-sheet-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.quote-sheet-field {
  display: grid;
  gap: 10px;
}

.quote-sheet-field span {
  color: #4f5678;
  font-size: 14px;
  font-weight: 700;
}

.quote-sheet-field input,
.quote-sheet-field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #d8deea;
  border-radius: 12px;
  color: #2f3650;
  background: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-sheet-field input::placeholder {
  color: #9aa3b8;
}

.quote-sheet-field input:focus,
.quote-sheet-field select:focus {
  outline: none;
  border-color: rgba(92, 85, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 85, 246, 0.1);
}

.quote-sheet-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote-sheet-feedback {
  min-height: 20px;
  margin: 0;
  color: #5c55f6;
  font-size: 14px;
  font-weight: 700;
}

.quote-sheet-submit {
  justify-self: start;
  min-width: 148px;
  padding: 14px 28px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 16px 30px rgba(92, 85, 246, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-sheet-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(92, 85, 246, 0.3);
}

.dashboard-view-invoice {
  max-width: 760px;
}

.invoice-sheet-form {
  margin-top: 28px;
}

.invoice-sheet-field {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(98, 104, 147, 0.14);
}

.invoice-sheet-field span {
  color: #4f5678;
  font-size: 14px;
  font-weight: 700;
}

.invoice-sheet-field input,
.invoice-sheet-field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e3e8f2;
  border-radius: 10px;
  color: #2f3650;
  background: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.invoice-sheet-field input::placeholder {
  color: #9aa3b8;
}

.invoice-sheet-field input:focus,
.invoice-sheet-field select:focus {
  outline: none;
  border-color: rgba(92, 85, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 85, 246, 0.1);
}

.invoice-amount-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e3e8f2;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.invoice-amount-wrap:focus-within {
  border-color: rgba(92, 85, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 85, 246, 0.1);
}

.invoice-amount-prefix {
  color: #6b7289;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.invoice-amount-wrap input {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.invoice-amount-wrap input:focus {
  box-shadow: none;
}

.invoice-sheet-feedback {
  min-height: 20px;
  margin: 22px 0 0;
  color: #5c55f6;
  font-size: 14px;
  font-weight: 700;
}

.invoice-sheet-submit {
  margin-top: 24px;
}

.dashboard-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.dashboard-card {
  padding: 24px;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,255,0.96));
  box-shadow: 0 18px 44px rgba(31, 36, 86, 0.06);
}

.dashboard-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-card-head h4 {
  margin: 0;
  font-size: 1.05rem;
}

.dashboard-card-head span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  background: #eef0ff;
}

.dashboard-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(99, 108, 162, 0.12);
}

.dashboard-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dashboard-list strong {
  font-size: 0.98rem;
}

.dashboard-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-mini-stats div {
  padding: 18px 16px;
  border-radius: 18px;
  background: #f7f8ff;
}

.dashboard-mini-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-strong);
  font-size: 1.5rem;
}

.dashboard-mini-stats span {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-table {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,249,255,0.98));
}

.dashboard-table-row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid rgba(92, 85, 246, 0.08);
}

.dashboard-table-row:first-child {
  border-top: 0;
}

.dashboard-table-head {
  color: #636c89;
  font-size: 13px;
  font-weight: 800;
  background: #f5f7ff;
}

.dashboard-table-row span {
  min-width: 0;
}

.dashboard-view-clients {
  padding-top: 4px;
}

.client-page-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(92, 85, 246, 0.1);
}

.client-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.client-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 1;
}

.client-page-title h3 {
  margin: 0;
  color: #2f3650;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
}

.client-page-desc {
  margin: 0;
  color: #7b839c;
  font-size: 14px;
  line-height: 1.6;
}

.client-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.client-filter-btn {
  appearance: none;
  padding: 10px 18px;
  border: 1px solid rgba(94, 100, 148, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #5f6784;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.client-filter-btn:hover {
  color: #4f5678;
  border-color: rgba(92, 85, 246, 0.2);
}

.client-filter-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 10px 20px rgba(92, 85, 246, 0.22);
}

.client-add-btn {
  margin-left: auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 10px 20px rgba(92, 85, 246, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(92, 85, 246, 0.28);
}

.client-table {
  overflow: hidden;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 14px;
  background: #fff;
}

.client-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.8fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid rgba(92, 85, 246, 0.08);
}

.client-table-row:first-child {
  border-top: 0;
}

.client-table-head {
  color: #636c89;
  font-size: 13px;
  font-weight: 800;
  background: #f5f7fb;
}

.client-table-row span {
  min-width: 0;
  color: #4f5678;
  font-size: 14px;
}

.client-table-head span {
  color: #636c89;
}

.client-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f5678;
  font-size: 14px;
  font-weight: 600;
}

.client-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.client-status.is-progress i {
  background: #f59e0b;
}

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

.client-action-btn {
  flex: 1 1 0;
  min-width: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(94, 100, 148, 0.16);
  border-radius: 10px;
  color: #6b7289;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.client-action-btn:hover {
  color: #4f5678;
  border-color: rgba(92, 85, 246, 0.28);
  background: #f8f9ff;
}

.client-action-btn-danger {
  color: #dc2626;
}

.client-action-btn-danger:hover {
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.24);
  background: #fff5f5;
}

.client-table-empty {
  margin: 14px 0 0;
  padding: 18px;
  border: 1px dashed rgba(92, 85, 246, 0.18);
  border-radius: 12px;
  color: #7b839c;
  font-size: 14px;
  text-align: center;
  background: #fafbff;
}

.client-modal-dialog {
  width: min(560px, calc(100% - 40px));
}

.client-modal-head h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.client-modal-desc {
  margin: 8px 0 0;
  color: #7b839c;
  font-size: 14px;
}

.client-form {
  display: grid;
  gap: 16px;
}

.client-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.client-field select {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #d8deea;
  border-radius: 16px;
  color: #1d2638;
  font: inherit;
  font-size: 0.96rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.client-field select:focus {
  outline: none;
  border-color: rgba(92, 85, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(92, 85, 246, 0.12);
}

.client-form-feedback {
  margin: 0;
}

.client-detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.client-detail-list div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f8fd;
}

.client-detail-list dt {
  color: #7b839c;
  font-size: 12px;
  font-weight: 700;
}

.client-detail-list dd {
  margin: 0;
  color: #2f3650;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.client-detail-actions {
  margin-top: 16px;
}

.product-count {
  margin: -8px 0 14px;
  color: #7b839c;
  font-size: 13px;
  font-weight: 700;
}

.product-table .client-table-row,
.product-table-row {
  grid-template-columns: 1.7fr 1.1fr 1fr 0.8fr 1.8fr;
}

.product-table-row .status-pill {
  justify-self: start;
}

.dashboard-view-datacenter {
  padding-top: 4px;
}

.dc-page-head {
  margin-bottom: 18px;
}

.dc-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 1;
}

.dc-page-title h3 {
  margin: 0;
  color: #2f3650;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 800;
}

.dc-upload-zone {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 34px 24px;
  border: 2px dashed rgba(92, 85, 246, 0.22);
  border-radius: 16px;
  background: #fafbff;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dc-upload-zone:hover {
  border-color: rgba(92, 85, 246, 0.38);
  background: #f5f7ff;
}

.dc-upload-icon {
  font-size: 28px;
  line-height: 1;
}

.dc-upload-zone strong {
  color: #2f3650;
  font-size: 15px;
  font-weight: 800;
}

.dc-upload-zone p {
  margin: 0;
  color: #7b839c;
  font-size: 13px;
  line-height: 1.6;
}

.dc-upload-feedback {
  min-height: 20px;
  margin: -8px 0 14px;
  color: #5a4ff0;
  font-size: 13px;
  font-weight: 700;
}

.dc-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.dc-filter-btn {
  appearance: none;
  padding: 9px 16px;
  border: 1px solid rgba(94, 100, 148, 0.14);
  border-radius: 12px;
  color: #5f6784;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-filter-btn:hover {
  border-color: rgba(92, 85, 246, 0.2);
}

.dc-filter-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 10px 20px rgba(92, 85, 246, 0.22);
}

.dc-file-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.dc-file-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(53, 58, 111, 0.05);
}

.dc-file-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dc-file-icon-pdf { background: linear-gradient(135deg, #4f7cff, #3b66e8); }
.dc-file-icon-xls { background: linear-gradient(135deg, #34c77b, #22a86a); }
.dc-file-icon-zip { background: linear-gradient(135deg, #f5b942, #e39b1f); }
.dc-file-icon-video { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.dc-file-icon-doc { background: linear-gradient(135deg, #60a5fa, #3b82f6); }

.dc-file-card strong {
  display: block;
  margin-bottom: 6px;
  color: #2f3650;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  word-break: break-all;
}

.dc-file-card p {
  margin: 0;
  color: #7b839c;
  font-size: 12px;
  line-height: 1.5;
}

.dc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dc-stat-card {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(53, 58, 111, 0.05);
}

.dc-stat-value {
  color: #2f3650;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
  word-break: break-all;
}

.dc-stat-value-primary {
  color: #5a4ff0;
}

.dc-stat-card span {
  color: #7b839c;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-view-ai-train {
  padding-top: 4px;
}

.at-page-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.at-page-icon {
  font-size: 22px;
  line-height: 1;
}

.at-page-head h3 {
  margin: 0;
  color: #2f3650;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 800;
}

.at-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.at-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(92, 85, 246, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(53, 58, 111, 0.05);
}

.at-card-wide {
  margin-bottom: 8px;
}

.at-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.at-card-icon {
  font-size: 20px;
  line-height: 1.2;
}

.at-card-head h4 {
  margin: 0 0 4px;
  color: #2f3650;
  font-size: 16px;
  font-weight: 800;
}

.at-card-head p {
  margin: 0;
  color: #7b839c;
  font-size: 13px;
  line-height: 1.6;
}

.at-doc-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.at-doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(92, 85, 246, 0.08);
  color: #4f5678;
  font-size: 14px;
}

.at-doc-list li:last-child {
  border-bottom: 0;
}

.at-doc-list em {
  color: #7b839c;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.at-btn {
  justify-self: start;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 10px 20px rgba(92, 85, 246, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.at-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(92, 85, 246, 0.28);
}

.at-qa-list {
  display: grid;
  gap: 10px;
}

.at-qa-item {
  padding: 12px 14px;
  border: 1px solid rgba(92, 85, 246, 0.12);
  border-radius: 12px;
  background: #fafbff;
}

.at-qa-item p {
  margin: 0;
  color: #4f5678;
  font-size: 13px;
  line-height: 1.6;
}

.at-qa-item p + p {
  margin-top: 8px;
}

.at-qa-item strong {
  color: #2f3650;
}

.at-toggle-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.at-toggle-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(92, 85, 246, 0.08);
}

.at-toggle-list li:last-child {
  border-bottom: 0;
}

.at-toggle-label {
  color: #4f5678;
  font-size: 14px;
  font-weight: 700;
}

.at-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.at-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.at-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d7dbe8;
  transition: background 0.2s ease;
}

.at-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.at-switch input:checked + span {
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
}

.at-switch input:checked + span::after {
  transform: translateX(20px);
}

.at-progress-list {
  display: grid;
  gap: 14px;
}

.at-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #4f5678;
  font-size: 14px;
  font-weight: 700;
}

.at-progress-meta em {
  color: #5a4ff0;
  font-style: normal;
  font-weight: 800;
}

.at-progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceffd;
}

.at-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d63ff, #5a4ff0);
}

.at-score {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(92, 85, 246, 0.08);
  text-align: center;
}

.at-score strong {
  color: #5a4ff0;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}

.at-score span {
  color: #7b839c;
  font-size: 13px;
  font-weight: 700;
}

.at-test-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.at-test-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(92, 85, 246, 0.14);
  border-radius: 12px;
  color: #2f3650;
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.at-test-input:focus {
  outline: none;
  border-color: rgba(92, 85, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 85, 246, 0.1);
}

.at-btn-test {
  min-width: 88px;
}

.at-reply-box {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a1f4f 0%, #12183d 100%);
}

.at-reply-title {
  margin: 0 0 10px;
  color: #c7d2fe;
  font-size: 14px;
  font-weight: 800;
}

.at-reply-text {
  margin: 0;
  color: #eef2ff;
  font-size: 14px;
  line-height: 1.75;
}

.at-feedback {
  min-height: 20px;
  margin: 0;
  color: #5a4ff0;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-view-settings {
  padding-top: 4px;
}

.settings-page-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(92, 85, 246, 0.1);
}

.settings-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.settings-page-icon {
  font-size: 18px;
  line-height: 1;
}

.settings-page-title h3 {
  margin: 0;
  color: #2f3650;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
}

.settings-page-desc {
  margin: 0;
  color: #7b839c;
  font-size: 14px;
  line-height: 1.6;
}

.settings-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.settings-field {
  display: grid;
  gap: 10px;
}

.settings-field span {
  color: #4f5678;
  font-size: 14px;
  font-weight: 800;
}

.settings-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(94, 100, 148, 0.18);
  border-radius: 12px;
  color: #2f3650;
  font: inherit;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-field input:focus {
  outline: none;
  border-color: rgba(92, 85, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 85, 246, 0.1);
}

.settings-feedback {
  min-height: 20px;
  margin: -4px 0 0;
  color: #5a4ff0;
  font-size: 13px;
  font-weight: 700;
}

.settings-submit {
  justify-self: start;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #6d63ff, #5a4ff0);
  box-shadow: 0 10px 20px rgba(92, 85, 246, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.settings-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(92, 85, 246, 0.28);
}

.client-view-btn {
  width: 100%;
  max-width: 132px;
  padding: 10px 16px;
  border: 1px solid rgba(94, 100, 148, 0.16);
  border-radius: 12px;
  color: #6b7289;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.client-view-btn:hover {
  color: #4f5678;
  border-color: rgba(92, 85, 246, 0.28);
  background: #f8f9ff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #1c8d5f;
  font-size: 12px;
  font-weight: 800;
  background: rgba(45, 193, 120, 0.14);
}

.status-pill.status-warm {
  color: #cb7f00;
  background: rgba(255, 174, 28, 0.18);
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-time {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef0ff;
  font-size: 12px;
  font-weight: 800;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0;
}

.stat-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfbff, #f4f6ff);
  border: 1px solid rgba(92, 85, 246, 0.08);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-strong);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(95, 101, 149, 0.14);
  background: #fff;
  color: #666d87;
  font-size: 13px;
}

.site-footer {
  padding: 54px 0 20px;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at top right, rgba(92,85,246,0.16), transparent 22%),
    #101526;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  margin-bottom: 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

.video-card {
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 28, 0.72);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: min(8vh, 56px) auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(16, 18, 36, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.video-modal-head {
  margin-bottom: 16px;
  color: #fff;
}

.video-modal-kicker {
  margin: 0 0 8px;
  color: #a9afff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-modal-head h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.video-modal-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.video-modal-player {
  overflow: hidden;
  border-radius: 20px;
  background: #090b14;
}

.video-modal-player video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #090b14;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 33, 0.5);
  backdrop-filter: blur(8px);
}

.quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: min(6vh, 56px) auto;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 28px 34px 30px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(27, 30, 66, 0.24);
}

.quote-modal-head {
  margin-bottom: 20px;
}

.quote-modal-head h3 {
  margin: 0;
  color: #253047;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.quote-form {
  display: grid;
  gap: 18px;
}

.quote-field {
  display: grid;
  gap: 10px;
}

.quote-field span {
  color: #39445b;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 800;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #d8deea;
  border-radius: 16px;
  color: #1d2638;
  font: inherit;
  font-size: 0.96rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-field textarea {
  min-height: 110px;
  resize: vertical;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #8b90a0;
}

.quote-field input:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: rgba(84, 77, 240, 0.56);
  box-shadow: 0 0 0 5px rgba(84, 77, 240, 0.1);
}

.quote-feedback {
  min-height: 20px;
  margin: -2px 0 0;
  color: #544df0;
  font-size: 13px;
  font-weight: 700;
}

.quote-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.quote-btn {
  min-height: 56px;
  border-radius: 16px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.quote-btn:hover {
  transform: translateY(-2px);
}

.quote-btn-secondary {
  border: 2px solid #d5dbe7;
  color: #344157;
  background: #fff;
}

.quote-btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #6459ff 0%, #4f43e9 100%);
  box-shadow: 0 20px 38px rgba(84, 77, 240, 0.24);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1180px) {
  .hero-grid,
  .news-columns,
  .dashboard-wrap,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .video-grid-4,
  .video-grid-3,
  .product-grid,
  .case-grid,
  .testimonials,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-media-card,
  .hero-media-screen {
    min-height: 380px;
  }

  .hero-slides {
    min-height: 760px;
  }

  .video-modal-dialog {
    width: min(100% - 24px, 980px);
  }

  .quote-modal-dialog {
    width: min(100% - 24px, 680px);
    padding: 24px 24px 26px;
  }

  .dashboard-wrap-page,
  .stats-grid-page,
  .news-page-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-subgrid {
    grid-template-columns: 1fr;
  }

  .chat-detail-layout,
  .chat-insight-grid,
  .chat-hot-grid {
    grid-template-columns: 1fr;
  }

  .chat-hot-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dc-file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .nav,
  .top-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-nav {
    padding: 0 12px 14px;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-nav a {
    padding: 13px 16px;
    border: 1px solid rgba(92, 85, 246, 0.1);
    border-radius: 14px;
    color: #4f5678;
    font-size: 15px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(53, 58, 111, 0.06);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-nav a.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #6d63ff 0%, #5a4ff0 100%);
    box-shadow: 0 12px 24px rgba(92, 85, 246, 0.24);
  }

  .mobile-nav a[href*="contact"] {
    color: #5a4ff0;
    background: rgba(92, 85, 246, 0.08);
    border-color: rgba(92, 85, 246, 0.14);
  }

  .hero {
    padding-bottom: 68px;
  }

  .hero-slides {
    min-height: 960px;
  }

  .hero h1,
  .hero-title,
  .section-heading h2 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-subtitle {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .hero-metrics-banner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-metrics,
  .video-grid-4,
  .product-grid,
  .case-grid,
  .testimonials,
  .stats-grid,
  .footer-grid,
  .stats-grid-page {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-note {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-screen,
  .hero-media-screen {
    position: relative;
    inset: auto;
    min-height: 280px;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .hero-arrow-prev {
    left: 8px;
  }

  .hero-arrow-next {
    right: 8px;
  }

  .hero-dots {
    bottom: 12px;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .chat-standalone {
    padding-top: 18px;
  }

  .chat-standalone-shell {
    width: min(100% - 24px, 100%);
  }

  .news-standalone-shell {
    width: min(100% - 24px, 100%);
  }

  .cases-standalone-shell {
    width: min(100% - 24px, 100%);
  }

  .products-standalone-shell {
    width: min(100% - 24px, 100%);
  }

  .login-shell {
    width: min(100% - 24px, 100%);
  }

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

  .detail-shell {
    width: min(100% - 24px, 100%);
  }

  .detail-article {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .detail-hero,
  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .product-detail-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-detail-panel,
  .chat-sidebar-card,
  .chat-insight-card {
    border-radius: 22px;
  }

  .news-page-layout {
    grid-template-columns: 1fr;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .news-page-panel {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .dashboard-standalone {
    padding-top: 18px;
  }

  .dashboard-standalone-shell {
    width: min(100% - 24px, 100%);
  }

  .dashboard-wrap-page {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dashboard-nav-panel,
  .dashboard-panel-page {
    border-radius: 24px;
  }

  .dashboard-nav-panel {
    padding: 22px 18px;
  }

  .dashboard-panel-page {
    min-height: auto;
    padding: 22px 18px 28px;
  }

  .dashboard-panel-page.is-data-screen {
    padding: 0;
  }

  .data-screen {
    min-height: auto;
    padding: 12px;
  }

  .data-screen-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-screen-grid {
    grid-template-columns: 1fr;
  }

  .data-screen-meter-row,
  .data-screen-gauge-row {
    grid-template-columns: 1fr;
  }

  .dashboard-menu-btn {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.98rem;
  }

  .quote-sheet-row {
    grid-template-columns: 1fr;
  }

  .quote-sheet-submit {
    width: 100%;
    justify-self: stretch;
  }

  .invoice-sheet-submit {
    width: 100%;
  }

  .stat-card-page {
    min-height: auto;
    padding: 26px 24px;
    border-radius: 20px;
  }

  .stat-card-page strong {
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 10vw, 3.1rem);
  }

  .quick-tags-page span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .dashboard-mini-stats,
  .dashboard-table-row,
  .client-table-row,
  .product-table-row {
    grid-template-columns: 1fr;
  }

  .client-table-row span:last-child {
    justify-self: stretch;
  }

  .client-actions {
    width: 100%;
  }

  .client-action-btn {
    min-width: 0;
  }

  .client-add-btn {
    width: 100%;
    margin-left: 0;
  }

  .client-form-row {
    grid-template-columns: 1fr;
  }

  .dc-file-grid {
    grid-template-columns: 1fr;
  }

  .dc-stats-row {
    grid-template-columns: 1fr;
  }

  .at-grid {
    grid-template-columns: 1fr;
  }

  .at-test-form {
    grid-template-columns: 1fr;
  }

  .client-view-btn {
    max-width: none;
  }

  .section {
    padding: 76px 0;
  }

  .video-modal-dialog {
    margin-top: 20px;
    padding: 18px;
  }

  .quote-actions {
    grid-template-columns: 1fr;
  }

  .quote-btn {
    min-height: 54px;
  }
}

@media (max-width: 640px) {
  .quote-modal-dialog {
    width: min(100% - 18px, 100%);
    margin-top: 10px;
    max-height: calc(100vh - 20px);
    padding: 20px 16px 18px;
    border-radius: 22px;
  }

  .quote-field {
    gap: 8px;
  }

  .quote-field input,
  .quote-field textarea {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .quote-field textarea {
    min-height: 96px;
  }
}
