:root {
  --bg: #f7f8fb;
  --bg-soft: rgba(255, 255, 255, 0.72);
  --card: rgba(255, 255, 255, 0.86);
  --text: #1e2430;
  --muted: #667085;
  --line: rgba(30, 36, 48, 0.08);
  --primary: #7c95ff;
  --primary-soft: rgba(124, 149, 255, 0.12);
  --success: #1b9c6d;
  --success-soft: rgba(27, 156, 109, 0.10);
  --error: #d14b5a;
  --error-soft: rgba(209, 75, 90, 0.10);
  --warning: #c68a1f;
  --warning-soft: rgba(198, 138, 31, 0.12);
  --shadow: 0 12px 40px rgba(23, 32, 61, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --transition: 0.35s cubic-bezier(.2, .8, .2, 1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

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

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

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: #dfe8ff;
  top: 10%;
  left: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: #fbe3df;
  right: -120px;
  top: 38%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 251, 0.72);
  border-bottom: 1px solid rgba(30, 36, 48, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand strong {
  font-size: 1rem;
  display: block;
}

.brand small {
  color: var(--muted);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 5px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

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

.lang-toggle,
.menu-toggle,
.filter-btn,
.modal-close {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.lang-toggle:hover,
.menu-toggle:hover,
.filter-btn:hover,
.modal-close:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.lang-toggle {
  width: 52px;
  height: 44px;
  cursor: pointer;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #5468be;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.eyebrow.subtle {
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.hero p,
.about-card p,
.section-intro,
.service-card p,
.contact-copy p,
.contact-item p,
.form-head p,
.privacy-note,
.modal-content p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 600;
  border: 0;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
}

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

.btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--text);
  color: white;
}

.btn-secondary {
  background: var(--card);
  border: 1px solid var(--line);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-stats li {
  min-width: 120px;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.floating-card {
  position: absolute;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 18px;
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}

.card-large {
  inset: 60px 90px 80px 0;
}

.card-small {
  width: 190px;
  height: 220px;
}

.card-small.top {
  right: 0;
  top: 0;
  animation-delay: 0.6s;
}

.card-small.bottom {
  right: 30px;
  bottom: 20px;
  animation-delay: 1.2s;
}

.photo,
.work-image,
.modal-image {
  width: 100%;
  height: 280px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.card-large .photo {
  height: 420px;
}

.card-small .photo {
  height: 100%;
}

.card-info {
  padding-top: 14px;
}

.card-info span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-info strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.photo-a {
  background-image: url("./images/FG1_01.jpg");
}

.photo-b {
  background-image: url("./images/FG2_02.jpg");
}

.photo-c {
  background-image: url("./images/FG2_03.jpg");
}

.gradient-1 {
  background-image: url("./images/RX2_01.jpg");
}

.gradient-2 {
  background-image: url("./images/RX2_06.jpg");
}

.gradient-3 {
  background-image: url("./images/RX2_04.jpg");
}

.gradient-4 {
  background-image: url("./images/RX2_03.jpg");
}

.gradient-5 {
  background-image: url("./images/RX2_02.jpg");
}

.gradient-6 {
  background-image: url("./images/RX2_05.jpg");
}

.section-heading h2,
.section-top h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.03em;
}

.about-card,
.service-card,
.contact-card,
.work-card,
.modal-panel {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.about-card,
.contact-card {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-intro {
  max-width: 500px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  min-width: auto;
  padding: 12px 18px;
  cursor: pointer;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0;
  line-height: 1.4;
}

.filter-btn strong,
.filter-btn small {
  all: unset;
}

.filter-btn.active {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

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

.work-card {
  border-radius: 24px;
  padding: 14px;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(23, 32, 61, 0.12);
}

.work-image {
  height: 280px;
  border-radius: 18px;
}

.work-meta {
  padding: 16px 6px 8px;
}

.work-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.work-meta h3 {
  margin: 8px 0 12px;
  font-size: 1.2rem;
}

.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: #5468be;
  cursor: pointer;
  font-weight: 600;
}

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

.service-card {
  padding: 28px;
  border-radius: 24px;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-info-card {
  margin-top: 28px;
}

.contact-form-card {
  position: relative;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.form-head h3 {
  margin: 0;
  font-size: 1.6rem;
}

.form-head p {
  max-width: 360px;
  margin: 0;
  font-size: 0.98rem;
}

.contact-item + .contact-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
  margin: 0;
  font-size: 1.05rem;
}

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

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

.form-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-weight: 600;
  font-size: 0.96rem;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(30, 36, 48, 0.10);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field-group textarea {
  resize: vertical;
  min-height: 150px;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(124, 149, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 149, 255, 0.10);
  background: rgba(255, 255, 255, 0.94);
}

.field-group input.is-invalid,
.field-group textarea.is-invalid {
  border-color: rgba(209, 75, 90, 0.42);
  box-shadow: 0 0 0 4px rgba(209, 75, 90, 0.08);
}

.field-error {
  min-height: 18px;
  color: var(--error);
  font-size: 0.86rem;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.char-count {
  color: var(--muted);
  white-space: nowrap;
}

.form-actions {
  display: grid;
  gap: 12px;
  align-items: start;
}

.submit-btn {
  width: 100%;
}

.privacy-note {
  margin: 0;
  font-size: 0.92rem;
}

.form-status {
  min-height: 56px;
  border-radius: 16px;
  padding: 16px 18px;
  display: none;
  align-items: center;
  line-height: 1.7;
  font-size: 0.96rem;
}

.form-status.success,
.form-status.error,
.form-status.warning,
.form-status.loading {
  display: flex;
}

.form-status.success {
  background: var(--success-soft);
  color: var(--success);
}

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

.form-status.warning,
.form-status.loading {
  background: var(--warning-soft);
  color: var(--warning);
}

.site-footer {
  padding: 20px 0 42px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  flex-wrap: wrap;
}

.compact-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.filing-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filing-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.divider {
  color: #c8c8c8;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 80;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 28, 45, 0.36);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(1180px, 96vw);
  max-height: 90vh;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.modal-image {
  width: calc(100% - 36px);
  height: auto;
  min-height: 620px;
  margin: 18px;
  border-radius: 22px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f3f4f8;
}

.modal-content {
  padding: 34px;
  overflow-y: auto;
}

.modal-content h3 {
  font-size: 2rem;
  margin: 8px 0 14px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 2;
}

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

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .contact-layout,
  .modal-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .modal-panel {
    width: min(760px, 94vw);
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-image {
    width: calc(100% - 36px);
    min-height: 520px;
    margin: 18px;
    border-radius: 22px;
    background-size: contain;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 78px 0;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 18px;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

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

  .card-large {
    inset: 40px 60px 80px 0;
  }

  .card-small {
    width: 150px;
    height: 180px;
  }

  .gallery-grid,
  .service-grid,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .section-top,
  .footer-wrap,
  .form-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-bar {
    gap: 10px;
  }

  .filter-btn {
    min-width: auto;
    padding: 11px 16px;
  }

  .modal {
    padding: 16px;
  }

  .modal-panel {
    width: min(94vw, 560px);
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-image {
    width: calc(100% - 28px);
    min-height: 420px;
    margin: 14px;
    border-radius: 20px;
    background-size: contain;
  }
}

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .card-large {
    inset: 40px 30px 90px 0;
  }

  .card-small.top {
    right: 0;
  }

  .card-small.bottom {
    right: 0;
    bottom: 0;
  }

  .about-card,
  .contact-card,
  .service-card,
  .modal-content {
    padding: 24px;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    min-width: auto;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .modal-panel {
    border-radius: 24px;
  }

  .modal-image {
    width: calc(100% - 28px);
    min-height: 360px;
    margin: 14px;
    border-radius: 18px;
    background-size: contain;
  }
}








/* ==============================
   Vue 分类按钮稳定显示优化
============================== */

[v-cloak] {
  display: none;
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  opacity: 1;
  transform: none;
}

.filter-btn {
  min-width: auto;
  padding: 12px 18px;
  cursor: pointer;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.filter-btn.active {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

@media (max-width: 768px) {
  .filter-bar {
    gap: 10px;
  }

  .filter-btn {
    padding: 11px 16px;
  }
}

@media (max-width: 520px) {
  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}







/* ==============================
   Theme Mode: Light / Dark / System
============================== */

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0f172a;
  --bg-soft: rgba(15, 23, 42, 0.78);
  --card: rgba(30, 41, 59, 0.82);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --line: rgba(226, 232, 240, 0.12);
  --primary: #9db2ff;
  --primary-soft: rgba(157, 178, 255, 0.16);
  --success: #5eead4;
  --success-soft: rgba(94, 234, 212, 0.12);
  --error: #fb7185;
  --error-soft: rgba(251, 113, 133, 0.12);
  --warning: #facc15;
  --warning-soft: rgba(250, 204, 21, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

body {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  transition: background var(--transition), color var(--transition);
}

html[data-theme="dark"] body {
  background: linear-gradient(180deg, #0b1020 0%, #111827 100%);
}

html[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0.72);
  border-bottom-color: rgba(226, 232, 240, 0.08);
}

html[data-theme="dark"] .brand-mark {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .brand-mark img {
  filter: brightness(1.08) contrast(1.05);
}

html[data-theme="dark"] .floating-card,
html[data-theme="dark"] .about-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .modal-panel,
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .lang-toggle,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .modal-close,
html[data-theme="dark"] .btn-secondary {
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(226, 232, 240, 0.12);
}

html[data-theme="dark"] .btn-primary {
  background: #e5e7eb;
  color: #111827;
}

html[data-theme="dark"] .eyebrow {
  color: #bfcbff;
}

html[data-theme="dark"] .text-link {
  color: #b8c5ff;
}

html[data-theme="dark"] .filter-btn.active {
  background: #e5e7eb;
  color: #111827;
  border-color: #e5e7eb;
}

html[data-theme="dark"] .field-group input,
html[data-theme="dark"] .field-group textarea {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(226, 232, 240, 0.14);
  color: var(--text);
}

html[data-theme="dark"] .field-group input:focus,
html[data-theme="dark"] .field-group textarea:focus {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(157, 178, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(157, 178, 255, 0.12);
}

html[data-theme="dark"] .modal-backdrop {
  background: rgba(2, 6, 23, 0.62);
}

html[data-theme="dark"] .modal-image {
  background-color: #111827;
}

html[data-theme="dark"] .footer-wrap {
  border-top-color: rgba(226, 232, 240, 0.12);
}

html[data-theme="dark"] .divider {
  color: rgba(226, 232, 240, 0.24);
}

html[data-theme="dark"] .orb-1 {
  background: #233876;
  opacity: 0.34;
}

html[data-theme="dark"] .orb-2 {
  background: #5b2a3d;
  opacity: 0.28;
}

/* Theme selector */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-label {
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.theme-select {
  width: 78px;
  height: 44px;
  padding: 0 18px 0 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: var(--card);
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  outline: none;
  font-size: 0.86rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.theme-select:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.theme-select:focus {
  border-color: rgba(124, 149, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 149, 255, 0.10);
}

html[data-theme="dark"] .theme-select {
  background-color: rgba(30, 41, 59, 0.82);
  color: var(--text);
  border-color: rgba(226, 232, 240, 0.12);
}

@media (max-width: 768px) {
  .theme-switcher {
    gap: 6px;
  }

  .theme-label {
    display: none;
  }

  .theme-select {
    width: 72px;
    padding-left: 9px;
    padding-right: 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .theme-select {
    width: 68px;
    font-size: 0.8rem;
  }
}


/* ==============================
   Pink Theme
   主色：#ff89df
============================== */

html[data-theme="pink"] {
  color-scheme: light;

  --bg: #fff6fc;
  --bg-soft: rgba(255, 246, 252, 0.78);
  --card: rgba(255, 255, 255, 0.86);
  --text: #2f2230;
  --muted: #7d6678;
  --line: rgba(255, 137, 223, 0.22);
  --primary: #ff89df;
  --primary-soft: rgba(255, 137, 223, 0.16);
  --success: #1b9c6d;
  --success-soft: rgba(27, 156, 109, 0.10);
  --error: #d14b5a;
  --error-soft: rgba(209, 75, 90, 0.10);
  --warning: #c68a1f;
  --warning-soft: rgba(198, 138, 31, 0.12);
  --shadow: 0 16px 48px rgba(255, 137, 223, 0.18);
}

html[data-theme="pink"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 137, 223, 0.22) 0%, transparent 32%),
    radial-gradient(circle at 88% 28%, rgba(255, 202, 238, 0.38) 0%, transparent 34%),
    linear-gradient(180deg, #fff8fd 0%, #fff1fb 45%, #f8f5ff 100%);
}

html[data-theme="pink"] .site-header {
  background: rgba(255, 246, 252, 0.76);
  border-bottom-color: rgba(255, 137, 223, 0.16);
}

html[data-theme="pink"] .brand-mark {
  background: linear-gradient(135deg, rgba(255, 137, 223, 0.20), rgba(255, 255, 255, 0.86));
  box-shadow: 0 12px 34px rgba(255, 137, 223, 0.22);
}

html[data-theme="pink"] .eyebrow {
  background: linear-gradient(135deg, rgba(255, 137, 223, 0.18), rgba(255, 255, 255, 0.72));
  color: #c653a7;
}

html[data-theme="pink"] .nav a::after {
  background: linear-gradient(90deg, #ff89df, #ffc7ef);
}

html[data-theme="pink"] .floating-card,
html[data-theme="pink"] .about-card,
html[data-theme="pink"] .service-card,
html[data-theme="pink"] .contact-card,
html[data-theme="pink"] .work-card,
html[data-theme="pink"] .modal-panel,
html[data-theme="pink"] .filter-btn,
html[data-theme="pink"] .lang-toggle,
html[data-theme="pink"] .menu-toggle,
html[data-theme="pink"] .modal-close,
html[data-theme="pink"] .btn-secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 137, 223, 0.22);
  box-shadow: 0 14px 44px rgba(255, 137, 223, 0.14);
}

html[data-theme="pink"] .btn-primary {
  background: linear-gradient(135deg, #ff89df, #ffb7ec);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 137, 223, 0.34);
}

html[data-theme="pink"] .filter-btn.active {
  background: linear-gradient(135deg, #ff89df, #ffb7ec);
  color: #ffffff;
  border-color: rgba(255, 137, 223, 0.72);
}

html[data-theme="pink"] .text-link {
  color: #d95db8;
}

html[data-theme="pink"] .theme-select {
  background:
    linear-gradient(135deg, rgba(255, 137, 223, 0.14), rgba(255, 255, 255, 0.86));
  color: var(--text);
  border-color: rgba(255, 137, 223, 0.28);
}

html[data-theme="pink"] .theme-select:focus {
  border-color: rgba(255, 137, 223, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 137, 223, 0.16);
}

html[data-theme="pink"] .field-group input,
html[data-theme="pink"] .field-group textarea {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 137, 223, 0.22);
  color: var(--text);
}

html[data-theme="pink"] .field-group input:focus,
html[data-theme="pink"] .field-group textarea:focus {
  border-color: rgba(255, 137, 223, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 137, 223, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

html[data-theme="pink"] .modal-backdrop {
  background: rgba(80, 32, 70, 0.34);
}

html[data-theme="pink"] .modal-image {
  background-color: #fff1fb;
}

html[data-theme="pink"] .footer-wrap {
  border-top-color: rgba(255, 137, 223, 0.20);
}

html[data-theme="pink"] .divider {
  color: rgba(255, 137, 223, 0.48);
}

html[data-theme="pink"] .orb-1 {
  background: #ffd2f2;
  opacity: 0.52;
}

html[data-theme="pink"] .orb-2 {
  background: #ff89df;
  opacity: 0.30;
}







/* ==============================
   Blue Theme
   主色：#58baff
============================== */

html[data-theme="blue"] {
  color-scheme: light;

  --bg: #f3fbff;
  --bg-soft: rgba(243, 251, 255, 0.78);
  --card: rgba(255, 255, 255, 0.86);
  --text: #1c2838;
  --muted: #607286;
  --line: rgba(88, 186, 255, 0.24);
  --primary: #58baff;
  --primary-soft: rgba(88, 186, 255, 0.16);
  --success: #1b9c6d;
  --success-soft: rgba(27, 156, 109, 0.10);
  --error: #d14b5a;
  --error-soft: rgba(209, 75, 90, 0.10);
  --warning: #c68a1f;
  --warning-soft: rgba(198, 138, 31, 0.12);
  --shadow: 0 16px 48px rgba(88, 186, 255, 0.18);
}

html[data-theme="blue"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(88, 186, 255, 0.22) 0%, transparent 32%),
    radial-gradient(circle at 88% 26%, rgba(177, 224, 255, 0.40) 0%, transparent 34%),
    linear-gradient(180deg, #f7fcff 0%, #eef9ff 44%, #f4f7ff 100%);
}

html[data-theme="blue"] .site-header {
  background: rgba(243, 251, 255, 0.76);
  border-bottom-color: rgba(88, 186, 255, 0.16);
}

html[data-theme="blue"] .brand-mark {
  background: linear-gradient(135deg, rgba(88, 186, 255, 0.20), rgba(255, 255, 255, 0.86));
  box-shadow: 0 12px 34px rgba(88, 186, 255, 0.22);
}

html[data-theme="blue"] .eyebrow {
  background: linear-gradient(135deg, rgba(88, 186, 255, 0.18), rgba(255, 255, 255, 0.72));
  color: #237fc0;
}

html[data-theme="blue"] .nav a::after {
  background: linear-gradient(90deg, #58baff, #a9ddff);
}

html[data-theme="blue"] .floating-card,
html[data-theme="blue"] .about-card,
html[data-theme="blue"] .service-card,
html[data-theme="blue"] .contact-card,
html[data-theme="blue"] .work-card,
html[data-theme="blue"] .modal-panel,
html[data-theme="blue"] .filter-btn,
html[data-theme="blue"] .lang-toggle,
html[data-theme="blue"] .menu-toggle,
html[data-theme="blue"] .modal-close,
html[data-theme="blue"] .btn-secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(88, 186, 255, 0.24);
  box-shadow: 0 14px 44px rgba(88, 186, 255, 0.14);
}

html[data-theme="blue"] .btn-primary {
  background: linear-gradient(135deg, #58baff, #9ddcff);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(88, 186, 255, 0.34);
}

html[data-theme="blue"] .filter-btn.active {
  background: linear-gradient(135deg, #58baff, #9ddcff);
  color: #ffffff;
  border-color: rgba(88, 186, 255, 0.72);
}

html[data-theme="blue"] .text-link {
  color: #258ed8;
}

html[data-theme="blue"] .theme-select {
  background:
    linear-gradient(135deg, rgba(88, 186, 255, 0.14), rgba(255, 255, 255, 0.86));
  color: var(--text);
  border-color: rgba(88, 186, 255, 0.28);
}

html[data-theme="blue"] .theme-select:focus {
  border-color: rgba(88, 186, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(88, 186, 255, 0.16);
}

html[data-theme="blue"] .field-group input,
html[data-theme="blue"] .field-group textarea {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(88, 186, 255, 0.22);
  color: var(--text);
}

html[data-theme="blue"] .field-group input:focus,
html[data-theme="blue"] .field-group textarea:focus {
  border-color: rgba(88, 186, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(88, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

html[data-theme="blue"] .modal-backdrop {
  background: rgba(20, 60, 95, 0.34);
}

html[data-theme="blue"] .modal-image {
  background-color: #eef9ff;
}

html[data-theme="blue"] .footer-wrap {
  border-top-color: rgba(88, 186, 255, 0.20);
}

html[data-theme="blue"] .divider {
  color: rgba(88, 186, 255, 0.48);
}

html[data-theme="blue"] .orb-1 {
  background: #b6e3ff;
  opacity: 0.54;
}

html[data-theme="blue"] .orb-2 {
  background: #58baff;
  opacity: 0.30;
}