:root {
  color-scheme: dark;
  --bg: #07101c;
  --bg-deep: #040a12;
  --surface: #0d1d2e;
  --surface-soft: #11263a;
  --text: #f4f8fc;
  --muted: #9eb0c1;
  --line: rgba(148, 184, 213, .16);
  --line-bright: rgba(116, 198, 238, .38);
  --blue: #54c8ff;
  --violet: #8b83ff;
  --green: #6fe1ae;
  --shell: min(1180px, calc(100% - 48px));
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(69, 76, 196, .17), transparent 29rem),
    radial-gradient(circle at 4% 54%, rgba(25, 155, 192, .09), transparent 32rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: -60px; z-index: 100; padding: 9px 13px; border-radius: 8px; background: white; color: #08111f; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(6, 15, 26, .76); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(6, 15, 26, .94); }
.nav-shell { position: relative; width: var(--shell); height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; letter-spacing: .04em; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 17px rgba(84, 200, 255, .24)); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.02rem; letter-spacing: .16em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .56rem; letter-spacing: .22em; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { position: relative; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.055); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.menu-toggle { position: absolute; top: 14px; right: 0; z-index: 2; display: none; min-width: 66px; height: 40px; padding: 0 11px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); color: var(--text); }
.menu-toggle span { color: var(--blue); font-size: 1rem; }
.menu-toggle strong { font-size: .74rem; letter-spacing: .05em; }

