:root {
  --home-v2-bg: oklch(98.5% 0.004 250);
  --home-v2-surface: oklch(100% 0 0);
  --home-v2-fg: oklch(27% 0.075 258);
  --home-v2-muted: oklch(45% 0.01 250);
  --home-v2-border: oklch(91% 0.006 250);
  --home-v2-accent: oklch(50% 0.145 251);
  --home-v2-accent-deep: oklch(36% 0.12 254);
  --home-v2-secondary: oklch(86% 0.15 92);
  --home-v2-success: oklch(56% 0.13 150);
  --home-v2-font-display: "Noto Serif TC", "Songti TC", serif;
  --home-v2-font-body: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --home-v2-shadow: 0 18px 48px color-mix(in oklch, var(--home-v2-fg) 10%, transparent);
  --home-v2-radius: 16px;
  --home-v2-ease: cubic-bezier(.23, 1, .32, 1);
}

.home-v2-wrapper {
  background: var(--home-v2-bg);
  color: var(--home-v2-fg);
  font-family: var(--home-v2-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.home-v2-wrapper * { box-sizing: border-box; }
.home-v2-wrapper img { display: block; width: 100%; }
.home-v2-wrapper a { color: inherit; text-decoration: none; }
.home-v2-wrapper button { font: inherit; }

.home-v2-container { /*width: min(1180px, calc(100% - 40px)); */margin-inline: auto; }
.home-v2-section { padding: clamp(72px, 9vw, 116px) 0; }
.home-v2-eyebrow { margin: 0 0 12px; color: var(--home-v2-accent); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.home-v2-section-title { margin: 0; font: 700 clamp(32px, 4.2vw, 52px)/1.14 var(--home-v2-font-display); letter-spacing: -.02em; text-wrap: balance; }
.home-v2-section-lead { max-width: 65ch; margin: 20px 0 0; color: var(--home-v2-muted); font-size: clamp(16px, 1.6vw, 18px); }
.home-v2-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 40px; }
.home-v2-section-heading .home-v2-section-lead { max-width: 42ch; margin: 0; }
.home-v2-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 600; letter-spacing: .02em; transition: transform 140ms var(--home-v2-ease), background 200ms var(--home-v2-ease); }
.home-v2-button:hover { transform: translateY(-2px); text-decoration: none; }
.home-v2-button:active { transform: translateY(1px); }
.home-v2-button-primary { background: var(--home-v2-accent); color: #fff; }
.home-v2-button-primary:hover { color: #fff; }
.home-v2-button-secondary { border-color: color-mix(in oklch, var(--home-v2-fg) 20%, transparent); background: transparent; }
.home-v2-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.home-v2-topbar { background: var(--home-v2-accent-deep); color: #fff; font-size: 13px; }
.home-v2-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-v2-topbar-links { display: flex; gap: 20px; }
.home-v2-topbar a:hover { text-decoration: underline; color: #fff; }
.home-v2-header { position: sticky; top: 0; z-index: 999; background: color-mix(in oklch, var(--home-v2-surface) 92%, transparent); border-bottom: 1px solid var(--home-v2-border); backdrop-filter: blur(16px); }
.home-v2-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-v2-logo { width: 220px; flex: none; }
.home-v2-logo img { height: auto; display: block; }
.home-v2-nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.home-v2-nav-item { position: relative; }
.home-v2-nav-links a { position: relative; font-size: 14px; font-weight: 500; }
.home-v2-nav-links a:not(.home-v2-button)::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--home-v2-accent); transform: scaleX(0); transform-origin: right; transition: transform 200ms var(--home-v2-ease); }
.home-v2-nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.home-v2-sub-nav { min-width: 240px; position: absolute; top: calc(100% + 18px); left: -20px; z-index: 5; margin: 0; padding: 12px; list-style: none; border: 1px solid var(--home-v2-border); border-radius: 12px; background: var(--home-v2-surface); box-shadow: var(--home-v2-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 140ms var(--home-v2-ease), transform 200ms var(--home-v2-ease), visibility 140ms; }
.home-v2-nav-item:hover .home-v2-sub-nav, .home-v2-nav-item:focus-within .home-v2-sub-nav { opacity: 1; visibility: visible; transform: none; }
.home-v2-sub-nav a { display: block; padding: 9px 10px; border-radius: 7px; color: var(--home-v2-muted); white-space: nowrap; }
.home-v2-sub-nav a:hover { background: var(--home-v2-bg); color: var(--home-v2-fg); }
.home-v2-sub-nav a::after { display: none; }
.home-v2-menu-toggle { width: 48px; height: 48px; display: none; place-items: center; border: 1px solid var(--home-v2-border); border-radius: 50%; background: var(--home-v2-surface); color: var(--home-v2-fg); cursor: pointer; }

.home-v2-hero { min-height: min(780px, calc(100svh - 120px)); display: grid; align-items: end; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--home-v2-accent-deep); }
.home-v2-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/home-v2/hero.jpg") center/cover no-repeat; }
.home-v2-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,31,63,.94), rgba(4,31,63,.7) 50%, rgba(4,31,63,.16)); }
.home-v2-hero-inner { padding: clamp(96px, 12vw, 150px) 0 72px; }
.home-v2-hero-copy { /*max-width: 820px;*/position: absolute;left: 3%;top: 56%; transform: translateY(-50%); }
.home-v2-hero .home-v2-eyebrow { color: var(--home-v2-secondary); }
.home-v2-hero h1 { max-width: 13ch; margin: 0; font: 700 clamp(45px, 6.4vw, 82px)/1.06 var(--home-v2-font-display); letter-spacing: -.025em; text-wrap: balance; }
.home-v2-hero-copy > p:not(.home-v2-eyebrow) { max-width: 60ch; margin: 24px 0 0; font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.84); }
.home-v2-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home-v2-hero .home-v2-button-secondary { border-color: rgba(255,255,255,.42); color: #fff; }
.home-v2-hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 44px; font-size: 14px; color: rgba(255,255,255,.8); padding-left: 0; list-style: none; }
.home-v2-hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.home-v2-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--home-v2-secondary); }

