:root {
  --ink: #07182e;
  --navy: #061a35;
  --navy-2: #0a2d59;
  --blue: #2378ff;
  --cyan: #15c7ec;
  --sky: #eaf4ff;
  --paper: #f5f9fd;
  --line: rgba(55, 114, 170, .18);
  --muted: #71839a;
  --white: #fff;
  --success: #16b58c;
  --warn: #d69b31;
  --shadow: 0 20px 55px rgba(13, 59, 105, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.site-header {
  position: sticky; top: 0; z-index: 30;
  min-height: 76px; padding: 12px clamp(20px, 4vw, 72px);
  display: flex; align-items: center; gap: 34px;
  color: #d9eaff; background: rgba(5, 24, 49, .94);
  border-bottom: 1px solid rgba(98, 187, 255, .16); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 292px; color: white; text-decoration: none; }
.brand-mark, .avatar { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--blue), var(--cyan)); box-shadow: 0 0 0 6px rgba(34, 151, 255, .12); }
.brand-mark { width: 41px; height: 41px; font-weight: 800; }
.brand strong { display: block; font-size: 20px; letter-spacing: .08em; }
.brand small { display: block; margin-top: 2px; color: #8eaac7; font-size: 11px; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-link { border: 0; padding: 11px 15px; color: #91abc6; background: transparent; border-radius: 11px; transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(30, 116, 202, .2); }
.header-tools { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.demo-badge { padding: 9px 14px; color: #a9bfd7; border: 1px solid rgba(152, 188, 224, .22); background: rgba(255,255,255,.05); border-radius: 999px; }
.role-picker select { width: 132px; padding: 10px 32px 10px 12px; color: white; appearance: none; border: 1px solid rgba(113, 179, 239, .22); border-radius: 10px; background: #0b2c55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2399b5d1' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
.avatar { width: 42px; height: 42px; color: white; font-weight: 800; }

.hero {
  position: relative; overflow: hidden; min-height: 730px; padding: 100px clamp(20px, 7vw, 130px) 86px; color: white;
  background: radial-gradient(circle at 82% 22%, rgba(18, 169, 239, .19), transparent 30%), radial-gradient(circle at 18% 4%, rgba(35, 120, 255, .23), transparent 28%), linear-gradient(135deg, #06172f 0%, #082a54 58%, #071d3b 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(rgba(70, 161, 239, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 161, 239, .12) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.orb { position: absolute; border-radius: 50%; border: 1px solid rgba(40, 199, 255, .22); }
.orb.one { width: 420px; height: 420px; right: -120px; top: 90px; box-shadow: inset 0 0 80px rgba(0, 174, 255, .08); }
.orb.two { width: 190px; height: 190px; right: 14%; top: 140px; }
.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: auto; }
.eyebrow { color: #32d1ef; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 18px 0 12px; font-size: clamp(46px, 7vw, 86px); line-height: 1.02; letter-spacing: -.045em; }
.hero-copy { max-width: 760px; margin: 0 0 34px; color: #b9cce0; font-size: clamp(17px, 2vw, 22px); line-height: 1.8; }
.prompt-panel { max-width: 1100px; padding: 13px; border: 1px solid rgba(65, 175, 255, .34); border-radius: 24px; background: rgba(7, 39, 75, .79); box-shadow: 0 22px 70px rgba(0, 8, 27, .32); backdrop-filter: blur(18px); }
.prompt-panel textarea { width: 100%; min-height: 104px; padding: 18px; resize: vertical; color: #eaf6ff; border: 0; outline: 0; background: transparent; font-size: 17px; line-height: 1.7; }
.prompt-panel textarea::placeholder { color: #7595b4; }
.prompt-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 4px; }
.inline-actions { display: flex; gap: 8px; }
.ghost-btn, .primary-btn, .soft-btn { border: 0; border-radius: 11px; transition: .2s ease; }
.ghost-btn { padding: 11px 15px; color: #9eb9d3; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ghost-btn:hover { color: white; background: rgba(255,255,255,.1); }
.primary-btn { padding: 13px 20px; color: white; font-weight: 700; background: linear-gradient(105deg, #2977ff, #12bfe9); box-shadow: 0 10px 28px rgba(30, 125, 255, .28); }
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30,125,255,.38); }
.primary-btn:disabled { opacity: .5; transform: none; }
.entrances { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; max-width: 1100px; }
.entrance { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: #a7c0d9; border: 1px solid rgba(83, 159, 225, .18); background: rgba(7, 43, 81, .7); border-radius: 13px; }
.entrance span:first-child { color: #2dd0ed; margin-right: 7px; }
.entrance:hover { color: white; border-color: rgba(36, 202, 235, .5); transform: translateY(-2px); }
.trust-line { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin-top: 26px; color: #6f93b6; font-size: 13px; }

.section { padding: 92px clamp(20px, 7vw, 130px); }
.section-inner { max-width: 1240px; margin: auto; }
.section-heading { display: grid; grid-template-columns: .8fr 1.6fr; gap: 70px; align-items: end; margin-bottom: 46px; }
.section-kicker { display: inline-block; padding: 7px 13px; color: #087da0; font-size: 12px; font-weight: 700; border-radius: 999px; background: #ddf7ff; }
.section h2 { margin: 14px 0 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.18; letter-spacing: -.035em; }
.section-lead { color: var(--muted); font-size: 17px; line-height: 1.8; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-card, .role-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 14px 35px rgba(16, 65, 110, .07); }
.process-card { min-height: 175px; }
.process-card::after { content: ""; position: absolute; left: 24px; bottom: 0; width: 38px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.process-card .num { position: absolute; right: 17px; top: 17px; color: #a0b4c7; font-size: 12px; }
.icon-box { width: 42px; height: 42px; display: grid; place-items: center; color: #049fc5; border-radius: 12px; background: #e7f9fd; font-size: 20px; }
.process-card h3 { margin: 21px 0 9px; font-size: 18px; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.roles-section { background: #edf5fc; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { overflow: hidden; min-height: 285px; }
.role-card::before { content: ""; position: absolute; width: 170px; height: 170px; right: -75px; top: -70px; border-radius: 50%; background: rgba(28, 179, 234, .07); }
.role-card h3 { margin: 24px 0 12px; font-size: 24px; }
.role-card p { color: var(--muted); line-height: 1.75; }
.role-card strong { display: block; margin-top: 26px; color: #0d79a4; font-size: 13px; }

.workspace-hero { padding: 62px clamp(20px, 7vw, 130px) 44px; color: white; background: radial-gradient(circle at 90% 0%, rgba(25,185,234,.18), transparent 30%), linear-gradient(140deg, #061a35, #0b3260); }
.workspace-hero .inner, .workspace { max-width: 1240px; margin: auto; }
.workspace-hero h1 { margin: 12px 0; font-size: clamp(36px, 5vw, 59px); }
.workspace-hero p { max-width: 720px; margin: 0; color: #a7bdd4; font-size: 17px; line-height: 1.75; }
.workspace { padding: 34px 20px 100px; }
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; overflow-x: auto; }
.step { flex: 1; min-width: 150px; padding: 13px 15px; color: #8aa0b7; border: 1px solid var(--line); background: white; border-radius: 12px; }
.step b { margin-right: 8px; color: #b5c2cf; }
.step.active { color: #0b6f9d; border-color: #41bce0; background: #eafaff; }
.step.done { color: var(--success); }
.panel-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 24px; align-items: start; }
.card { padding: 26px; border: 1px solid var(--line); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-title { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.card-title h2 { margin: 5px 0 0; font-size: 24px; }
.label { color: #7890a6; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.status { padding: 7px 10px; color: #078861; font-size: 12px; background: #e7fbf4; border-radius: 999px; }
.upload { padding: 25px; margin-bottom: 20px; text-align: center; color: #7c90a5; border: 1px dashed #9cc5e6; background: #f7fbff; border-radius: 14px; }
.upload span { display: block; margin-bottom: 12px; font-size: 28px; }
.field { display: block; margin: 16px 0; }
.field > span { display: flex; justify-content: space-between; margin-bottom: 8px; color: #3f5266; font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; color: #22364b; border: 1px solid #d7e3ed; outline: 0; background: #fbfdff; border-radius: 10px; }
.field textarea { min-height: 190px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: #55b9dc; box-shadow: 0 0 0 3px rgba(31,174,220,.09); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide { width: 100%; }
.ai-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; margin-top: 18px; background: #f2f7fb; border-radius: 12px; color: #667b90; }
.diagnosis-summary { padding: 18px; margin-bottom: 17px; color: #1f4d68; background: linear-gradient(120deg, #e8fbff, #f2f8ff); border-radius: 14px; line-height: 1.7; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.data-item { padding: 15px; border: 1px solid #e0e8ef; border-radius: 11px; background: #fbfdff; }
.data-item small { display: block; margin-bottom: 7px; color: #8093a5; }
.data-item strong { font-size: 14px; line-height: 1.55; }
.data-item.full { grid-column: 1 / -1; }
.warning { padding: 15px 17px; margin: 18px 0; color: #78591c; font-size: 13px; line-height: 1.65; border-left: 3px solid #d9a434; background: #fff9ec; }
.card-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-top: 17px; border-top: 1px solid #edf1f5; }
.card-actions small { margin-right: auto; color: #8093a4; }

.loading { display: grid; place-items: center; min-height: 460px; text-align: center; }
.pulse { position: relative; width: 88px; height: 88px; display: grid; place-items: center; margin: 0 auto 25px; color: white; font-size: 32px; border-radius: 50%; background: linear-gradient(145deg, var(--blue), var(--cyan)); }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: -10px; border: 1px solid #4dc8ec; border-radius: inherit; animation: ripple 1.8s infinite; }
.pulse::after { animation-delay: .7s; }
@keyframes ripple { to { transform: scale(1.5); opacity: 0; } }

.solution-layout { display: grid; grid-template-columns: 1.35fr .75fr; gap: 24px; }
.solution-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 21px; border-bottom: 1px solid #e7edf3; }
.solution-head h2 { margin: 4px 0 8px; font-size: 29px; }
.fit-score { display: grid; place-items: center; flex: 0 0 86px; height: 86px; color: #087fa1; border: 8px solid #d9f6fc; border-top-color: #19bcdf; border-radius: 50%; }
.fit-score strong { font-size: 23px; }
.fit-score small { font-size: 10px; }
.result-list { display: grid; gap: 13px; margin: 20px 0; }
.result { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid #dfe8f0; border-radius: 13px; }
.result.featured { border-color: #4bbfe0; box-shadow: 0 8px 24px rgba(28,166,210,.1); }
.rank { display: grid; place-items: center; width: 42px; height: 42px; color: #087fa1; font-weight: 800; background: #e6f9fd; border-radius: 10px; }
.result h3 { margin: 0 0 5px; font-size: 16px; }
.result p { margin: 0; color: #7c8fa1; font-size: 12px; line-height: 1.5; }
.score { color: #078861; font-weight: 800; }
.bundle-list { display: grid; gap: 12px; }
.bundle { padding: 17px; border: 1px solid #e0e9f1; border-radius: 13px; }
.bundle small { color: #7890a5; }
.bundle h3 { margin: 8px 0 5px; font-size: 16px; }
.bundle p { margin: 0; color: #7c8fa1; font-size: 13px; }
.budget { margin-top: 20px; padding: 17px; background: #f4f8fc; border-radius: 13px; }
.budget input { width: 100%; }
.budget-values { display: flex; justify-content: space-between; margin-top: 8px; color: #7890a5; font-size: 12px; }

.project-summary { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 13px; margin-bottom: 22px; }
.metric { padding: 20px; border: 1px solid var(--line); background: white; border-radius: 15px; }
.metric small { color: #8396a8; }
.metric strong { display: block; margin-top: 8px; font-size: 20px; }
.metric.project-name strong { font-size: 18px; }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.timeline { position: relative; margin: 24px 0 10px; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 10px; bottom: 10px; width: 1px; background: #dbe5ee; }
.timeline-item { position: relative; padding: 0 0 26px 50px; }
.timeline-item::before { content: ""; position: absolute; left: 10px; top: 5px; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: #aabac8; box-shadow: 0 0 0 2px #dbe5ee; }
.timeline-item.done::before { background: var(--success); box-shadow: 0 0 0 2px #a8ead7; }
.timeline-item.current::before { background: var(--blue); box-shadow: 0 0 0 3px #c3ddff; }
.timeline-item h3 { margin: 0 0 6px; font-size: 16px; }
.timeline-item p { margin: 0; color: #8193a5; font-size: 13px; }
.task-list { display: grid; gap: 10px; margin: 17px 0; }
.task { display: flex; align-items: start; gap: 11px; padding: 13px; background: #f7fafc; border-radius: 11px; }
.task input { margin-top: 3px; accent-color: var(--success); }
.task.done span { color: #93a1ae; text-decoration: line-through; }
.meeting-box { padding: 16px; color: #51677b; background: #edf8ff; border-radius: 12px; font-size: 13px; line-height: 1.7; }

.floating-agent { position: fixed; right: 24px; bottom: 23px; z-index: 25; display: flex; align-items: center; gap: 10px; padding: 11px 15px; color: white; border: 1px solid rgba(91, 203, 255, .25); border-radius: 16px; background: rgba(9, 44, 83, .93); box-shadow: 0 12px 32px rgba(0,20,50,.28); }
.floating-agent small { display: block; color: #83a8c8; font-size: 10px; }
.agent-spark { display: grid; place-items: center; width: 31px; height: 31px; color: #5ee3f7; border-radius: 9px; background: #164f82; }
.site-footer { padding: 34px 20px 44px; text-align: center; color: #8ca0b2; background: #06182f; font-size: 12px; line-height: 1.8; }
.site-footer p { margin: 2px; }
.site-footer a { color: #9eb0c2; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 50; padding: 12px 18px; color: white; background: #102e4c; border-radius: 999px; box-shadow: var(--shadow); transform: translate(-50%, 80px); opacity: 0; transition: .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .brand { min-width: 0; margin-right: auto; }
  .main-nav { order: 3; width: 100%; justify-content: center; }
  .demo-badge { display: none; }
  .entrances { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .panel-grid, .solution-layout, .project-grid { grid-template-columns: 1fr; }
  .project-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .site-header { position: relative; padding: 11px 14px; }
  .brand small, .avatar { display: none; }
  .brand strong { font-size: 17px; }
  .role-picker select { width: 118px; }
  .main-nav { justify-content: start; overflow-x: auto; }
  .nav-link { flex: 0 0 auto; padding: 9px 11px; font-size: 13px; }
  .hero { min-height: auto; padding: 70px 18px; }
  .hero h1 { font-size: 48px; }
  .prompt-actions, .trust-line { align-items: stretch; flex-direction: column; }
  .inline-actions { justify-content: space-between; }
  .entrances { grid-template-columns: 1fr 1fr; }
  .process, .role-grid { grid-template-columns: 1fr; }
  .section { padding: 66px 18px; }
  .workspace-hero { padding: 50px 18px 38px; }
  .workspace { padding: 23px 12px 85px; }
  .card { padding: 19px; border-radius: 17px; }
  .two-col, .data-grid, .project-summary { grid-template-columns: 1fr; }
  .data-item.full { grid-column: auto; }
  .solution-head { align-items: start; }
  .result { grid-template-columns: 42px 1fr; }
  .score { grid-column: 2; }
  .floating-agent { right: 12px; bottom: 12px; }
}
