:root {
  color-scheme: light;
  --ink: #101724;
  --muted: #67707e;
  --blue: #2859df;
  --cyan: #18c5dd;
  --line: #dce4ef;
  --paper: #fbfcff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); overflow-x: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: #c9dafa; color: var(--ink); }

.skip-link { position: fixed; z-index: 99; top: -60px; left: 18px; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { height: 94px; padding: 0 max(4.5vw, 38px); display: flex; justify-content: space-between; align-items: center; position: absolute; z-index: 20; top: 0; left: 0; right: 0; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 240px; }
.brand-image-viewport { display: block; width: 148px; flex: 0 0 auto; }
.brand-image-viewport img { display: block; width: 100%; height: auto; }
.brand-company { font-size: 13px; font-weight: 600; letter-spacing: .04em; border-left: 1px solid #cbd4df; padding-left: 13px; white-space: nowrap; }
.site-nav { display: flex; gap: clamp(24px, 4vw, 64px); margin-left: auto; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 600; }
.site-nav a { transition: color .25s; }
.site-nav a:hover { color: var(--blue); }
.language-toggle { border: 0; border-left: 1px solid #cbd4df; padding: 1px 0 1px clamp(14px, 2vw, 24px); color: #647187; background: transparent; font-size: 12px; font-weight: 650; letter-spacing: .06em; transition: color .25s; }
.language-toggle:hover { color: var(--blue); }
html[lang="en"] { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
html[lang="en"] .hero h1 { font-size: clamp(56px, 6.2vw, 100px); letter-spacing: -.065em; }
html[lang="en"] .hero-copy { max-width: 1040px; }
html[lang="en"] .product-info h3 { letter-spacing: -.035em; }

.screen { min-height: 100svh; position: relative; }
.hero { padding: clamp(154px, 19vh, 220px) max(7vw, 48px) 100px; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(ellipse at 73% 57%, #f4f8ff 0, transparent 55%), #fff; }
.hero-copy { position: relative; z-index: 3; width: 100%; max-width: 900px; margin-inline: auto; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(66px, 7.2vw, 118px); line-height: 1.16; font-weight: 550; letter-spacing: -.085em; }
.hero h1 em { font-style: normal; font-weight: 550; white-space: nowrap; }
.hero-copy > p { margin: 32px 0 0; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.95; color: #505b69; font-weight: 400; letter-spacing: .012em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 34px 0 0; }
.hero-copy > p, .hero-actions { transform: translateX(clamp(-44px, -2vw, -18px)); }
.primary-button, .secondary-button, .submit-button { min-width: 206px; min-height: 56px; border: 1px solid transparent; border-radius: 100px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 600; transition: transform .25s, background .25s, box-shadow .25s, border-color .25s; }
.primary-button, .submit-button { background: var(--ink); color: #fff; }
.secondary-button { background: #fff; color: var(--ink); border-color: #e8edf5; box-shadow: 0 9px 28px #7d93af24, 0 2px 8px #a9b9cc13; }
.primary-button:hover, .submit-button:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 24px #2859df2b; }
.secondary-button:hover { border-color: #c7d8f0; transform: translateY(-2px); box-shadow: 0 13px 34px #7d93af31; }
.hero-art { position: absolute; z-index: 1; left: 0; right: 0; bottom: -12vh; height: min(50vh, 600px); pointer-events: auto; overflow: hidden; }
.hero-art canvas { display: block; width: 100%; height: 100%; }
.art-shimmer { position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(0deg, #ffffffd8, transparent); pointer-events: none; }
.hero-bottom { margin-top: auto; position: relative; z-index: 4; display: flex; align-items: center; font-size: 12px; letter-spacing: .08em; color: #34465d; text-shadow: 0 1px 4px #fff; }

.products { display: flex; flex-direction: column; padding: clamp(70px, 10vh, 125px) max(7vw, 48px) 50px; background: linear-gradient(180deg, #f2f7ff 0%, #f7faff 52%, #fff 100%); overflow: hidden; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 5; }
.section-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(44px, 5.1vw, 88px); font-weight: 530; line-height: 1.2; letter-spacing: -.07em; }
.section-heading p { color: var(--muted); font-size: clamp(15px, 1.12vw, 18px); line-height: 1.8; margin: 20px 0 0 4px; }
.product-layout { flex: 1; display: grid; grid-template-columns: minmax(270px, 37%) minmax(0, 63%); align-items: center; min-height: 520px; }
.product-info { position: relative; z-index: 6; max-width: 440px; align-self: center; padding-bottom: 30px; }
.product-label { font-size: 12px; color: var(--blue); font-weight: 650; letter-spacing: .07em; display: flex; gap: 18px; align-items: center; }
.product-label b { font-weight: 450; color: #7b8da8; }
.product-info h3 { font-size: clamp(31px, 3.05vw, 52px); line-height: 1.3; letter-spacing: -.05em; font-weight: 580; margin: 20px 0; }
.product-info > p { color: #566476; font-size: clamp(15px, 1.11vw, 18px); line-height: 1.9; min-height: 106px; max-width: 400px; margin: 0; }
.product-stage-wrap { min-width: 0; align-self: stretch; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.product-stage { position: relative; flex: 1; width: 100%; min-height: 470px; perspective: 1300px; touch-action: pan-y; cursor: grab; outline-offset: -8px; }
.product-stage:active { cursor: grabbing; }
.product-stage::before { content: ""; position: absolute; inset: 12% -7% 6% -4%; background: radial-gradient(ellipse at 48% 67%, #cbdfff77 0, #ecf5ff22 42%, transparent 69%); filter: blur(10px); }
.product-card { --x: 0px; --z: 0px; --rot: 0deg; --sc: 1; position: absolute; top: 49%; left: 50%; display: flex; flex-direction: column; width: clamp(235px, 24vw, 376px); height: clamp(350px, 30vw, 465px); padding: 25px; border: 1px solid #ffffff; border-radius: 15px; text-align: left; color: var(--ink); background: linear-gradient(150deg, #fff 0%, #fafcff 64%, #eef5ff 100%); box-shadow: 0 22px 70px #7891b12b, 0 4px 18px #9db2cb18; backface-visibility: hidden; transform: translate(-50%, -50%) translateX(var(--x)) translateZ(var(--z)) rotateY(var(--rot)) scale(var(--sc)); transition: transform .75s cubic-bezier(.22, .9, .18, 1), box-shadow .5s, opacity .5s, filter .5s; will-change: transform; }
.product-card[aria-pressed="true"] { box-shadow: 0 38px 100px #6987af39, 0 5px 18px #9db2cb22; }
.product-card:not([aria-pressed="true"]) { filter: saturate(.85); }
.card-top, .card-bottom { display: flex; justify-content: space-between; align-items: center; }
.card-top { font-size: 14px; color: #667896; }
.card-top span:last-child { font-size: 10px; letter-spacing: .16em; }
.card-bottom { font-size: clamp(19px, 1.6vw, 27px); font-weight: 580; letter-spacing: -.03em; }
.card-art { flex: 1; min-height: 0; display: block; margin: 18px 0; overflow: hidden; border-radius: 10px; background: #f7faff; }
.card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage-controls { display: flex; align-items: center; justify-content: flex-end; position: relative; z-index: 6; padding: 0 3% 8px; }
.stage-controls div { display: flex; gap: 10px; }
.stage-controls button { min-width: 78px; height: 40px; border: 1px solid #d6e0ee; color: #496387; border-radius: 100px; background: #fff; box-shadow: 0 4px 15px #7d93af1b; font-size: 12px; transition: background .25s, color .25s, transform .25s; }
.stage-controls button:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.no-js .product-stage { display: flex; align-items: center; gap: 14px; overflow-x: auto; min-height: 0; padding: 20px 0 35px; perspective: none; cursor: auto; }
.no-js .product-card { position: relative; inset: auto; flex: 0 0 min(28vw, 300px); height: 350px; transform: none; }
.no-js .stage-controls { display: none; }

.contact-section { min-height: 63svh; padding: clamp(90px, 12vh, 145px) max(7vw, 48px) clamp(65px, 9vh, 100px); display: grid; grid-template-columns: 43% 57%; gap: 4%; align-items: start; background: #fff; }
.contact-copy h2 { font-size: clamp(42px, 4.5vw, 75px); }
.contact-copy > p { max-width: 430px; font-size: 17px; line-height: 1.9; color: var(--muted); margin: 30px 0 0; }
.lead-form { padding-top: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 27px; }
.lead-form label { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 12px; }
.lead-form .field-label { display: inline-flex; gap: 5px; align-items: baseline; color: var(--ink); }
.lead-form .field-label b { color: var(--blue); font-weight: 650; }
.lead-form input, .lead-form select { width: 100%; height: 52px; padding: 0 4px; border: 0; border-bottom: 1px solid #bfc9d6; border-radius: 0; background: transparent; color: var(--ink); outline: none; font-size: 15px; font-weight: 400; transition: border-color .25s; }
.lead-form input::placeholder { color: #a0aabb; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--blue); border-bottom-width: 2px; }
.lead-form input[aria-invalid="true"], .lead-form select[aria-invalid="true"] { border-color: #d33f54; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; }
.form-bottom p { margin: 0; font-size: 12px; line-height: 1.6; color: #8592a3; max-width: 300px; }
.submit-button { min-width: 192px; }
.submit-button:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.form-message { min-height: 22px; margin: 14px 0 0; font-size: 13px; font-weight: 550; color: var(--blue); }
.form-message[data-state="error"] { color: #c4364d; }

.site-footer { min-height: 37svh; position: relative; isolation: isolate; overflow: hidden; background: #f1f5fc; padding: 57px max(7vw, 48px) 0; display: flex; flex-direction: column; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.7fr .95fr .95fr 1.65fr; gap: 45px; flex: 1; }
.footer-name { font-size: 26px; font-weight: 650; letter-spacing: -.04em; }
.footer-brand p { color: #65758a; line-height: 1.8; font-size: 14px; margin-top: 20px; }
.footer-column { display: flex; flex-direction: column; gap: 12px; }
.footer-column h2 { font-size: 13px; margin: 5px 0 8px; color: var(--ink); }
.footer-column a { font-size: 13px; color: #718098; width: fit-content; transition: color .25s; }
.footer-column a:hover { color: var(--blue); }
.footer-art { position: absolute; z-index: 0; pointer-events: none; right: -4%; bottom: -20%; width: 68%; height: 125%; background-image: url("assets/footer-flow.webp"); background-size: cover; background-position: center; opacity: .72; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 74% 66% at 55% 48%, #000 34%, transparent 100%); mask-image: radial-gradient(ellipse 74% 66% at 55% 48%, #000 34%, transparent 100%); }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid #dce4f0; min-height: 55px; display: flex; align-items: center; gap: 28px; color: #8591a3; font-size: 12px; }
.footer-bottom a { margin-left: auto; }

@media (max-width: 1000px) {
  .site-header { padding-inline: 5vw; }
  .hero, .products, .contact-section, .site-footer { padding-left: 5vw; padding-right: 5vw; }
  .hero-copy { max-width: 780px; }
  .hero h1 { font-size: clamp(64px, 10vw, 112px); }
  .product-layout { grid-template-columns: 35% 65%; }
  .product-card { width: clamp(215px, 30vw, 300px); height: clamp(335px, 43vw, 405px); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .footer-art { width: 85%; right: -12%; }
}

@media (max-width: 700px) {
  .site-header { height: 74px; padding-inline: 20px; }
  .brand { min-width: 0; gap: 5px; }
  .brand-image-viewport { width: 110px; }
  .brand-company { font-size: 11px; padding-left: 10px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12px; white-space: nowrap; }
  .language-toggle { padding-left: 14px; font-size: 11px; }
  .no-js .product-card { flex-basis: 230px; }
  .hero { min-height: 100svh; padding: clamp(136px, 20vh, 190px) 24px 34px; }
  .hero-copy { margin-inline: auto; text-align: center; }
  .hero h1 { font-size: clamp(54px, 11vw, 78px); letter-spacing: -.09em; }
  .hero-copy > p { margin: 24px 0 0; font-size: 15px; line-height: 1.8; }
  .hero-actions { justify-content: center; margin: 28px 0 0; gap: 20px; }
  .hero-copy > p, .hero-actions { transform: none; }
  .primary-button, .secondary-button { min-width: 192px; min-height: 50px; padding: 0 20px; font-size: 14px; }
  .hero-art { bottom: -6vh; height: 44vh; min-height: 330px; }
  .hero-bottom { font-size: 10px; }
  .hero-bottom > span:first-child { max-width: 190px; line-height: 1.6; }
  .products { padding: 82px 24px 56px; min-height: 100svh; }
  .section-heading h2 { font-size: clamp(43px, 8vw, 61px); }
  .section-heading p { font-size: 14px; margin-top: 16px; }
  .product-layout { display: flex; flex-direction: column; align-items: stretch; min-height: auto; flex: 1; }
  .product-info { max-width: none; align-self: stretch; padding: 35px 0 0; }
  .product-info h3 { font-size: 30px; margin: 10px 0; }
  .product-info > p { min-height: 0; font-size: 14px; line-height: 1.7; max-width: 440px; }
  .product-stage-wrap { min-height: 420px; flex: 1; }
  .product-stage { min-height: 375px; }
  .product-card { width: clamp(190px, 56vw, 260px); height: clamp(290px, 78vw, 355px); padding: 18px; }
  .card-bottom { font-size: 17px; }
  .stage-controls { padding: 0; }
  .contact-section { display: flex; flex-direction: column; padding: 88px 24px 70px; min-height: 0; gap: 44px; }
  .contact-copy h2 { font-size: clamp(46px, 9vw, 64px); }
  .contact-copy > p { font-size: 15px; margin: 20px 0 0; }
  .lead-form { padding-top: 0; width: 100%; }
  .form-row { gap: 22px; margin-bottom: 22px; }
  .form-bottom { margin-top: 32px; }
  .site-footer { min-height: 0; padding: 52px 24px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 35px 18px; padding-bottom: 55px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-art { width: 125%; height: 42%; right: -36%; bottom: 5%; opacity: .52; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 18px; padding: 15px 0; }
}

@media (max-width: 480px) {
  .site-header { padding-inline: 14px; }
  .brand-image-viewport { width: 100px; }
  .brand-company { font-size: 10px; padding-left: 8px; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: 11px; }
  html[lang="en"] .brand-company { display: none; }
  html[lang="en"] .hero h1 { font-size: clamp(43px, 12vw, 56px); line-height: 1.1; letter-spacing: -.055em; }
  html[lang="en"] .hero h1 em { white-space: normal; }
  html[lang="en"] .site-nav { gap: 8px; }
  html[lang="en"] .site-nav a { font-size: 10px; }
  html[lang="en"] .language-toggle { padding-left: 9px; font-size: 10px; }
  .hero h1 { font-size: clamp(48px, 11.2vw, 58px); }
  .hero-actions { align-items: center; flex-direction: column; }
  .hero-art { height: 42vh; min-height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .form-bottom { align-items: flex-start; flex-direction: column; }
  .submit-button { width: 100%; }
}

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