:root {
  color-scheme: dark;
  --bg: #05070c;
  --bg-2: #0b1018;
  --panel: rgba(13, 19, 31, 0.78);
  --panel-strong: rgba(17, 27, 44, 0.96);
  --line: rgba(116, 239, 255, 0.22);
  --line-strong: rgba(116, 239, 255, 0.42);
  --text: #edf7ff;
  --muted: #9fb4c5;
  --cyan: #2ee7ff;
  --green: #91ff74;
  --amber: #ffbd59;
  --pink: #ff4fc7;
  --danger: #ff5d6c;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --header-h: 74px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f9ff;
  --bg-2: #e9f2fb;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(0, 111, 232, 0.18);
  --line-strong: rgba(0, 111, 232, 0.36);
  --text: #07111b;
  --muted: #526779;
  --cyan: #006fe8;
  --green: #00a878;
  --amber: #f59e0b;
  --pink: #d946ef;
  --danger: #d92842;
  --shadow: 0 18px 60px rgba(18, 39, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 10%, rgba(46, 231, 255, 0.10), transparent 28%),
    linear-gradient(135deg, #05070c 0%, #08111a 45%, #0e0b12 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 111, 232, 0.14), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(0, 168, 120, 0.10), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 48%, #fff8fb 100%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: var(--header-h);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--cyan);
  background:
    linear-gradient(135deg, rgba(46, 231, 255, 0.18), rgba(145, 255, 116, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 30px rgba(46, 231, 255, 0.16);
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.navbar-toggler {
  border-color: var(--line);
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(46, 231, 255, 0.18);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(237, 247, 255, 0.78);
  font-size: 14px;
  padding: 8px 12px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.btn {
  border-radius: var(--radius);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-primary-tech {
  border: 1px solid rgba(46, 231, 255, 0.68);
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 12px 36px rgba(46, 231, 255, 0.24);
}

.btn-primary-tech:hover,
.btn-primary-tech:focus {
  color: #001018;
  border-color: rgba(145, 255, 116, 0.82);
  transform: translateY(-1px);
}

.btn-ghost-tech {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost-tech:hover,
.btn-ghost-tech:focus {
  color: var(--cyan);
  border-color: rgba(46, 231, 255, 0.74);
  background: rgba(46, 231, 255, 0.08);
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 42px);
  display: flex;
  align-items: center;
}

.page-hero {
  min-height: 430px;
  padding-bottom: 72px;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.74;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(46, 231, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 231, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 90%);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 680px;
}

.hero-product,
.section-heading span,
.contact-copy span,
.about-copy span {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead,
.page-hero p {
  margin: 24px 0 0;
  max-width: 760px;
  color: #bdd0df;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
  max-width: 640px;
}

.stat-cell {
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.stat-cell strong {
  display: block;
  color: var(--cyan);
  font-size: 26px;
  line-height: 1;
}

.stat-cell span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.ops-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(6, 11, 18, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}

.ops-topbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.ops-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
}

.ops-topbar span:nth-child(2) {
  background: var(--amber);
}

.ops-topbar span:nth-child(3) {
  background: var(--green);
}

.ops-topbar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ops-screen {
  padding: 20px;
}

.ops-line {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ops-line span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.ops-line b {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.ops-line.active b {
  color: var(--green);
}

.ops-progress {
  height: 8px;
  margin: 22px 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ops-progress i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber));
  animation: pulseWidth 4s ease-in-out infinite;
}

.ops-screen pre {
  margin: 0;
  min-height: 156px;
  color: #9fffe3;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.section-band {
  position: relative;
  padding: 96px 0;
  background: var(--bg);
}

.feature-band {
  background:
    linear-gradient(180deg, var(--bg), #091018 45%, var(--bg));
}

.workflow-band {
  background: #070b10;
}

.cases-band {
  background:
    linear-gradient(180deg, var(--bg), #0b0b11);
}

.contact-band {
  background:
    linear-gradient(135deg, #080d13, #0d1117 60%, #110b10);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading.centered {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 900;
}

.section-heading p,
.contact-copy p,
.about-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-card,
.service-card,
.case-card {
  position: relative;
  height: 100%;
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(46, 231, 255, 0.06), transparent 42%),
    var(--panel);
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card::before,
.service-card::before,
.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber), var(--pink));
  opacity: 0.78;
}

.feature-card:hover,
.service-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 231, 255, 0.42);
  background:
    linear-gradient(160deg, rgba(46, 231, 255, 0.10), rgba(255, 189, 89, 0.05) 55%, transparent),
    var(--panel-strong);
}

.feature-index,
.service-category,
.case-year {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3,
.service-card h3,
.case-card h3 {
  margin: 18px 0 12px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 850;
}

.feature-card p,
.service-card p,
.case-card p {
  color: #aec1d1;
  line-height: 1.75;
  margin-bottom: 16px;
}

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

.tech-list li {
  display: flex;
  gap: 9px;
  color: #d8e9f4;
  font-size: 14px;
  line-height: 1.55;
}

.tech-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(145, 255, 116, 0.45);
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.workflow-track::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.workflow-node {
  position: relative;
  z-index: 1;
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
}

.workflow-node strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--cyan);
  background: #07121a;
}

.workflow-node h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 850;
}

.workflow-node p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 14px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.solutions-band {
  background:
    radial-gradient(circle at 72% 8%, rgba(46, 231, 255, 0.10), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 246px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 26px 22px 20px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.solution-card.dark {
  background:
    linear-gradient(145deg, rgba(46, 231, 255, 0.12), transparent 44%),
    #03070c;
}

.solution-card:hover,
.solution-card:focus-visible {
  color: var(--text);
  border-color: var(--cyan);
  transform: translateY(-5px);
  outline: none;
}

.solution-card strong {
  position: relative;
  z-index: 1;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.solution-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.solution-card.dark p {
  color: #bdd0df;
}

.solution-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.solution-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.solution-orb {
  position: absolute;
  top: -48px;
  right: -42px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(46, 231, 255, 0.18);
  pointer-events: none;
}

.service-card.is-clickable {
  cursor: pointer;
}

.service-card.is-clickable:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.service-card .card-actions,
.case-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.link-tech {
  color: var(--cyan);
  font-weight: 800;
}

.link-tech:hover {
  color: var(--green);
}

.service-filter,
.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #d9eaf7;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
  color: #001018;
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 26px;
}

.contact-form.narrow {
  max-width: 860px;
}

.form-label {
  color: #dcebf6;
  font-size: 13px;
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(2, 6, 12, 0.78);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--cyan);
  color: var(--text);
  background: rgba(2, 6, 12, 0.92);
  box-shadow: 0 0 0 3px rgba(46, 231, 255, 0.14);
}

.form-select option {
  background: #07101a;
}

.form-status {
  color: var(--green);
  font-size: 14px;
}

.form-status.error {
  color: var(--danger);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

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

.contact-item strong {
  color: var(--text);
  font-size: 14px;
  word-break: break-word;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04060a;
  color: var(--muted);
  padding: 32px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--cyan);
}

.case-detail-hero {
  position: relative;
  padding: calc(var(--header-h) + 82px) 0 70px;
  background:
    linear-gradient(135deg, rgba(46, 231, 255, 0.12), transparent 42%),
    #060911;
}

.case-detail-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.case-meta span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 10px;
  color: #dcebf6;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.case-detail-body {
  padding: 80px 0;
  background: var(--bg);
}

.case-detail-body article {
  max-width: 860px;
}

.case-detail-body p {
  color: #c2d3df;
  font-size: 17px;
  line-height: 1.9;
}

.result-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px 16px;
  color: #e8f6ff;
}

.doc-card {
  display: grid;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.doc-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.doc-card h3 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
}

.doc-card p {
  margin: 14px 0 20px;
  color: var(--muted);
  line-height: 1.75;
}

.doc-card .link-tech {
  align-self: end;
}

.doc-detail-body article h2 {
  margin: 32px 0 12px;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
}

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

.doc-list li {
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  color: #dcebf6;
  background: rgba(255, 255, 255, 0.045);
}

.service-detail-hero {
  padding: calc(var(--header-h) + 72px) 0 62px;
  background:
    radial-gradient(circle at 76% 22%, rgba(46, 231, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #060911, #0a121b);
}

.service-detail-hero h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1.06;
  font-weight: 900;
}

.service-detail-hero p {
  max-width: 820px;
  margin: 22px 0 0;
  color: #bdd0df;
  font-size: 17px;
  line-height: 1.9;
}

.service-detail-body {
  padding: 76px 0;
  background: var(--bg);
}

.detail-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.detail-side-nav,
.detail-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.detail-side-nav {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-side-nav strong {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
}

.detail-side-nav nav {
  display: grid;
  gap: 8px;
}

.detail-side-nav a:not(.btn) {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  color: #dcebf6;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  line-height: 1.35;
}

.detail-side-nav a:not(.btn):hover,
.detail-side-nav a:not(.btn):focus-visible {
  color: #001018;
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  outline: none;
}

.detail-feature-panel {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
}

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

.detail-feature-card {
  min-height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.detail-feature-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.detail-feature-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.detail-feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detail-bottom-bar {
  height: 16px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b1119, var(--cyan), var(--green), #0b1119);
}

.detail-media {
  display: grid;
  gap: 14px;
}

.detail-video-card {
  display: grid;
  min-height: 168px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(46, 231, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(46, 231, 255, 0.16), transparent 34%),
    #03070c;
}

.detail-video-card.has-media {
  padding: 0;
  aspect-ratio: 16 / 9;
}

.detail-video-card iframe,
.detail-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-play {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #03070c;
  background: #fff;
}

.video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #03070c;
}

.detail-video-card h3 {
  margin: 14px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.detail-video-card p {
  margin: 8px 0 14px;
  color: #bdd0df;
  font-size: 13px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 231, 255, 0.9), rgba(145, 255, 116, 0.8), transparent);
  animation: headerPulse 3.6s ease-in-out infinite;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber));
  box-shadow: 0 0 18px rgba(46, 231, 255, 0.48);
  transition: width 120ms linear;
}

.nav-link,
.nav-link:focus,
.nav-link:active {
  color: rgba(237, 247, 255, 0.78);
}

.nav-link:hover,
.nav-link.active,
.nav-link.show,
.nav-link:focus-visible {
  color: var(--cyan) !important;
}

.nav-link:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--cyan);
  background: rgba(46, 231, 255, 0.12);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