.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .24; background-image: linear-gradient(rgba(130,170,208,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(130,170,208,.07) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.hero-grid { min-height: 620px; padding: 68px 0 86px; display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 650px; margin: 0; font-size: clamp(2.5rem, 3.25vw, 3.4rem); line-height: 1.1; letter-spacing: -.04em; }
.hero-copy h1 > span, .hero-copy h1 em { white-space: nowrap; }
.hero-copy h1 em { display: inline-block; color: transparent; background: linear-gradient(100deg, #f4fbff 2%, #65d4ff 42%, #8d87ff 92%); -webkit-background-clip: text; background-clip: text; font-style: normal; }
.hero-copy > p { max-width: 560px; margin: 24px 0 0; color: #aebdca; font-size: clamp(.96rem, 1.08vw, 1.06rem); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { min-height: 50px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 0; border-radius: 13px; font-size: .92rem; font-weight: 750; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, #25b3e9, #6876f2); color: #fff; box-shadow: 0 16px 34px rgba(47, 137, 225, .25); }
.button-primary:hover { box-shadow: 0 20px 44px rgba(47, 137, 225, .36); }
.button-quiet { min-height: auto; padding-inline: 9px; color: #c9d8e4; }
.button-quiet::after { content: "↗"; color: var(--blue); }
.button-light { background: #07111e; color: #fff; box-shadow: 0 16px 36px rgba(26, 35, 74, .24); }

.automation-stage { position: relative; min-height: 440px; perspective: 1300px; }
.stage-shadow { position: absolute; left: 12%; top: 10%; width: 78%; height: 78%; border: 1px solid rgba(111, 174, 216, .13); border-radius: 30px; background: rgba(16, 38, 59, .25); transform: rotate(6deg) translate(25px, 7px); }
.stage-shadow-two { transform: rotate(-4deg) translate(-14px, 27px); background: rgba(75, 67, 159, .12); }
.stage-window { position: absolute; inset: 8% 2% 4% 4%; overflow: hidden; border: 1px solid rgba(132, 188, 223, .26); border-radius: 25px; background: linear-gradient(145deg, rgba(17, 40, 62, .96), rgba(8, 19, 33, .98)); box-shadow: 0 42px 90px rgba(0, 0, 0, .43); transform: rotateY(-8deg) rotateX(2deg); transform-origin: center; }
.stage-bar { height: 52px; padding: 0 17px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.stage-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #3b5368; }
.stage-bar > span:first-child { background: #de747d; }
.stage-bar > span:nth-child(2) { background: #d6b55d; }
.stage-bar > span:nth-child(3) { background: #62c394; }
.stage-bar b { margin-left: 10px; font-size: .72rem; letter-spacing: .08em; }
.stage-bar i { margin-left: auto; padding: 4px 9px; border-radius: 20px; background: rgba(111,225,174,.1); color: var(--green); font-size: .61rem; font-style: normal; }
.stage-canvas { position: relative; height: calc(100% - 98px); min-height: 292px; background-image: radial-gradient(rgba(126, 175, 208, .16) 1px, transparent 1px); background-size: 19px 19px; }
.flow-card { position: absolute; width: 148px; min-height: 94px; padding: 14px; display: grid; align-content: center; border: 1px solid var(--line); border-radius: 15px; background: rgba(10, 27, 44, .94); box-shadow: 0 18px 34px rgba(0,0,0,.26); }
.flow-card small { color: var(--blue); font-size: .58rem; font-weight: 800; }
.flow-card strong { margin-top: 4px; font-size: .82rem; }
.flow-card span { color: var(--muted); font-size: .66rem; }
.flow-source { left: 7%; top: 34%; }
.flow-copy { left: 39%; top: 12%; }
.flow-video { right: 7%; bottom: 18%; }
.flow-line { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(84,200,255,.08), var(--blue), rgba(139,131,255,.2)); transform-origin: left center; }
.line-one { left: 31%; top: 45%; width: 22%; transform: rotate(-24deg); }
.line-two { left: 62%; top: 36%; width: 24%; transform: rotate(31deg); }
.flow-pulse { position: absolute; left: 61%; top: 34%; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px rgba(84,200,255,.09), 0 0 24px var(--blue); animation: pulse 2.2s ease-in-out infinite; }
.stage-status { height: 46px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #8fa4b7; font-size: .65rem; }
.stage-status span { display: flex; align-items: center; gap: 7px; }
.stage-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.stage-status b { color: #bfd0dd; font-size: .65rem; }
@keyframes pulse { 50% { transform: scale(.72); opacity: .55; } }

.composite-section { padding: 28px 0 96px; }
.composite-showcase { position: relative; min-height: 520px; overflow: hidden; padding: 56px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 58px; border-radius: 34px 16px 34px 16px; color: #091420; background: linear-gradient(132deg, #d9f3ff 0%, #b8d8ff 43%, #a49cfb 100%); box-shadow: 0 32px 72px rgba(1, 8, 19, .28); }
.composite-showcase::before { content: ""; position: absolute; width: 430px; height: 430px; left: -210px; bottom: -250px; border-radius: 50%; border: 86px solid rgba(255,255,255,.16); }
.composite-copy { position: relative; z-index: 2; }
.product-badge { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(9, 20, 32, .16); border-radius: 999px; color: #203345; font-size: .7rem; font-weight: 800; letter-spacing: .06em; }
.composite-copy h2 { margin: 20px 0 0; font-size: clamp(2.7rem, 3.9vw, 4.1rem); line-height: .98; letter-spacing: -.055em; }
.product-promise { max-width: 470px; margin: 23px 0 0; font-size: clamp(1.15rem, 1.5vw, 1.45rem); font-weight: 760; line-height: 1.32; letter-spacing: -.018em; }
.product-description { max-width: 520px; margin: 17px 0 0; color: #30475a; font-size: .93rem; }
.composite-copy .button { margin-top: 27px; }
.composite-board { position: relative; z-index: 2; min-height: 340px; overflow: hidden; display: grid; grid-template-columns: 54px 1fr; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: #091522; box-shadow: 0 28px 62px rgba(27, 31, 75, .31); transform: rotate(1.6deg); }
.board-rail { padding: 25px 14px; display: grid; align-content: start; justify-items: center; gap: 18px; border-right: 1px solid rgba(156,190,216,.12); }
.board-rail span { width: 26px; height: 26px; border-radius: 8px; background: rgba(151,181,205,.1); }
.board-rail span.active { background: linear-gradient(135deg, rgba(84,200,255,.54), rgba(139,131,255,.5)); }
.board-main { padding: 31px 27px; color: var(--text); }
.board-heading { margin-bottom: 27px; display: flex; align-items: center; justify-content: space-between; }
.board-heading span { font-size: .78rem; font-weight: 750; }
.board-heading b { padding: 5px 9px; border-radius: 20px; background: rgba(111,225,174,.11); color: var(--green); font-size: .6rem; }
.board-row { min-height: 76px; margin-top: 11px; padding: 13px 14px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.027); }
.board-row > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: white; font-size: .7rem; font-style: normal; font-weight: 800; }
.tone-blue { background: #226d96; }.tone-violet { background: #5d50a0; }.tone-green { background: #277960; }
.board-row > span { display: grid; }
.board-row strong { font-size: .72rem; }
.board-row small { color: #7f94a7; font-size: .6rem; }
.board-row > b { color: #7dddb3; font-size: .61rem; }
.board-row.is-running { border-color: rgba(84,200,255,.31); background: rgba(84,200,255,.05); }
.board-row.is-running > b { color: var(--blue); }

.specialty-section { padding: 30px 0 110px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 70px; }
.specialty-intro { position: sticky; top: 128px; }
.specialty-intro h2 { margin: 0; font-size: clamp(1.9rem, 2.55vw, 2.7rem); line-height: 1.14; letter-spacing: -.035em; }
.specialty-intro p { max-width: 410px; margin: 21px 0 0; color: var(--muted); font-size: .92rem; }
.tool-stack { display: grid; gap: 18px; padding-top: 24px; }
.tool-card { position: relative; min-height: 150px; padding: 24px 28px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(17,41,63,.96), rgba(10,25,41,.84)); box-shadow: 0 16px 36px rgba(0,0,0,.15); }
.tool-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -120px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(84,200,255,.13), transparent 70%); }
.tool-copy { width: 91%; margin-left: 9%; background: linear-gradient(135deg, rgba(34,31,75,.9), rgba(13,28,49,.92)); }
.tool-copy::after { background: radial-gradient(circle, rgba(139,131,255,.18), transparent 70%); }
.tool-novel { width: 95%; margin-left: 2%; }
.tool-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(140deg, rgba(84,200,255,.25), rgba(92,103,218,.24)); color: #eaf8ff; font-size: .9rem; font-weight: 800; }
.tool-card h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.015em; }
.tool-card p { max-width: 410px; margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.tool-card a { position: relative; z-index: 2; padding: 10px 13px; border-radius: 10px; color: #dff6ff; font-size: .78rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.tool-card a span { margin-left: 6px; color: var(--blue); }
.tool-card a:hover { background: rgba(255,255,255,.05); }

.commentary-section { padding: 6px 0 100px; }
.commentary-card { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.commentary-visual { position: relative; min-height: 335px; padding: 29px; border-radius: 26px 58px 26px 26px; background: linear-gradient(145deg, rgba(17,42,64,.75), rgba(18,19,49,.68)); }
.commentary-visual::before { content: ""; position: absolute; inset: 20px -18px -18px 30px; z-index: -1; border: 1px solid rgba(124,168,204,.12); border-radius: 26px 76px 26px 26px; }
.commentary-screen { height: 275px; overflow: hidden; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: 40px 1fr; border: 1px solid var(--line); border-radius: 16px; background: #081420; box-shadow: 0 22px 44px rgba(0,0,0,.25); }
.screen-bar { grid-column: 1 / -1; padding: 0 14px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); }
.screen-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3f5568; }
.screen-bar i:first-child { background: #d56e78; }.screen-bar i:nth-child(2) { background: #c7a956; }.screen-bar i:nth-child(3) { background: #54aa81; }
.screen-sidebar { padding: 17px 13px; display: grid; align-content: start; gap: 17px; border-right: 1px solid var(--line); }
.screen-sidebar span { width: 28px; height: 28px; border-radius: 8px; background: rgba(118,155,184,.12); }
.screen-sidebar span:first-child { background: linear-gradient(135deg, rgba(84,200,255,.32), rgba(139,131,255,.28)); }
.screen-work { padding: 29px; }
.screen-work > b { display: block; width: 42%; height: 14px; border-radius: 5px; background: rgba(215,234,248,.14); }
.screen-work > div { margin-top: 35px; display: flex; align-items: center; justify-content: space-between; }
.screen-work > div span { width: 54px; height: 54px; border: 1px solid rgba(84,200,255,.22); border-radius: 50%; background: rgba(84,200,255,.07); }
.screen-work > i { display: block; height: 95px; margin-top: 31px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.commentary-copy .product-badge { border-color: var(--line); color: var(--muted); }
.commentary-copy h2 { margin: 20px 0 0; font-size: clamp(2rem, 2.7vw, 2.85rem); line-height: 1.06; letter-spacing: -.04em; }
.commentary-copy p { max-width: 470px; margin: 20px 0 0; color: var(--muted); font-size: .92rem; }
.text-link { margin-top: 29px; display: inline-flex; align-items: center; gap: 10px; color: #e7f6ff; font-size: .88rem; font-weight: 750; text-decoration: none; }
.text-link span { color: var(--blue); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.site-footer { padding: 35px 0; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; }
.footer-brand img { width: 38px; height: 38px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a, .site-footer p { color: #8295a8; font-size: .72rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer p { margin: 0; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 66px; }
  .hero-copy { max-width: 680px; }
  .automation-stage { width: min(680px, 100%); min-height: 440px; margin-inline: auto; }
  .composite-showcase { padding: 50px 42px; grid-template-columns: 1fr; gap: 46px; }
  .composite-copy { max-width: 680px; }
  .composite-board { width: min(690px, 100%); }
  .specialty-section { grid-template-columns: 1fr; gap: 35px; }
  .specialty-intro { position: static; max-width: 700px; }
  .tool-stack { width: min(780px, 100%); margin-left: auto; }
  .commentary-card { gap: 50px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-shell { height: 68px; }
  .menu-toggle { display: inline-flex; right: 0; }
  .site-nav { position: absolute; left: 0; right: 0; top: 75px; padding: 9px; display: none; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: rgba(6,16,28,.98); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
  .site-nav.is-open { display: flex; }
  .hero-grid { min-height: auto; padding: 52px 0 68px; }
  .hero-copy h1 { font-size: clamp(2.05rem, 8.9vw, 2.55rem); }
  .hero-copy > p { margin-top: 24px; font-size: .98rem; }
  .automation-stage { min-height: 395px; }
  .stage-window { inset: 6% 0 2%; transform: none; }
  .flow-card { width: 128px; padding: 11px; }
  .flow-source { left: 5%; }
  .flow-copy { left: 36%; }
  .flow-video { right: 5%; }
  .composite-section { padding-bottom: 94px; }
  .composite-showcase { padding: 36px 25px; border-radius: 28px 12px 28px 12px; }
  .composite-board { min-height: 350px; grid-template-columns: 46px 1fr; transform: none; }
  .board-main { padding: 25px 17px; }
  .board-row { grid-template-columns: 36px 1fr auto; padding-inline: 10px; gap: 9px; }
  .specialty-section { padding-bottom: 105px; }
  .tool-card, .tool-copy, .tool-novel { width: 100%; margin-left: 0; }
  .commentary-card { grid-template-columns: 1fr; }
  .commentary-copy { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 560px) {
  .brand img { width: 37px; height: 37px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .button-quiet { min-height: 44px; }
  .automation-stage { min-height: 420px; margin-top: 6px; }
  .stage-shadow { display: none; }
  .stage-window { inset: 0; }
  .stage-canvas { min-height: 322px; }
  .flow-card { width: calc(100% - 44px); min-height: 78px; }
  .flow-source { left: 22px; top: 26px; }
  .flow-copy { left: 22px; top: 121px; }
  .flow-video { left: 22px; right: auto; top: 216px; bottom: auto; }
  .flow-line { left: 48px; width: 1px; height: 34px; background: linear-gradient(var(--blue), rgba(139,131,255,.35)); transform: none; }
  .line-one { top: 89px; }
  .line-two { top: 184px; }
  .flow-pulse { left: 44px; top: 179px; }
  .composite-copy h2 { font-size: clamp(2.6rem, 12vw, 3.1rem); }
  .product-promise { font-size: 1.15rem; }
  .composite-board { min-height: 376px; grid-template-columns: 38px 1fr; }
  .board-rail { padding-inline: 7px; }
  .board-main { padding: 22px 11px; }
  .board-row { min-height: 82px; grid-template-columns: 33px 1fr; }
  .board-row > i { width: 31px; height: 31px; }
  .board-row > b { grid-column: 2; }
  .specialty-intro h2 { font-size: 2rem; }
  .tool-card { min-height: 0; padding: 24px; grid-template-columns: 52px 1fr; gap: 17px; }
  .tool-mark { width: 50px; height: 50px; border-radius: 15px; }
  .tool-card a { grid-column: 2; justify-self: start; padding-left: 0; }
  .commentary-visual { min-height: 278px; padding: 18px; border-radius: 22px 46px 22px 22px; }
  .commentary-screen { height: 240px; grid-template-columns: 43px 1fr; }
  .commentary-copy h2 { font-size: 2.2rem; }
  .screen-sidebar { padding-inline: 8px; }
  .screen-sidebar span { width: 25px; height: 25px; }
  .screen-work { padding: 21px 16px; }
  .screen-work > div span { width: 42px; height: 42px; }
}

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