:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#142947;background:#f7f9fd;font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #4b8ceb;outline-offset:4px}svg{display:block;max-width:100%}
.site-header{position:sticky;top:0;z-index:10;background:#ffffffed;border-bottom:1px solid #e4eaf3;backdrop-filter:blur(16px)}.header-inner{max-width:1240px;margin:auto;min-height:78px;padding:12px 28px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand img{display:block;width:150px;height:auto}.site-header nav{display:flex;align-items:center;gap:7px}.site-header nav a{padding:10px 16px;border-radius:999px;color:#536780;font-size:14px;font-weight:700}.site-header nav a:hover,.site-header nav a[aria-current]{background:#eaf2ff;color:#1762d8}
main{overflow:hidden}.hero,.content-section,.final-cta{width:min(100% - 48px,1200px);margin-inline:auto}.hero{min-height:620px;padding:95px 0 100px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:62px}.hero-copy h1{font-size:clamp(39px,4.4vw,62px);line-height:1.18;letter-spacing:-.055em;margin:24px 0}.hero-copy h1 em{font-style:normal;color:#236bdb;white-space:nowrap}.hero-copy>p{max-width:580px;font-size:17px;line-height:1.9;color:#60728b;margin:0}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:#246bd7;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow i{width:7px;height:7px;background:#21bda9;border-radius:50%;box-shadow:0 0 0 6px #21bda925}.hero-actions,.final-cta>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;padding:0 23px;border:1px solid #cbd9ed;border-radius:12px;font-size:14px;font-weight:750;transition:transform .2s,box-shadow .2s,background .2s}.button:hover{transform:translateY(-2px)}.button.primary{color:#fff;background:linear-gradient(115deg,#1762d8,#428bea);border-color:#1762d8;box-shadow:0 13px 26px #1d6fdd35}.button.primary:hover{box-shadow:0 17px 30px #1d6fdd48}.button.ghost{color:#2461b5;background:#fff}.button.ghost:hover{background:#ecf4ff}
.hero-visual{min-width:0;border-radius:26px;padding:21px 20px 8px;background:radial-gradient(circle at 50% 40%,#244a85,#0c1e3c 70%);border:1px solid #476394;box-shadow:0 30px 80px #153f8552;color:#94c6ff}.hero-visual .visual-head{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:750;letter-spacing:.13em}.visual-dot{width:7px;height:7px;border-radius:50%;background:#4fd6c6;box-shadow:0 0 10px #4fd6c6}.visual-live{margin-left:auto;color:#81d8d1}.hero-visual svg{width:100%;height:auto}.hero-visual text{font:600 13px Inter,"Microsoft YaHei",sans-serif;fill:#c9dbf5}
.content-section{padding:96px 0}.section-heading{max-width:760px;margin-bottom:35px}.section-heading h2,.content-section h2,.final-cta h2{font-size:clamp(30px,3.3vw,44px);line-height:1.25;letter-spacing:-.045em;margin:15px 0 16px}.section-heading p,.content-section p,.final-cta p{font-size:16px;line-height:1.85;color:#61738c;margin:0}.flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.flow-card,.guide-card,.mode-grid article,.faq-grid article{position:relative;padding:31px;border:1px solid #e1e9f3;border-radius:22px;background:#fff;box-shadow:0 13px 34px #1e4b880b}.step-num{color:#a4b8d2;font-size:12px;font-weight:800;letter-spacing:.13em}.icon-box{width:62px;height:62px;margin:22px 0;border-radius:17px;background:#edf4ff;display:grid;place-items:center}.icon-box svg{width:38px;height:38px;fill:none;stroke:#3277d8;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.flow-card h3,.guide-card h3,.mode-grid h3,.faq-grid h3{font-size:20px;margin:0 0 11px;letter-spacing:-.03em}.flow-card p,.guide-card p,.mode-grid p,.faq-grid p{font-size:14px;line-height:1.8}
.showcase{display:grid;grid-template-columns:.83fr 1.17fr;align-items:center;gap:62px}.showcase-copy>p,.split-section>div>p{margin-bottom:26px}.check-list{padding:0;margin:25px 0 31px;list-style:none;display:grid;gap:14px;color:#344a67;font-size:15px;font-weight:650}.check-list li{display:flex;align-items:flex-start;gap:12px}.check-list li::before{content:"✓";flex:none;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#dff7f2;color:#0b9c87;font-size:13px}.text-link{display:inline-flex;gap:10px;color:#1d65c5;font-weight:750;font-size:14px}.text-link:hover{text-decoration:underline}
.mock-panel{border:1px solid #d9e4f2;border-radius:22px;background:#fff;padding:15px;box-shadow:0 25px 70px #19457f24}.mock-toolbar{display:flex;align-items:center;justify-content:space-between;padding:4px 7px 16px;color:#446082;font-size:12px;font-weight:750}.mock-toolbar i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#20c2a0}.mock-badge{padding:5px 9px;border-radius:99px;background:#dff8ee;color:#128b6d}.mock-body{display:grid;grid-template-columns:1.3fr .7fr;gap:11px;min-height:300px}.mock-camera{border-radius:13px;background:linear-gradient(135deg,#142941,#244a68);padding:13px}.camera-frame{position:relative;height:100%;min-height:300px;border-radius:9px;overflow:hidden;background:radial-gradient(circle at 50% 45%,#44627a,#132939 66%)}.camera-frame:before{content:"";position:absolute;inset:15% 10%;border:1px solid #83a6c344;border-radius:8px}.camera-frame:after{content:"";position:absolute;left:16%;right:16%;bottom:18%;height:2px;background:#87aac644;box-shadow:0 -54px #87aac622,0 -108px #87aac622}.silhouette{position:absolute;left:43%;top:26%;width:52px;height:130px;border-radius:25px 25px 12px 12px;background:#91c3d055;box-shadow:0 -22px 0 -8px #91c3d055}.camera-target{position:absolute;left:18px;bottom:16px;font-size:11px;color:#c6dfeb}.camera-corner{position:absolute;width:18px;height:18px;border-color:#61e0cf;border-style:solid}.top-left{left:15px;top:15px;border-width:2px 0 0 2px}.bottom-right{right:15px;bottom:15px;border-width:0 2px 2px 0}.mock-side{display:grid;grid-template-rows:1.3fr .7fr;gap:11px}.mock-radar,.mock-events{border-radius:13px;background:#edf5fe;padding:13px;overflow:hidden;color:#355a88;font-size:12px;font-weight:750}.mock-radar svg{margin:auto;width:100%;max-width:200px}.mock-events div{height:11px;margin-top:12px;background:#d5e5f7;border-radius:99px}.mock-events div:nth-child(3){width:74%}.mock-events div:nth-child(4){width:46%}
.two-column{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.mini-cards{display:grid;gap:10px}.mini-cards div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px;background:#fff;border:1px solid #e0e9f4;border-radius:15px;box-shadow:0 9px 25px #1e4b8809}.mini-cards strong{font-size:16px}.mini-cards span{color:#6c7d92;font-size:13px;text-align:right}
.final-cta{margin-block:55px 100px;padding:57px 6vw;border-radius:30px;background:radial-gradient(circle at 80% 10%,#2856a8,#102849 60%);color:#fff}.final-cta .eyebrow{color:#8adfd8}.final-cta h2{margin-top:17px}.final-cta p{color:#bfd0e6}.final-cta .button.ghost{color:#dbeaff;background:#ffffff12;border-color:#ffffff45}.final-cta .button.ghost:hover{background:#ffffff24}
footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px max(24px,calc((100vw - 1200px)/2));border-top:1px solid #e2e9f2;color:#8292a8;font-size:13px}footer span:last-child{display:flex;gap:22px}footer a:hover{color:#1d65c5}
.help-hero{min-height:570px}.guide-visual{padding:25px;border:1px solid #cdddf1;border-radius:26px;background:linear-gradient(140deg,#fff,#eaf3ff);box-shadow:0 25px 60px #1e4b8825}.guide-top,.guide-bottom{display:flex;justify-content:space-between;color:#6e89aa;font-size:12px;font-weight:750;letter-spacing:.13em}.guide-route{position:relative;display:grid;gap:11px;margin:22px 0}.guide-route:before{content:"";position:absolute;left:19px;top:25px;bottom:25px;width:2px;background:linear-gradient(#6ab0eb,#51d5c7)}.guide-route>div{position:relative;display:grid;grid-template-columns:40px 1fr;column-gap:17px;align-items:center;padding:17px 20px;background:#fff;border:1px solid #dce8f6;border-radius:15px;box-shadow:0 8px 23px #3765a00f}.guide-route b{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e7f1ff;color:#246bd7;font-size:12px}.guide-route strong{font-size:15px}.guide-route small{color:#7c8fa7;font-size:12px}.guide-bottom span{color:#13b9a7}
.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.guide-card{min-height:240px}.guide-card h3{margin-top:32px}.guide-card .text-link{margin-top:18px}
.mode-section{border-top:1px solid #e1e9f3;border-bottom:1px solid #e1e9f3}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mode-grid article{padding:30px}.mode-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:22px;background:#e7efff;border-radius:13px;color:#286bd4;font-weight:800}.mode-icon.teal{background:#e0f8f3;color:#099e87}.setting-strip{margin-top:18px;padding:19px 25px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:17px;background:#112c52;color:#fff}.setting-strip div{display:grid;gap:5px}.setting-strip strong{font-size:14px}.setting-strip span{color:#a5bddb;font-size:12px}.setting-strip .strip-arrow{font-size:24px;color:#5b91d9}
.split-section{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}.timeline-visual{padding:27px;border:1px solid #dce7f4;border-radius:22px;background:#fff;box-shadow:0 20px 50px #1e4b8817}.timeline-head{display:flex;justify-content:space-between;margin-bottom:20px;color:#607998;font-size:12px;font-weight:800}.timeline-item{display:flex;align-items:center;gap:17px;padding:20px 7px;border-top:1px solid #eaf0f6}.timeline-item i{position:relative;width:14px;height:14px;flex:none;border:3px solid #3d80df;border-radius:50%;box-shadow:0 0 0 5px #e9f3ff}.timeline-item:last-child i{border-color:#1db69e;box-shadow:0 0 0 5px #e1f7f2}.timeline-item div{display:grid;gap:5px}.timeline-item strong{font-size:15px}.timeline-item span{color:#8293a7;font-size:12px}.timeline-item b{margin-left:auto;color:#aec0d6;font-size:13px}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.faq-grid article{padding:25px}
@media(max-width:950px){.hero{gap:35px}.guide-grid{grid-template-columns:repeat(2,1fr)}.showcase,.split-section{gap:32px}.content-section{padding:72px 0}}
@media(max-width:700px){.header-inner{min-height:68px;padding:10px 18px}.brand img{width:116px}.site-header nav{gap:0}.site-header nav a{padding:8px 9px;font-size:12px}.hero,.content-section,.final-cta{width:min(100% - 36px,1200px)}.hero{min-height:0;grid-template-columns:1fr;gap:38px;padding:58px 0 62px}.hero-copy h1{font-size:clamp(36px,8.4vw,49px)}.hero-copy>p{font-size:15px}.content-section{padding:58px 0}.flow-grid,.showcase,.two-column,.mode-grid,.split-section,.faq-grid{grid-template-columns:1fr}.showcase,.two-column,.split-section{gap:30px}.guide-grid{grid-template-columns:1fr 1fr}.guide-card{min-height:0}.mock-body{min-height:270px}.camera-frame{min-height:270px}.setting-strip{align-items:flex-start;flex-direction:column}.setting-strip .strip-arrow{transform:rotate(90deg);font-size:18px;margin-left:15px}.final-cta{margin:30px auto 70px;padding:42px 28px}.final-cta h2{font-size:31px}footer{padding:25px 18px}}
@media(max-width:460px){.header-inner{flex-wrap:wrap}.site-header nav{width:100%;justify-content:space-between}.site-header nav a{flex:1;text-align:center}.guide-grid{grid-template-columns:1fr}.flow-card,.guide-card{padding:25px}.mock-body{grid-template-columns:1fr}.mock-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.mock-radar svg{max-height:105px}.mock-events{min-height:130px}.hero-actions .button{flex:1}.hero-visual{padding:14px 9px 5px}.hero-visual .visual-head{padding:0 9px;font-size:8px}.visual-live{font-size:8px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
/* Deploy Guide Page Styles */
.deploy-hero { min-height: 480px; padding: 70px 0 40px; }
.deploy-tab-wrapper { display: flex; justify-content: center; margin: 30px 0 10px; }
.deploy-tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: #eaf1fa; border: 1px solid #d4e2f4; gap: 8px; box-shadow: 0 4px 18px #19468512; }
.deploy-tab-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 26px; border-radius: 999px; border: none; background: transparent; color: #4e6482; font-size: 15px; font-weight: 750; cursor: pointer; transition: all .2s cubic-bezier(.16,1,.3,1); }
.deploy-tab-btn:hover { color: #1762d8; background: #ffffff88; }
.deploy-tab-btn.active { background: #fff; color: #1762d8; box-shadow: 0 5px 16px #1762d822; }
.deploy-panel { display: none; scroll-margin-top: 96px; animation: fadeIn .3s cubic-bezier(.16,1,.3,1); }
.deploy-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.deploy-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 40px 0; }
.step-item { min-width: 0; background: #fff; border: 1px solid #e1eaf5; border-radius: 20px; padding: 28px 32px; box-shadow: 0 10px 30px #1d4d870a; position: relative; }
.step-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.step-badge { width: 34px; height: 34px; border-radius: 10px; background: #eaf2ff; color: #1762d8; font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: none; }
.step-header h3 { font-size: 19px; margin: 0; letter-spacing: -.02em; color: #172d4d; }
.step-desc { font-size: 14.5px; color: #5f728c; line-height: 1.7; margin: 0 0 16px; }
.code-wrapper { position: relative; min-width: 0; max-width: 100%; margin: 12px 0; }
.code-block { display: block; max-width: 100%; min-width: 0; background: #0c1a2f; border: 1px solid #1f3659; border-radius: 14px; padding: 18px 22px; color: #cbe0fc; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13.5px; line-height: 1.65; overflow-x: auto; margin: 0; white-space: pre; }
.copy-btn { position: absolute; top: 10px; right: 12px; padding: 5px 12px; border-radius: 8px; border: 1px solid #2d4c78; background: #152945; color: #8ec3f8; font-size: 12px; font-weight: 650; cursor: pointer; transition: all .15s; }
.copy-btn:hover { background: #1f3d6b; color: #fff; }
.copy-btn.copied { background: #0f4c3a; color: #43e2b8; border-color: #176f57; }
.script-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; background: linear-gradient(135deg, #12315b, #1d4b88); border-radius: 18px; color: #fff; margin: 24px 0 35px; box-shadow: 0 14px 35px #143a6d2b; }
.script-banner div h4 { font-size: 17px; margin: 0 0 6px; }
.script-banner div p { font-size: 13.5px; color: #bfd6f6; margin: 0; }
.script-download-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12px; background: #28d0b4; color: #04362d; font-weight: 800; font-size: 13.5px; transition: transform .15s, box-shadow .15s; flex: none; }
.script-download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #28d0b455; }
.ops-table-card { background: #fff; border: 1px solid #e1eaf5; border-radius: 20px; padding: 26px 30px; box-shadow: 0 10px 30px #1d4d870a; margin-top: 25px; }
.ops-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 13.5px; }
.ops-table th { text-align: left; padding: 11px 14px; background: #f4f8fd; color: #4e6584; font-weight: 750; border-bottom: 1px solid #e2ebf5; }
.ops-table td { padding: 12px 14px; border-bottom: 1px solid #edf2f8; color: #2e435e; }
.ops-table tr:last-child td { border-bottom: none; }
.ops-table code { background: #eef4fc; color: #195dbf; padding: 3px 8px; border-radius: 6px; font-family: monospace; font-size: 12.5px; }
/* Antigravity CLI style One-Line Command Card */
.cli-card {
  background: #ffffff;
  border: 1px solid #e2eaf5;
  border-radius: 22px;
  padding: 34px 38px;
  box-shadow: 0 12px 35px rgba(25, 60, 110, 0.06);
  margin-bottom: 35px;
}
.cli-header { margin-bottom: 26px; }
.cli-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cli-title-row h2 {
  font-size: 26px;
  margin: 0;
  letter-spacing: -0.03em;
  color: #11233d;
  font-weight: 750;
}
.cli-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1865db;
  font-size: 12.5px;
  font-weight: 750;
  font-family: ui-monospace, monospace;
}
.cli-desc {
  font-size: 15.5px;
  color: #556882;
  line-height: 1.75;
  margin: 0;
  max-width: 820px;
}
.cli-target {
  margin-top: 22px;
}
.target-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
  color: #1a2f4c;
  margin-bottom: 10px;
}
.target-label svg {
  color: #2b6fd8;
  flex: none;
}
.one-line-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f8fb;
  border: 1px solid #dee7f3;
  border-radius: 14px;
  padding: 15px 18px;
  transition: border-color .15s, box-shadow .15s;
}
.one-line-card:hover {
  border-color: #b9d1f3;
  box-shadow: 0 4px 14px rgba(25, 75, 145, 0.05);
}
.one-line-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  color: #1a2f4c;
  word-break: break-all;
  user-select: all;
  padding-right: 16px;
}
.cli-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #637792;
  cursor: pointer;
  flex: none;
  transition: all .15s ease;
}
.cli-copy-btn:hover {
  background: #e9f0f9;
  color: #1762d8;
  border-color: #d1dfef;
}
.cli-copy-btn.copied {
  background: #dff8ee;
  color: #0b9c7a;
  border-color: #a3ebd3;
}
.cli-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid #d0e4fc;
  color: #1e4b85;
  font-size: 13.5px;
  margin-top: 18px;
  line-height: 1.6;
}
.cli-notice.models-notice {
  background: #f0fdf4;
  border-color: #c7f3d6;
  color: #166534;
  margin-top: 10px;
}
.cli-notice b { color: #0f3261; }
.cli-notice.models-notice b { color: #0e4c27; }
.target-label.danger { color: #b91c1c; }
.target-label.danger svg { color: #dc2626; }
.one-line-card.danger {
  background: #fff8f8;
  border-color: #fed7d7;
}
.one-line-card.danger code { color: #9b1c1c; }
.one-line-card.danger .cli-copy-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}
/* ==========================================================================
   Interactive Real-Screenshot Features Showcase (/features)
   ========================================================================== */
.features-intro {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
  padding: 46px 0 22px;
  text-align: center;
  position: relative;
}
.features-intro h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 14px auto 0;
  max-width: 820px;
  color: #112442;
}
.features-intro h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #1762d8 10%, #17a598 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.features-intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.8;
  color: #5b6e88;
}
/* Sticky Chapter Navigation & Scroll Progress */
.feature-nav-rail {
  position: sticky;
  top: 78px;
  z-index: 9;
  background: rgba(247, 249, 253, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2eaf4;
  transition: box-shadow 0.25s ease;
}
.feature-nav-rail.is-pinned {
  box-shadow: 0 10px 28px rgba(18, 45, 86, 0.06);
}
.feature-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.feature-nav-inner::-webkit-scrollbar {
  display: none;
}
.feature-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #526682;
  background: #ffffff;
  border: 1px solid #dfeaf6;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(20, 45, 85, 0.03);
}
.feature-nav-pill span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: #8da1bd;
  font-weight: 800;
  transition: color 0.25s ease;
}
.feature-nav-pill:hover {
  color: #1762d8;
  border-color: #bdd4f5;
  transform: translateY(-1px);
}
.feature-nav-pill.is-active {
  background: #1762d8;
  color: #ffffff;
  border-color: #1762d8;
  box-shadow: 0 6px 18px rgba(23, 98, 216, 0.26);
  transform: translateY(-1px);
}
.feature-nav-pill.is-active span {
  color: #a7ccff;
}
.feature-progress-bar {
  height: 2px;
  background: #e5edf7;
  width: 100%;
  overflow: hidden;
}
.feature-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1762d8, #21bda9);
  transition: width 0.12s linear;
}
/* Feature Stages Container */
.feature-stages {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.feature-stage {
  scroll-margin-top: 150px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
  align-items: center;
  gap: 52px;
  padding: 44px 42px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e2ebf5;
  box-shadow: 0 20px 55px rgba(20, 52, 98, 0.06);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(35, 107, 219, 0.045), transparent 55%);
  pointer-events: none;
}
.feature-stage.is-reversed {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
}
.feature-stage.is-reversed .stage-copy {
  order: 2;
}
.feature-stage.is-reversed .stage-media {
  order: 1;
}
.feature-stage.is-reversed::before {
  background: radial-gradient(circle at 15% 15%, rgba(33, 189, 169, 0.05), transparent 55%);
}
.feature-stage:hover {
  border-color: #c9dcf5;
  box-shadow: 0 26px 68px rgba(20, 58, 115, 0.10);
}
/* Scroll Reveal Animation States */
.feature-stage .stage-copy,
.feature-stage .stage-media,
.feature-stage .feature-points li,
.feature-stage .shot-float-badge {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim .feature-stage:not(.is-visible) .stage-copy {
  opacity: 0;
  transform: translateY(34px);
}
.js-anim .feature-stage:not(.is-visible) .stage-media {
  opacity: 0;
  transform: translateY(42px) scale(0.95);
}
.js-anim .feature-stage:not(.is-visible) .feature-points li {
  opacity: 0;
  transform: translateX(-16px);
}
.js-anim .feature-stage.is-reversed:not(.is-visible) .feature-points li {
  transform: translateX(16px);
}
.js-anim .feature-stage:not(.is-visible) .shot-float-badge {
  opacity: 0;
  transform: translateY(14px) scale(0.9);
}
.feature-stage.is-visible .stage-copy,
.feature-stage.is-visible .stage-media {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.feature-stage.is-visible .feature-points li:nth-child(1) {
  transition-delay: 0.12s;
  opacity: 1;
  transform: translateX(0);
}
.feature-stage.is-visible .feature-points li:nth-child(2) {
  transition-delay: 0.22s;
  opacity: 1;
  transform: translateX(0);
}
.feature-stage.is-visible .feature-points li:nth-child(3) {
  transition-delay: 0.32s;
  opacity: 1;
  transform: translateX(0);
}
.feature-stage.is-visible .shot-float-badge {
  transition-delay: 0.36s;
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Copy Column */
.stage-copy {
  position: relative;
  z-index: 1;
}
.stage-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.stage-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1762d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.stage-step-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #21bda9;
}
.stage-route-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #647894;
  background: #f3f7fc;
  border: 1px solid #e1ebf6;
  padding: 4px 10px;
  border-radius: 8px;
}
.stage-copy h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: #122643;
  margin: 0 0 14px;
}
.stage-copy > p {
  font-size: 15px;
  line-height: 1.82;
  color: #5a6d87;
  margin: 0 0 24px;
}
.feature-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.feature-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-radius: 13px;
  background: #f8fbff;
  border: 1px solid #e6eff9;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.6s ease;
}
.feature-points li:hover {
  background: #f0f6ff;
  border-color: #c8def8;
  transform: translateX(4px);
}
.feature-points .pt-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #dff7f2;
  color: #0b9c87;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
}
.feature-points div {
  font-size: 14.5px;
  line-height: 1.5;
  color: #1c3354;
  font-weight: 650;
}
.feature-points strong {
  color: #162b4a;
  font-weight: 750;
  display: block;
  margin-bottom: 2px;
}
.stage-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stage-meta-pills span {
  font-size: 12px;
  font-weight: 700;
  color: #3f597a;
  background: #f1f6fd;
  border: 1px solid #dfeaf6;
  padding: 5px 11px;
  border-radius: 999px;
}
/* Screenshot Browser Frame */
.stage-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.shot-frame {
  margin: 0;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #d5e2f2;
  box-shadow: 0 22px 54px rgba(17, 45, 88, 0.13), 0 3px 10px rgba(17, 45, 88, 0.05);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.shot-frame:hover {
  transform: translateY(-5px) scale(1.008);
  border-color: #9ec0ef;
  box-shadow: 0 30px 68px rgba(20, 62, 124, 0.18);
}
.shot-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #f8fafd, #eef3fa);
  border-bottom: 1px solid #dde7f3;
}
.shot-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shot-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.shot-dots i:nth-child(1) { background: #ff605c; }
.shot-dots i:nth-child(2) { background: #ffbd44; }
.shot-dots i:nth-child(3) { background: #00ca4e; }
.shot-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: #5b708d;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 7px;
  padding: 3px 14px;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-zoom-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: #246bd7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.shot-img-wrap {
  position: relative;
  background: #f4f7fc;
  line-height: 0;
}
.shot-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.shot-float-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 33, 62, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(10, 25, 48, 0.28);
  pointer-events: none;
}
.shot-float-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28e0c4;
  box-shadow: 0 0 8px #28e0c4;
}
/* Lightbox Modal for Fullscreen Screenshot Inspection */
.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 24, 45, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.shot-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.shot-lightbox-inner {
  max-width: min(1360px, 95vw);
  max-height: 88vh;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.shot-lightbox.is-open .shot-lightbox-inner {
  transform: scale(1);
}
.shot-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f4f8fd;
  border-bottom: 1px solid #e1ebf6;
  color: #162b4a;
  font-size: 14px;
  font-weight: 750;
}
.shot-lightbox-close {
  border: 1px solid #d0deef;
  background: #ffffff;
  color: #2c4669;
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.shot-lightbox-close:hover {
  background: #eaf2ff;
  color: #1762d8;
}
.shot-lightbox-inner img {
  max-width: 100%;
  max-height: calc(88vh - 54px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 1024px) {
  .feature-stage,
  .feature-stage.is-reversed {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 28px;
  }
  .feature-stage.is-reversed .stage-copy {
    order: 1;
  }
  .feature-stage.is-reversed .stage-media {
    order: 2;
  }
}
@media (max-width: 700px) {
  .features-intro {
    padding: 46px 0 24px;
  }
  .feature-nav-rail {
    top: 68px;
  }
  .feature-nav-inner {
    justify-content: flex-start;
    padding: 10px 16px;
  }
  .feature-stages {
    width: min(100% - 32px, 1240px);
    gap: 28px;
  }
  .feature-stage,
  .feature-stage.is-reversed {
    padding: 24px 18px;
    border-radius: 22px;
    gap: 24px;
  }
  .shot-url {
    display: none;
  }
  .shot-float-badge {
    position: static;
    margin: 10px;
    justify-content: center;
  }
}
body.features-page main {
  overflow: visible;
}
@media(max-width:700px){.code-block{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}}
