/* 云栈科技 · Information Technology Services Template */

:root {
  --ink: #0f0e1b;
  --ink-soft: #3f3c52;
  --muted: #747187;
  --bg: #f5f4fb;
  --surface: #ffffff;
  --surface-soft: #faf9ff;
  --line: #e5e2f0;
  --line-strong: #d4d0e5;
  --violet: #6657f5;
  --violet-deep: #4c3fe3;
  --violet-soft: #ece9ff;
  --blue: #337af6;
  --lime: #c7ff4a;
  --lime-soft: #efffc7;
  --dark: #0c0b17;
  --dark-2: #141223;
  --container: 1220px;
  --gutter: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

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

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--dark);
  background: var(--lime);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn > span {
  font-size: 15px;
  transition: transform 0.22s var(--ease);
}

.btn:hover > span {
  transform: translate(2px, -2px);
}

.btn-dark {
  color: var(--lime);
  background: var(--ink);
  border-color: var(--ink);
}

.btn-dark:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost.light {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost.light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-lime {
  color: var(--dark);
  background: var(--lime);
  border-color: var(--lime);
}

.btn-lime:hover {
  background: #dbff8c;
  border-color: #dbff8c;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 11.5px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 251, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(24, 18, 60, 0.055);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 38px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  color: var(--lime);
  background: var(--ink);
  box-shadow: 0 6px 16px rgba(15, 14, 27, 0.14);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.brand-name small {
  margin-top: 3px;
  color: #8d899e;
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 31px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.22s ease;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  height: calc(100dvh - 80px);
  overflow-y: auto;
  padding: 23px var(--gutter) 28px;
  color: var(--surface);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #eae6ff;
  font-size: 18px;
}

.mobile-menu nav a span {
  color: #6f6b84;
  font-family: var(--mono);
  font-size: 9px;
}

.mobile-menu nav .mobile-cta {
  margin-top: 18px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--dark);
  background: var(--lime);
  font-size: 13px;
  font-weight: 600;
}

.mobile-menu nav .mobile-cta span {
  color: var(--dark);
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 25px;
  color: #746f86;
  font-family: var(--mono);
  font-size: 8px;
}

/* Type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 18px;
  padding: 0 4px;
  color: var(--violet-deep);
  border: 1px solid rgba(102, 87, 245, 0.35);
  font-size: 8px;
}

.eyebrow.light {
  color: #7e7a91;
}

.eyebrow.light span {
  color: var(--lime);
  border-color: rgba(199, 255, 74, 0.3);
}

.section {
  position: relative;
  padding: clamp(78px, 8.4vw, 120px) 0;
  scroll-margin-top: 84px;
}

.section-title {
  font-size: clamp(35px, 3.7vw, 54px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.055em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 46px;
}

.section-intro {
  max-width: 340px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.section-intro.light {
  color: #858198;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 18%, rgba(199, 154, 255, 0.2), transparent 41%),
    radial-gradient(ellipse at 20% 80%, rgba(140, 172, 255, 0.13), transparent 40%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 37, 91, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 37, 91, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 76%);
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.glow-a {
  top: 10%;
  right: -170px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(144, 118, 255, 0.19), transparent 67%);
}

.glow-b {
  bottom: -200px;
  left: 18%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(199, 255, 74, 0.14), transparent 68%);
}

.hero-code {
  position: absolute;
  top: 20%;
  right: 4%;
  color: rgba(15, 14, 27, 0.035);
  font-family: var(--mono);
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -0.07em;
  transform: rotate(-5deg);
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-top: clamp(62px, 7vw, 96px);
  padding-bottom: 42px;
}

.hero-copy {
  max-width: 610px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #6d6981;
  background: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.hero-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #54b167;
  box-shadow: 0 0 0 3px rgba(84, 177, 103, 0.12);
}

.hero h1 {
  font-size: clamp(44px, 4.65vw, 66px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(110deg, var(--violet) 6%, #b873ff 55%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 535px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 37px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  color: var(--surface);
  background: var(--violet);
  font-family: var(--mono);
  font-size: 8px;
}

.proof-avatars span:first-child {
  margin-left: 0;
  color: var(--dark);
  background: var(--lime);
}

.proof-avatars span:nth-child(2) {
  background: #24203b;
}

.proof-avatars span:nth-child(3) {
  background: #e27d52;
}

.proof-avatars span:last-child {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.hero-proof p {
  color: #6e6a7d;
  font-size: 9.5px;
  line-height: 1.6;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 11px;
}

.hero-proof p span {
  color: #9692a6;
  font-family: var(--mono);
  font-size: 7.5px;
}

/* Console */
.console-wrap {
  position: relative;
  width: 100%;
  max-width: 690px;
  margin-left: auto;
  padding: 22px 0 28px;
}

.console-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #cbc6e0;
  background: #0e0c1b;
  box-shadow:
    0 35px 80px rgba(41, 27, 108, 0.22),
    0 0 0 8px rgba(255, 255, 255, 0.42);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
  transform-origin: center left;
  transition: transform 0.7s var(--ease);
}

