:root {
  color-scheme: light;
  --paper: #eef3f7;
  --paper-2: #e2eaf1;
  --ink: #111216;
  --muted: #5f6873;
  --line: rgba(46, 57, 70, .12);
  --white: #ffffff;
  --lime: #baff50;
  --lime-deep: #7fae2f;
  --blue: #1757d4;
  --orange: #ff6846;
  --shadow: 0 28px 70px rgba(47, 61, 75, .16);
  --glass: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .34));
  --glass-heavy: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(246, 250, 253, .62));
  --glass-border: rgba(255, 255, 255, .76);
  --glass-shadow: 0 18px 52px rgba(45, 60, 74, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  --radius: 24px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 5%, rgba(186, 255, 80, .30), transparent 28rem),
    radial-gradient(circle at 88% 14%, rgba(10, 132, 255, .20), transparent 32rem),
    radial-gradient(circle at 56% 86%, rgba(191, 90, 242, .12), transparent 34rem),
    linear-gradient(155deg, #f4f7f9 0%, #eaf1f6 48%, #eef3f7 100%);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.site-header {
  position: relative;
  z-index: auto;
  padding-top: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
.site-header.scrolled { padding-top: 0; border: 0; box-shadow: none; }
.nav {
  width: min(calc(100% - 40px), var(--max));
  height: 78px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: none;
}
.site-header.scrolled .nav { background: transparent; box-shadow: none; }
.detail-nav { justify-content: flex-start; }
.detail-nav .header-back {
  position: absolute;
  top: 20px;
  left: 24px;
}
.detail-nav .nav-links {
  position: absolute;
  top: 18px;
  right: 24px;
}
.nav-left { display: flex; align-items: center; gap: 18px; }
.header-back {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 13px;
  background: rgba(255, 255, 255, .48);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 6px 18px rgba(46, 59, 72, .06);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.header-back:hover { color: var(--ink); background: rgba(255, 255, 255, .72); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 780; letter-spacing: -.02em; }
.brand-name { white-space: nowrap; }
.brand-subtitle {
  margin-left: 3px;
  padding-left: 15px;
  border-left: 1px solid rgba(69,78,88,.18);
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: .025em;
  white-space: nowrap;
}
.brand-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 22, 18, .12);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(21, 22, 18, .12);
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-size: 14px;
  transform: rotate(-4deg);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.58); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.home-intro { padding: 18px 0 82px; }