html[data-theme="dark"] .theme-toggle .sun,
html[data-theme="light"] .theme-toggle .moon {
  display: none;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--header-h);
  left: -28%;
  width: 26%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(46, 231, 255, 0.16), rgba(145, 255, 116, 0.08), transparent);
  filter: blur(1px);
  animation: scanSweep 7.5s linear infinite;
}

.ops-panel {
  position: relative;
}

.ops-panel::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, 0.14), transparent 56%);
  transform: translateX(-35%);
  animation: panelGlint 5.6s ease-in-out infinite;
}

.feature-card::after,
.service-card::after,
.case-card::after,
.workflow-node::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 15%), rgba(46, 231, 255, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover::after,
.service-card:hover::after,
.case-card:hover::after,
.workflow-node:hover::after {
  opacity: 1;
}

.qr-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
}

.qr-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #fff;
  padding: 6px;
}

.qr-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.qr-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.feedback-dock {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 60;
}

.feedback-button {
  min-width: 116px;
  min-height: 46px;
  border: 1px solid rgba(46, 231, 255, 0.72);
  border-radius: var(--radius);
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 0 0 rgba(46, 231, 255, 0.42), 0 14px 38px rgba(46, 231, 255, 0.26);
  font-size: 14px;
  font-weight: 850;
  animation: dockPulse 2.8s ease-in-out infinite;
}

