:root {
  --color-primary: #1677d2;
  --color-primary-dark: #0e5ea8;
  --color-accent: #19b9c8;
  --color-navy: #071c2d;
  --color-navy-light: #102f48;
  --color-bg: #f5fafd;
  --color-surface: #ffffff;
  --color-surface-soft: #edf7fb;
  --color-text: #102033;
  --color-text-secondary: #526579;
  --color-border: #dceaf1;
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --shadow-card: 0 12px 35px rgba(16, 32, 51, .08);
  --shadow-hover: 0 18px 45px rgba(16, 32, 51, .14);
  --font-main: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-main);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; z-index: 1000; left: 18px; top: 14px;
  padding: 10px 14px; border-radius: var(--radius-small);
  color: #fff; background: var(--color-primary);
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(220,234,241,.82);
  backdrop-filter: blur(18px);
  transition: box-shadow .22s ease, background .22s ease;
}
.site-header.scrolled { box-shadow: 0 10px 28px rgba(16,32,51,.08); background: rgba(255,255,255,.96); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 22px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 238px; color: var(--color-text); }
.brand:hover { color: var(--color-text); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: var(--color-primary); font-weight: 800; font-size: 20px;
  box-shadow: 0 10px 20px rgba(22,119,210,.18);
}
.brand-logo { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--color-border); }
.brand strong { display: block; font-size: 17px; line-height: 1.2; letter-spacing: .01em; }
.brand small { display: block; margin-top: 2px; color: var(--color-text-secondary); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  min-height: 40px; padding: 9px 13px; border-radius: 999px;
  color: #31465e; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--color-surface-soft); color: var(--color-primary-dark); }
.site-nav .nav-cta {
  margin-left: 6px; padding: 10px 18px; color: #fff; background: var(--color-primary);
  box-shadow: 0 10px 22px rgba(22,119,210,.2);
}
.site-nav .nav-cta:hover { color: #fff; background: var(--color-primary-dark); transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 99px; background: var(--color-text); }

.button, button[type="submit"] {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border: 1px solid var(--color-primary); border-radius: 999px;
  color: #fff; background: var(--color-primary); font: 700 15px/1 var(--font-main);
  cursor: pointer; box-shadow: 0 10px 22px rgba(22,119,210,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.button:hover, button[type="submit"]:hover {
  color: #fff; background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover);
}
.button.secondary {
  color: var(--color-primary-dark); background: #fff; border-color: rgba(22,119,210,.28); box-shadow: none;
}
.button.secondary:hover { color: var(--color-primary-dark); background: #f4fbff; box-shadow: var(--shadow-card); }
.text-link, .sn-arrow, .card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-primary-dark); font-weight: 700; }
.text-link::after, .sn-arrow::after, .card-link::after { content: "→"; }
.actions, .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero {
  position: relative; overflow: hidden; background:
    linear-gradient(130deg, #f7fcff 0%, #eef8fc 45%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}
.hero-grid { min-height: 640px; display: grid; grid-template-columns: minmax(0, .96fr) minmax(440px, 1.04fr); gap: 46px; align-items: center; padding: 82px 0 52px; }
.hero-copy { max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 7px 13px; border: 1px solid rgba(22,119,210,.16); border-radius: 999px;
  color: var(--color-primary-dark); background: rgba(255,255,255,.72);
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.hero h1 { margin: 0; max-width: 720px; color: var(--color-text); font-size: clamp(40px, 4.15vw, 58px); line-height: 1.1; letter-spacing: 0; }
.hero-title-line { display: block; white-space: nowrap; }
.hero h1 .accent { color: var(--color-primary); }
.hero .lead { max-width: 650px; margin: 22px 0 0; color: var(--color-text-secondary); font-size: 18px; line-height: 1.85; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.trust-row span { padding: 7px 12px; border-radius: 999px; background: #fff; color: #466077; border: 1px solid var(--color-border); font-size: 13px; font-weight: 700; }

.hero-stage { position: relative; min-height: 430px; }
.hero-uploaded-image {
  width: 100%; min-height: 430px; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: var(--radius-large); border: 1px solid var(--color-border);
  background: #fff; box-shadow: var(--shadow-card);
}
.hero-uploaded-image[hidden] { display: none !important; }
.showcase-board {
  position: relative; min-height: 430px; border-radius: var(--radius-large);
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-card); padding: 22px;
}
.showcase-label {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  padding: 6px 10px; border-radius: 999px; background: rgba(7,28,45,.86); color: #dff7fb; font-size: 12px; font-weight: 800;
}
.video-frame {
  aspect-ratio: 16/9; border-radius: 18px; background: linear-gradient(135deg, #123b5b, #1677d2);
  padding: 18px; color: #fff; overflow: hidden; position: relative;
}
.video-frame::before {
  content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px;
}
.play-mark {
  position: absolute; left: 34px; bottom: 28px; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: var(--color-primary);
}
.play-mark::before { content: ""; margin-left: 4px; border-left: 18px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.phone-preview {
  position: absolute; right: 26px; bottom: 28px; width: 122px; aspect-ratio: 9/16; border-radius: 22px;
  background: #071c2d; border: 6px solid #fff; box-shadow: 0 18px 36px rgba(7,28,45,.18); padding: 12px;
}
.phone-preview span { display: block; height: 9px; border-radius: 999px; background: #6ce5ee; margin: 9px 0; }
.website-preview {
  margin-top: 18px; border-radius: 16px; border: 1px solid var(--color-border); background: var(--color-surface-soft); padding: 16px;
}
.website-preview i { display: block; height: 12px; width: 44%; border-radius: 999px; background: var(--color-primary); margin-bottom: 12px; }
.website-preview span { display: block; height: 9px; border-radius: 999px; background: #c9e5f1; margin: 8px 0; }
.website-preview span:nth-child(3) { width: 72%; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini-cards div { min-height: 72px; border-radius: 14px; background: #f8fcff; border: 1px solid var(--color-border); padding: 12px; color: #466077; font-size: 12px; font-weight: 800; }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 auto 46px; }
.metric-strip > div { min-height: 116px; padding: 22px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-medium); box-shadow: var(--shadow-card); }
.metric-strip strong { display: block; margin-bottom: 8px; color: var(--color-primary-dark); font-size: 22px; line-height: 1.2; }
.metric-strip span { display: block; color: var(--color-text-secondary); font-size: 14px; line-height: 1.55; }

.section { padding: 88px 0; background: #fff; }
.section.light { background: var(--color-bg); }
.section.warm { background: #f7fbfd; }
.section.dark-cta { background: var(--color-navy); color: #fff; }
.section-first { padding-top: 96px; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2, .section h2 { margin: 0 0 14px; color: var(--color-text); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.22; letter-spacing: 0; }
.section-head p, .lead { color: var(--color-text-secondary); font-size: 17px; line-height: 1.78; }
.section.dark-cta .section-head h2, .section.dark-cta h2 { color: #fff; }
.section.dark-cta p { color: #b9d2df; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .premium-card, .service-nav-card, .gallery-card, .quote-panel, .contact-card, .pricing-card, .step, .diff-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium); box-shadow: var(--shadow-card);
}
.card, .premium-card, .quote-panel, .contact-card, .pricing-card, .diff-card { padding: 26px; }
.card:hover, .premium-card:hover, .service-nav-card:hover, .gallery-card:hover, .step:hover, .diff-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
}
.card, .premium-card, .service-nav-card, .gallery-card, .step, .diff-card { transition: transform .18s ease, box-shadow .18s ease; }
.card h3, .premium-card h3, .service-nav-card h3, .gallery-card h3, .step h3 { margin: 0 0 10px; color: var(--color-text); font-size: 21px; line-height: 1.35; }
.card p, .premium-card p, .service-nav-card p, .gallery-card p, .step p { color: var(--color-text-secondary); margin: 0; }

.service-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-nav-card { display: flex; flex-direction: column; min-height: 360px; padding: 28px; color: inherit; }
.service-nav-card p { margin-bottom: 22px; }
.service-nav-card .deliverables { display: grid; gap: 8px; margin: 16px 0 22px; padding: 0; list-style: none; color: #466077; font-size: 14px; }
.service-nav-card .deliverables li::before { content: "✓"; margin-right: 8px; color: var(--color-accent); font-weight: 900; }
.sn-arrow { margin-top: auto; }
.line-icon, .icon, .sn-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid #bfe4ef; background: #f4fbff; color: var(--color-primary);
}
.line-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon, .sn-icon { font-size: 0; }
.icon::before, .sn-icon::before { content: ""; width: 26px; height: 26px; border: 2px solid currentColor; border-radius: 8px; box-shadow: inset 8px 0 0 rgba(25,185,200,.18); }

.quick-page-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.quick-page-grid a { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border); color: #466077; font-size: 14px; font-weight: 700; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery-card { overflow: hidden; background: #fff; }
.gallery-card .gallery-media, .gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(135deg, #dff4fb, #f8fcff); }
.gallery-card div:not(.gallery-media) { padding: 20px; }
.gallery-tag { display: inline-flex; margin-bottom: 10px; padding: 5px 9px; border-radius: 999px; background: var(--color-surface-soft); color: var(--color-primary-dark); font-size: 12px; font-weight: 800; }
.demo-badge { display: inline-flex; margin-top: 14px; color: #60758a; font-size: 13px; font-weight: 700; }

.process-lane, .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.step { padding: 24px; min-height: 160px; }
.step-num { display: block; margin-bottom: 14px; color: var(--color-primary); font-size: 28px; font-weight: 900; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { padding: 24px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-medium); box-shadow: var(--shadow-card); }
.why-item h3 { margin: 0 0 8px; font-size: 20px; }
.why-item p { margin: 0; color: var(--color-text-secondary); }

.dark-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.dark-cta .button { background: var(--color-accent); border-color: var(--color-accent); color: #062333; box-shadow: none; }
.dark-cta .button:hover { background: #55d4de; color: #062333; }

.page-title { padding: 92px 0 64px; background: linear-gradient(135deg, #f7fcff, #eef8fc); border-bottom: 1px solid var(--color-border); }
.page-title h1 { margin: 0 0 14px; font-size: clamp(36px, 4vw, 54px); line-height: 1.18; }
.page-title p { max-width: 800px; margin: 0; color: var(--color-text-secondary); font-size: 18px; }

.list, .check-list { padding-left: 0; margin: 16px 0 0; list-style: none; color: var(--color-text-secondary); }
.list li, .check-list li { margin: 8px 0; }
.check-list li::before, .list li::before { content: "✓"; margin-right: 8px; color: var(--color-accent); font-weight: 900; }
.notice { padding: 18px 20px; border: 1px solid #bfe4ef; border-radius: var(--radius-medium); background: #f4fbff; color: #466077; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 13px 0; border-bottom: 1px solid var(--color-border); color: var(--color-text-secondary); }
.info-table td:last-child { color: var(--color-text); font-weight: 700; text-align: right; }

.form-grid { display: grid; gap: 16px; }
label { color: var(--color-text); font-weight: 700; }
input, select, textarea {
  width: 100%; min-height: 46px; margin-top: 7px; padding: 11px 13px; border: 1px solid var(--color-border);
  border-radius: var(--radius-small); background: #fff; color: var(--color-text); font: 15px/1.4 var(--font-main);
}
textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(22,119,210,.14); border-color: var(--color-primary); }
.agree { display: flex; align-items: flex-start; gap: 10px; color: var(--color-text-secondary); font-weight: 500; }
.agree input { width: auto; min-height: auto; margin-top: 6px; }
.form-status { min-height: 24px; color: var(--color-primary-dark); font-weight: 700; }
.required { color: #d94848; }

.related-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-pages a { padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: #fff; color: inherit; box-shadow: var(--shadow-card); }
.related-pages strong { display: block; margin-bottom: 8px; font-size: 18px; }
.related-pages span { color: var(--color-text-secondary); }

.site-footer { padding: 58px 0 24px; background: var(--color-navy); color: #c9dce6; }
.footer-grid { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 30px; }
.footer-grid strong { display: block; margin-bottom: 14px; color: #fff; font-size: 17px; }
.footer-grid p { margin: 0 0 8px; color: #a9c0cc; }
.footer-grid a { display: block; padding: 4px 0; color: #a9c0cc; }
.footer-grid a:hover { color: #fff; }
.footer-kicker { display: block; margin-top: 10px; color: #76b9d0; font-size: 12px; letter-spacing: .08em; }
.footer-bottom { width: min(1180px, calc(100% - 48px)); margin: 34px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 14px; color: #90a8b6; font-size: 13px; }
.footer-bottom a { color: #90a8b6; }

.fade-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-nav { gap: 2px; }
  .site-nav a { padding: 9px 10px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero-stage { min-height: 390px; }
  .grid.three, .service-nav, .gallery-grid, .related-pages, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .process-lane, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-wrap { flex-wrap: wrap; padding: 12px 0; }
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; margin: 0; padding: 8px 0 12px; flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-cta { width: 100%; margin-left: 0; text-align: center; }
}
@media (max-width: 640px) {
  .container, .footer-grid, .footer-bottom { width: min(100% - 32px, 1180px); }
  .hero-grid { padding: 46px 0 32px; gap: 28px; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero-title-line { white-space: normal; }
  .hero .lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-stage, .showcase-board { min-height: 360px; }
  .phone-preview { width: 92px; }
  .mini-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .page-title { padding: 70px 0 48px; }
  .grid.two, .grid.three, .service-nav, .gallery-grid, .related-pages, .metric-strip, .why-grid, .process-lane, .steps, .dark-cta-inner, .footer-grid { grid-template-columns: 1fr; }
  .card, .premium-card, .service-nav-card, .quote-panel, .contact-card, .pricing-card, .diff-card { padding: 22px; }
  .service-nav-card { min-height: auto; }
}
