/* LOCALSOFT localization service pages - UTF-8, no BOM */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --secondary: #4f46e5;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --panel: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-title: 'Outfit', 'Inter', var(--font-sans);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

:lang(zh-CN) {
  --font: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, #eef2f7 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.85);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  object-fit: contain;
}

.nav-links,
.nav-actions,
.lang-switch {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 32px;
}

.nav-actions {
  gap: 16px;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switch {
  font-family: var(--font-title);
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f1f5f9;
}

.lang-switch a {
  min-width: 36px;
  padding: 5px 12px;
  border-radius: calc(var(--radius-sm) - 2px);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.site-btn {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.site-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-family: var(--font-title);
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(13, 148, 136, 0.08);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.menu-toggle .line-top,
.menu-toggle .line-middle,
.menu-toggle .line-bottom {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger transition to X */
.menu-toggle.open .line-middle {
  opacity: 0;
}

.menu-toggle.open .line-top {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open .line-bottom {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  padding-bottom: 72px;
}

.hero {
  padding: 140px 0 70px;
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 22px;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto 18px;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  white-space: nowrap;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

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

.proof-grid,
.catalog-grid,
.benefit-grid,
.detail-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.proof-item,
.service-card,
.benefit-card,
.process-card,
.detail-card,
.notice-panel {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.proof-item {
  padding: 18px;
  color: var(--primary-dark);
  font-weight: 900;
}

.section {
  padding: 76px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(241, 245, 249, 0.72);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.service-card h3,
.benefit-card h3,
.detail-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.service-card p,
.benefit-card p,
.notice-panel p {
  margin: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

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

.benefit-card,
.detail-card,
.process-card {
  padding: 24px;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
}

.process-list li::before {
  counter-increment: process;
  content: counter(process);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  font-weight: 900;
}

.detail-hero {
  padding: 74px 0 46px;
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
}

.detail-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.detail-hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.summary-card {
  padding: 28px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.summary-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 18px;
}

.summary-card ul,
.detail-card ul,
.notice-panel ul {
  display: grid;
  gap: var(--list-item-spacing);
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

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

.service-detail {
  scroll-margin-top: 92px;
  margin-bottom: 28px;
  padding: 30px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.service-detail-head h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.service-detail-head p {
  margin: 0;
  color: var(--muted);
}

.notice-panel {
  padding: 28px;
}

.notice-panel.compact {
  margin-top: 18px;
  box-shadow: none;
}

.notice-panel.compact h3 {
  margin-bottom: 12px;
}

/* =========================================
   TEAM EXPERIENCE CARD SECTION
   ========================================= */
.team-section {
  padding: 48px 0 24px;
}

.team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.35);
}

.team-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.team-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
}

.team-icon svg {
  width: 20px;
  height: 20px;
}

.team-header .badge {
  margin-bottom: 10px;
}

.team-header h3 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.team-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

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

.team-project-group {
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: var(--white);
}

.team-project-group h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.team-project-group ul {
  display: grid;
  gap: var(--list-item-spacing);
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 1024px) {
  .brand {
    font-size: 1.1rem;
    gap: 8px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .menu-toggle {
    display: flex;
    margin-left: -4px;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links a {
    padding: 6px 0;
    font-size: 1.05rem;
  }

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

  .nav-actions .site-btn {
    display: none;
  }

  .nav-actions {
    gap: 12px;
  }

  .lang-switch a {
    padding: 4px 8px;
  }

  .proof-grid,
  .catalog-grid,
  .benefit-grid,
  .detail-grid,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .team-project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .navbar {
    height: 72px;
    padding: 0;
    align-items: center;
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .brand span {
    display: block;
    font-size: 1.02rem;
  }

  .nav-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .hero {
    padding: 110px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .hero h1 {
    white-space: normal;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