.feedback-modal .modal-content {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.feedback-modal .modal-header,
.feedback-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.10);
}

.feedback-modal .btn-close {
  filter: invert(1);
}

.ai-companion {
  position: fixed;
  left: -8px;
  bottom: 4px;
  z-index: 72;
  width: 92px;
  height: 128px;
  pointer-events: none;
}

.ai-halo-control {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 4;
  width: 48px;
  height: 32px;
  pointer-events: none;
}

.ai-halo-ring {
  position: absolute;
  inset: 7px 3px;
  border: 2px solid rgba(255, 205, 113, 0.82);
  border-top-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(255, 119, 161, 0.62);
  border-radius: 50%;
  box-shadow:
    0 0 14px rgba(255, 205, 113, 0.52),
    0 0 24px rgba(255, 119, 161, 0.18),
    inset 0 0 12px rgba(255, 255, 255, 0.22);
  animation: haloGlow 2.8s ease-in-out infinite;
}

.ai-halo-ring::before,
.ai-halo-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 240, 213, 0.55);
}

.ai-halo-ring::after {
  inset: -7px;
  border-color: rgba(255, 111, 158, 0.24);
  filter: blur(1px);
}

.ai-halo-dot {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff0c9;
  box-shadow: 0 0 14px rgba(255, 204, 111, 0.9);
  animation: haloDot 2.8s ease-in-out infinite;
}