.console-wrap:hover .console-card {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 15px;
  background: #151225;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39334e;
}

.window-dots i:first-child { background: #ff7764; }
.window-dots i:nth-child(2) { background: #e7c464; }
.window-dots i:last-child { background: #7fc880; }

.console-address {
  color: #6e6887;
  font-size: 7px;
}

.console-live {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #99a37e;
  font-family: var(--mono);
  font-size: 7px;
}

.console-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 7px rgba(199, 255, 74, 0.7);
}

.console-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 395px;
}

.console-side {
  display: flex;
  flex-direction: column;
  padding: 18px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  background: #0b0914;
}

.console-logo {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 28px;
  border-radius: 7px;
  color: var(--dark);
  background: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
}

.console-side nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.console-side nav span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 7px;
  border-radius: 5px;
  color: #69637f;
  font-family: var(--mono);
  font-size: 7px;
  white-space: nowrap;
}

.console-side nav span i {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.console-side nav span.active {
  color: #dcd8f3;
  background: #1b1730;
}

.console-side nav span.active i {
  border-color: var(--lime);
  background: var(--lime);
}

.console-user {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-top: auto;
  border: 1px solid #3a3452;
  border-radius: 50%;
  color: #9f99b8;
  font-family: var(--mono);
  font-size: 6px;
}

.console-main {
  padding: 19px 21px;
}

.console-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.console-title small {
  color: #5f5977;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.06em;
}

.console-title h2 {
  margin-top: 5px;
  color: #ece8ff;
  font-size: 13px;
  font-weight: 550;
}

.console-period {
  color: #68627d;
  font-size: 6px;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.07);
}

.console-metrics > div {
  min-width: 0;
  padding: 10px 10px 9px;
  background: #100d1d;
}

.console-metrics span {
  display: block;
  color: #6e6886;
  font-size: 6.5px;
}

.console-metrics strong {
  display: inline-block;
  margin-top: 7px;
  color: #f1edff;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.console-metrics strong small {
  margin-left: 2px;
  color: #817a99;
  font-size: 7px;
}

.console-metrics em {
  margin-left: 5px;
  color: #9ba76f;
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
}

.chart-panel {
  margin-top: 12px;
  padding: 11px 12px 5px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #100d1d;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #69627f;
  font-family: var(--mono);
  font-size: 6px;
}

.chart-live {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #89936c;
}

.chart-live i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
}

.chart-panel svg {
  width: 100%;
  height: 85px;
  margin-top: 4px;
  overflow: visible;
}

.chart-grid path {
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.console-tasks {
  display: grid;
  gap: 0;
  margin-top: 7px;
}

.console-tasks > div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #87819b;
  font-family: var(--mono);
  font-size: 6.5px;
}