.home-hero {
  display: block;
}
.home-intro h1 {
  max-width: none;
  margin: 4px 0 0;
  font-size: clamp(48px, 5.8vw, 82px);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 820;
  white-space: nowrap;
}
.home-intro h1 em { color: var(--lime-deep); font-style: normal; }
.home-hero .hero-lead {
  max-width: 940px;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.72;
}
.home-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.home-product {
  min-height: 350px;
  padding: 38px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .84);
  box-shadow: 0 14px 46px rgba(37, 36, 28, .06);
}
.home-product-logo {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(27, 27, 22, .13);
}
.home-product h2 {
  margin: 24px 0 10px;
  font-size: clamp(27px, 2.5vw, 34px);
  line-height: 1;
  letter-spacing: -.05em;
}
.home-product-copy {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}
.home-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: auto; }
.home-product-actions .button { min-height: 42px; padding-inline: 12px; border-radius: 9px; }
.home-product-actions .button { width: 100%; }
.contact-product-actions { grid-template-columns: 1fr; }
.custom-contact-button {
  height: auto;
  min-height: 48px;
  padding: 10px 16px;
  white-space: normal;
  line-height: 1.45;
}
.custom-contact-button.copied { background: #2d6f4f; border-color: #2d6f4f; }
.download-button { background: rgba(17, 18, 22, .94); border-color: rgba(17, 18, 22, .94); color: #fff; }
.download-button:hover { background: #000; color: #fff; }
.hero { min-height: 660px; display: grid; align-items: center; padding: 90px 0 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero h1, .product-hero h1 {
  max-width: 950px;
  margin: 24px 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 820;
}
.hero h1 em { color: var(--lime-deep); font-style: normal; }
.hero-lead { max-width: 660px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); line-height: 1.7; }
.hero-actions { margin-top: 42px; display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 15px;
  font: inherit;
  font-weight: 700;
  background: rgba(255,255,255,.48);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 8px 22px rgba(48, 61, 74, .07);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: rgba(255,255,255,.78); }
.button.download-button {
  color: #fff;
  background: rgba(17, 18, 22, .94);
  border-color: rgba(17, 18, 22, .94);
}
.button.download-button:hover { background: #000; color: #fff; }
.button:active { transform: scale(.975); transition-duration: 100ms; }
.button.primary { color: #fff; background: rgba(17, 18, 22, .94); border-color: rgba(17, 18, 22, .94); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(17,18,22,.18); }
.button.primary:hover { color: #fff; background: #000; }
.button.disabled { color: #92958b; background: #e5e1d7; cursor: default; transform: none; }
.button .arrow { font-size: 18px; }

.section { padding: 90px 0; }
.section.soft { background: rgba(255,255,255,.16); border-block: 1px solid rgba(255,255,255,.52); box-shadow: inset 0 1px 0 rgba(255,255,255,.44); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-kicker { color: var(--orange); font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.section h2 { max-width: 780px; margin: 10px 0 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.section-note { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.75; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.product-card {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 46px rgba(37, 36, 28, .06);
  transition: transform .32s ease, box-shadow .32s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-preview { height: 390px; position: relative; overflow: hidden; background: #e7e3d9; }
.product-preview img.shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.product-card:hover img.shot { transform: scale(1.025); }
.product-preview.job { padding: 34px; background: linear-gradient(145deg, #0c1730, #102a5c 62%, #1e5be0); }
.card-content { flex: 1; padding: 30px; display: flex; flex-direction: column; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-tag { color: var(--orange); font-size: 13px; font-weight: 700; }
.platform { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.product-card h3 { margin: 18px 0 12px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; line-height: 1; }
.product-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.card-link { margin-top: auto; padding-top: 24px; font-weight: 750; display: flex; justify-content: space-between; align-items: center; }
.card-link span:last-child { font-size: 22px; transition: transform .2s ease; }
.product-card:hover .card-link span:last-child { transform: translateX(5px); }

.browser-mock { height: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; overflow: hidden; background: #f8f9fc; box-shadow: 0 30px 60px rgba(0,0,0,.3); transform: rotate(-1.2deg); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #e9ebf1; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c4c8d1; }
.job-ui { height: calc(100% - 34px); display: grid; grid-template-columns: 92px 1fr; color: #192033; }
.job-side { padding: 18px 11px; background: #121b31; color: #8f99b2; }
.job-logo { width: 36px; height: 36px; margin-bottom: 25px; border-radius: 9px; object-fit: cover; }
.job-side span { display: block; height: 8px; margin: 15px 3px; border-radius: 5px; background: currentColor; opacity: .65; }
.job-side span.active { color: #fff; opacity: 1; }
.job-main { padding: 20px; }
.job-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.job-top strong { font-size: 16px; }
.job-top b { padding: 7px 10px; color: #fff; background: var(--blue); border-radius: 7px; font-size: 9px; }
.job-filter { height: 40px; margin-bottom: 14px; border: 1px solid #dde1eb; border-radius: 8px; background: #fff; }
.job-row { display: grid; grid-template-columns: 1fr 80px; gap: 12px; margin-top: 9px; padding: 12px; border: 1px solid #e1e4ec; border-radius: 9px; background: #fff; }
.job-lines span { display: block; width: 90%; height: 7px; margin: 6px 0; border-radius: 4px; background: #d5d9e3; }
.job-lines span:first-child { width: 55%; background: #5e687e; }
.job-score { display: grid; place-items: center; color: #1e7d4f; background: #e6f7ed; border-radius: 8px; font-size: 12px; font-weight: 800; }

.tangguo-stage {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 190, 217, .68), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(198, 176, 255, .5), transparent 32%),
    rgba(255,255,255,.26);
}
.tangguo-panel {
  width: min(430px, calc(100% - 42px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 30px 80px rgba(112,55,84,.18), inset 0 1px 0 rgba(255,255,255,.95);
}
.tangguo-panel-head { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid #eee2e7; }
.tangguo-panel-head img { width: 46px; height: 46px; border-radius: 13px; }
.tangguo-panel-head strong { display: block; font-size: 16px; }
.tangguo-panel-head span { display: block; margin-top: 3px; color: #8d7881; font-size: 11px; }
.tangguo-panel-list { display: grid; gap: 10px; padding: 14px; }
.tangguo-media-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid #eee3e8; border-radius: 13px; background: #fff; }
.tangguo-thumb { display: grid; height: 54px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg,#ff8cb7,#eb3d7a); font-weight: 800; }
.tangguo-media-copy strong { font-size: 12px; }
.tangguo-media-copy span { display: block; margin-top: 5px; color: #907e86; font-size: 9px; }
.tangguo-save { padding: 8px 11px; border-radius: 9px; color: #fff; background: #f84f8a; font-size: 10px; font-weight: 750; }

.principles, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle, .feature {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.46);
}
.principle-num { color: var(--muted); font-size: 12px; font-weight: 750; }
.principle h3, .feature h3 { margin: 56px 0 12px; font-size: 24px; letter-spacing: -.035em; }
.principle p, .feature p { margin: 0; color: var(--muted); line-height: 1.7; }

.site-footer { padding: 58px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-row strong { color: var(--ink); }
.footer-legal { justify-content: center; font-size: 13px; letter-spacing: .01em; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); transition: color .18s ease; }
.footer-links a:hover { color: var(--ink); }

/* Product detail */
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.product-hero { padding: 74px 0 60px; }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.product-hero-grid > * { min-width: 0; }
.product-identity { display: flex; align-items: center; gap: 14px; }
.product-icon { width: 58px; height: 58px; border-radius: 15px; object-fit: cover; box-shadow: 0 8px 24px rgba(20,20,16,.12); }
.product-status { font-size: 13px; color: var(--muted); }
.product-hero h1 { max-width: 900px; margin-bottom: 28px; overflow-wrap: anywhere; font-size: clamp(58px, 8.4vw, 112px); }
.product-hero h1.compact-product-title { font-size: clamp(54px, 6vw, 88px); }
.product-hero-copy { max-width: 600px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.hero-aside { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.48); }
.hero-aside strong { display: block; margin-bottom: 12px; font-size: 18px; }
.hero-aside p { margin: 0; color: var(--muted); line-height: 1.7; }
.hero-download-card {
  align-self: start;
  margin-top: 4px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 16px 45px rgba(33, 31, 24, .06);
}
.hero-download-card .download-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 760;
}
.hero-download-card strong { display: block; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; }
.hero-download-card p { margin: 12px 0 24px; color: var(--muted); line-height: 1.7; }
.hero-download-card .wide { width: 100%; min-height: 58px; font-size: 17px; }
.hero-download-action {
  width: 100%;
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111216;
  border-radius: 13px;
  color: #fff;
  background: #111216;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(17,18,22,.18);
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.hero-download-action:hover { color: #fff; background: #000; transform: translateY(-2px); }
.hero-download-action:active { transform: scale(.985); }
.hero-download-action.custom-contact-button { min-height: 66px; }
.download-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.download-modal[hidden] { display: none; }
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 18, 14, .55);
  backdrop-filter: blur(12px);
}
.download-dialog {
  width: min(100%, 460px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
}
.download-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.download-dialog h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.download-dialog p { margin: 10px 0 22px; color: var(--muted); line-height: 1.65; }
.download-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #f1eee6; font-size: 20px; cursor: pointer; }
.download-code { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; outline: none; font: 700 15px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.download-code:focus { border-color: var(--lime-deep); box-shadow: 0 0 0 3px rgba(127, 174, 47, .16); }
.download-submit { width: 100%; margin-top: 12px; }
.download-error { min-height: 20px; margin-top: 10px; color: #bc3b27; font-size: 13px; line-height: 1.5; }
body.modal-open { overflow: hidden; }

.stage { margin-top: 50px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #ddd8cd; box-shadow: var(--shadow); }
.stage-top { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #edeae2; }
.stage-top i { width: 9px; height: 9px; border-radius: 50%; background: #c8c3b8; }
.stage img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.stage.product-video-stage {
  padding: 1px;
  background: rgba(12, 14, 18, .94);
}
.product-demo-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  background: #0c0e12;
  object-fit: contain;
}
.stage.super-job-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #efe6d6;
}
.stage.job-stage { padding: 34px; background: linear-gradient(145deg, #0d1830, #174baf); }
.stage.job-stage .browser-mock { height: 620px; transform: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.45); }
.stat { padding: 28px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; }
.stat span { color: var(--muted); font-size: 13px; }

.feature { min-height: 260px; }
.feature .feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 800; }
.feature h3 { margin-top: 42px; }
.workflow { display: grid; gap: 0; border-top: 1px solid var(--line); }
.workflow-row { display: grid; grid-template-columns: 70px 280px 1fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.workflow-row b { color: var(--orange); font-size: 13px; }
.workflow-row strong { font-size: 22px; letter-spacing: -.03em; }
.workflow-row p { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.75; }

.gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 12px; }
.gallery img { width: 100%; height: 430px; object-fit: cover; border-radius: 16px; }
.gallery img:first-child { object-position: center; }

/* Apple-inspired liquid glass material system */
.home-product,
.hero-download-card,
.stats,
.feature,
.principle,
.stage,
.browser-mock,
.download-dialog {
  border-color: var(--glass-border);
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
  box-shadow: var(--glass-shadow);
}
.home-product {
  position: relative;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease;
}
.home-product::before,
.hero-download-card::before,
.feature::before,
.principle::before,
.download-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.35), transparent 38%, rgba(255,255,255,.08));
}
.home-product:hover {
  transform: translateY(-5px) scale(1.006);
  box-shadow: 0 28px 72px rgba(45, 60, 74, .16), inset 0 1px 0 rgba(255,255,255,.92);
}
.home-product > *,
.hero-download-card > *,
.feature > *,
.principle > *,
.download-dialog > * { position: relative; z-index: 1; }
.home-product-logo,
.product-icon,
.brand-avatar {
  border-color: rgba(255,255,255,.78);
  box-shadow: 0 16px 36px rgba(39, 53, 67, .16), inset 0 1px 0 rgba(255,255,255,.72);
}
.hero-download-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-heavy);
  -webkit-backdrop-filter: blur(34px) saturate(180%);
  backdrop-filter: blur(34px) saturate(180%);
}
.hero-download-card .download-label {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  color: #e94e31;
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.stats { position: relative; background: rgba(255,255,255,.36); overflow: hidden; }
.stat { border-color: rgba(255,255,255,.58); }
.feature,
.principle {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.38);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .3s ease;
}
.feature:hover,
.principle:hover { transform: translateY(-4px); background: rgba(255,255,255,.53); }
.feature .feature-icon {
  border-color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.54);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 8px 20px rgba(45,60,74,.08);
}
.stage {
  padding: 1px;
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.30);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
}
.stage-top {
  border-bottom-color: rgba(255,255,255,.48);
  background: rgba(245,248,250,.52);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.stage-top i { background: rgba(92,100,110,.35); box-shadow: inset 0 1px 1px rgba(255,255,255,.72); }
.stage.job-stage { background: linear-gradient(145deg, rgba(11,24,51,.92), rgba(23,75,175,.88)); }
.browser-mock { border-color: rgba(255,255,255,.32); }
.workflow { border-color: rgba(255,255,255,.58); }
.workflow-row { border-color: rgba(255,255,255,.58); }
.gallery img {
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 18px 44px rgba(42,57,71,.13), inset 0 1px 0 rgba(255,255,255,.7);
}
.site-footer { border-top-color: rgba(255,255,255,.56); background: rgba(255,255,255,.12); }
.download-modal {
  background: rgba(43, 52, 62, .32);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}
.download-dialog {
  position: relative;
  overflow: hidden;
  background: rgba(248, 251, 253, .82);
  -webkit-backdrop-filter: blur(38px) saturate(185%);
  backdrop-filter: blur(38px) saturate(185%);
  box-shadow: 0 36px 110px rgba(30, 42, 54, .28), inset 0 1px 0 rgba(255,255,255,.95);
}
.download-close {
  border-color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.download-close:active { transform: scale(.94); }
.download-code {
  border-color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 1px 2px rgba(47,59,71,.08), 0 1px 0 rgba(255,255,255,.92);
}
.download-code:focus { border-color: rgba(10,132,255,.7); box-shadow: 0 0 0 4px rgba(10,132,255,.14), inset 0 1px 2px rgba(47,59,71,.06); }


.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .product-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .home-hero .hero-lead { max-width: 720px; margin: 0; }
  .home-hero .hero-lead { margin-top: 22px; }
  .home-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { min-height: 630px; }
  .principles, .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-row { grid-template-columns: 52px 1fr; }
  .workflow-row p { grid-column: 2; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { padding-top: 0; }
  .nav { width: min(calc(100% - 28px), var(--max)); height: 66px; padding: 0; border-radius: 0; }
  .nav-links a:not([aria-current="page"]) { display: none; }
  .nav-left { gap: 9px; }
  .brand-subtitle { display: none; }
  .header-back { padding-inline: 10px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 74px 0 58px; }
  .hero h1, .product-hero h1, .home-intro h1 { font-size: 51px; letter-spacing: -.065em; }
  .product-hero h1.compact-product-title { font-size: 51px; }
  .home-intro { padding: 30px 0 70px; }
  .home-intro h1 { margin-top: 18px; }
  .home-intro h1 { white-space: normal; }
  .home-hero .hero-lead { font-size: 18px; line-height: 1.7; }
  .home-products { margin-top: 40px; }
  .home-product { min-height: 360px; padding: 38px 22px 28px; }
  .home-product-logo { width: 120px; height: 120px; border-radius: 28px; }
  .home-products { grid-template-columns: 1fr; }
  .home-product-actions { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-head { display: block; }
  .section-note { margin-top: 18px; }
  .product-grid, .principles, .feature-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 590px; }
  .product-preview { height: 310px; }
  .product-preview.job { padding: 18px; }
  .card-content { padding: 24px; }
  .principle, .feature { min-height: 210px; }
  .principle h3, .feature h3 { margin-top: 36px; }
  .footer-row { display: block; }
  .footer-row > span { display: block; margin-top: 10px; }
  .footer-legal > span { margin-top: 0; }
  .footer-links { margin-top: 0; justify-content: center; gap: 8px 16px; }
  .product-hero { padding-top: 44px; }
  .stage { border-radius: 14px; }
  .stage.job-stage { padding: 12px; }
  .stage.job-stage .browser-mock { height: 470px; }
  .job-ui { grid-template-columns: 70px 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px; }
  .workflow-row { grid-template-columns: 42px 1fr; gap: 14px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img:first-child { height: 360px; grid-column: auto; }
  .download-choice-grid { grid-template-columns: 1fr; }
  .download-dialog { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .home-product,
  .hero-download-card,
  .stats,
  .feature,
  .principle,
  .stage,
  .browser-mock,
  .download-dialog,
  .button,
  .header-back {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #f7f9fb;
  }
}

@media (prefers-contrast: more) {
  .home-product,
  .hero-download-card,
  .stats,
  .feature,
  .principle,
  .stage,
  .download-dialog { border-color: rgba(17, 18, 22, .52); }
  .muted, .hero-lead, .product-hero-copy, .section-note { color: #353c44; }
}
