﻿/* ============================================================
   Naxput — bilingual site layer (Uyghur default, RTL)
   ============================================================ */

@font-face {
  font-family: "ALKATIP";
  src: url("/assets/fonts/ALKATIP-Basma-Tom.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

html[lang="zh"] body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

html[lang="ug"] body {
  font-family: "ALKATIP", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.9;
}

html[lang="ug"] h1,
html[lang="ug"] h2,
html[lang="ug"] h3,
html[lang="ug"] .lead,
html[lang="ug"] .section-desc,
html[lang="ug"] .service-card p,
html[lang="ug"] .work-body p,
html[lang="ug"] .why-item small,
html[lang="ug"] .process-step small,
html[lang="ug"] .contact-copy p,
html[lang="ug"] .form-note,
html[lang="ug"] .faq-body {
  line-height: 1.9;
}

html[lang="ug"] .hero h1 {
  text-wrap: balance;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 400;
}

html[lang="ug"] h2,
html[lang="ug"] h3,
html[lang="ug"] .brand-text,
html[lang="ug"] .eyebrow {
  letter-spacing: 0;
}

html[lang="ug"] .brand-text,
html[lang="ug"] .tech-track,
html[lang="ug"] .tags,
html[lang="ug"] .work-metric b,
html[lang="ug"] .work-tag,
html[lang="ug"] .copy-hint {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[lang="ug"] .eyebrow {
  font-size: 12px;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .site-header {
  direction: ltr;
}

html[dir="rtl"] .nav {
  direction: rtl;
}

html[dir="rtl"] .nav a {
  text-align: center;
}

html[dir="rtl"] .btn .icon {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn:hover .icon {
  transform: scaleX(-1) translate(2px, -2px);
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-head,
html[dir="rtl"] .work-body,
html[dir="rtl"] .why,
html[dir="rtl"] .process,
html[dir="rtl"] .contact-copy {
  text-align: right;
}

html[dir="rtl"] .field input,
html[dir="rtl"] .field textarea {
  text-align: right;
}

html[dir="rtl"] .field select {
  background-position: left 13px center;
  padding-left: 34px;
  padding-right: 13px;
}

html[dir="rtl"] .form-head {
  direction: rtl;
}

html[dir="rtl"] .work-tag,
html[dir="rtl"] .collage-tile figcaption {
  right: 14px;
  left: auto;
}

html[dir="rtl"] .copy-hint {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .footer-grid {
  text-align: right;
}

/* ---------- language toggle ---------- */

.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.theme-toggle .icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
html[data-theme="light"] .theme-toggle .icon { transform: rotate(180deg); }
.theme-toggle:hover { color: var(--mint); border-color: rgba(60, 230, 196, 0.5); background: rgba(60, 230, 196, 0.07); }

html[data-theme="light"] .theme-toggle { background: rgba(255, 255, 255, 0.7); }

.lang-toggle {
  font-family: "ALKATIP", "Microsoft YaHei", sans-serif;
  min-width: 86px;
  text-align: center;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.lang-toggle:hover {
  border-color: rgba(60, 230, 196, 0.5);
  color: var(--mint);
  background: rgba(60, 230, 196, 0.07);
}

/* ---------- hero ---------- */

.hero {
  padding: 150px 0 0;
  overflow: hidden;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  min-height: 0;
  align-items: center;
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 4.9vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

html[lang="zh"] .hero h1 {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.1;
}

.lead {
  max-width: 580px;
  font-size: 15.5px;
  line-height: 1.85;
}

.hero-cta {
  margin-top: 28px;
}

.hero-meta {
  margin-top: 34px;
  padding-top: 20px;
  gap: 26px;
}

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  height: 510px;
  direction: ltr;
  isolation: isolate;
}

.collage-glow {
  position: absolute;
  inset: -34px;
  z-index: -1;
  border-radius: 40px;
  background:
    radial-gradient(circle at 22% 18%, rgba(60, 230, 196, 0.22), transparent 46%),
    radial-gradient(circle at 82% 76%, rgba(109, 124, 255, 0.24), transparent 50%);
  filter: blur(32px);
  pointer-events: none;
}

.hero-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.hero-letter {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 360px;
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.1em;
  color: transparent;
  -webkit-text-stroke: 2.5px rgba(60, 230, 196, 0.95);
  filter: drop-shadow(0 0 38px rgba(60, 230, 196, 0.35));
  opacity: 0.96;
  pointer-events: none;
  animation: hero-letter-breathe 7s ease-in-out infinite;
}

@keyframes hero-letter-breathe {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 0.98; }
}

.hero-code {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 6;
  width: 242px;
  padding-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(5, 11, 18, 0.78);
  direction: ltr;
  text-align: left;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: hero-code-float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-code-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-code-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.hero-code-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.hero-code-bar i:first-child { background: #ff7b72; }
.hero-code-bar i:nth-child(2) { background: #ffc66d; }
.hero-code-bar i:nth-child(3) { background: #3ce6c4; }

.hero-code-bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(238, 244, 251, 0.4);
}

.hero-code pre {
  margin: 0;
  padding: 9px 10px 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.75;
  color: rgba(220, 232, 244, 0.78);
  white-space: pre-wrap;
  direction: ltr;
  text-align: left;
}

.hero-code .prompt { color: var(--indigo); }
.hero-code .ok { color: var(--mint); }
.hero-code .dim { color: rgba(160, 178, 198, 0.5); }
.hero-code .cursor {
  display: inline-block;
  width: 5px;
  height: 10px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--mint);
  animation: hero-cursor 1.2s steps(1) infinite;
}

@keyframes hero-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-letter,
  .hero-code,
  .hero-code .cursor { animation: none; }
}

.collage-tile {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b1220;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.collage-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(60, 230, 196, 0.14), transparent 44%, rgba(109, 124, 255, 0.18)),
    linear-gradient(0deg, rgba(3, 8, 14, 0.18), transparent 42%);
  mix-blend-mode: screen;
}

.collage-tile.tile-a {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.collage-tile.tile-d {
  grid-column: 1 / -1;
  grid-row: 3;
}

.collage-tile.tile-a img {
  object-position: left center;
}

.collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.78) contrast(1.09) brightness(0.92);
}

.collage-tile:hover img {
  transform: scale(1.055);
  filter: saturate(0.98) contrast(1.08) brightness(0.98);
}

.collage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 9, 16, 0.86) 100%);
  pointer-events: none;
}

.collage-tile figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 5;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.86);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 11, 19, 0.55);
  backdrop-filter: blur(10px);
}

