:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff6ff;
  --text: #111827;
  --muted: #667085;
  --line: #e5eaf2;
  --soft: #f7f9fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; color: #fff; background: #111827; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(229,234,242,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; color: #475467; font-size: 15px; }
.nav a:hover, .breadcrumb a:hover, .text-link:hover { color: var(--accent); }
.header-actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 650; }
.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { border-color: var(--line); background: #fff; color: #344054; }
.breadcrumb { padding-top: 28px; color: #667085; font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #98a2b3; }
.hero { overflow: hidden; padding: 28px 0 88px; background: radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 26%), linear-gradient(180deg, var(--accent-soft), #fff 72%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 56px; margin-top: 56px; }
.kicker { margin: 0; color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 680px; margin: 20px 0 0; font-size: clamp(44px, 6vw, 68px); line-height: 1.07; letter-spacing: -.045em; }
.hero-copy { max-width: 670px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.85; }
.hero-actions { margin-top: 32px; }
.hero-card { position: relative; padding: 30px; border: 1px solid color-mix(in srgb, var(--accent) 18%, #fff); border-radius: 32px; background: rgba(255,255,255,.88); box-shadow: 0 28px 80px rgba(15,23,42,.1); }
.hero-card > img { width: 72px; height: 72px; object-fit: contain; border-radius: 18px; }
.hero-card h2 { margin: 28px 0 0; font-size: 28px; letter-spacing: -.03em; }
.hero-card ul { margin: 22px 0 0; padding: 0; list-style: none; color: #475467; }
.hero-card li { position: relative; margin: 14px 0; padding-left: 24px; line-height: 1.7; }
.hero-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 800px; }
.section-head h2 { margin: 16px 0 0; font-size: clamp(34px, 4.5vw, 48px); line-height: 1.14; letter-spacing: -.04em; }
.section-head > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.grid-3, .grid-4, .related-grid { display: grid; gap: 20px; margin-top: 44px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.card-index { color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .16em; }
.card h3 { margin: 18px 0 0; font-size: 22px; line-height: 1.35; }
.card p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.steps { counter-reset: steps; }
.steps .card { counter-increment: steps; }
.steps .card-index::before { content: "0" counter(steps); }
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; margin-top: 44px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(15,23,42,.06); }
.case-card h3 { margin: 0; padding: 24px 28px; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.5vw, 26px); line-height: 1.4; letter-spacing: -.02em; }
.case-image-button { display: block; overflow: hidden; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.case-image-button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.case-image-button img { width: 100%; background: #fff; transition: transform .25s ease; }
.case-image-button:hover img { transform: scale(1.015); }
.case-lightbox { width: min(96vw,1600px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 28px 100px rgba(15,23,42,.34); }
.case-lightbox::backdrop { background: rgba(15,23,42,.82); backdrop-filter: blur(4px); }
.case-lightbox-inner { display: grid; grid-template-rows: auto minmax(0,1fr); max-height: 94vh; }
.case-lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px 18px 26px; border-bottom: 1px solid var(--line); }
.case-lightbox-header h2 { margin: 0; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.4; }
.case-lightbox-close { flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: #344054; background: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.case-lightbox-close:hover { color: #fff; border-color: var(--accent); background: var(--accent); }
.case-lightbox-close:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, #fff); outline-offset: 2px; }
.case-lightbox-viewport { overflow: auto; padding: 20px; background: var(--soft); }
.case-lightbox-viewport img { width: auto; max-width: 100%; max-height: calc(94vh - 100px); margin: 0 auto; background: #fff; }
body.lightbox-open { overflow: hidden; }
.faq { max-width: 880px; margin-top: 40px; }
.faq details { padding: 22px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 650; }
.faq p { margin: 14px 0 0; color: var(--muted); line-height: 1.85; }
.related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.related-card { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.related-card:hover { border-color: color-mix(in srgb, var(--accent) 42%, #fff); transform: translateY(-2px); }
.related-card img { width: 44px; height: 44px; object-fit: contain; }
.related-card h3 { margin: 18px 0 0; font-size: 18px; }
.related-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cta-wrap { padding-top: 88px; }
.cta { margin-bottom: 88px; padding: 52px; border-radius: 32px; color: #fff; background: linear-gradient(135deg,#101828,#1d2939); }
.cta h2 { max-width: 760px; margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.16; letter-spacing: -.035em; }
.cta p { max-width: 760px; margin: 18px 0 0; color: #d0d5dd; font-size: 17px; line-height: 1.8; }
.cta .hero-actions { margin-top: 28px; }
.footer { position: relative; padding: 56px 0 34px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.9); background: #24272e; }
.footer-company-banner { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; transform: translateY(-50%); }
.footer-company-banner span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: #24272e; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer h2, .footer h3 { margin: 0; font-size: 16px; }
.footer p { max-width: 430px; color: rgba(255,255,255,.58); line-height: 1.8; }
.footer-links { display: grid; gap: 12px; margin-top: 18px; color: rgba(255,255,255,.62); font-size: 14px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.46); font-size: 13px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .grid-3, .grid-4, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .case-list { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; margin-top: 40px; }
  .hero { padding-bottom: 68px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; }
  .logo img { width: 112px; }
  .header-actions .btn-light { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-copy { font-size: 17px; }
  .hero-card, .cta { padding: 28px 22px; border-radius: 24px; }
  .case-list { gap: 24px; margin-top: 36px; }
  .case-card { border-radius: 18px; }
  .case-card h3 { padding: 20px; }
  .case-lightbox { width: calc(100vw - 20px); border-radius: 18px; }
  .case-lightbox-header { gap: 12px; padding: 14px 14px 14px 18px; }
  .case-lightbox-close { width: 38px; height: 38px; }
  .case-lightbox-viewport { padding: 10px; }
  .section { padding: 68px 0; }
  .cta-wrap { padding-top: 68px; }
  .cta { margin-bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
