
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #1a2d4e; --navy-mid: #243d66; --navy-light: #2e4f82;
    --silver: #8fa3bc; --ice: #e8eef5; --white: #f5f8fc;
    --accent: #3a82c4; --accent-light: #5a9fd4;
    --text-dark: #1a2332; --text-mid: #3a4a5c; --text-muted: #7a8fa8;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'Noto Sans TC', sans-serif; background: var(--white); color: var(--text-dark); font-size: 15px; line-height: 1.7; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(26,45,78,0.97); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 64px;
  }
  .nav-logo { display: flex; align-items: center; gap: 12px; }
  .logo-text { color: white; font-size: 13px; font-weight: 400; line-height: 1.3; }
  .logo-text strong { display: block; font-size: 11px; color: var(--silver); font-weight: 300; margin-top: 2px; }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a { color: rgba(255,255,255,0.75); font-size: 13px; letter-spacing: 0.06em; text-decoration: none; transition: color 0.2s; padding-bottom: 2px; border-bottom: 1px solid transparent; }
  .nav-links a:hover { color: white; border-color: var(--accent-light); }
  .nav-links a.nav-cta { background: var(--accent); color: white; border-radius: 5px; padding: 6px 14px; border: none; }
  .nav-links a.nav-cta:hover { background: var(--accent-light); }

  .hero { min-height: 100vh; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 45%, #1e3a5e 100%); display: flex; align-items: center; padding: 100px 5% 80px; position: relative; overflow: hidden; }
  .hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(58,130,196,0.12) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(58,130,196,0.08) 0%, transparent 40%); pointer-events: none; }
  .hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; }
  .hero-inner { max-width: 700px; position: relative; z-index: 1; }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(58,130,196,0.2); border: 1px solid rgba(58,130,196,0.35); border-radius: 20px; padding: 5px 14px; font-size: 12px; letter-spacing: 0.1em; color: var(--accent-light); margin-bottom: 28px; }
  .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); display: inline-block; }
  .hero h1 { font-family: 'Noto Serif TC', serif; font-size: clamp(28px, 5vw, 52px); font-weight: 600; color: white; line-height: 1.3; letter-spacing: 0.02em; margin-bottom: 12px; }
  .hero h1 em { font-style: normal; color: var(--accent-light); }
  .hero-en { font-size: 13px; color: var(--silver); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 28px; font-weight: 300; }
  .hero-divider { width: 40px; height: 2px; background: var(--accent); margin-bottom: 28px; }
  .hero-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 500px; margin-bottom: 44px; }
  .hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
  .tag { border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; padding: 6px 14px; font-size: 12px; color: rgba(255,255,255,0.65); letter-spacing: 0.05em; }
  .hero-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: white; text-decoration: none; border-radius: 8px; padding: 13px 26px; font-size: 14px; letter-spacing: 0.03em; transition: background 0.2s, transform 0.2s; }
  .hero-cta:hover { background: var(--accent-light); transform: translateY(-2px); }
  .hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.35); font-size: 11px; letter-spacing: 0.15em; }
  .scroll-line { width: 1px; height: 36px; background: rgba(255,255,255,0.2); animation: scrollPulse 2s ease-in-out infinite; }
  @keyframes scrollPulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.6; } }

  section { padding: 90px 5%; }
  .section-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
  .section-label::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--accent); display: inline-block; }
  .section-title { font-family: 'Noto Serif TC', serif; font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 16px; }
  .section-sub { font-size: 15px; color: var(--text-muted); max-width: 480px; line-height: 1.8; }

  .about { background: white; }
  .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
  .about-text p { color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; font-size: 15px; }
  .about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ice); border: 1px solid var(--ice); border-radius: 12px; overflow: hidden; }
  .stat-cell { background: white; padding: 28px 24px; text-align: center; }
  .stat-num { font-family: 'Noto Serif TC', serif; font-size: 36px; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 6px; }
  .stat-num span { font-size: 18px; color: var(--accent); }
  .stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }

  .services { background: var(--white); }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 56px; }
  .service-card { background: white; border: 1px solid rgba(26,45,78,0.08); border-radius: 12px; padding: 36px 28px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; position: relative; overflow: hidden; }
  .service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
  .service-card:hover { transform: translateY(-4px); border-color: rgba(58,130,196,0.2); box-shadow: 0 12px 40px rgba(26,45,78,0.08); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--ice); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
  .service-icon svg { width: 22px; height: 22px; stroke: var(--navy-light); fill: none; stroke-width: 1.5; }
  .service-card h3 { font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
  .service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
  .service-card .card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--accent); font-size: 13px; font-weight: 500; text-decoration: none; }
  .service-card .card-link:hover { text-decoration: underline; }
  .service-card.featured { border-color: rgba(58,130,196,0.35); background: linear-gradient(180deg, #fbfdff 0%, white 100%); }
  .service-card.featured::before { transform: scaleX(1); }
  .badge-new { display: inline-block; background: var(--accent); color: white; font-size: 10px; letter-spacing: 0.08em; border-radius: 3px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }

  .projects { background: white; }
  .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 56px; }
  .project-card { border: 1px solid rgba(26,45,78,0.08); border-radius: 14px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; background: white; }
  .project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,45,78,0.1); }
  .project-header { padding: 28px 28px 20px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); position: relative; overflow: hidden; }
  .project-header::after { content: ''; position: absolute; right: -20px; top: -20px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.04); }
  .project-tag { display: inline-block; background: rgba(58,130,196,0.3); border: 1px solid rgba(58,130,196,0.5); border-radius: 4px; padding: 3px 10px; font-size: 11px; color: var(--accent-light); letter-spacing: 0.08em; margin-bottom: 14px; }
  .project-header h3 { font-size: 18px; font-weight: 500; color: white; line-height: 1.4; margin-bottom: 8px; font-family: 'Noto Serif TC', serif; }
  .project-header p { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; }
  .project-body { padding: 24px 28px; }
  .project-desc { font-size: 13px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
  .project-specs { display: flex; flex-direction: column; gap: 10px; }
  .spec-row { display: flex; align-items: flex-start; gap: 10px; }
  .spec-dot { width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; }
  .spec-text { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
  .spec-text strong { color: var(--navy); font-weight: 500; }
  .project-footer { padding: 14px 28px; border-top: 1px solid var(--ice); display: flex; align-items: center; gap: 8px; }
  .project-footer-icon { width: 18px; height: 18px; display: flex; align-items: center; }
  .project-footer-icon svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
  .project-result { font-size: 12px; color: var(--accent); font-weight: 500; letter-spacing: 0.04em; }

  .contact { background: var(--navy); }
  .contact .section-label { color: var(--accent-light); }
  .contact .section-label::after { background: var(--accent-light); }
  .contact .section-title { color: white; }
  .contact .section-sub { color: rgba(255,255,255,0.5); }
  .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 56px; align-items: start; }
  .contact-info { display: flex; flex-direction: column; gap: 20px; }
  .contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; background: rgba(255,255,255,0.04); }
  .contact-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 8px; background: rgba(58,130,196,0.2); display: flex; align-items: center; justify-content: center; }
  .contact-icon svg { width: 16px; height: 16px; stroke: var(--accent-light); fill: none; stroke-width: 1.5; }
  .contact-item-label { font-size: 11px; color: var(--silver); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
  .contact-item-value { font-size: 14px; color: white; }
  .contact-item-value a { color: var(--accent-light); text-decoration: none; }
  .contact-form { display: flex; flex-direction: column; gap: 14px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-field { display: flex; flex-direction: column; gap: 6px; }
  .form-field label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }
  .form-field input, .form-field textarea { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 10px 14px; color: white; font-size: 14px; font-family: 'Noto Sans TC', sans-serif; outline: none; transition: border-color 0.2s; }
  .form-field input:focus, .form-field textarea:focus { border-color: rgba(58,130,196,0.6); }
  .form-field textarea { resize: vertical; min-height: 100px; }
  .btn-submit { background: var(--accent); border: none; border-radius: 8px; padding: 12px 28px; color: white; font-size: 14px; font-family: 'Noto Sans TC', sans-serif; cursor: pointer; transition: background 0.2s; align-self: flex-start; letter-spacing: 0.05em; }
  .btn-submit:hover { background: var(--accent-light); }

  footer { background: #111d2e; padding: 40px 5% 28px; }
  .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-col h4 { color: white; font-size: 13px; font-weight: 500; margin-bottom: 12px; letter-spacing: 0.05em; }
  .footer-col p, .footer-col a { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.9; text-decoration: none; display: block; }
  .footer-col a:hover { color: var(--accent-light); }
  .footer-col a.highlight { color: var(--accent-light); font-weight: 500; }
  .footer-bottom { padding-top: 20px; text-align: center; }
  .footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
  }

section[id]{scroll-margin-top:80px}.contact-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:20px 0}.phone-link{font-weight:600;color:#243d66}.contact-note{line-height:1.9;color:#3a4a5c;font-size:14px}.contact-note a,.service-detail a{overflow-wrap:anywhere}.service-card .card-link{display:inline-block;margin-top:18px;color:#245c8d}.service-detail{max-width:960px;margin:auto;padding:105px 24px 64px}.service-detail h1{font-size:clamp(28px,4vw,42px);line-height:1.4;color:#1a2d4e;margin:24px 0}.service-detail h2{font-size:25px;color:#1a2d4e;margin:38px 0 16px}.service-detail h3{font-size:18px;margin:24px 0 8px}.service-detail p{margin:12px 0;line-height:1.9}.service-detail ul,.service-detail ol{padding-left:24px;line-height:1.9}.service-detail li{margin:10px 0}.service-detail .intro{font-size:18px}.service-detail .panel{background:#e8eef5;border-radius:12px;padding:24px;margin:28px 0}.service-detail a{color:#245c8d}.service-detail a.hero-cta{color:white}.service-links{display:flex;gap:18px;flex-wrap:wrap}.detail-nav{position:sticky;height:auto;min-height:64px;gap:14px;flex-wrap:wrap;padding:16px 5%}.detail-nav a{color:white;text-decoration:none}.detail-nav .nav-links{gap:18px}.service-detail{padding-top:28px}.demo-label{font-size:14px!important;color:#245c8d!important;background:#e8eef5;padding:12px 28px!important}.contact-form h3{margin-bottom:12px}@media(max-width:768px){.detail-nav .nav-links{display:flex;flex-wrap:wrap}.contact-actions{align-items:flex-start;flex-direction:column}.service-detail{padding:24px 18px 48px}}

footer .footer-inner p{color:#b7c7d9}footer .footer-inner a{color:#f5f8fc}.panel[id]{scroll-margin-top:80px}