.collage-badge {
  position: absolute;
  left: 22px;
  bottom: -18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(60, 230, 196, 0.3);
  background: rgba(10, 17, 28, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 11px;
  color: var(--mint);
  white-space: nowrap;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(60, 230, 196, 0.8);
}

.tech-strip {
  margin-top: 58px;
  gap: 0;
}

.tech-label {
  display: none;
}

.tech-track {
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

/* ---------- compact sections ---------- */

.section {
  padding: 86px 0;
}

.section-head {
  margin-bottom: 34px;
  gap: 30px;
}

.section-head h2,
.split h2,
.contact h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.16;
}

.section-desc {
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- services ---------- */

.service-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card {
  padding: 20px 19px 18px;
  border-radius: 18px;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
}

.service-card h3 {
  font-size: 16px;
}

.service-card p {
  min-height: 0;
  margin-top: 7px;
  font-size: 12.5px;
}

.tags {
  margin-top: 12px;
}

/* ---------- cases ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.filter {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  transition: all 0.22s var(--ease);
}

.filter:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.filter.active {
  color: #04110e;
  background: var(--grad);
  border-color: transparent;
  font-weight: 600;
}

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

.work-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(12, 19, 31, 0.7);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.25s var(--ease);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.17);
}

.work-card.hidden {
  display: none;
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1220;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-media img {
  transform: scale(1.045);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 11, 19, 0.65) 100%);
}

.work-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 11, 19, 0.55);
  backdrop-filter: blur(8px);
}

.work-body {
  padding: 16px 17px 18px;
}

.work-body h3 {
  font-size: 15px;
  letter-spacing: 0;
}

.work-body p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
  min-height: 0;
}

.work-metric {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.work-metric b {
  font-size: 21px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.work-metric span {
  font-size: 9.5px;
  color: var(--muted-2);
}

/* ---------- why + process ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.why h2,
.process h2 {
  margin: 10px 0 24px;
}

.why-list,
.process-list {
  display: grid;
  gap: 10px;
}

.why-item,
.process-step {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 22, 36, 0.5);
}

.why-item .check {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.why-item b,
.process-step b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.why-item small,
.process-step small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.process-step > span {
  flex: none;
  width: 34px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
  padding-top: 2px;
}

/* ---------- contact ---------- */

.contact {
  padding-top: 86px;
}

.contact-grid {
  gap: 46px;
}

.contact-copy h2 {
  margin: 12px 0 16px;
}

.contact-copy p {
  max-width: 420px;
  font-size: 13px;
}

.contact-list {
  margin-top: 22px;
}

.form-wrap {
  border-radius: 22px;
  padding: 24px;
}

.form-head h3 {
  font-size: 18px;
}

.form-note {
  font-size: 10px;
}

/* ---------- footer ---------- */

.site-footer {
  padding-top: 44px;
}

.footer-grid {
  gap: 32px;
}

.footer-brand p {
  margin-top: 12px;
}

/* ---------- mobile ---------- */

@media (max-width: 1080px) {
  .hero {
    padding-top: 132px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-collage {
    height: 440px;
    max-width: 620px;
    margin: 0 auto;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  html[lang="zh"] body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

html[lang="ug"] body {
    line-height: 1.85;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.6;
  }

  html[lang="zh"] .hero h1 {
    font-size: clamp(26px, 7.6vw, 31px);
    line-height: 1.18;
  }

  .lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-meta {
    gap: 18px;
  }

  .hero-collage {
    height: 360px;
    gap: 8px;
  }

  .collage-tile {
    border-radius: 14px;
  }

  .hero-letter {
    font-size: 218px;
    -webkit-text-stroke-width: 1.5px;
    opacity: 0.7;
  }

  .hero-code {
    left: 9px;
    top: 9px;
    width: 174px;
    border-radius: 9px;
  }

  .hero-code-bar {
    height: 21px;
    padding: 0 7px;
  }

  .hero-code pre {
    padding: 7px 8px 0;
    font-size: 7px;
    line-height: 1.7;
  }

  .hero-code-bar span {
    font-size: 6px;
  }

  .collage-tile figcaption {
    font-size: 9px;
    padding: 3px 7px;
    left: 8px;
    bottom: 8px;
  }

  .collage-badge {
    left: 10px;
    bottom: -14px;
    height: 34px;
    font-size: 9.5px;
    padding: 0 11px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .theme-toggle .icon { width: 14px; height: 14px; }

  .lang-toggle {
    min-width: 82px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2,
  .split h2,
  .contact h2 {
    font-size: clamp(26px, 7.4vw, 34px);
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-media {
    aspect-ratio: 16 / 9;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: none;
  }

  .form-wrap {
    padding: 20px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collage-tile img,
  .work-media img {
    transition: none;
  }
}
/* ---------- 10 mini programs ---------- */

.mini {
  padding-top: 70px;
}

.mini-scroll {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 16px 14px;
  padding: 4px 2px 0;
}

.mini-scroll::-webkit-scrollbar {
  height: 6px;
}

.mini-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.mini-card {
  min-width: 0;
  scroll-snap-align: start;
  text-align: center;
}

.mini-phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  border: 5px solid #0a1220;
  background: #08101c;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.mini-card:hover .mini-phone {
  transform: translateY(-4px);
  border-color: rgba(60, 230, 196, 0.5);
}

.mini-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.6s var(--ease);
}

.mini-card:hover .mini-phone img {
  transform: scale(1.04);
}

.mini-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.18) 0%, transparent 30%, rgba(5, 10, 18, 0.12) 55%, rgba(5, 10, 18, 0.92) 100%);
  pointer-events: none;
}

.mini-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 10, 18, 0.5);
  backdrop-filter: blur(8px);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.86);
}

