.home-page { background: radial-gradient(circle at 95% 5%, #ecedff 0, transparent 34%), radial-gradient(circle at 3% 38%, #eaf8ff 0, transparent 29%), #f9fbff; }
.home-page .site-header { background: rgba(255,255,255,.75); backdrop-filter: blur(12px); border-color: #e7eaf6; }
.home-page .header-inner { min-height: 76px; }
.home-page .brand { font-weight: 700; letter-spacing: -.8px; }
.home-page .brand .icon { width: 27px; height: 27px; padding: 5px; box-sizing: content-box; border-radius: 10px; color: #fff; background: #584df1; }
.home-page .main-nav { font-weight: 600; }
.home-page .container { width: min(1440px, calc(100% - 64px)); }
.home-page .hero { grid-template-columns: minmax(350px, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 70px); padding: clamp(44px, 5vw, 82px) 0 76px; }
.home-page .hero-copy { min-width: 0; }
.home-page .hero-copy .eyebrow { font-weight: 700; letter-spacing: 1.2px; }
.home-page .hero h1 { max-width: 610px; margin-bottom: 22px; font-size: clamp(46px, 4.5vw, 71px); font-weight: 700; letter-spacing: -2.8px; line-height: 1.11; }
.home-page .hero h1 span { background: linear-gradient(105deg, #4239ce 10%, #6961fc 65%, #239ed3); color: transparent; -webkit-background-clip: text; background-clip: text; }
.home-page .hero-description { max-width: 530px; font-size: 17px; line-height: 1.75; }
.home-page .hero-actions .button { min-height: 54px; padding-inline: 19px; font-size: 14px; font-weight: 700; }
.home-page .hero-actions .button-primary, .home-page .header-cta { background: linear-gradient(105deg, #5d4ff1, #434be1); color: #fff; box-shadow: 0 9px 20px rgba(75,68,221,.17); }
.home-page .hero-actions .button-primary:hover, .home-page .header-cta:hover { background: #4338cc; }
.home-page .trust-list { margin-top: 28px; gap: 10px; }
.home-page .trust-list li { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid #e6eaf7; font-weight: 600; }
.home-page .review-preview { border-color: #dce1f4; border-radius: 22px; box-shadow: 0 30px 70px rgba(49,57,112,.16); }
.demo-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 21px 14px; background: #fff; }
.demo-preview-eyebrow { color: #6359e9; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.demo-preview-head h2 { margin: 3px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.demo-preview-live { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #537061; font-size: 11px; font-weight: 700; }
.demo-preview-live i { width: 7px; height: 7px; border-radius: 50%; background: #27ae75; }
.home-page .demo-workspace { padding: 0 14px 13px; background: #fff; }
.home-page .demo-guide { padding: 6px 0 14px; }
.home-page .demo-guide-tabs { gap: 0; border: 1px solid #e4e8f4; border-radius: 10px; overflow: hidden; background: #f5f6fc; }
.home-page .demo-guide-tabs button { flex: 1; min-height: 38px; padding: 7px 5px; border: 0; border-radius: 0; background: transparent; color: #60708b; font-size: 12px; font-weight: 700; white-space: nowrap; }
.home-page .demo-guide-tabs button + button { border-left: 1px solid #e4e8f4; }
.home-page .demo-guide-tabs button span { margin-right: 4px; color: #9aa4c3; font-size: 11px; }
.home-page .demo-guide-tabs button[aria-current="step"] { background: #ecebff; color: #5046d9; box-shadow: inset 0 -3px #6158ec; }
.home-page .demo-guide-tabs button[aria-current="step"] span { color: #5d50e5; }
.home-page .demo-guide p { margin-top: 9px; font-size: 12px; min-height: 18px; }
.home-page .demo-toolbar { padding: 9px; font-size: 11px; border-radius: 10px 10px 0 0; }
.home-page .demo-toolbar button, .home-page .demo-tool-active { padding: 6px 8px; }
.home-page .demo-stage { border-radius: 0 0 10px 10px; }
.home-page #demo-canvas { aspect-ratio: 2.18 / 1; background: #171e29; }
.home-page .demo-annotator-box, .home-page .demo-yolo-box { stroke-width: 2.4px; }
.home-page #demo-canvas[data-selected="annotator"] .demo-annotator-box, .home-page #demo-canvas[data-selected="yolo"] .demo-yolo-box { stroke-width: 4px; filter: drop-shadow(0 0 4px #fff); }
.demo-image-label { position: absolute; right: 10px; top: 9px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: rgba(17,24,39,.7); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; pointer-events: none; }
.home-page .demo-legend { bottom: 9px; left: 9px; gap: 13px; padding: 5px 8px; font-size: 10px; }
.home-page .demo-hint { margin: 9px 0; font-size: 11px; }
.home-page .demo-decision { padding: 11px 12px; border-radius: 10px; background: #f9faff; }
#demo-guide[data-active-step="2"] .demo-decision { border-color: #867eff; box-shadow: 0 0 0 3px rgba(98,88,239,.13); }
.home-page .demo-status { font-size: 11px; font-weight: 700; }
.home-page .demo-decision button { min-height: 34px; padding: 7px 10px; font-size: 11px; }
.home-page .demo-details { border-radius: 10px; padding: 14px; }
#demo-guide[data-active-step="1"] .demo-details { border-color: #867eff; box-shadow: 0 0 0 3px rgba(98,88,239,.11); }
.home-page .demo-badges { font-size: 11px; font-weight: 700; }
.home-page .demo-details p { font-size: 12px; }
.home-page .demo-details dl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-size: 11px; }
.home-page .demo-details dd { overflow-wrap: anywhere; }
.home-page .demo-details progress { height: 8px; }
.home-page .demo-guide-controls { gap: 9px; margin-top: 12px; }
.demo-playback { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #61708b; font-size: 11px; }
.demo-playback button { flex: none; padding: 4px 7px; border: 1px solid #dce2f0; border-radius: 6px; background: #fff; color: #374b72; cursor: pointer; font: inherit; }
.demo-playback button:hover { border-color: #655cf0; color: #5046d9; }
.demo-timeline { flex: 1; min-width: 35px; height: 5px; overflow: hidden; border-radius: 9px; background: #e7eaf3; }
.demo-timeline span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg,#43c86b,#655cf0); }
#demo-scene-label { min-width: 126px; font-weight: 700; color: #354260; }
.demo-scan-line { position: absolute; z-index: 2; left: 0; right: 0; top: 12%; height: 2px; background: linear-gradient(90deg,transparent,#4dfab7,transparent); box-shadow: 0 0 16px #4dfab7; pointer-events: none; opacity: 0; }
.demo-stage-status,.demo-detection-badge { position: absolute; z-index: 3; top: 11px; left: 10px; padding: 6px 8px; border-radius: 6px; color: #fff; background: rgba(14,23,42,.82); font-size: 10px; font-weight: 700; pointer-events: none; }
.demo-detection-badge { top: 43px; color: #ffdbac; border: 1px solid rgba(255,184,73,.5); opacity: 0; transform: translateY(6px); transition: opacity .3s,transform .3s; }
.demo-simulated-cursor { position: absolute; z-index: 4; right: 21%; bottom: 19%; color: white; font-size: 28px; text-shadow: 0 2px 4px #111; opacity: 0; pointer-events: none; }
#demo-guide[data-scene="0"] .demo-scan-line { opacity: .8; }
#demo-guide[data-scene="0"] .demo-annotator-box { opacity: .55; }
#demo-guide[data-scene="0"] .demo-yolo-box { opacity: .3; }
#demo-guide[data-scene="1"] .demo-detection-badge,#demo-guide[data-scene="2"] .demo-detection-badge { opacity: 1; transform: none; }
#demo-guide[data-scene="1"] .demo-details { opacity: .65; }
#demo-guide[data-scene="2"] .demo-details { border-color: #867eff; box-shadow: 0 0 0 3px rgba(98,88,239,.11); }
#demo-guide[data-scene="3"] .demo-simulated-cursor { opacity: 1; transform: translate(-20px,-12px); transition: opacity .3s,transform 1s ease-out; }
#demo-guide[data-scene="3"] .demo-use-yolo { box-shadow: 0 0 0 3px rgba(40,177,83,.22); }
#demo-guide[data-playing="false"] .demo-scan-line,#demo-guide[data-playing="false"] .demo-simulated-cursor { transition: none; }
.home-page .demo-guide-controls button { min-height: 33px; padding: 6px 10px; font-size: 11px; font-weight: 700; }
.home-page .preview-footer { padding: 11px 16px; font-size: 12px; }
.home-page .section { padding-block: 54px; }
.home-page .feature-card { min-height: 150px; padding: 23px; border-radius: 16px; box-shadow: 0 8px 30px rgba(44,53,102,.04); }
.home-page .feature-card > .icon { width: 30px; height: 30px; margin-bottom: 14px; padding: 6px; box-sizing: content-box; border-radius: 12px; background: #eeefff; color: #5b53e9; }
.home-page .feature-card[aria-pressed="true"] { background: #f5f4ff; }
@media (max-width: 1100px) {
  .home-page .hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .home-page .hero h1 { font-size: 44px; }
  .home-page .demo-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-page .container { width: calc(100% - 36px); }
  .home-page .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 42px 50px; }
  .home-page .hero-copy { max-width: 620px; }
  .home-page .hero h1 { font-size: clamp(40px, 8vw, 56px); }
  .home-page .review-preview { max-width: 660px; }
}
@media (max-width: 430px) {
  .home-page .hero { gap: 22px; padding-block: 30px 40px; }
  .home-page .hero h1 { font-size: 38px; margin-bottom: 15px; }
  .home-page .hero-description { font-size: 15px; }
  .home-page .hero-actions { align-items: center; }
  .home-page .hero-actions .button { min-height: 48px; }
  .home-page .hero-actions .button-secondary { min-height: 40px; padding-inline: 4px; border-color: transparent; background: transparent; }
  .home-page .trust-list { display: none; }
  .demo-preview-head { align-items: flex-start; padding: 15px; }
  .demo-preview-head h2 { font-size: 15px; }
  .demo-preview-live { font-size: 0; }
  .demo-preview-live i { width: 9px; height: 9px; }
  .home-page .demo-workspace { padding-inline: 9px; }
  .home-page .demo-guide-tabs button { font-size: 10px; }
  .home-page .demo-guide-tabs button span { display: block; margin: 0; font-size: 9px; }
  .home-page #demo-canvas { aspect-ratio: 1.72 / 1; }
  .home-page .demo-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .demo-decision-buttons { width: 100%; }
  .home-page .demo-decision-buttons button { flex: 1; justify-content: center; }
  .home-page .demo-guide-controls { flex-wrap: wrap; }
  .demo-playback { flex-wrap: wrap; }
  .demo-timeline { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-detection-badge,.demo-simulated-cursor { transition: none !important; }
}