@media (min-width:992px) {
.home-v2-hero-copy { absolute;left: 13%;top: 56%; transform: translateY(-50%); }
}

.home-v2-campaigns { background: var(--home-v2-surface); }
.home-v2-campaign-grid { display: grid; }
.home-v2-campaign-card { min-height: 430px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(30px, 5vw, 64px); overflow: hidden; border: 0; border-radius: var(--home-v2-radius); background: var(--home-v2-accent-deep) url("../img/home-v2/campaign-edm.jpg") center/cover no-repeat; transition: transform 200ms var(--home-v2-ease), box-shadow 200ms var(--home-v2-ease); }
.home-v2-campaign-card:hover { transform: translateY(-4px); box-shadow: var(--home-v2-shadow); text-decoration: none; }
.home-v2-campaign-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,31,63,.96), rgba(4,31,63,.75) 55%, rgba(4,31,63,.25)); }
.home-v2-campaign-card.home-v2-featured { color: #fff; }
.home-v2-campaign-tag { width: fit-content; position: relative; z-index: 1; padding: 7px 11px; border-radius: 999px; background: color-mix(in oklch, var(--home-v2-accent) 10%, var(--home-v2-surface)); color: var(--home-v2-accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.home-v2-featured .home-v2-campaign-tag { background: rgba(255,255,255,.12); color: var(--home-v2-secondary); }
.home-v2-campaign-card h3 { max-width: 18ch; position: relative; z-index: 1; margin: 28px 0 12px; font: 700 clamp(30px, 4vw, 50px)/1.2 var(--home-v2-font-display); letter-spacing: -.02em; color: var(--home-v2-secondary); }
.home-v2-campaign-card p { position: relative; z-index: 1; margin: 0; color: var(--home-v2-muted); }
.home-v2-featured p { color: rgba(255,255,255,.76); }
.home-v2-campaign-link { position: relative; z-index: 1; margin-top: 24px; font-weight: 600; color: var(--home-v2-accent); }
.home-v2-featured .home-v2-campaign-link { color: #fff; }

.home-v2-services { background: var(--home-v2-bg); }
.home-v2-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-v2-service-card { overflow: hidden; border: 1px solid var(--home-v2-border); border-radius: var(--home-v2-radius); background: var(--home-v2-surface); }
.home-v2-service-card figure { height: 210px; margin: 0; overflow: hidden; background: var(--home-v2-border); }
.home-v2-service-card img { height: 100%; width: 100%; object-fit: cover; transition: transform 500ms var(--home-v2-ease); }
.home-v2-service-card:hover img { transform: scale(1.035); }
.home-v2-service-content { padding: 26px; }
.home-v2-service-index { color: var(--home-v2-accent); font: 600 11px/1 var(--home-v2-font-body); letter-spacing: .1em; text-transform: uppercase; }
.home-v2-service-card h3 { margin: 14px 0 10px; font: 700 24px/1.25 var(--home-v2-font-display); letter-spacing: -.01em; }
.home-v2-service-card p { margin: 0; color: var(--home-v2-muted); }
.home-v2-service-link { display: inline-block; margin-top: 18px; font-weight: 600; border-bottom: 1px solid var(--home-v2-fg); }
.home-v2-service-link:hover { text-decoration: none; color: var(--home-v2-fg); }

.home-v2-license-section { background: var(--home-v2-accent-deep); color: #fff; }
.home-v2-license-section .home-v2-section-title { color: #fff; }
.home-v2-license-section .home-v2-eyebrow { color: var(--home-v2-secondary); }
.home-v2-license-section .home-v2-section-lead { color: rgba(255,255,255,.72); }
.home-v2-license-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.home-v2-license-card { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--home-v2-radius); background: rgba(255,255,255,.06); }
.home-v2-license-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-v2-license-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--home-v2-secondary); color: var(--home-v2-accent-deep); }
.home-v2-license-icon svg { display: block; }
.home-v2-license-number { font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.54); }
.home-v2-license-card h3 { margin: 28px 0 22px; font: 700 25px/1.3 var(--home-v2-font-display); color: var(--home-v2-secondary); }
.home-v2-license-list { margin: 0; }
.home-v2-license-list div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.home-v2-license-list dt { margin-bottom: 3px; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .04em; }
.home-v2-license-list dd { margin: 0; font-weight: 500; }
.home-v2-copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-v2-copy-button, .home-v2-view-button { padding: 5px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 7px; background: transparent; color: #fff; font-size: 12px; cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.2s ease; }
.home-v2-copy-button:hover, .home-v2-view-button:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; border-color: rgba(255,255,255,.45); }
.home-v2-license-note { margin: 22px 0 0; color: var(--home-v2-secondary); font-size: 13px; }

.home-v2-process { background: var(--home-v2-surface); }
.home-v2-process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.home-v2-process-head { position: sticky; top: 140px; }
.home-v2-step-list { counter-reset: step; }
.home-v2-step { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--home-v2-border); }
.home-v2-step::before { content: "0" counter(step); color: var(--home-v2-accent); font: 600 13px/1.5 var(--home-v2-font-body); letter-spacing: .08em; }
.home-v2-step h3 { margin: 0 0 8px; font: 700 22px/1.35 var(--home-v2-font-display); }
.home-v2-step p { margin: 0; color: var(--home-v2-muted); }

.home-v2-knowledge { background: var(--home-v2-bg); }
.home-v2-knowledge-grid { display: grid;grid-template-columns: repeat(3, 1fr); /* 3個等寬的 1fr */gap: 18px; }
.home-v2-article-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--home-v2-border); border-radius: var(--home-v2-radius); background: var(--home-v2-surface); }
.home-v2-article-image { height: 280px; object-fit: cover; }
.home-v2-article-body { min-height: 300px; display: flex; flex-direction: column; padding: 28px; }
.home-v2-article-meta { color: var(--home-v2-accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.home-v2-article-card h3 { margin: 20px 0 14px; font: 700 24px / 1.25 var(--home-v2-font-display); letter-spacing: -.015em; text-wrap: pretty; }
.home-v2-article-card p { margin: 0; color: var(--home-v2-muted); }
.home-v2-article-link { margin-top: auto; padding-top: 30px; font-weight: 600; }
.home-v2-article-link:hover { text-decoration: none; }

.home-v2-contact { color: #fff; background: var(--home-v2-accent-deep); }
.home-v2-contact .home-v2-section-title { color: #fff; }
.home-v2-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.home-v2-contact .home-v2-eyebrow { color: var(--home-v2-secondary); }
.home-v2-contact p:not(.home-v2-eyebrow) { color: rgba(255,255,255,.72); }
.home-v2-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-v2-contact .home-v2-button-secondary { color: #fff; border-color: rgba(255,255,255,.35); }

.home-v2-footer { padding: 58px 0 90px; background: oklch(20% .06 255); color: rgba(255,255,255,.72); }
.home-v2-footer-inner { display: grid; grid-template-columns: 1.05fr 2.4fr; gap: clamp(44px, 7vw, 92px); }
.home-v2-footer-logo { width: 190px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.home-v2-footer-logo img { height: auto; display: block; }
.home-v2-footer p { margin: 5px 0; font-size: 13px; }
.home-v2-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.home-v2-footer-social a { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #fff; font-size: 13px; font-weight: 550; letter-spacing: .02em; transition: border-color 200ms var(--home-v2-ease), background 200ms var(--home-v2-ease), transform 140ms var(--home-v2-ease); }
.home-v2-footer-social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.42); transform: translateY(-2px); text-decoration: none; color: #fff; }
.home-v2-footer-social svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.home-v2-footer-sitemap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 22px; }
.home-v2-footer-column h3 { margin: 0 0 16px; color: #fff; font: 600 15px/1.4 var(--home-v2-font-body); letter-spacing: .02em; }
.home-v2-footer-column h3 a { color: #fff; }
.home-v2-footer-column ul { margin: 0; padding: 0; list-style: none; }
.home-v2-footer-column li + li { margin-top: 9px; }
.home-v2-footer-column a { font-size: 13px; }
.home-v2-footer-column a:hover { color: #fff; text-decoration: underline; }
.home-v2-footer-copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.home-v2-footer-copyright a { color: rgba(255,255,255,.72); }
.home-v2-footer-copyright a:hover { color: #fff; }

.home-v2-mobile-actions { display: none; }
.home-v2-toast { position: fixed; right: 22px; bottom: 22px; z-index: 9999; padding: 12px 16px; border-radius: 10px; background: var(--home-v2-fg); color: #fff; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 200ms var(--home-v2-ease), transform 200ms var(--home-v2-ease); }
.home-v2-toast.home-v2-show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .home-v2-menu-toggle { display: grid; }
  .home-v2-nav-links { position: fixed; inset: 121px 0 auto; display: grid; gap: 0; padding: 18px 20px 28px; background: var(--home-v2-surface); border-bottom: 1px solid var(--home-v2-border); transform: translateY(-130%); opacity: 0; transition: transform 200ms var(--home-v2-ease), opacity 140ms var(--home-v2-ease); z-index: 998; }
  .home-v2-menu-open .home-v2-nav-links { transform: none; opacity: 1; }
  .home-v2-nav-links a { padding: 14px 4px; }
  .home-v2-nav-links .home-v2-button { margin-top: 8px; }
  .home-v2-sub-nav { display: none; }
  .home-v2-footer-inner { grid-template-columns: 1fr; }
  .home-v2-footer-sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-v2-knowledge-grid { grid-template-columns: 1fr 1fr; }
  .home-v2-service-grid, .home-v2-license-grid { grid-template-columns: repeat(2, 1fr); }
  .home-v2-license-card:last-child { grid-column: 1 / -1; }
  .home-v2-process-layout { grid-template-columns: 1fr; }
  .home-v2-process-head { position: static; }
}
@media (max-width: 680px) {
  .home-v2-wrapper .home-v2-container { width: min(100% - 28px, 1180px); }
  .home-v2-section { padding: 66px 0; }
  .home-v2-topbar-inner > span, .home-v2-topbar-links a:nth-child(2) { display: none; }
  .home-v2-topbar-inner { justify-content: center; }
  .home-v2-nav { min-height: 72px; }
  .home-v2-logo { width: 182px; }
  .home-v2-nav-links { inset-block-start: 110px; }
  .home-v2-hero { min-height: 700px; }
  .home-v2-hero::after { background: linear-gradient(0deg, rgba(4,31,63,.96), rgba(4,31,63,.5) 78%, rgba(4,31,63,.2)); }
  .home-v2-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .home-v2-section-heading, .home-v2-contact-panel { display: block; }
  .home-v2-section-heading .home-v2-section-lead { margin-top: 18px; }
  .home-v2-service-grid, .home-v2-license-grid, .home-v2-knowledge-grid { grid-template-columns: 1fr; }
  .home-v2-license-card:last-child { grid-column: auto; }
  .home-v2-campaign-card { min-height: 300px; }
  .home-v2-service-card.text-card { min-height: 310px; }
  .home-v2-contact-actions { margin-top: 28px; }
  .home-v2-footer-sitemap { grid-template-columns: 1fr 1fr; }
  .home-v2-mobile-actions { position: fixed; inset: auto 10px 10px; z-index: 999; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: rgba(8,24,48,.94); box-shadow: 0 12px 30px rgba(0,0,0,.26); backdrop-filter: blur(12px); }
  .home-v2-mobile-actions a { min-height: 46px; display: grid; place-items: center; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; }
  .home-v2-mobile-actions a:hover { text-decoration: none; color: #fff; }
  .home-v2-mobile-actions a:last-child { background: var(--home-v2-accent); }
}
@media (prefers-reduced-motion: reduce) {
  .home-v2-wrapper { scroll-behavior: auto; }
  .home-v2-wrapper *, .home-v2-wrapper *::before, .home-v2-wrapper *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