.mini-ui {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  text-align: right;
}

.mini-ui b {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
}

.mini-ui small {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.6);
}

.mini-card h3 {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mini-card h3::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: var(--grad);
  opacity: 0.7;
}

@media (max-width: 1080px) {
  .mini-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mini-scroll {
    grid-auto-flow: column;
    grid-auto-columns: 172px;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mini-scroll::-webkit-scrollbar {
    display: none;
  }

  .mini-phone {
    border-width: 4px;
    border-radius: 24px;
  }

  .mini-ui b {
    font-size: 11px;
  }

  .mini-ui small,
  .mini-chip {
    font-size: 8px;
  }

  .mini-card h3 {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .work-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .work-grid::-webkit-scrollbar {
    display: none;
  }

  .work-card {
    scroll-snap-align: start;
  }
}






/* ===== 自研产品（跟随站点深/浅主题） ===== */
.products .product-card{
  display:flex; gap:26px; align-items:center; flex-wrap:wrap;
  background:var(--surface-solid, #0e1624);
  border:1px solid var(--line, rgba(255,255,255,.08));
  border-radius:22px; padding:28px; margin-top:26px;
  box-shadow:var(--shadow, 0 20px 50px -24px rgba(0,0,0,.6));
  position:relative; overflow:hidden; color:var(--text, #eef4fb);
}
.products .product-card::after{
  content:""; position:absolute; inset-inline-end:-90px; top:-90px; width:280px; height:280px;
  background:radial-gradient(circle at center, rgba(109,124,255,.22), transparent 68%);
  pointer-events:none;
}
.products .product-icon{flex:none; position:relative; z-index:1}
.products .product-icon img{
  width:92px; height:92px; border-radius:24px; display:block;
  box-shadow:0 18px 34px -18px rgba(109,124,255,.7);
  border:1px solid var(--line, rgba(255,255,255,.08));
}
.products .product-body{flex:1; min-width:240px; position:relative; z-index:1}
.products .product-badge{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.08em;
  color:var(--mint, #3ce6c4); background:rgba(60,230,196,.12);
  border:1px solid rgba(60,230,196,.24); border-radius:999px; padding:4px 11px; margin-bottom:12px;
}
.products .product-body h3{font-size:22px; font-weight:800; margin:0 0 8px; color:var(--text, #eef4fb)}
.products .product-body p{color:var(--muted, #94a2b6); font-size:14.5px; line-height:1.7; margin:0}
.products .product-meta{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.products .product-meta span{
  font-size:12px; color:var(--muted, #94a2b6); background:rgba(255,255,255,.06);
  border:1px solid var(--line, rgba(255,255,255,.08)); border-radius:8px; padding:4px 10px; font-weight:600;
}
.products .product-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.products .product-actions .btn{padding:12px 24px; border-radius:999px; font-weight:700; font-size:14.5px; display:inline-flex; align-items:center; gap:8px}
.products .product-actions .btn-primary{background:var(--grad, linear-gradient(135deg,#3ce6c4,#6d7cff)); color:#08121f}
.products .product-actions .btn-ghost{background:transparent; border:1px solid var(--line, rgba(255,255,255,.16)); color:var(--text, #eef4fb)}
.products .product-actions .btn-ghost:hover{border-color:var(--mint, #3ce6c4)}
@media(max-width:800px){
  .products .product-card{padding:22px; gap:18px}
  .products .product-icon img{width:68px; height:68px; border-radius:18px}
}