.ai-halo-dot.dot-a {
  top: 8px;
  left: 11px;
}

.ai-halo-dot.dot-b {
  right: 10px;
  bottom: 8px;
  width: 4px;
  height: 4px;
  animation-delay: -1.2s;
}

.ai-companion-stage {
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 76px;
  height: 116px;
  border: 0;
  padding: 0;
  cursor: grab;
  pointer-events: auto;
  background: transparent;
  animation: mascotBounce 1.95s ease-in-out infinite;
  transform-origin: 50% 92%;
  touch-action: none;
}

.ai-companion-stage:active {
  cursor: grabbing;
}

.ai-mascot-aura {
  position: absolute;
  left: 3px;
  right: 3px;
  top: 13px;
  bottom: 5px;
  border-radius: 56px 56px 12px 12px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 123, 168, 0.24), transparent 36%),
    radial-gradient(circle at 50% 54%, rgba(46, 231, 255, 0.12), transparent 58%);
  filter: blur(1px);
  animation: auraPulse 2.6s ease-in-out infinite;
}

.ai-portrait-frame {
  position: absolute;
  left: 10px;
  top: 16px;
  z-index: 1;
  width: 56px;
  height: 112px;
  border: 1px solid rgba(255, 205, 113, 0.55);
  border-radius: 52px 52px 18px 18px;
  overflow: hidden;
  background: rgba(255, 246, 237, 0.08);
  box-shadow:
    0 16px 34px rgba(255, 111, 158, 0.18),
    0 0 24px rgba(46, 231, 255, 0.16),
    inset 0 0 16px rgba(255, 255, 255, 0.14);
}

.ai-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 40%, rgba(255, 255, 255, 0.18) 48%, transparent 56%),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.28), transparent 32%);
  mix-blend-mode: screen;
  opacity: 0.62;
}

.ai-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.05);
  transition: transform 220ms ease, filter 220ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.ai-companion-stage:hover .ai-portrait,
.ai-companion.is-winking .ai-portrait {
  filter: saturate(1.12) brightness(1.06);
  transform: scale(1.08);
}

