:root {
  --canvas-width: 1440;
  --canvas-height: 900;
  --fit-scale: 1;
  --ink: #f2fbff;
  --muted: rgba(232, 244, 255, 0.66);
  --soft: rgba(232, 244, 255, 0.78);
  --line: rgba(132, 236, 255, 0.18);
  --green: #43f6b0;
  --cyan: #63fff0;
  --blue: #38a7ff;
  --bg: #02060d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.zoom-locked {
  overflow: auto;
}

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

.viewport-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.hero-background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 66% 55%, rgba(38, 187, 255, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 13, 0.98) 0%, rgba(2, 6, 13, 0.8) 36%, rgba(2, 6, 13, 0.26) 72%),
    url("assets/hero-kola-ai-bg.png") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-background::before,
.hero-background::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-background::before {
  background:
    linear-gradient(rgba(99, 255, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 255, 240, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 68%);
}

.hero-background::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 24%, rgba(0, 0, 0, 0.4) 100%),
    radial-gradient(circle at 11% 46%, rgba(67, 246, 176, 0.1), transparent 24%);
}

.site-canvas {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding: 34px clamp(56px, 5.2vw, 104px) 56px;
}

.site-canvas::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0) 78px),
    linear-gradient(90deg, rgba(0, 255, 204, 0.06), transparent 18%, transparent 82%, rgba(0, 147, 255, 0.08));
}

.site-header,
.hero {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  border-bottom: 1px solid rgba(217, 246, 255, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 38px;
  min-width: 0;
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(99, 255, 240, 0.78);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(99, 255, 240, 0.08);
  box-shadow:
    inset 0 0 18px rgba(99, 255, 240, 0.1),
    0 0 28px rgba(67, 246, 176, 0.18);
  font-size: 21px;
  font-weight: 820;
  line-height: 1;
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  font-weight: 760;
  line-height: 1;
}

.product-nav {
  display: flex;
  align-items: stretch;
  gap: 32px;
  height: 60px;
  color: rgba(242, 251, 255, 0.86);
  font-size: 16px;
  font-weight: 640;
}

.product-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.product-nav a:first-child::after {
  position: absolute;
  left: 0;
  right: 58%;
  bottom: -1px;
  height: 3px;
  border-radius: 99px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 18px rgba(99, 255, 240, 0.48);
}

.contact-link {
  color: rgba(242, 251, 255, 0.92);
  font-size: 16px;
  font-weight: 640;
  white-space: nowrap;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.account-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(99, 255, 240, 0.46);
  border-radius: 7px;
  padding: 0 13px;
  color: #baffee;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.account-link:hover {
  border-color: var(--cyan);
  background: rgba(99, 255, 240, 0.1);
}

.site-footer {
  position: absolute;
  right: clamp(56px, 5.2vw, 104px);
  bottom: 22px;
  left: clamp(56px, 5.2vw, 104px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: rgba(232, 244, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer a:hover {
  color: var(--cyan);
}

.brand,
.product-nav a,
.contact-link,
.button,
.glass-panel {
  outline-offset: 6px;
}

.product-nav a:hover,
.contact-link:hover {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(470px, 31vw) minmax(0, 1fr);
  gap: clamp(56px, 6vw, 112px);
  align-items: center;
  min-height: calc(100vh - 94px);
}

.hero-copy {
  padding-left: clamp(0px, 1.4vw, 28px);
  transform: translateY(10px);
}

.hero h1 {
  width: 520px;
  margin: 0;
  color: #ffffff;
  font-size: 54px;
  font-weight: 820;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(99, 255, 240, 0.12);
}

.hero h1::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 22px;
  border-radius: 99px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 20px rgba(99, 255, 240, 0.54);
}

.hero-line {
  width: 500px;
  margin: 28px 0 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.34;
}

.summary {
  width: 500px;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 164px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(99, 255, 240, 0.42);
  padding: 0 24px;
  font-size: 16px;
  font-weight: 740;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button span {
  font-size: 22px;
  line-height: 0;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #02100c;
  background: linear-gradient(135deg, #7ffff4, #38f0a8);
  box-shadow:
    0 0 0 1px rgba(99, 255, 240, 0.2),
    0 16px 42px rgba(67, 246, 176, 0.2);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 58px 0 0;
  color: rgba(242, 251, 255, 0.62);
  font-size: 14px;
  font-weight: 520;
}

.status-line::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(99, 255, 240, 0.72);
}

.hero-panels {
  position: relative;
  height: min(58vh, 520px);
  min-height: 460px;
}

.glass-panel {
  position: absolute;
  display: grid;
  gap: 10px;
  width: 268px;
  border: 1px solid rgba(117, 229, 255, 0.28);
  border-radius: 8px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(12, 35, 58, 0.62), rgba(4, 16, 30, 0.34)),
    rgba(2, 9, 18, 0.38);
  box-shadow:
    inset 0 0 34px rgba(99, 255, 240, 0.05),
    0 22px 64px rgba(0, 0, 0, 0.32),
    0 0 44px rgba(56, 167, 255, 0.1);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.glass-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 255, 240, 0.58);
  box-shadow:
    inset 0 0 34px rgba(99, 255, 240, 0.07),
    0 30px 88px rgba(0, 0, 0, 0.4),
    0 0 70px rgba(99, 255, 240, 0.16);
}

.panel-primary {
  top: 29%;
  right: min(30vw, 390px);
}

.panel-secondary {
  top: 53%;
  right: min(10vw, 150px);
}

.panel-tertiary {
  top: 76%;
  right: min(24vw, 320px);
}

.panel-kicker {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(99, 255, 240, 0.3);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(99, 255, 240, 0.08);
  font-size: 13px;
  font-weight: 820;
}

.glass-panel strong {
  color: #ffffff;
  font-size: 19px;
  font-weight: 720;
  line-height: 1.2;
}

.glass-panel > span:last-child {
  color: rgba(232, 244, 255, 0.68);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.48;
}

.signal-card {
  position: absolute;
  top: 15%;
  right: min(20vw, 290px);
  width: 130px;
  height: 108px;
  border: 1px solid rgba(117, 229, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 18, 34, 0.34);
  box-shadow: 0 0 52px rgba(56, 167, 255, 0.12);
}

.signal-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), rgba(56, 167, 255, 0.2));
  box-shadow: 0 0 14px rgba(99, 255, 240, 0.42);
}

.signal-card span:nth-child(1) {
  top: 32px;
}

.signal-card span:nth-child(2) {
  top: 54px;
  right: 46px;
}

.signal-card span:nth-child(3) {
  top: 76px;
  right: 70px;
}

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