.console-tasks > div:last-child {
  border-bottom: 0;
}

.task-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.task-dot.lime { background: var(--lime); }
.task-dot.violet { background: #9472ff; }
.task-dot.blue { background: #5da3ff; }

.console-tasks em {
  margin-left: auto;
  color: #5e596f;
  font-style: normal;
}

.console-tasks b {
  color: #9d98af;
  font-weight: 400;
}

.float-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(223, 218, 242, 0.86);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 15px 36px rgba(33, 23, 90, 0.12);
  backdrop-filter: blur(9px);
}

.float-ai {
  right: -17px;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 12px;
  animation: float 5s ease-in-out infinite;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-size: 14px;
}

.float-ai strong {
  display: block;
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
}

.float-ai small {
  display: block;
  margin-top: 1px;
  color: #848095;
  font-family: var(--mono);
  font-size: 6px;
}

.float-uptime {
  top: 4%;
  left: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  animation: float 6s ease-in-out 0.6s infinite;
}

.uptime-number {
  color: var(--violet-deep);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
}

.uptime-number small {
  font-size: 8px;
}

.float-uptime p {
  color: #6d687e;
  font-size: 7px;
  line-height: 1.5;
}

.float-uptime em {
  color: #9994a8;
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
}

.float-stack {
  position: absolute;
  top: -8px;
  right: 8%;
  display: flex;
  gap: 5px;
  transform: rotate(2deg);
}

.float-stack span {
  padding: 4px 7px;
  border-radius: 999px;
  color: #726e83;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  font-size: 6px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Tech marquee */
.tech-marquee-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-bottom: 28px;
}

.tech-label {
  flex: 0 0 auto;
  color: #9b97ab;
  font-size: 7px;
}

.tech-marquee {
  overflow: hidden;
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.tech-track {
  display: flex;
  align-items: center;
  gap: 25px;
  width: max-content;
  padding: 10px 0;
  color: #8f8b9e;
  font-size: 8px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.tech-track i {
  color: var(--violet);
  font-size: 7px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Services */
.services {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #c5beea;
  box-shadow: 0 22px 44px rgba(38, 25, 102, 0.08);
}

.service-large {
  grid-column: span 7;
  min-height: 430px;
  padding: 27px;
  background: #fcfbff;
}

.service-ai {
  grid-column: span 5;
  min-height: 430px;
  background:
    radial-gradient(circle at 80% 16%, rgba(199, 255, 74, 0.19), transparent 33%),
    linear-gradient(145deg, #1a1633, #29204e);
  border-color: #251e45;
  color: #f3efff;
}

.service-ai:hover {
  border-color: #5b4cab;
  box-shadow: 0 25px 50px rgba(32, 20, 92, 0.2);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #9994aa;
  font-size: 7.5px;
  letter-spacing: 0.06em;
}

.service-ai .service-top {
  color: #8982a7;
}

.service-ai .service-num {
  color: #8982a7;
}

.service-arrow {
  color: #77738a;
  font-size: 17px;
  transition: transform 0.25s var(--ease), color 0.25s ease;
}

.service-card:hover .service-arrow {
  color: var(--violet);
  transform: translate(2px, -2px);
}

.service-card h3 {
  margin-top: 21px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.service-ai h3 {
  color: #f6f2ff;
}

.service-card > p {
  max-width: 330px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.service-ai > p {
  color: #aaa4c0;
}

.service-ai .service-tags li {
  color: #a7a0c0;
  border-color: rgba(255, 255, 255, 0.16);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 21px;
}

.service-tags li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #7d788f;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--violet);
  background: var(--violet-soft);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-num {
  position: absolute;
  top: 27px;
  right: 24px;
  color: #a09bae;
  font-size: 7px;
}

.service-large .service-visual {
  position: relative;
  flex: 1;
  min-height: 145px;
  margin: 15px 0 3px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(157, 133, 255, 0.17), transparent 40%),
    linear-gradient(135deg, #f1eeff, #faf9ff);
  border: 1px solid #ebe7fa;
}

.node-map {
  position: absolute;
  inset: 0;
}

.node-map svg {
  position: absolute;
  inset: 12% 6% 0;
  width: 88%;
  height: 80%;
  fill: none;
  stroke: #b7abef;
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 43px;
  height: 25px;
  padding: 0 7px;
  border: 1px solid #dcd4ff;
  border-radius: 7px;
  color: #6b579d;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 12px rgba(59, 40, 128, 0.06);
  font-family: var(--mono);
  font-size: 7px;
}

.node.n1 { top: 13%; left: 10%; }
.node.n2 { top: 35%; left: 31%; }
.node.n3 { top: 16%; left: 52%; }
.node.n4 { top: 44%; right: 15%; }
.node.n5 { bottom: 22%; left: 47%; }

.node-core {
  position: absolute;
  top: 50%;
  left: 51%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  padding: 10px;
  border: 1px solid rgba(199, 255, 74, 0.5);
  border-radius: 50%;
  color: var(--dark);
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(199, 255, 74, 0.17);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.ai-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 95px;
  height: 95px;
  margin: 28px auto 24px;
  border: 1px solid rgba(199, 255, 74, 0.28);
  border-radius: 50%;
  color: var(--lime);
  background:
    radial-gradient(circle at 40% 35%, rgba(199, 255, 74, 0.2), transparent 30%),
    radial-gradient(circle, #3c2d74, #1c1634 68%);
  box-shadow:
    0 0 0 10px rgba(199, 255, 74, 0.025),
    0 0 50px rgba(134, 94, 255, 0.22);
}

.ai-orb::before,
.ai-orb::after {
  content: "";
  position: absolute;
  inset: -11px;
  border: 1px dashed rgba(199, 255, 74, 0.18);
  border-radius: 50%;
}

.ai-orb::after {
  inset: -23px;
  border: 1px solid rgba(199, 255, 74, 0.08);
}

.ai-orb span {
  font-size: 32px;
  animation: spin 12s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.service-ai h3 {
  margin-top: 0;
}

/* Cases */
.cases {
  overflow: hidden;
  color: #f4f0ff;
  background: var(--dark);
}

.cases-glow {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 590px;
  height: 590px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 79, 229, 0.22), transparent 67%);
  pointer-events: none;
}

.cases .section-title {
  color: #f5f2ff;
}

.cases-head {
  position: relative;
}

.cases .section-intro {
  color: #8c87a2;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr);
  grid-template-rows: 1fr 1fr;
  gap: 13px;
}

.case-feature {
  position: relative;
  grid-row: span 2;
  min-height: 552px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 76% 34%, rgba(118, 92, 255, 0.24), transparent 37%),
    linear-gradient(145deg, #16132d, #0f0d1c);
}

.case-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #89839f;
  font-family: var(--mono);
  font-size: 7.5px;
}

.case-feature-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin-top: 41px;
}

.case-feature-content > p {
  color: var(--lime);
  font-size: 7.5px;
}

.case-feature-content h3 {
  margin-top: 13px;
  color: #f7f2ff;
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.case-desc {
  max-width: 380px;
  margin-top: 14px;
  color: #a8a1bd;
  font-size: 11px;
  line-height: 1.85;
}

.case-results {
  display: flex;
  gap: 0;
  margin-top: 27px;
}

.case-results > div {
  padding-right: 23px;
}

.case-results > div + div {
  padding-left: 23px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.case-results strong {
  display: block;
  color: var(--lime);
  font-family: var(--mono);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.case-results span {
  display: block;
  margin-top: 7px;
  color: #76718b;
  font-size: 7.5px;
}

.case-diagram {
  position: absolute;
  right: 24px;
  bottom: 23px;
  left: 24px;
  height: 140px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.diagram-label {
  position: absolute;
  top: 12px;
  left: 0;
  color: #5d5873;
  font-size: 6px;
}

.diagram-nodes {
  position: absolute;
  top: 31px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
}

.diagram-nodes i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6c5ce7;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.case-diagram svg {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 105px;
  overflow: visible;
}

.case-diagram svg path {
  fill: none;
  stroke: #7161dd;
  stroke-width: 1.2;
}

.case-diagram svg .diagram-dash {
  stroke: rgba(199, 255, 74, 0.6);
  stroke-dasharray: 3 5;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: #13111f;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
  background: #17142a;
  border-color: #45376f;
}

.case-card-head {
  display: flex;
  justify-content: space-between;
  color: #77728c;
  font-size: 6.5px;
}

.case-card-head > span:last-child {
  color: #aca6c0;
  font-size: 16px;
}

.case-card h3 {
  max-width: 320px;
  margin-top: 22px;
  color: #f0ecff;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.case-card > p {
  margin-top: 7px;
  color: #928b9f;
  font-size: 10px;
  line-height: 1.75;
}

.case-card-result {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

.case-card-result strong {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.case-card-result span {
  color: #77728a;
  font-size: 7.5px;
}

.case-orbit {
  position: relative;
  align-self: flex-end;
  width: 65px;
  height: 65px;
  margin-top: 19px;
  border: 1px solid #453b71;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8b74ff, #241d46 68%);
  transform: translateX(8px);
}

.case-orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
}

.case-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 102px;
  height: 54px;
  margin-top: 19px;
  margin-bottom: 2px;
}

.case-bars i {
  width: 12px;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #9d7aff, #493c86);
}

.case-bars i:nth-child(4),
.case-bars i:nth-child(6) {
  background: var(--lime);
}

/* Method */
.method {
  background: var(--bg);
}

.method-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
}

.method-note {
  max-width: 310px;
  padding-bottom: 7px;
}

.method-quote {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.method-note span {
  display: block;
  margin-top: 11px;
  color: #9a96a9;
  font-family: var(--mono);
  font-size: 7px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.method-steps li {
  position: relative;
  min-height: 285px;
  padding: 23px 26px 20px 0;
  border-right: 1px solid var(--line);
}

.method-steps li + li {
  padding-left: 26px;
}

.method-steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.step-no {
  color: #9b96ac;
  font-size: 8px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--violet);
  background: var(--surface);
}

.step-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-steps h3 {
  margin-top: 19px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.method-steps p {
  max-width: 220px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.step-week {
  position: absolute;
  right: 26px;
  bottom: 20px;
  color: #a5a1b0;
  font-size: 7px;
}

.method-steps li:last-child .step-week {
  right: 0;
}

/* About */
.about {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 96px);
}

.about-visual {
  position: relative;
  padding-right: 28px;
}

.about-photo {
  width: 91%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  border-radius: 20px;
  background: #d7d1e4;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.8s var(--ease);
}

.about-visual:hover .about-photo img {
  transform: scale(1.025);
}

.about-sticker {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 165px;
  padding: 18px;
  border-radius: 15px;
  color: var(--surface);
  background: var(--violet);
  box-shadow: 0 20px 40px rgba(81, 58, 204, 0.2);
}

.about-sticker > span {
  color: #c6bdff;
  font-size: 7px;
}

.about-sticker strong {
  display: block;
  margin-top: 16px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.about-sticker strong small {
  font-size: 13px;
}

.about-sticker p {
  margin-top: 9px;
  color: #d7d0ff;
  font-size: 8px;
  line-height: 1.6;
}

.about-chip {
  position: absolute;
  top: 7%;
  left: -14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #77738a;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 20px rgba(35, 24, 82, 0.08);
  font-size: 6px;
}

.about-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}

.about-copy .section-title {
  margin-bottom: 21px;
}

.about-lead {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.about-body {
  max-width: 550px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
}

.value-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.value-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.value-list > li > span {
  padding-top: 2px;
  color: var(--violet);
  font-size: 7px;
}

.value-list strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.value-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  margin-top: 24px;
}

.about-stats > div {
  padding-right: 30px;
}

.about-stats > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
}

.about-stats small {
  color: var(--violet);
  font-size: 10px;
}

.about-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
}

/* Insights */
.insights {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.insights-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 38px;
}

.dark-btn {
  margin-bottom: 4px;
}

.insight-grid {
  border-top: 1px solid var(--line-strong);
}

.insight-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 140px;
  align-items: center;
  gap: 30px;
  min-height: 150px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s var(--ease), background-color 0.25s ease;
}

.insight-card:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: #f0edfb;
}

.insight-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #8e899d;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.insight-meta span:first-child {
  color: var(--violet-deep);
}

.insight-card h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.insight-card p {
  max-width: 610px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  color: var(--violet-deep);
  font-size: 10px;
  font-weight: 600;
}

.insight-link i {
  font-style: normal;
  transition: transform 0.2s ease;
}

.insight-card:hover .insight-link i {
  transform: translate(2px, -2px);
}

/* Contact */
.contact {
  padding: clamp(64px, 7vw, 94px) 0;
  background: var(--bg);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 14%, rgba(199, 255, 74, 0.23), transparent 25%),
    radial-gradient(circle at 12% 100%, rgba(121, 86, 255, 0.75), transparent 45%),
    linear-gradient(125deg, #4f3ee5, #6e50ed 49%, #3b299f);
}

.contact-panel::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.contact-orb {
  position: absolute;
  right: 8%;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.contact-panel .eyebrow {
  color: #c9c2f8;
}

.contact-panel .eyebrow span {
  color: var(--lime);
  border-color: rgba(199, 255, 74, 0.35);
}

.contact-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(38px, 4.6vw, 65px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.06em;
}

.contact-lead {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-top: 20px;
  color: #d8d2fb;
  font-size: 12.5px;
  line-height: 1.8;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 29px;
}

.contact-phone {
  color: #f7f1ff;
  font-family: var(--mono);
  font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-foot {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 26px;
  margin-top: 50px;
  color: #a89de4;
  font-size: 7px;
}

/* Footer */
.site-footer {
  color: #928da5;
  background: var(--dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.68fr 0.72fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  padding-top: 56px;
  padding-bottom: 43px;
}

.footer-brand .brand {
  color: #f4efff;
}

.footer-brand .brand-mark {
  color: var(--ink);
  background: var(--lime);
}

.footer-brand .brand-name small {
  color: #6d6880;
}

.footer-brand > p {
  margin-top: 19px;
  color: #89839b;
  font-size: 10.5px;
  line-height: 1.9;
}

.site-footer h3 {
  margin: 3px 0 17px;
  color: #e8e3f7;
  font-size: 10.5px;
  font-weight: 550;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  margin-bottom: 9px;
  color: #89839b;
  font-size: 10px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-contact .footer-mail {
  display: block;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
}

.footer-contact p {
  margin-top: 14px;
  color: #77718a;
  font-size: 9.5px;
  line-height: 1.8;
}

.footer-contact > span {
  display: block;
  margin-top: 17px;
  color: #514c62;
  font-size: 6.5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 64px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #615c72;
  font-size: 8px;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom a {
  color: #9d96b1;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.footer-bottom span {
  color: #4f4a5e;
  font-size: 6.5px;
}

/* Reveal / to top */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease) var(--delay, 0ms),
    transform 0.7s var(--ease) var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--lime);
  background: var(--dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--violet);
}

.to-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}

/* Responsive */
@media (max-width: 1140px) {
  :root { --gutter: 36px; }

  .main-nav { gap: 18px; }
  .header-inner { gap: 25px; }
  .hero-inner { gap: 38px; }
  .console-wrap { max-width: 620px; }
  .console-body { grid-template-columns: 94px 1fr; }
  .console-side { padding: 15px 10px; }
  .service-card:not(.service-large):not(.service-ai) { grid-column: span 6; }
  .insight-card { grid-template-columns: 145px minmax(0, 1fr) 120px; gap: 20px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .mobile-menu { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 55px;
    padding-bottom: 20px;
  }

  .hero-copy { max-width: 700px; }
  .console-wrap { max-width: 700px; margin: 0 auto; }
  .console-card { transform: none; }
  .float-uptime { left: -10px; }
  .float-ai { right: -5px; }

  .section-head,
  .method-top,
  .insights-head {
    display: block;
  }

  .section-intro,
  .method-note {
    max-width: 540px;
    margin-top: 18px;
    padding: 0;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-large,
  .service-ai { grid-column: span 2; min-height: 350px; }
  .service-card,
  .service-card:not(.service-large):not(.service-ai) { grid-column: span 1; }

  .case-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .case-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 480px;
  }

  .method-steps { grid-template-columns: 1fr 1fr; }
  .method-steps li:nth-child(2) { border-right: 0; }
  .method-steps li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .method-steps li:nth-child(3) { padding-left: 0; }
  .method-steps li { min-height: 250px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { width: min(100%, 600px); padding-right: 35px; }
  .about-photo { aspect-ratio: 1.2 / 1; width: 85%; }
  .about-sticker { right: 0; bottom: 8%; }

  .insights-head .btn { margin-top: 22px; }

  .footer-main { grid-template-columns: 1.3fr 0.7fr 0.8fr; }
  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 25px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-contact h3 { flex-basis: 100%; margin: 0 0 4px; }
  .footer-contact p { margin: 0; }
  .footer-contact > span { margin: 0; }
}

@media (max-width: 740px) {
  :root { --gutter: 20px; }

  .header-inner { min-height: 70px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-name { font-size: 16px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .mobile-menu { height: calc(100dvh - 70px); }

  .section { padding: 68px 0; scroll-margin-top: 74px; }
  .eyebrow { margin-bottom: 16px; font-size: 8px; }
  .section-title { font-size: clamp(31px, 8.5vw, 43px); }
  .section-head { margin-bottom: 31px; }
  .section-intro { font-size: 11.5px; }

  .hero-inner { padding-top: 42px; gap: 35px; }
  .hero-status { margin-bottom: 20px; font-size: 6.5px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .hero-lead { margin-top: 20px; font-size: 12px; }
  .hero-actions { margin-top: 24px; }
  .hero-proof { margin-top: 28px; }

  .console-wrap { padding-top: 17px; }
  .console-card {
    border-radius: 13px;
    box-shadow: 0 20px 55px rgba(41, 27, 108, 0.18), 0 0 0 4px rgba(255, 255, 255, 0.4);
  }
  .console-bar { min-height: 34px; padding: 0 10px; gap: 9px; }
  .console-address { font-size: 5.5px; }
  .console-live { font-size: 5.5px; }
  .console-body { grid-template-columns: 1fr; min-height: 330px; }
  .console-side { display: none; }
  .console-main { padding: 14px; }
  .console-metrics span { font-size: 5.5px; }
  .console-metrics strong { font-size: 14px; }
  .console-metrics em { font-size: 5px; margin-left: 2px; }
  .chart-panel svg { height: 64px; }
  .float-uptime { top: -3%; left: 0; padding: 8px 10px; }
  .uptime-number { font-size: 16px; }
  .float-ai { right: 0; bottom: 0; padding: 8px 10px; }
  .float-ai small { font-size: 5px; }
  .float-stack { display: none; }

  .tech-marquee-wrap { gap: 12px; padding-bottom: 20px; }
  .tech-label { font-size: 6px; }
  .tech-track { gap: 16px; padding: 8px 0; font-size: 7px; }

  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-large,
  .service-ai,
  .service-card { grid-column: span 1; }
  .service-card { min-height: 246px; padding: 21px; }
  .service-large { min-height: 400px; padding: 21px; }
  .service-ai { min-height: 355px; }
  .service-large .service-art { min-height: 130px; }
  .service-card h3 { font-size: 18px; margin-top: 17px; }
  .service-card > p { font-size: 10.5px; }
  .service-num { top: 23px; right: 21px; }

  .case-grid { grid-template-columns: 1fr; gap: 10px; }
  .case-feature { min-height: 495px; padding: 22px; }
  .case-feature-content { margin-top: 31px; }
  .case-feature-content h3 { font-size: 27px; }
  .case-desc { font-size: 10px; }
  .case-results > div { padding-right: 16px; }
  .case-results > div + div { padding-left: 16px; }
  .case-results strong { font-size: 21px; }
  .case-diagram { right: 20px; bottom: 17px; left: 20px; height: 115px; }
  .case-card { min-height: 235px; padding: 21px; }

  .method-steps { grid-template-columns: 1fr; margin-top: 31px; }
  .method-steps li {
    min-height: 0;
    padding: 22px 0 23px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .method-steps li + li { padding-left: 0; }
  .method-steps li:last-child { border-bottom: 0; }
  .step-icon { margin-top: 19px; }
  .method-steps h3 { margin-top: 13px; }
  .method-steps p { max-width: 420px; }
  .step-week { position: static; display: block; margin-top: 13px; }

  .about-visual { padding-right: 22px; }
  .about-photo { width: 90%; }
  .about-sticker { width: 140px; padding: 14px; bottom: 5%; }
  .about-sticker strong { font-size: 32px; }
  .about-copy .section-title { margin-bottom: 17px; }
  .about-lead { font-size: 15px; }
  .about-body { font-size: 11px; }
  .about-stats > div { padding-right: 21px; }
  .about-stats > div + div { padding-left: 21px; }

  .insights-head { margin-bottom: 25px; }
  .insights-head .btn { width: 100%; margin-top: 17px; }
  .insight-card {
    grid-template-columns: 1fr auto;
    gap: 8px 15px;
    padding: 21px 0;
  }
  .insight-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .insight-card h3 { font-size: 16px; }
  .insight-card p { grid-column: 1 / -1; }
  .insight-link { grid-column: 2; grid-row: 2; }
  .insight-card:hover { padding-right: 7px; padding-left: 7px; }

  .contact { padding: 32px 0 55px; }
  .contact-panel { padding: 34px 24px; border-radius: 20px; }
  .contact-panel h2 { font-size: clamp(34px, 9.7vw, 47px); }
  .contact-lead { font-size: 11.5px; }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .contact-actions .btn { width: 100%; }
  .contact-foot { margin-top: 35px; gap: 17px; font-size: 6px; }

  .site-footer { padding-top: 0; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 29px 22px;
    padding-top: 42px;
    padding-bottom: 30px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-contact h3 { margin-bottom: 10px; }
  .footer-contact p { margin-top: 10px; }
  .footer-contact > span { margin-top: 12px; }

  .footer-bottom { display: block; padding: 16px 0 20px; }
  .footer-bottom div { margin-top: 9px; justify-content: space-between; gap: 10px; }
  .footer-bottom span { display: none; }

  .to-top { right: 14px; bottom: 14px; width: 39px; height: 39px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 39px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .proof-avatars span { width: 25px; height: 25px; }
  .float-uptime { transform: scale(0.88); transform-origin: left center; }
  .float-ai { transform: scale(0.9); transform-origin: right bottom; }
  .console-metrics > div { padding: 8px 7px; }
  .console-metrics strong { font-size: 13px; }
  .console-title h2 { font-size: 11px; }
  .case-feature { min-height: 515px; }
  .case-results { flex-wrap: wrap; row-gap: 13px; }
  .about-stats { flex-wrap: wrap; row-gap: 17px; }
  .about-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}
