/* ===== CSS Variables ===== */
:root {
  --primary: #2563EB;
  --accent: #F97316;
  --accent-light: #FFF7ED;
  --bg-dark: #111827;
  --bg-light: #F9FAFB;
  --bg-section: #F0F7FF;
  --bg-white: #FFFFFF;
  --bg-footer: #0F1117;
  --text-dark: #111827;
  --text-muted: #6B7280;
  --text-secondary: #374151;
  --border: #E5E7EB;
  --header-height: 72px;
  --container-max: 1344px;
  --section-padding: 80px 48px;
  --font: 'Inter', 'Noto Sans TC', system-ui, sans-serif;

  /* Typography — matched to UNION.pen */
  --fw-normal: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: var(--fw-normal);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-weight: inherit;
}

h1, h2, h3, h4, h5, h6, p {
  font-weight: inherit;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: var(--fw-semibold);
}

.section-title {
  font-size: 32px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--text-dark);
}

.about .section-title {
  font-size: 36px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: var(--fw-normal);
  line-height: 1.7;
}

.about .section-subtitle {
  line-height: 1.8;
}

.partners-header .section-subtitle {
  line-height: 1.6;
}

.industries-header .section-subtitle {
  line-height: 1.8;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  padding: 0 48px;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  width: 96px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name-zh {
  color: #fff;
  font-size: 25px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-name-en {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: var(--fw-normal);
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

html[lang="en"] .logo-name-zh {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
  line-height: 1.2;
  white-space: pre-line;
}

html[lang="en"] .logo-name-en {
  display: none;
}

html[lang="en"] .footer-logo .logo-name-zh {
  max-width: 251px;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: var(--fw-normal);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.nav a.active {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: var(--fw-normal);
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
  transition: color 0.2s;
}

.lang-btn.active {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: var(--fw-normal);
}

.btn-header-cta {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 720px;
  padding: calc(var(--header-height) + 64px) 48px 64px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../assets/images/generated-1782349384427.png') center/cover no-repeat;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: var(--fw-semibold);
}

.hero-title {
  color: #fff;
  font-size: 44px;
  font-weight: var(--fw-bold);
  line-height: 1.15;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.733);
  font-size: 15px;
  font-weight: var(--fw-normal);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.btn-outline {
  color: #fff;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-glass-card {
  width: 380px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat-num {
  color: var(--accent);
  font-size: 28px;
  font-weight: var(--fw-bold);
  min-width: 60px;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: var(--fw-normal);
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 32px 48px;
}

.stats-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  color: var(--accent);
  font-size: 32px;
  font-weight: var(--fw-bold);
}

.stat-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: var(--fw-normal);
}

/* ===== About ===== */
.about {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.about-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}

.about-image {
  flex: 0 0 560px;
  max-width: 560px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: var(--fw-normal);
}

.about-feature svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ===== Services ===== */
.services {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.services-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.service-card h3 {
  font-size: 18px;
  font-weight: var(--fw-semibold);
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: var(--fw-normal);
  line-height: 1.7;
}

/* ===== Partners ===== */
.partners {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.partners-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.partners-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.partners-header .section-subtitle {
  max-width: 720px;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.partner-logo {
  flex: 0 0 200px;
  width: 200px;
  height: 96px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-logo:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.1);
}

.partner-logo img {
  width: 168px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

/* ===== Advantages ===== */
.advantages {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.advantages-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.advantages-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.advantages-header .section-title {
  color: #fff;
}

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

.advantage-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s;
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.advantage-card svg {
  color: var(--accent);
}

.advantage-card h3 {
  color: #fff;
  font-size: 17px;
  font-weight: var(--fw-semibold);
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: var(--fw-normal);
  line-height: 1.7;
}

/* ===== Industries ===== */
.industries {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.industries-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.industries-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.industries-header .section-subtitle {
  max-width: 800px;
}

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

.industry-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.industry-icon {
  width: 22px;
  height: 22px;
  color: var(--text-dark);
  flex-shrink: 0;
  display: block;
}

.industry-card h3 {
  font-size: 16px;
  font-weight: var(--fw-semibold);
}

.industry-card p {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: var(--fw-normal);
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact {
  position: relative;
  min-height: 520px;
  padding: 64px 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background:
    linear-gradient(rgba(17, 24, 39, 0), rgba(17, 24, 39, 0)),
    url('../assets/images/generated-1782349421342.png') center/cover no-repeat;
}

.contact-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.contact-form-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-white);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.contact-info {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: var(--fw-normal);
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group input {
  height: 44px;
  padding: 0 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: var(--fw-normal);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: var(--text-muted);
  font-weight: var(--fw-normal);
}

.form-group input:focus {
  border-color: var(--accent);
}

.btn-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #1f2937;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
}

.contact-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 40px 32px 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transform: scale(0.95) translateY(8px);
  transition: transform 0.3s ease;
}

.contact-modal.visible .contact-modal-dialog {
  transform: scale(1) translateY(0);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-modal-close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.contact-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal-message {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.7;
  color: var(--text-dark);
}

.contact-modal-confirm {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-modal-confirm:hover {
  background: #1f2937;
}

body.modal-open {
  overflow: hidden;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--accent);
  padding: 48px 64px;
}

.cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-text h2 {
  color: #fff;
  font-size: 28px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.867);
  font-size: 15px;
  font-weight: var(--fw-normal);
  line-height: 1.6;
  margin-top: 8px;
}

.btn-cta {
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 16px 32px;
  border-radius: 4px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ===== Legal Pages ===== */
.legal-main {
  padding: calc(var(--header-height) + 48px) 48px 80px;
  background: var(--bg-light);
  min-height: calc(100vh - var(--header-height));
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 48px 56px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-back svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.legal-back:hover {
  color: var(--primary);
}

.legal-back:hover svg {
  transform: translateX(-3px);
}

.legal-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.legal-company {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 20px 0 8px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 8px 0 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 6px;
  list-style-type: disc;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--accent);
}

html[lang="en"] .legal-zh {
  display: none;
}

html[lang="zh-Hant"] .legal-en {
  display: none;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ea580c;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.back-to-top.visible:hover {
  transform: translateY(-2px);
}

.footer-legal a.active {
  color: var(--accent);
}

@media (max-width: 768px) {
  .legal-main {
    padding: calc(var(--header-height) + 24px) 20px 48px;
  }

  .legal-inner {
    padding: 32px 24px;
  }

  .legal-title {
    font-size: 26px;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-footer);
  padding: 56px 48px 24px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-text {
  gap: 1px;
}

.footer-logo img {
  width: 96px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.53);
  font-size: 13px;
  font-weight: var(--fw-normal);
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: var(--fw-normal);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.33);
  font-size: 12px;
  font-weight: var(--fw-normal);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.33);
  font-size: 12px;
  font-weight: var(--fw-normal);
  transition: color 0.2s;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .partner-logo {
    flex: 0 0 180px;
    width: 180px;
  }

  .partner-logo img {
    width: 148px;
    height: 56px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 64px 32px;
  }

  .header {
    padding: 0 32px;
  }

  .header-inner {
    padding: 0;
  }

  .hero {
    padding: calc(var(--header-height) + 48px) 32px 48px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-glass-card {
    width: 100%;
    max-width: 480px;
  }

  .about-inner {
    flex-direction: column;
    gap: 40px;
  }

  .about-image {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 320px;
  }

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

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px 20px;
  }

  .header {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 16px;
  }

  .header-right .lang-switch {
    display: none;
  }

  .logo-name-zh {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .logo-name-en {
    font-size: 8px;
  }

  html[lang="en"] .logo-name-zh {
    font-size: 12px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .about .section-title {
    font-size: 30px;
  }

  .cta-text h2 {
    font-size: 24px;
  }

  .contact-form-card h2 {
    font-size: 20px;
  }

  .hero {
    padding: calc(var(--header-height) + 32px) 20px 32px;
    min-height: auto;
  }

  .stats-bar {
    padding: 24px 20px;
  }

  .stats-bar-inner {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 calc(50% - 12px);
  }

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

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

  .partner-logo {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    max-width: 200px;
    height: 80px;
    padding: 12px;
  }

  .partner-logo img {
    width: 100%;
    max-width: 148px;
    height: 48px;
  }

  .contact {
    padding: 48px 20px;
    justify-content: center;
  }

  .contact-inner {
    justify-content: center;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer {
    padding: 40px 20px 20px;
  }

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

  .footer-copyright {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    text-align: center;
    width: 100%;
  }

  .hero-glass-card {
    padding: 20px;
  }

  .hero-stat-num {
    font-size: 24px;
    min-width: 50px;
  }
}