.ai-wink-eye {
  position: absolute;
  left: 44px;
  top: 50px;
  z-index: 3;
  width: 9px;
  height: 5px;
  border-top: 2px solid rgba(91, 28, 38, 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(2px) rotate(-8deg);
  box-shadow: 0 -2px 4px rgba(255, 173, 190, 0.45);
}

.ai-companion-stage:hover .ai-wink-eye,
.ai-companion.is-winking .ai-wink-eye {
  animation: winkLid 920ms ease forwards;
}

.ai-drag-hint {
  position: absolute;
  left: 50%;
  top: 25px;
  z-index: 5;
  transform: translateX(-50%);
  min-width: 58px;
  border: 1px solid rgba(255, 205, 113, 0.52);
  border-radius: 99px;
  color: #fff5df;
  background: rgba(43, 18, 27, 0.72);
  box-shadow: 0 0 18px rgba(255, 111, 158, 0.20);
  font-size: 11px;
  line-height: 20px;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ai-companion-stage:hover .ai-drag-hint,
.ai-companion-stage:focus-visible .ai-drag-hint {
  opacity: 1;
  transform: translate(-50%, -4px);
}

.ai-mascot-shadow {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 175, 0.36), rgba(46, 231, 255, 0.13) 48%, transparent 72%);
  filter: blur(2px);
  animation: mascotShadow 1.95s ease-in-out infinite;
}

.ai-wink-spark {
  position: absolute;
  z-index: 3;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0;
  background: #fff0c9;
  box-shadow: 0 0 16px rgba(255, 205, 113, 0.86);
}

.spark-1 {
  top: 47px;
  right: 18px;
}

.spark-2 {
  top: 63px;
  right: 8px;
  width: 7px;
  height: 7px;
  background: #ff7ba8;
}

.ai-companion-stage:hover .ai-wink-spark,
.ai-companion.is-winking .ai-wink-spark {
  animation: winkSpark 920ms ease forwards;
}

.ai-chat-panel {
  position: absolute;
  left: 96px;
  bottom: 12px;
  width: 360px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(17, 27, 44, 0.98), rgba(6, 10, 18, 0.98)),
    var(--panel-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 38px rgba(46, 231, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: left bottom;
  transition: opacity 180ms ease, transform 180ms ease;
  overflow: hidden;
}

.ai-companion.is-chat-open .ai-chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 14px 16px;
}

.ai-chat-panel header strong,
.ai-chat-panel header span {
  display: block;
}

.ai-chat-panel header strong {
  font-size: 15px;
}

.ai-chat-panel header span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.ai-chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 22px;
  line-height: 1;
}

.ai-chat-messages {
  display: grid;
  gap: 10px;
  max-height: 310px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: var(--cyan) transparent;
}

.ai-msg {
  display: flex;
}

.ai-msg span {
  max-width: 86%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #dcefff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-msg.user {
  justify-content: flex-end;
}

.ai-msg.user span {
  color: #001018;
  border-color: rgba(46, 231, 255, 0.68);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 700;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 12px;
}

.ai-chat-form textarea {
  width: 100%;
  min-height: 44px;
  max-height: 96px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(2, 6, 12, 0.72);
  padding: 10px 11px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.ai-chat-form textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 231, 255, 0.14);
}

.ai-chat-form button {
  min-width: 68px;
  border: 1px solid rgba(46, 231, 255, 0.66);
  border-radius: var(--radius);
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-size: 13px;
  font-weight: 850;
}

.ai-chat-form.is-sending button {
  opacity: 0.62;
  pointer-events: none;
}

html[data-theme="light"] .site-header {
  border-bottom-color: rgba(0, 111, 232, 0.12);
  background: rgba(248, 252, 255, 0.84);
  box-shadow: 0 10px 28px rgba(16, 48, 85, 0.08);
}

html[data-theme="light"] .nav-link,
html[data-theme="light"] .nav-link:focus,
html[data-theme="light"] .nav-link:active {
  color: #243546;
}

html[data-theme="light"] .navbar-collapse {
  background: rgba(248, 252, 255, 0.96);
}

html[data-theme="light"] .navbar-toggler-icon {
  filter: none;
}

html[data-theme="light"] .btn-ghost-tech {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
}

html[data-theme="light"] .hero-section,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .section-band,
html[data-theme="light"] .feature-band,
html[data-theme="light"] .workflow-band,
html[data-theme="light"] .cases-band,
html[data-theme="light"] .contact-band {
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 111, 232, 0.10), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf5fc 100%);
}

