:root {
  --ink: #08111f;
  --navy: #07111f;
  --navy-2: #0b182a;
  --navy-3: #10233a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --muted: #65758b;
  --muted-light: #9fb0c7;
  --line: #dce5f0;
  --line-dark: rgba(178, 202, 230, .16);
  --blue: #5b7cff;
  --blue-bright: #7a93ff;
  --mint: #5eead4;
  --mint-dark: #1fb9a3;
  --danger: #ff8b8b;
  --shadow: 0 28px 80px rgba(4, 13, 29, .14);
  --radius: 24px;
  --container: min(1280px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:lang(ja) { line-height: 1.7; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 31, .9);
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: var(--container);
  height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(126, 151, 255, .35);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(94, 234, 212, .16), rgba(91, 124, 255, .15));
  box-shadow: inset 0 0 24px rgba(91, 124, 255, .1);
  color: var(--mint);
  font-size: 17px;
  font-weight: 800;
  font-family: Inter, system-ui, sans-serif;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.12; }
.brand-copy strong { font-size: 17px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: #8294ad; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 34px; }
.desktop-nav a { color: #b9c6d8; font-size: 14px; font-weight: 650; transition: color .2s; }
.desktop-nav a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { position: relative; }
.language-trigger {
  min-width: 96px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: #aab9cc;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  transition: color .2s, border-color .2s, background .2s;
}
.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(94, 234, 212, .34);
  background: rgba(94, 234, 212, .06);
}
.language-trigger > svg:first-child {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #6e8199;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 190px;
  max-height: min(490px, calc(100vh - 100px));
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(151, 177, 213, .19);
  border-radius: 14px;
  background: rgba(8, 20, 35, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  backdrop-filter: blur(22px);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  color: #9cafc5;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  font-weight: 650;
  transition: color .15s, background .15s;
}
.language-menu button:hover,
.language-menu button:focus-visible { color: #fff; outline: none; background: rgba(255, 255, 255, .05); }
.language-menu button i { color: transparent; font-style: normal; font-size: 10px; }
.language-menu button[aria-selected="true"] { color: #eafffb; background: rgba(94, 234, 212, .09); }
.language-menu button[aria-selected="true"] i { color: var(--mint); }
.language-divider { height: 1px; margin: 6px 8px; background: var(--line-dark); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px; border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 3px; background: #fff; transition: transform .2s; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--mint), #72f0c6);
  box-shadow: 0 14px 30px rgba(94, 234, 212, .17);
}
.button-primary:hover { box-shadow: 0 18px 38px rgba(94, 234, 212, .26); }
.button-ghost { color: #fff; border-color: rgba(188, 207, 232, .24); background: rgba(255, 255, 255, .03); }
.button-ghost:hover { background: rgba(255, 255, 255, .07); }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 9px; font-size: 12px; }

.hero {
  min-height: 100vh;
  padding: 150px 0 0;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(91, 124, 255, .18), transparent 27%),
    radial-gradient(circle at 53% 8%, rgba(94, 234, 212, .07), transparent 25%),
    linear-gradient(180deg, #07111f 0%, #091626 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(149, 177, 207, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149, 177, 207, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: var(--container);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 82px;
}
.hero-copy { padding-bottom: 40px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(94, 234, 212, .1); }
.hero h1 { max-width: 660px; margin: 24px 0 24px; font-size: clamp(46px, 4.25vw, 64px); line-height: 1.1; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.gradient-text { color: transparent; background: linear-gradient(96deg, #fff 0%, #9ff5e7 52%, #8fa7ff 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 600px; margin: 32px 0 0; color: #c8d6e8; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 38px; color: #a5b3c6; font-size: 12px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--mint); background: rgba(94, 234, 212, .1); font-style: normal; font-size: 10px; }
.trust-row b { font-weight: 650; }

.hero-visual { position: relative; min-height: 630px; }
.visual-glow { position: absolute; left: 8%; right: -5%; top: 7%; bottom: 2%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 255, .22), transparent 66%); filter: blur(10px); }
.console-window {
  position: absolute;
  top: 42px;
  right: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(128, 157, 204, .21);
  border-radius: 18px;
  background: rgba(9, 22, 40, .94);
  box-shadow: 0 45px 120px rgba(0, 0, 0, .45);
}
.console-bar { height: 42px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(171, 196, 227, .1); color: #6f829c; font-size: 8px; letter-spacing: .14em; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #33455c; }
.window-dots i:first-child { background: var(--mint-dark); }
.console-bar b { display: inline-flex; align-items: center; gap: 6px; color: #8fa0b6; font-weight: 650; }
.console-bar b i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.console-body { height: 348px; display: grid; grid-template-columns: 53px 1fr; }
.console-sidebar { padding-top: 18px; display: flex; align-items: center; flex-direction: column; gap: 21px; border-right: 1px solid rgba(171, 196, 227, .08); background: rgba(255, 255, 255, .015); }
.side-logo { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 5px; border-radius: 8px; color: var(--navy); background: var(--mint); font-size: 10px; font-weight: 900; }
.console-sidebar i { position: relative; width: 12px; height: 12px; border: 1px solid #41516a; border-radius: 4px; }
.console-sidebar i.active { border-color: var(--blue-bright); background: rgba(91, 124, 255, .16); }
.console-sidebar i.active::after { content: ""; position: absolute; right: -11px; top: 3px; width: 2px; height: 6px; border-radius: 2px; background: var(--mint); }
.console-main { padding: 22px; }
.console-heading { display: flex; justify-content: space-between; align-items: flex-end; }
.console-heading div { display: flex; flex-direction: column; }
.console-heading small { color: #5c6e87; font-size: 7px; letter-spacing: .18em; }
.console-heading strong { margin-top: 5px; color: #dce6f3; font-size: 15px; }
.console-heading > span { padding: 5px 8px; border: 1px solid rgba(94, 234, 212, .22); border-radius: 6px; color: var(--mint); background: rgba(94, 234, 212, .05); font-size: 7px; letter-spacing: .08em; }
.metric-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; margin-top: 18px; }
.metric-row > div { min-height: 78px; padding: 12px; border: 1px solid rgba(151, 177, 213, .1); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.metric-row small, .metric-row em { display: block; color: #61738b; font-size: 7px; font-style: normal; }
.metric-row strong { display: block; margin: 7px 0 5px; color: #dfe8f5; font-size: 17px; }
.metric-row em { color: var(--mint-dark); }
.mini-line { display: block; height: 3px; margin-top: 7px; border-radius: 4px; background: #192a40; }
.mini-line i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.device-card { position: relative; min-height: 70px; padding: 10px 22px 10px 10px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(151, 177, 213, .09); border-radius: 10px; background: rgba(255, 255, 255, .015); }
.device-card.active { border-color: rgba(91, 124, 255, .34); background: linear-gradient(135deg, rgba(91, 124, 255, .09), rgba(94, 234, 212, .025)); }
.phone-mini { width: 28px; height: 47px; padding: 4px; border: 1px solid #43546b; border-radius: 7px; background: #0a1422; }
.phone-mini i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(#1e3451, #10253d); }
.device-card span { display: flex; flex-direction: column; }
.device-card b { color: #c7d2df; font-size: 8px; }
.device-card small { margin-top: 5px; color: #61738b; font-size: 7px; }
.device-card em { position: absolute; top: 12px; right: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 7px var(--mint); }
.hardware-pair { position: absolute; left: 8%; bottom: 16px; z-index: 3; display: flex; align-items: center; filter: drop-shadow(0 28px 36px rgba(0,0,0,.42)); }
.control-node { position: relative; width: 172px; height: 122px; padding: 25px 18px; overflow: hidden; border: 1px solid #3e5674; border-radius: 18px; background: linear-gradient(145deg, #182a40, #0b1726 72%); box-shadow: inset 0 0 32px rgba(91, 124, 255, .08); }
.control-node::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 15px; height: 1px; background: linear-gradient(90deg, transparent, #455b75, transparent); }
.node-light { position: absolute; top: 15px; right: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.node-brand { display: block; color: var(--mint); font-size: 11px; font-weight: 850; letter-spacing: .02em; }
.control-node strong { display: block; margin-top: 9px; color: #64768e; font-size: 7px; letter-spacing: .16em; }
.node-ports { display: flex; gap: 5px; margin-top: 20px; }
.node-ports i { width: 15px; height: 5px; border: 1px solid #42556e; border-radius: 2px; background: #07111d; }
.link-cable { position: relative; width: 58px; height: 24px; }
.link-cable::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, #3f5571, #5b7cff); }
.link-cable i { position: absolute; right: -4px; top: 8px; width: 8px; height: 8px; border: 2px solid var(--blue); border-radius: 50%; }
.device-outline { position: relative; width: 74px; height: 147px; padding: 7px; border: 2px solid #34455d; border-radius: 18px; background: #0c1624; }
.device-outline::before { content: ""; position: absolute; top: 6px; left: 27px; width: 17px; height: 4px; border-radius: 3px; background: #263549; z-index: 2; }
.device-outline i { display: block; height: 100%; border-radius: 12px; background: linear-gradient(160deg, #1d3150, #0d1d31 65%); }
.device-outline span { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 3px; border-radius: 3px; background: #3c4d64; }
.visual-note { position: absolute; right: 0; bottom: 0; margin: 0; color: #54667e; font-size: 9px; }
.hero-strip {
  position: relative;
  z-index: 2;
  width: var(--container);
  min-height: 100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid var(--line-dark);
}
.hero-strip > span { color: #586c85; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero-strip div { min-height: 45px; padding-left: 26px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line-dark); }
.hero-strip b { color: #e9f1fb; font-size: 17px; }
.hero-strip small { margin-top: 4px; color: #74859b; font-size: 10px; }

.section { width: var(--container); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 710px; margin-bottom: 48px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .architecture-copy h2, .faq-heading h2, .contact-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.045em;
}
.section-heading p, .architecture-copy > p, .faq-heading > p, .contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.problem-section { padding-top: 135px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-grid article {
  position: relative;
  min-height: 320px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 31, 55, .04);
}
.problem-grid article.featured { color: #fff; border-color: transparent; background: linear-gradient(145deg, #10253c, #07121f); box-shadow: var(--shadow); }
.problem-grid article.featured::after { content: ""; position: absolute; right: -55px; bottom: -85px; width: 220px; height: 220px; border: 1px solid rgba(94, 234, 212, .15); border-radius: 50%; box-shadow: 0 0 0 38px rgba(91, 124, 255, .05), 0 0 0 78px rgba(91, 124, 255, .03); }
.card-index { position: absolute; right: 25px; top: 24px; color: #b6c2d0; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.featured .card-index { color: #57708f; }
.icon-shell { display: grid; place-items: center; width: 54px; height: 54px; margin: 42px 0 32px; border-radius: 16px; color: var(--blue); background: #edf1ff; font-size: 25px; font-weight: 300; }
.featured .icon-shell { color: var(--mint); background: rgba(94, 234, 212, .1); }
.problem-grid h3 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.02em; }
.problem-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.problem-grid .featured p { color: #b0c6dd; }

.visual-story-section { padding-top: 20px; padding-bottom: 135px; }
.visual-story-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 80px;
}
.visual-story-heading h2 { max-width: 700px; }
.visual-story-heading > p { padding-bottom: 10px; }
.visual-story-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 18px; }
.story-figure {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: 0 22px 62px rgba(5, 15, 29, .12);
}
.story-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 13, 24, .92), transparent 48%);
}
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-concept img { object-position: 58% center; }
.story-lab img { object-position: 45% center; }
.story-figure figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 25px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  color: #fff;
}
.story-figure figcaption > span { flex: none; padding-bottom: 3px; color: var(--mint); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.story-figure figcaption > div { display: flex; flex-direction: column; }
.story-figure figcaption b { font-size: 17px; }
.story-figure figcaption small { max-width: 470px; margin-top: 7px; color: #95a7be; font-size: 10px; line-height: 1.6; }
.story-figure > em { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: rgba(255,255,255,.57); background: rgba(5,13,24,.46); backdrop-filter: blur(10px); font-size: 8px; font-style: normal; }

.architecture-section {
  width: 100%;
  max-width: none;
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: center;
  color: #fff;
  background: var(--navy);
}
.architecture-copy > p { color: #adc0d6; }
.check-list { margin: 36px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 17px 0; display: flex; gap: 16px; border-top: 1px solid var(--line-dark); }
.check-list i { width: 28px; color: var(--mint); font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: .1em; }
.check-list span { display: flex; flex-direction: column; }
.check-list b { font-size: 14px; }
.check-list small { margin-top: 6px; color: #7588a0; font-size: 12px; }
.architecture-map {
  position: relative;
  min-height: 520px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(144, 171, 205, .16);
  border-radius: 28px;
  background:
    linear-gradient(rgba(132, 161, 199, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 161, 199, .04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(91, 124, 255, .035));
  background-size: 34px 34px, 34px 34px, auto;
}
.map-label { display: flex; justify-content: space-between; color: #60748e; font-size: 8px; letter-spacing: .14em; }
.map-label b { display: inline-flex; align-items: center; gap: 7px; color: #7891ae; }
.map-label b i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.map-admin { position: absolute; left: 6%; top: 29%; width: 25%; text-align: center; }
.laptop { position: relative; width: 112px; height: 75px; margin: 0 auto 26px; padding: 6px; border: 2px solid #415b7b; border-radius: 9px 9px 4px 4px; background: #0b1624; }
.laptop::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: -8px; height: 7px; border: 1px solid #415b7b; border-radius: 2px 2px 7px 7px; background: #13253a; }
.laptop span { height: 100%; padding: 8px; display: flex; flex-direction: column; gap: 7px; border-radius: 4px; background: linear-gradient(145deg, #132d49, #0d1f34); }
.laptop i { display: block; height: 5px; border-radius: 2px; background: #27486c; }
.laptop i:nth-child(2) { width: 75%; }
.laptop i:nth-child(3) { width: 55%; background: var(--mint-dark); }
.map-admin strong { display: block; font-size: 13px; }
.map-admin small { display: block; margin-top: 6px; color: #60758f; font-size: 8px; }
.map-lines { position: absolute; left: 34%; top: 20%; width: 14%; height: 58%; border-left: 1px solid rgba(91, 124, 255, .25); }
.map-lines::before { content: ""; position: absolute; left: -1px; top: 50%; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(91, 124, 255, .55), rgba(91, 124, 255, .15)); }
.map-lines i { position: absolute; right: 0; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(91, 124, 255, .12), rgba(91, 124, 255, .55)); }
.map-lines i::after { content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.map-lines i:nth-child(1) { top: 0; }
.map-lines i:nth-child(2) { top: 50%; }
.map-lines i:nth-child(3) { bottom: 0; }
.map-nodes { position: absolute; left: 50%; right: 6%; top: 15%; bottom: 12%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map-nodes article { position: relative; padding: 17px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(139, 166, 203, .13); border-radius: 14px; background: rgba(7, 17, 31, .69); }
.tiny-node { position: relative; width: 44px; height: 32px; border: 1px solid #3b5574; border-radius: 7px; background: linear-gradient(145deg, #19324e, #0b1725); }
.tiny-node i { position: absolute; right: 5px; top: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--mint); }
.map-nodes span { color: #8da0b8; font-size: 8px; font-weight: 800; }
.tiny-phone { width: 23px; height: 45px; margin-left: auto; border: 1px solid #3d4e64; border-radius: 6px; background: linear-gradient(#19304c, #0d1c2f); }
.map-nodes article.more { justify-content: center; flex-direction: column; border-style: dashed; background: rgba(91, 124, 255, .025); }
.map-nodes article.more b { color: var(--mint); font-size: 24px; font-weight: 300; }
.map-footer { position: absolute; left: 6%; right: 6%; bottom: 19px; display: flex; align-items: center; gap: 12px; color: #465c77; font-size: 7px; letter-spacing: .16em; }
.map-footer i { height: 1px; flex: 1; background: rgba(116, 145, 182, .13); }

.capability-section { padding-bottom: 130px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.capability-grid article { position: relative; min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.capability-grid .cap-wide { grid-column: span 2; min-height: 310px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 40px; color: #fff; border-color: transparent; background: linear-gradient(145deg, #10243b, #07121f); }
.cap-number { color: #aebac8; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.cap-wide .cap-number { color: #5e718a; }
.cap-icon { display: grid; place-items: center; width: 47px; height: 47px; margin: 34px 0 24px; border-radius: 14px; color: var(--blue); background: #edf1ff; font-size: 20px; }
.capability-grid h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.025em; }
.capability-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.cap-wide h3 { margin-top: 28px; color: #fff; font-size: 26px; }
.cap-wide p { color: #aac0d8; }
.script-card { overflow: hidden; border: 1px solid rgba(137, 166, 203, .18); border-radius: 15px; background: rgba(3, 10, 18, .55); box-shadow: 0 22px 50px rgba(0,0,0,.2); }
.script-card > div { height: 39px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); color: #72859e; font-size: 8px; }
.script-card > div i { padding: 4px 6px; border-radius: 4px; color: var(--mint); background: rgba(94, 234, 212, .08); font-style: normal; font-size: 6px; letter-spacing: .1em; }
.script-card code { padding: 8px 15px; display: block; color: #8ba0bb; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.script-card code b { display: inline-block; width: 24px; color: #3e516a; font-weight: 400; }
.script-card code em { color: #7e98ff; font-style: normal; }

.usecase-section {
  width: 100%;
  max-width: none;
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
  background: #eaf0f7;
}
.usecase-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 24px; }
.use-tab { min-width: 118px; height: 42px; padding: 0 18px; border: 1px solid #d5dfeb; border-radius: 10px; color: #687b91; background: rgba(255, 255, 255, .6); cursor: pointer; font-size: 12px; font-weight: 750; }
.use-tab.active { color: #fff; border-color: var(--navy-2); background: var(--navy-2); }
.usecase-panel { min-height: 430px; padding: 62px; display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: 70px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #0d2035, #07121f); box-shadow: var(--shadow); }
.usecase-copy > span { color: var(--mint); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.usecase-copy h3 { margin: 20px 0 14px; font-size: 31px; letter-spacing: -.035em; }
.usecase-copy p { color: #92a5bd; font-size: 14px; line-height: 1.85; }
.usecase-copy ul { margin: 25px 0 0; padding: 0; list-style: none; }
.usecase-copy li { position: relative; padding: 9px 0 9px 23px; color: #bcc8d7; font-size: 12px; }
.usecase-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); }
.usecase-screen { padding: 24px; border: 1px solid rgba(139, 167, 204, .16); border-radius: 18px; background: rgba(255,255,255,.025); }
.screen-toolbar { display: flex; align-items: center; justify-content: space-between; color: #8497af; font-size: 9px; }
.screen-toolbar b { padding: 5px 7px; border-radius: 5px; color: var(--mint); background: rgba(94,234,212,.08); font-size: 6px; letter-spacing: .1em; }
.screen-progress { height: 4px; margin: 22px 0; border-radius: 4px; background: #192b42; }
.screen-progress i { display: block; width: 73%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.screen-list { display: flex; flex-direction: column; gap: 9px; }
.screen-list > div { padding: 12px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; border: 1px solid rgba(139, 167, 204, .1); border-radius: 10px; background: rgba(255,255,255,.018); }
.screen-list i { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; font-style: normal; font-size: 9px; }
.screen-list i.done { color: var(--mint); background: rgba(94,234,212,.08); }
.screen-list i.run { color: var(--blue-bright); background: rgba(91,124,255,.12); }
.screen-list span { display: flex; flex-direction: column; }
.screen-list b { font-size: 10px; }
.screen-list small { margin-top: 5px; color: #657a94; font-size: 7px; }
.screen-list em { color: var(--mint); font-size: 7px; font-style: normal; font-weight: 800; }

.deployment-section { padding-bottom: 70px; }
.deployment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deployment-grid article { position: relative; min-height: 430px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.deployment-grid article.recommended { border-color: var(--blue); box-shadow: 0 20px 55px rgba(91,124,255,.13); }
.recommend-label { position: absolute; right: 22px; top: 22px; padding: 6px 9px; border-radius: 6px; color: #334db8; background: #edf1ff; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.plan-top { display: flex; flex-direction: column; gap: 20px; }
.plan-top span { color: #b1bdca; font-size: 10px; font-weight: 850; }
.plan-top b { color: var(--blue); font-size: 10px; letter-spacing: .2em; }
.deployment-grid h3 { margin: 18px 0 12px; font-size: 26px; }
.deployment-grid p { min-height: 50px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.deployment-grid ul { margin: 28px 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.deployment-grid li { position: relative; padding: 8px 0 8px 23px; color: #394b61; font-size: 12px; }
.deployment-grid li::before { content: "—"; position: absolute; left: 0; color: var(--mint-dark); }
.deployment-grid a { margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 800; }
.acceptance-strip { min-height: 80px; margin-top: 18px; padding: 0 28px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); align-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.acceptance-strip span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.acceptance-strip div { min-height: 36px; padding: 0 17px; display: flex; align-items: center; border-left: 1px solid var(--line); color: #394b61; font-size: 10px; }

.process-section { padding-top: 80px; }
.process-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.process-line::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--line); }
.process-line article { position: relative; padding-top: 58px; }
.process-line article > span { position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #c9d6e5; border-radius: 50%; color: var(--blue); background: var(--paper); font-size: 8px; font-weight: 850; }
.process-line h3 { margin: 0 0 12px; font-size: 17px; }
.process-line p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.faq-section {
  width: 100%;
  max-width: none;
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 90px;
  background: #fff;
}
.faq-heading { position: sticky; top: 130px; align-self: start; }
.faq-heading > a { display: inline-block; margin-top: 28px; color: var(--blue); font-size: 13px; font-weight: 800; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 50px 28px 24px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 8px; top: 34px; width: 14px; height: 2px; background: var(--blue); transition: transform .2s; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { margin: -5px 0 28px; padding-right: 50px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.faq-category { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-category + .faq-category { margin-top: 0; }
.faq-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: 0;
  color: #1a2c44;
  background: #f6f9fd;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .03em;
  text-align: left;
  transition: background .15s;
}
.faq-cat-btn:hover { background: #edf3fa; }
.faq-cat-btn[aria-expanded="true"] + .faq-cat-body { display: block; }
.faq-cat-body { display: none; }
.faq-cat-body > details:first-child { border-top: 0; }
.cat-arrow {
  flex: none;
  width: 10px;
  height: 10px;
  margin-left: 12px;
  border: 2px solid var(--blue);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transition: transform .2s;
}
.faq-cat-btn[aria-expanded="true"] .cat-arrow { transform: rotate(45deg); }
.faq-cat-body .faq-list details { border-bottom: 0; }
.faq-cat-body .faq-list details + details { border-top: 1px solid var(--line); }

.contact-section {
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--navy);
}
.contact-card {
  position: relative;
  padding: 64px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 80px;
  overflow: hidden;
  border: 1px solid rgba(144, 171, 205, .16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(94,234,212,.08), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(91,124,255,.03));
}
.contact-copy > p { color: #a8bbd2; }
.contact-meta { margin-top: 38px; display: flex; flex-direction: column; }
.contact-meta > div { padding: 17px 0; display: flex; gap: 16px; border-top: 1px solid var(--line-dark); }
.contact-meta > div > span { color: var(--mint); font-size: 9px; font-weight: 850; }
.contact-meta p { margin: 0; display: flex; flex-direction: column; }
.contact-meta b { font-size: 12px; }
.contact-meta small { margin-top: 5px; color: #6d829d; font-size: 10px; }
.inquiry-form { padding: 30px; border: 1px solid rgba(144, 171, 205, .14); border-radius: 20px; background: rgba(3, 10, 18, .33); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inquiry-form label { display: block; margin-bottom: 14px; color: #8ea1b9; font-size: 10px; font-weight: 700; }
.inquiry-form label > span { display: block; margin-bottom: 8px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%;
  min-height: 47px;
  padding: 0 14px;
  outline: none;
  border: 1px solid rgba(144, 171, 205, .16);
  border-radius: 10px;
  color: #e5edf7;
  background: #0a1727;
  font-size: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(94,234,212,.08); }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #4e6078; }
.inquiry-form textarea { min-height: 100px; padding-top: 13px; resize: vertical; }
.inquiry-form .consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; color: #7388a2; line-height: 1.6; }
.inquiry-form .consent input { width: 15px; min-height: 15px; margin: 2px 0 0; padding: 0; accent-color: var(--mint); }
.inquiry-form .consent span { margin: 0; }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; color: #52657d; text-align: center; font-size: 9px; line-height: 1.5; }

.site-footer { padding: 62px max(24px, calc((100vw - 1180px) / 2)) 28px; color: #fff; background: #050d18; }
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-main > p { margin: 0; color: #75879d; font-size: 11px; line-height: 1.7; }
.footer-links { display: flex; gap: 22px; color: #8ea0b5; font-size: 10px; font-weight: 750; }
.footer-legal { padding-top: 25px; display: flex; justify-content: space-between; gap: 40px; color: #4e6179; font-size: 8px; line-height: 1.7; }
.footer-legal p { max-width: 730px; margin: 0; }
.footer-legal span { white-space: nowrap; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 12px 18px; border-radius: 10px; color: #07111f; background: var(--mint); box-shadow: 0 18px 48px rgba(0,0,0,.25); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  :root { --container: min(930px, calc(100vw - 40px)); }
  .desktop-nav { gap: 20px; margin-right: 20px; }
  .desktop-nav a { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; gap: 24px; }
  .hero-copy { max-width: 720px; padding-bottom: 0; }
  .hero-visual { min-height: 600px; }
  .console-window { right: 2%; width: 80%; transform: none; }
  .hardware-pair { left: 7%; }
  .hero-strip { margin-top: 30px; }
  .architecture-section { grid-template-columns: 1fr; }
  .architecture-copy { max-width: 700px; }
  .faq-section { gap: 50px; }
  .contact-card { padding: 44px; gap: 45px; }
}

@media (max-width: 820px) {
  :root { --container: calc(100vw - 32px); }
  .nav-shell { height: 70px; }
  .desktop-nav, .desktop-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    inset: 70px 0 0;
    padding: 28px 24px;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    background: rgba(7, 17, 31, .98);
    backdrop-filter: blur(18px);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 18px 4px; border-bottom: 1px solid var(--line-dark); font-size: 18px; font-weight: 750; }
  .hero { padding-top: 100px; }
  .hero-grid { min-height: auto; gap: 10px; }
  .hero h1 { font-size: clamp(42px, 10vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 530px; }
  .console-window { top: 55px; right: -10%; width: 100%; min-width: 530px; transform: scale(.82); transform-origin: top right; }
  .hardware-pair { left: 0; bottom: 15px; transform: scale(.84); transform-origin: left bottom; }
  .visual-note { display: none; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); padding: 20px 0; }
  .hero-strip > span { grid-column: 1 / -1; padding-bottom: 15px; }
  .hero-strip div { min-height: 55px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid article { min-height: 260px; }
  .visual-story-heading { grid-template-columns: 1fr; gap: 12px; }
  .visual-story-grid { grid-template-columns: 1fr; }
  .story-figure { min-height: 390px; }
  .architecture-map { min-height: 500px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid .cap-wide { grid-column: 1 / -1; }
  .usecase-panel { padding: 42px; grid-template-columns: 1fr; gap: 40px; }
  .deployment-grid { grid-template-columns: 1fr; }
  .deployment-grid article { min-height: 390px; }
  .acceptance-strip { grid-template-columns: 1fr 1fr; padding: 16px; }
  .acceptance-strip span { grid-column: 1 / -1; padding: 10px 0 16px; }
  .acceptance-strip div { min-height: 43px; border: 0; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-line::before { display: none; }
  .faq-section { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 28px); }
  .brand-copy small { display: none; }
  .language-switcher { margin-left: auto; }
  .language-trigger { min-width: 42px; width: 42px; padding: 0; }
  .language-trigger > span { display: none; }
  .language-trigger .language-chevron { display: none; }
  .language-menu { position: fixed; top: 64px; right: 14px; left: 14px; width: auto; max-height: calc(100vh - 78px); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .language-menu[hidden] { display: none; }
  .language-menu .language-divider { grid-column: 1 / -1; }
  .hero { padding-top: 95px; }
  .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .hero h1 { margin-top: 20px; font-size: 46px; line-height: 1.12; }
  .hero-lead { line-height: 1.75; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 14px 18px; }
  .hero-visual { min-height: 430px; }
  .console-window { top: 45px; right: -42%; width: 146%; min-width: 500px; transform: scale(.65); transform-origin: top right; }
  .hardware-pair { left: 2px; bottom: 16px; transform: scale(.68); }
  .hero-strip { margin-top: 10px; }
  .hero-strip div { padding-left: 18px; }
  .section { padding: 90px 0; }
  .section-heading h2, .architecture-copy h2, .faq-heading h2, .contact-copy h2 { font-size: 34px; }
  .section-heading p, .architecture-copy > p, .faq-heading > p, .contact-copy > p { font-size: 14px; }
  .problem-grid article { padding: 28px; }
  .visual-story-section { padding-top: 10px; }
  .visual-story-grid { gap: 12px; }
  .story-figure { min-height: 330px; border-radius: 18px; }
  .story-figure figcaption { left: 18px; right: 18px; bottom: 18px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .story-lab img { object-position: 37% center; }
  .story-figure > em { display: none; }
  .architecture-section, .usecase-section, .faq-section, .contact-section { padding: 90px 18px; }
  .architecture-map { min-height: 620px; padding: 22px; }
  .map-label span { display: none; }
  .map-admin { left: 28%; top: 12%; width: 44%; }
  .map-lines { left: 50%; top: 37%; width: 1px; height: 12%; border: 0; background: rgba(91,124,255,.35); }
  .map-lines::before, .map-lines i { display: none; }
  .map-nodes { left: 7%; right: 7%; top: 52%; bottom: 12%; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid .cap-wide { grid-column: auto; grid-template-columns: 1fr; padding: 26px; }
  .script-card { margin-top: 10px; }
  .usecase-tabs { justify-content: flex-start; overflow-x: auto; }
  .use-tab { min-width: 106px; }
  .usecase-panel { padding: 28px 22px; }
  .usecase-copy h3 { font-size: 26px; }
  .screen-list > div { grid-template-columns: 28px 1fr; }
  .screen-list em { display: none; }
  .process-line { grid-template-columns: 1fr; gap: 30px; }
  .process-line article { padding-top: 0; padding-left: 52px; }
  .process-line article > span { top: 0; }
  .faq-list summary { font-size: 14px; line-height: 1.6; padding: 22px 50px 22px 0; }
  .faq-list details p { font-size: 13px; line-height: 1.7; }
  .contact-card { padding: 28px 20px; gap: 45px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-form { padding: 20px; }
  .inquiry-form label { margin-bottom: 16px; }
  .inquiry-form input, .inquiry-form select, .inquiry-form textarea { min-height: 50px; }
  .footer-links { flex-wrap: wrap; }
}

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

/* ===== 预览横幅 ===== */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f2242;
  border-bottom: 1px solid var(--line-dark);
  color: #a8bcd6;
  font-size: 11px;
  letter-spacing: .04em;
}
.preview-banner span { padding: 0 16px; text-align: center; }

/* ===== AI 咨询助手 ===== */
.ai-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(126, 151, 255, .4);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1b2f52, #12233c);
  box-shadow: 0 14px 40px rgba(4, 13, 29, .35);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(4, 13, 29, .45); }
.ai-launcher svg { width: 18px; height: 18px; color: var(--mint); }

.ai-panel {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 90;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: #0b182a;
  box-shadow: 0 28px 80px rgba(4, 13, 29, .5);
  overflow: hidden;
}
.ai-panel[hidden] { display: none; }

.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(135deg, rgba(91, 124, 255, .12), transparent);
}
.ai-head b { display: block; color: #fff; font-size: 15px; }
.ai-head small { display: block; margin-top: 3px; color: #7d90a9; font-size: 11px; }
.ai-close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(178, 202, 230, .2);
  border-radius: 8px;
  color: #9fb0c7;
  background: transparent;
  cursor: pointer;
}
.ai-close:hover { color: #fff; border-color: rgba(178, 202, 230, .45); }

.ai-messages {
  flex: 1;
  min-height: 150px;
  max-height: 300px;
  padding: 16px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-msg {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.ai-bot { align-self: flex-start; color: #d7e2f1; background: #12233c; border: 1px solid rgba(178, 202, 230, .1); border-bottom-left-radius: 4px; }
.ai-user { align-self: flex-end; color: #061020; background: var(--mint); border-bottom-right-radius: 4px; }

.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
}
.ai-quick button {
  padding: 7px 12px;
  border: 1px solid rgba(91, 124, 255, .35);
  border-radius: 999px;
  color: #bcd0ea;
  background: rgba(91, 124, 255, .08);
  font-size: 12px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.ai-quick button:hover { background: rgba(91, 124, 255, .18); color: #fff; }

.ai-privacy {
  margin: 0;
  padding: 10px 18px;
  border-top: 1px solid rgba(178, 202, 230, .08);
  color: #77889e;
  font-size: 11px;
  line-height: 1.55;
}

.ai-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 18px 16px;
}
.ai-input-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(178, 202, 230, .22);
  border-radius: 10px;
  color: #eaf1fb;
  background: #0d1b2e;
  font-size: 13px;
  outline: none;
}
.ai-input-row input::placeholder { color: #5d7089; }
.ai-input-row input:focus { border-color: rgba(91, 124, 255, .6); }
.ai-send {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  color: #061020;
  background: var(--mint);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.ai-send:hover { background: #7ff0de; }

@media (max-width: 768px) {
  .ai-launcher { right: 16px; bottom: 16px; padding: 12px; }
  .ai-launcher span { display: none; }
  .ai-panel { right: 16px; left: 16px; bottom: 72px; width: auto; max-height: calc(100vh - 100px); }
}