html[data-theme="light"] .hero-section::after,
html[data-theme="light"] .page-hero::after {
  background: linear-gradient(to bottom, transparent, #f8fbff);
}

html[data-theme="light"] .hero-lead,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .contact-copy p,
html[data-theme="light"] .about-copy p,
html[data-theme="light"] .feature-card p,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .case-card p,
html[data-theme="light"] .doc-card p,
html[data-theme="light"] .workflow-node p,
html[data-theme="light"] .ops-topbar strong {
  color: var(--muted);
}

html[data-theme="light"] .stat-cell,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .case-card,
html[data-theme="light"] .doc-card,
html[data-theme="light"] .workflow-node,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .qr-card {
  border-color: rgba(0, 111, 232, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(16, 48, 85, 0.08);
}

html[data-theme="light"] .ops-panel {
  border-color: rgba(0, 111, 232, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .ops-screen pre {
  color: #075e57;
}

html[data-theme="light"] .ops-line b,
html[data-theme="light"] .feature-card h3,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .case-card h3,
html[data-theme="light"] .doc-card h3,
html[data-theme="light"] .doc-detail-body article h2 {
  color: var(--text);
}

html[data-theme="light"] .filter-btn,
html[data-theme="light"] .feature-index,
html[data-theme="light"] .service-category,
html[data-theme="light"] .case-year,
html[data-theme="light"] .case-meta span,
html[data-theme="light"] .tag {
  color: #164365;
  border-color: rgba(0, 111, 232, 0.22);
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .filter-btn:hover {
  color: #fff;
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

html[data-theme="light"] .tech-list li,
html[data-theme="light"] .contact-item strong,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .case-detail-body p {
  color: #203244;
}

html[data-theme="light"] .doc-list li {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .case-detail-hero,
html[data-theme="light"] .case-detail-body {
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 111, 232, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff, #eef6ff);
}

html[data-theme="light"] .result-list li {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select {
  border-color: rgba(0, 111, 232, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .form-label,
html[data-theme="light"] .feedback-modal .modal-title {
  color: #203244;
}

html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus {
  color: var(--text);
  background: #fff;
}

html[data-theme="light"] .form-select option {
  background: #fff;
}

html[data-theme="light"] .site-footer {
  border-top-color: rgba(0, 111, 232, 0.12);
  background: #f6fbff;
}

html[data-theme="light"] .feedback-modal .modal-header,
html[data-theme="light"] .feedback-modal .modal-footer {
  border-color: rgba(0, 111, 232, 0.12);
}

html[data-theme="light"] .feedback-modal .btn-close {
  filter: none;
}

html[data-theme="light"] .ai-mascot-aura {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 123, 168, 0.22), transparent 36%),
    radial-gradient(circle at 50% 58%, rgba(0, 111, 232, 0.12), transparent 58%);
}

html[data-theme="light"] .ai-portrait-frame {
  border-color: rgba(255, 145, 175, 0.42);
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 16px 34px rgba(255, 111, 158, 0.16),
    0 0 24px rgba(0, 111, 232, 0.10),
    inset 0 0 14px rgba(255, 255, 255, 0.56);
}

html[data-theme="light"] .ai-drag-hint {
  color: #9d3459;
  border-color: rgba(255, 145, 175, 0.38);
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .ai-chat-panel {
  color: var(--text);
  border-color: rgba(0, 111, 232, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(16, 48, 85, 0.18), 0 0 38px rgba(0, 111, 232, 0.10);
}

html[data-theme="light"] .ai-chat-panel header,
html[data-theme="light"] .ai-chat-form {
  border-color: rgba(0, 111, 232, 0.12);
}

html[data-theme="light"] .ai-msg span {
  color: #203244;
  border-color: rgba(0, 111, 232, 0.12);
  background: rgba(242, 248, 255, 0.86);
}

html[data-theme="light"] .ai-msg.user span {
  color: #fff;
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

html[data-theme="light"] .ai-chat-close,
html[data-theme="light"] .ai-chat-form textarea {
  color: var(--text);
  border-color: rgba(0, 111, 232, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

@keyframes headerPulse {
  0%, 100% { opacity: 0.38; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes scanSweep {
  0% { transform: translateX(0) skewX(-12deg); opacity: 0; }
  8%, 72% { opacity: 1; }
  100% { transform: translateX(560%) skewX(-12deg); opacity: 0; }
}

@keyframes panelGlint {
  0%, 35% { transform: translateX(-45%); opacity: 0; }
  48% { opacity: 1; }
  65%, 100% { transform: translateX(45%); opacity: 0; }
}

@keyframes dockPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 231, 255, 0.36), 0 14px 38px rgba(46, 231, 255, 0.26); }
  50% { box-shadow: 0 0 0 9px rgba(46, 231, 255, 0), 0 20px 52px rgba(145, 255, 116, 0.26); }
}

@keyframes haloGlow {
  0%, 100% { opacity: 0.72; filter: drop-shadow(0 0 4px rgba(255, 205, 113, 0.34)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 119, 161, 0.42)); }
}

@keyframes haloDot {
  0%, 100% { opacity: 0.58; transform: scale(0.78); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes mascotBounce {
  0%, 100% { transform: translateY(0) rotateZ(-1deg); }
  45% { transform: translateY(-12px) rotateZ(1.5deg); }
  60% { transform: translateY(-8px) rotateZ(0deg); }
}

@keyframes mascotShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.82; }
  45% { transform: scaleX(0.72); opacity: 0.38; }
  60% { transform: scaleX(0.82); opacity: 0.54; }
}

@keyframes winkSpark {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(12px, -20px) scale(1.15); }
}

@keyframes winkLid {
  0%, 100% { opacity: 0; transform: translateY(2px) rotate(-8deg) scaleX(0.7); }
  28%, 62% { opacity: 1; transform: translateY(0) rotate(-8deg) scaleX(1); }
}

@keyframes pulseWidth {
  0%, 100% { width: 62%; }
  50% { width: 88%; }
}

@media (max-width: 991.98px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-side-nav,
  .detail-media {
    position: static;
  }

  .detail-side-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar-collapse {
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    background: rgba(5, 7, 12, 0.96);
    padding: 12px;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 86px;
  }

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

  .ops-panel {
    transform: none;
  }

  .workflow-track {
    grid-template-columns: 1fr;
  }

  .workflow-track::before {
    display: none;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 66px;
  }

  .solution-grid,
  .detail-feature-grid,
  .detail-side-nav nav {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 216px;
  }

  .brand-text small {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 16px;
  }

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

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

  .section-band {
    padding: 68px 0;
  }

  .feature-card,
  .service-card,
  .case-card,
  .contact-form {
    padding: 20px;
  }

  .ops-line {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ai-companion {
    width: 92px;
    height: 128px;
    left: -8px;
    bottom: 8px;
  }

  .ai-halo-control {
    left: 16px;
    top: 0;
    width: 48px;
    height: 32px;
  }

  .ai-companion-stage {
    left: 4px;
    width: 76px;
    height: 116px;
  }

  .ai-portrait-frame {
    left: 10px;
    top: 16px;
    width: 56px;
    height: 112px;
    border-radius: 30px 30px 12px 12px;
  }

  .ai-wink-eye {
    left: 44px;
    top: 50px;
    width: 9px;
  }

  .ai-drag-hint {
    top: 25px;
  }

  .spark-1 {
    top: 47px;
    right: 18px;
  }

  .spark-2 {
    top: 63px;
    right: 8px;
  }

  .ai-chat-panel {
    left: 8px;
    bottom: 132px;
    width: min(350px, calc(100vw - 22px));
    transform-origin: left bottom;
  }

  .ai-chat-messages {
    max-height: 280px;
  }

  .ai-chat-form {
    grid-template-columns: 1fr;
  }

  .ai-chat-form button {
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
