:root {
  color-scheme: dark;
  --bg-main: #070a0f;
  --bg-deep: #0b111a;
  --bg-slate: #111827;
  --bg-card: rgba(17, 24, 39, 0.58);
  --bg-card-soft: rgba(255, 255, 255, 0.06);
  --text-main: #f5f7fa;
  --text-muted: #a7b0c0;
  --text-heading: #f5f7fa;
  --accent: #55f5c2;
  --accent-2: #18c99a;
  --blue: #3b82f6;
  --border: rgba(245, 247, 250, 0.13);
  --glow: rgba(85, 245, 194, 0.24);
  --warm-glow: #f6c76b;
  --header-bg: rgba(7, 10, 15, 0.74);
  --nav-menu-bg: rgba(7, 10, 18, 0.94);
  --button-primary-text: #04110e;
  --button-ghost-bg: rgba(255, 255, 255, 0.06);
  --button-sweep: rgba(255, 255, 255, 0.5);
  --card-hover-glow: rgba(85, 245, 194, 0.11);
  --preview-overlay: rgba(7, 10, 15, 0.48);
  --grid-line: rgba(255, 255, 255, 0.045);
  --subtle-grid-line: rgba(255, 255, 255, 0.04);
  --glass-bg: rgba(17, 24, 39, 0.58);
  --glass-bg-strong: rgba(17, 24, 39, 0.76);
  --surface: rgba(17, 24, 39, 0.58);
  --surface-strong: rgba(17, 24, 39, 0.76);
  --surface-muted: rgba(255, 255, 255, 0.06);
  --accent-soft: rgba(85, 245, 194, 0.09);
  --border-strong: rgba(245, 247, 250, 0.18);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.18);
  --bg: var(--bg-main);
  --panel: var(--bg-card);
  --panel-strong: rgba(17, 24, 39, 0.76);
  --line: var(--border);
  --text: var(--text-main);
  --muted: var(--text-muted);
  --cyan: var(--accent);
  --violet: rgba(92, 120, 255, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-main: #f6f8fb;
  --bg-deep: #eef3f7;
  --bg-slate: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-soft: rgba(245, 248, 252, 0.86);
  --text-main: #0b111a;
  --text-muted: #5c6675;
  --text-heading: #071018;
  --accent: #00b98b;
  --accent-2: #008b6a;
  --blue: #2563eb;
  --border: rgba(10, 20, 30, 0.1);
  --glow: rgba(0, 185, 139, 0.18);
  --warm-glow: #d79b35;
  --header-bg: rgba(255, 255, 255, 0.72);
  --nav-menu-bg: rgba(255, 255, 255, 0.94);
  --button-primary-text: #ffffff;
  --button-ghost-bg: rgba(255, 255, 255, 0.78);
  --button-sweep: rgba(255, 255, 255, 0.62);
  --card-hover-glow: rgba(0, 185, 139, 0.13);
  --preview-overlay: rgba(255, 255, 255, 0.34);
  --grid-line: rgba(10, 20, 30, 0.045);
  --subtle-grid-line: rgba(10, 20, 30, 0.045);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-bg-strong: rgba(255, 255, 255, 0.9);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-muted: rgba(241, 246, 249, 0.82);
  --accent-soft: rgba(0, 185, 139, 0.12);
  --border-strong: rgba(10, 20, 30, 0.18);
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.1);
  --panel: var(--bg-card);
  --panel-strong: var(--glass-bg-strong);
  --line: var(--border);
  --text: var(--text-main);
  --muted: var(--text-muted);
  --cyan: var(--accent);
  --shadow: 0 24px 80px rgba(20, 35, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.theme-ready *,
html.theme-ready *::before,
html.theme-ready *::after {
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 8%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 26%),
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%),
    radial-gradient(circle at 52% 100%, color-mix(in srgb, var(--warm-glow) 7%, transparent), transparent 34%),
    linear-gradient(130deg, var(--bg-main), var(--bg-deep) 46%, var(--bg-main));
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 6%, transparent), color-mix(in srgb, var(--blue) 6%, transparent), color-mix(in srgb, var(--warm-glow) 4%, transparent));
  background-size: 300% 300%;
  animation: gradientShift 18s ease-in-out infinite;
  opacity: 0.9;
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 34px 34px, 58px 58px;
  mix-blend-mode: overlay;
}

.grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 74%);
}

.particle-field {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(85, 245, 194, 0.34) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(59, 130, 246, 0.24) 0 1px, transparent 1.6px);
  background-position: 0 0, 42px 24px;
  background-size: 132px 132px, 180px 180px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  opacity: 0.34;
}

.bg-orb {
  position: absolute;
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.32;
}

.bg-orb-a {
  left: -12vw;
  top: 12vh;
  background: var(--blue);
  animation: float 13s ease-in-out infinite;
}

.bg-orb-b {
  right: -16vw;
  bottom: 4vh;
  background: var(--accent-2);
  animation: float 15s ease-in-out infinite reverse;
}

.bg-orb-c {
  left: 38vw;
  top: 58vh;
  width: 24vw;
  background: var(--cyan);
  animation: float 18s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--header-bg);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.logo,
.nav,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-weight: 900;
}

.logo-mark {
  position: relative;
  overflow: hidden;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  border: 1px solid rgba(245, 247, 250, 0.18);
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(7, 10, 15, 0.98));
  box-shadow: 0 0 28px var(--glow), inset 0 0 18px rgba(85, 245, 194, 0.06);
}

.logo-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 12px;
  height: 18px;
  border: 1px solid rgba(85, 245, 194, 0.75);
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(90deg, rgba(85, 245, 194, 0.2), rgba(59, 130, 246, 0.05));
  box-shadow: 0 0 18px rgba(85, 245, 194, 0.32);
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 9px;
  width: 7px;
  height: 16px;
  border-radius: 2px 7px 4px 2px;
  background: linear-gradient(180deg, rgba(85, 245, 194, 0.82), rgba(246, 199, 107, 0.32));
  transform: skewY(-9deg);
  filter: blur(0.2px);
}

.nav {
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer-links a {
  transition: color 0.2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-action {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  background: var(--button-ghost-bg);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 11px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button-ghost-bg);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--toggle-x, 26%) 50%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 42%);
  opacity: 0.8;
}

.theme-toggle > * {
  position: relative;
}

.theme-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, var(--button-primary-text) 0 4px, transparent 5px),
    linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 0 18px var(--glow);
}

html[data-theme="light"] .theme-toggle-icon {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 4px, transparent 5px),
    conic-gradient(from 0deg, var(--warm-glow), var(--accent), var(--blue), var(--warm-glow));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--button-ghost-bg);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.compact-section {
  padding: 42px 0 76px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 58px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding-top: 74px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(62px, 10vw, 132px);
  line-height: 0.86;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
strong {
  color: var(--text-heading);
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--text-heading);
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.14;
  font-weight: 700;
}

.hero-copy,
.section-heading > p,
.section-heading-wide > p,
.final-cta p,
.card p,
.case-card p,
.audience-card p,
.process-step p,
.site-footer p {
  color: var(--muted);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.button::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -70%;
  width: 44%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, var(--button-sweep), transparent);
  transition: left 0.65s ease;
}

.button:hover::after {
  left: 125%;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 48%, var(--blue));
  color: var(--button-primary-text);
  box-shadow: 0 18px 46px rgba(85, 245, 194, 0.18);
}

.button-ghost {
  border: 1px solid var(--line);
  background: var(--button-ghost-bg);
  color: var(--text);
}

.button-ghost:hover,
.card:hover,
.case-card:hover,
.audience-card:hover {
  border-color: rgba(85, 245, 194, 0.36);
  box-shadow: 0 24px 70px var(--card-hover-glow);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  transform-style: preserve-3d;
  will-change: transform;
}

.lab-core {
  position: absolute;
  inset: 34px 0 auto auto;
  width: min(520px, 84vw);
  aspect-ratio: 1;
  border-radius: 48px;
  perspective: 900px;
}

.core-grid {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 46px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotateX(62deg) rotateZ(-18deg);
  box-shadow: inset 0 0 50px rgba(85, 245, 194, 0.07);
}

.core-ring,
.portal-door {
  position: absolute;
}

.core-ring {
  inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 38px rgba(59, 130, 246, 0.12);
}

.ring-a {
  animation: rotate 20s linear infinite;
}

.ring-b {
  inset: 17%;
  border-color: rgba(85, 245, 194, 0.22);
  transform: rotateX(64deg);
  animation: rotate 15s linear infinite reverse;
}

.portal-door {
  left: 50%;
  top: 50%;
  width: 190px;
  height: 290px;
  transform: translate(-50%, -50%);
  border-radius: 34px 34px 18px 18px;
  filter: drop-shadow(0 0 44px rgba(85, 245, 194, 0.2));
  animation: portalBreathe 6.5s ease-in-out infinite;
}

.door-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245, 247, 250, 0.18);
  border-radius: 34px 34px 18px 18px;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(7, 10, 15, 0.96)),
    radial-gradient(circle at 50% 18%, rgba(85, 245, 194, 0.18), transparent 46%);
  box-shadow:
    inset 0 0 48px rgba(85, 245, 194, 0.08),
    0 0 74px rgba(85, 245, 194, 0.16);
}

.door-opening {
  position: absolute;
  left: 45px;
  top: 36px;
  width: 92px;
  height: 218px;
  border-radius: 28px 28px 10px 10px;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.35), rgba(85, 245, 194, 0.16) 58%, rgba(246, 199, 107, 0.16)),
    linear-gradient(180deg, rgba(85, 245, 194, 0.5), rgba(24, 201, 154, 0.18) 50%, rgba(246, 199, 107, 0.18));
  clip-path: polygon(0 0, 78% 7%, 78% 92%, 0 100%);
  box-shadow:
    inset 0 0 34px rgba(245, 247, 250, 0.16),
    0 0 42px rgba(85, 245, 194, 0.28);
}

.door-light {
  position: absolute;
  left: 50%;
  top: 38px;
  width: 160px;
  height: 250px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(85, 245, 194, 0.42), transparent 38%),
    radial-gradient(ellipse at 50% 78%, rgba(246, 199, 107, 0.28), transparent 42%);
  filter: blur(18px);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.door-threshold {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -22px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(246, 199, 107, 0.36), rgba(85, 245, 194, 0.12) 42%, transparent 70%);
  filter: blur(6px);
}

.core-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 245, 194, 0.8), transparent);
  box-shadow: 0 0 16px rgba(85, 245, 194, 0.38);
}

.line-a {
  left: 3%;
  right: 11%;
  top: 42%;
  transform: rotate(-18deg);
}

.line-b {
  left: 16%;
  right: 4%;
  top: 62%;
  transform: rotate(24deg);
}

.floating-card {
  position: absolute;
  z-index: 2;
  min-width: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}

.card-top {
  right: 18px;
  top: 84px;
}

.card-mid {
  left: 8px;
  top: 250px;
  animation-delay: -2s;
}

.card-bottom {
  right: 70px;
  bottom: 64px;
  animation-delay: -4s;
}

.tiny-label,
.tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 34px;
}

.mini-bars {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.45fr;
  gap: 8px;
}

.mini-bars i,
.node-map i,
.signal-line,
.mock-lines i,
.dash-grid i,
.chat-bubble {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-bars i {
  height: 28px;
  background: linear-gradient(180deg, rgba(85, 245, 194, 0.72), rgba(59, 130, 246, 0.12));
}

.node-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 34px);
  gap: 18px;
  padding: 8px;
}

.node-map::before,
.node-map::after {
  content: "";
  position: absolute;
  left: 27px;
  right: 27px;
  top: 32px;
  height: 1px;
  background: rgba(85, 245, 194, 0.48);
}

.node-map::after {
  top: 84px;
}

.node-map i {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(85, 245, 194, 0.28);
  background: rgba(85, 245, 194, 0.09);
}

.signal-line {
  height: 11px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), transparent);
}

.signal-line.small {
  width: 68%;
  background: linear-gradient(90deg, rgba(246, 199, 107, 0.65), var(--blue), transparent);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-card);
  backdrop-filter: blur(18px);
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.08;
}

.stat span {
  display: block;
  line-height: 1.55;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: 38px;
}

.section-heading-wide {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 28px;
  align-items: end;
}

.section-heading-wide > p {
  margin-bottom: 4px;
  line-height: 1.7;
}

.cards {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.case-card,
.audience-card,
.process-step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.card {
  min-height: 250px;
  padding: 24px;
  border-radius: 22px;
}

.card::before,
.case-card::before,
.audience-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 20%) var(--my, 0%), rgba(85, 245, 194, 0.13), transparent 38%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover,
.case-card:hover,
.audience-card:hover,
.process-step:hover {
  transform: translateY(-7px);
}

.card:hover::before,
.case-card:hover::before,
.audience-card:hover::before,
.process-step:hover::before {
  opacity: 1;
}

.card > *,
.case-card > *,
.audience-card > *,
.process-step > * {
  position: relative;
}

.service-card {
  min-height: 440px;
}

.service-card::after,
.case-card::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -80%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(245, 247, 250, 0.12), transparent);
  opacity: 0;
  transition: left 0.65s ease, opacity 0.2s ease;
}

.service-card:hover::after,
.case-card:hover::after {
  left: 125%;
  opacity: 1;
}

.service-visual {
  position: relative;
  height: 132px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 30%, rgba(85, 245, 194, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.74), rgba(7, 10, 15, 0.3));
}

.service-visual::before,
.case-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, var(--preview-overlay)),
    radial-gradient(circle at 22% 10%, rgba(85, 245, 194, 0.12), transparent 36%);
}

.service-visual::after,
.case-preview::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -75%;
  z-index: 4;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(245, 247, 250, 0.15), transparent);
  opacity: 0;
  transition: left 0.65s ease, opacity 0.2s ease;
}

.service-card:hover .service-visual::after,
.case-card:hover .case-preview::after {
  left: 125%;
  opacity: 1;
}

.preview-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.55s ease, opacity 0.25s ease;
}

.service-card:hover .preview-image,
.case-card:hover .preview-image {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.preview-image.is-missing {
  display: none;
}

.preview-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-visual i {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.browser-icon i:nth-child(1) {
  left: 18px;
  top: 18px;
  width: 58px;
  height: 10px;
}

.browser-icon i:nth-child(2) {
  left: 18px;
  top: 48px;
  width: 74%;
  height: 22px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.browser-icon i:nth-child(3) {
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  background: rgba(59, 130, 246, 0.2);
}

.design-icon i:nth-child(1) {
  left: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(24, 201, 154, 0.17);
}

.design-icon i:nth-child(2) {
  right: 20px;
  top: 28px;
  width: 76px;
  height: 12px;
  background: rgba(245, 247, 250, 0.38);
}

.design-icon i:nth-child(3) {
  right: 36px;
  bottom: 28px;
  width: 104px;
  height: 12px;
}

.chat-icon i {
  height: 17px;
}

.chat-icon i:nth-child(1) {
  left: 18px;
  top: 26px;
  width: 72%;
  background: rgba(85, 245, 194, 0.2);
}

.chat-icon i:nth-child(2) {
  right: 18px;
  top: 60px;
  width: 58%;
  background: rgba(59, 130, 246, 0.2);
}

.chat-icon i:nth-child(3) {
  left: 18px;
  bottom: 22px;
  width: 42%;
}

.crypto-icon i:nth-child(1) {
  left: 20px;
  bottom: 20px;
  width: 18px;
  height: 54px;
  background: var(--cyan);
}

.crypto-icon i:nth-child(2) {
  left: 52px;
  bottom: 20px;
  width: 18px;
  height: 82px;
  background: var(--blue);
}

.crypto-icon i:nth-child(3) {
  left: 84px;
  bottom: 20px;
  width: 18px;
  height: 42px;
  background: rgba(246, 199, 107, 0.58);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(85, 245, 194, 0.14), rgba(59, 130, 246, 0.11));
  color: var(--cyan);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(85, 245, 194, 0.58);
}

.cases-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
  min-height: 430px;
  padding: 18px;
  border-radius: 24px;
}

.case-preview {
  position: relative;
  height: 190px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 22% 18%, rgba(85, 245, 194, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.78), rgba(7, 10, 15, 0.32));
}

.mock-window {
  display: flex;
  gap: 7px;
  padding: 14px;
}

.mock-window span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.mock-hero {
  width: 72%;
  height: 46px;
  margin: 20px 14px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--cyan), var(--accent-2), var(--blue));
  box-shadow: 0 0 38px rgba(85, 245, 194, 0.13);
}

.mock-lines {
  display: grid;
  gap: 9px;
  margin: 0 14px;
}

.mock-lines i {
  height: 10px;
}

.mock-lines i:nth-child(2) {
  width: 72%;
}

.mock-lines i:nth-child(3) {
  width: 48%;
}

.chat-bubble {
  height: 26px;
  margin: 22px;
  background: rgba(85, 245, 194, 0.15);
}

.chat-bubble.right {
  width: 62%;
  margin-left: auto;
  background: rgba(59, 130, 246, 0.17);
}

.chat-bubble.left {
  width: 72%;
}

.chat-bubble.small {
  width: 46%;
}

.chart-line {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 68px;
  height: 64px;
  border-bottom: 2px solid rgba(85, 245, 194, 0.58);
  border-left: 2px solid rgba(85, 245, 194, 0.22);
  transform: skewY(-10deg);
  box-shadow: 0 14px 38px rgba(85, 245, 194, 0.13);
}

.dash-grid {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.dash-grid i {
  height: 42px;
  border-radius: 12px;
}

.before-after {
  position: absolute;
  inset: 22px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 48%, rgba(85, 245, 194, 0.18) 48% 52%, rgba(59, 130, 246, 0.14) 52%),
    rgba(255, 255, 255, 0.05);
}

.case-card h3 {
  min-height: 58px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 46px;
  align-items: start;
}

.benefits {
  display: grid;
  gap: 14px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.benefit span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(85, 245, 194, 0.58);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 245, 194, 0.42), transparent);
}

.process-step {
  min-height: 270px;
  padding: 24px;
  border-radius: 22px;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 58px;
  border: 1px solid rgba(85, 245, 194, 0.24);
  border-radius: 18px;
  background: rgba(85, 245, 194, 0.08);
  color: var(--cyan);
  font-weight: 900;
  box-shadow: 0 0 34px rgba(85, 245, 194, 0.1);
}

.tech-section {
  overflow: hidden;
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(18px);
}

.marquee + .marquee {
  margin-top: 14px;
}

.marquee-track {
  display: flex;
  min-width: max-content;
  gap: 12px;
  padding: 14px;
  animation: marquee 34s linear infinite;
}

.reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 40s;
}

.marquee span,
.badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  white-space: nowrap;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.audience-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
}

.team-heading {
  max-width: 920px;
}

.team-heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
  gap: 18px;
}

.team-card {
  min-height: 470px;
  background:
    radial-gradient(circle at 22% 8%, rgba(85, 245, 194, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.68), rgba(7, 10, 15, 0.38));
}

.founder-card {
  display: flex;
  flex-direction: column;
}

.founder-card .badges {
  margin-top: auto;
  padding-top: 28px;
}

.capability-card {
  padding: 28px;
}

.capability-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.capability-top h3 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.capability-mark {
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 1px solid rgba(85, 245, 194, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 36% 24%, rgba(85, 245, 194, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 44px rgba(85, 245, 194, 0.1);
}

.capability-mark span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(85, 245, 194, 0.32);
}

.capability-mark span:nth-child(1) {
  left: 18px;
  right: 18px;
  top: 25px;
  height: 8px;
}

.capability-mark span:nth-child(2) {
  left: 18px;
  right: 34px;
  top: 43px;
  height: 8px;
  background: rgba(59, 130, 246, 0.28);
}

.capability-mark span:nth-child(3) {
  left: 18px;
  right: 48px;
  top: 61px;
  height: 8px;
  background: rgba(246, 199, 107, 0.26);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.capability-unit {
  position: relative;
  min-height: 330px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 0%, rgba(85, 245, 194, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.capability-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.capability-unit > * {
  position: relative;
}

.capability-unit h4 {
  margin: 0 0 10px;
  font-size: 24px;
}

.capability-unit p:not(.role) {
  color: var(--muted);
  line-height: 1.65;
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid rgba(85, 245, 194, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(7, 10, 15, 0.92)),
    radial-gradient(circle at 40% 24%, rgba(85, 245, 194, 0.24), transparent 45%);
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 0 44px rgba(85, 245, 194, 0.12), inset 0 0 24px rgba(85, 245, 194, 0.04);
}

.avatar::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 17px;
  width: 34px;
  height: 50px;
  border: 1px solid rgba(85, 245, 194, 0.16);
  border-radius: 14px 14px 7px 7px;
  opacity: 0.75;
}

.avatar-compact {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 22px;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.code-avatar::after {
  content: "<>";
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: rgba(85, 245, 194, 0.42);
  font-size: 14px;
}

.auto-avatar::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 11px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(85, 245, 194, 0.5);
  border-radius: 50%;
  box-shadow: -16px -10px 0 -5px rgba(59, 130, 246, 0.52), -2px -24px 0 -5px rgba(246, 199, 107, 0.48);
}

.role {
  margin-top: -4px;
  color: var(--accent) !important;
  font-weight: 800;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.badges span {
  min-height: 32px;
  padding: 0 11px;
  border-color: rgba(85, 245, 194, 0.14);
  font-size: 13px;
}

.final-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 68px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 0%, rgba(85, 245, 194, 0.13), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(246, 199, 107, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.78), rgba(7, 10, 15, 0.46));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.channel-section {
  padding-top: 36px;
}

.channel-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 10%, rgba(85, 245, 194, 0.13), transparent 34%),
    radial-gradient(circle at 84% 65%, rgba(59, 130, 246, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.76), rgba(7, 10, 15, 0.48));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 70% 50%, black, transparent 72%);
}

.channel-content,
.channel-preview {
  position: relative;
}

.channel-content h2 {
  margin-bottom: 18px;
}

.channel-content p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.channel-preview {
  min-height: 250px;
}

.paper-plane {
  position: absolute;
  right: 42px;
  top: 28px;
  width: 118px;
  height: 92px;
  clip-path: polygon(0 42%, 100% 0, 70% 100%, 48% 58%, 22% 72%);
  background: linear-gradient(135deg, rgba(85, 245, 194, 0.92), rgba(59, 130, 246, 0.7));
  box-shadow: 0 0 60px rgba(85, 245, 194, 0.18);
  opacity: 0.9;
  animation: float 8s ease-in-out infinite;
}

.message-card {
  position: absolute;
  min-width: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.message-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.message-card strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.message-card-a {
  left: 4px;
  top: 28px;
}

.message-card-b {
  right: 12px;
  top: 128px;
}

.message-card-c {
  left: 46px;
  bottom: 0;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -30%;
  width: 30%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: sweep 6s ease-in-out infinite;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, black 35%, transparent);
}

.cta-portal {
  position: absolute;
  right: 8%;
  bottom: -42px;
  width: 190px;
  height: 230px;
  border: 1px solid rgba(85, 245, 194, 0.18);
  border-radius: 38px 38px 16px 16px;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.2), rgba(85, 245, 194, 0.12), rgba(246, 199, 107, 0.09)),
    rgba(17, 24, 39, 0.18);
  box-shadow: 0 0 90px rgba(85, 245, 194, 0.16), 0 0 90px rgba(246, 199, 107, 0.08);
  opacity: 0.58;
}

.cta-portal::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 220px;
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(246, 199, 107, 0.28), rgba(85, 245, 194, 0.1) 42%, transparent 72%);
  filter: blur(7px);
}

.final-cta h2 {
  max-width: 720px;
  margin-bottom: 18px;
}

.final-cta p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-links {
  gap: 18px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[data-theme="light"] .page-bg {
  background:
    radial-gradient(circle at 16% 8%, rgba(37, 99, 235, 0.1), transparent 27%),
    radial-gradient(circle at 82% 12%, rgba(0, 185, 139, 0.14), transparent 29%),
    radial-gradient(circle at 48% 98%, rgba(215, 155, 53, 0.1), transparent 36%),
    linear-gradient(135deg, #f8fbfd, #eef3f7 50%, #f6f8fb);
}

html[data-theme="light"] .noise {
  opacity: 0.12;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .particle-field {
  opacity: 0.2;
}

html[data-theme="light"] .logo-mark,
html[data-theme="light"] .avatar,
html[data-theme="light"] .avatar-compact {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 241, 0.88)),
    radial-gradient(circle at 40% 24%, rgba(0, 185, 139, 0.18), transparent 45%);
  border-color: rgba(0, 185, 139, 0.22);
  color: var(--text-heading);
  box-shadow: 0 12px 32px rgba(0, 185, 139, 0.12), inset 0 0 22px rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .avatar::before {
  border-color: rgba(0, 185, 139, 0.18);
}

html[data-theme="light"] .site-header {
  box-shadow: 0 18px 54px rgba(15, 35, 55, 0.1);
}

html[data-theme="light"] .nav {
  color: #647083;
}

html[data-theme="light"] .card,
html[data-theme="light"] .case-card,
html[data-theme="light"] .audience-card,
html[data-theme="light"] .process-step,
html[data-theme="light"] .stat,
html[data-theme="light"] .benefit,
html[data-theme="light"] .marquee,
html[data-theme="light"] .team-card,
html[data-theme="light"] .channel-card,
html[data-theme="light"] .final-cta {
  box-shadow: 0 22px 70px rgba(20, 35, 55, 0.09);
}

html[data-theme="light"] .service-visual,
html[data-theme="light"] .case-preview {
  border-color: rgba(10, 20, 30, 0.09);
  background:
    radial-gradient(circle at 24% 30%, rgba(0, 185, 139, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 247, 0.72));
}

html[data-theme="light"] .team-card {
  border-color: rgba(10, 20, 30, 0.1);
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 185, 139, 0.13), transparent 38%),
    radial-gradient(circle at 86% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 247, 0.78));
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .founder-card {
  background:
    radial-gradient(circle at 19% 8%, rgba(0, 185, 139, 0.16), transparent 37%),
    radial-gradient(circle at 84% 88%, rgba(215, 155, 53, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 244, 0.84));
}

html[data-theme="light"] .capability-card {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 185, 139, 0.12), transparent 35%),
    radial-gradient(circle at 86% 4%, rgba(37, 99, 235, 0.11), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 247, 0.82));
}

html[data-theme="light"] .team-card h3,
html[data-theme="light"] .team-card h4,
html[data-theme="light"] .team-heading h2,
html[data-theme="light"] .capability-top h3 {
  color: var(--text-heading);
}

html[data-theme="light"] .team-card p:not(.eyebrow):not(.role),
html[data-theme="light"] .team-heading p:not(.eyebrow),
html[data-theme="light"] .capability-unit p:not(.role) {
  color: var(--text-muted);
}

html[data-theme="light"] .capability-unit {
  border-color: rgba(10, 20, 30, 0.1);
  background:
    radial-gradient(circle at 24% 2%, rgba(0, 185, 139, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 253, 0.86));
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .capability-unit::before {
  background-image:
    linear-gradient(rgba(10, 20, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 30, 0.035) 1px, transparent 1px);
}

html[data-theme="light"] .capability-mark {
  border-color: rgba(0, 185, 139, 0.18);
  background:
    radial-gradient(circle at 36% 24%, rgba(0, 185, 139, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(235, 246, 242, 0.7));
  box-shadow: 0 16px 40px rgba(0, 185, 139, 0.11);
}

html[data-theme="light"] .capability-mark span {
  background: rgba(0, 185, 139, 0.34);
}

html[data-theme="light"] .capability-mark span:nth-child(2) {
  background: rgba(37, 99, 235, 0.3);
}

html[data-theme="light"] .capability-mark span:nth-child(3) {
  background: rgba(215, 155, 53, 0.32);
}

html[data-theme="light"] .badges span,
html[data-theme="light"] .marquee span {
  border-color: rgba(10, 20, 30, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: #16202c;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .badges span {
  border-color: rgba(0, 139, 106, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .card::before,
html[data-theme="light"] .case-card::before,
html[data-theme="light"] .audience-card::before,
html[data-theme="light"] .process-step::before {
  background: radial-gradient(circle at var(--mx, 20%) var(--my, 0%), rgba(0, 185, 139, 0.12), transparent 38%);
}

html[data-theme="light"] .door-frame {
  border-color: rgba(0, 139, 106, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 247, 0.94)),
    radial-gradient(circle at 50% 18%, rgba(0, 185, 139, 0.18), transparent 46%);
}

html[data-theme="light"] .door-opening {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(0, 185, 139, 0.16) 58%, rgba(215, 155, 53, 0.16)),
    linear-gradient(180deg, rgba(0, 185, 139, 0.42), rgba(0, 139, 106, 0.18) 50%, rgba(215, 155, 53, 0.18));
}

html[data-theme="light"] .floating-card,
html[data-theme="light"] .message-card {
  box-shadow: 0 18px 52px rgba(20, 35, 55, 0.11);
}

html[data-theme="light"] .channel-card,
html[data-theme="light"] .final-cta {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 185, 139, 0.12), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 252, 0.72));
}

html[data-theme="light"] .preview-image {
  filter: saturate(0.96) contrast(0.98);
}

html[data-theme="light"] .service-card:hover .preview-image,
html[data-theme="light"] .case-card:hover .preview-image {
  filter: saturate(1.04) contrast(1.02);
}

html[data-theme="light"] .nav {
  background-color: transparent;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

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

@keyframes spherePulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.04);
  }
}

@keyframes portalBreathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 40px rgba(85, 245, 194, 0.18));
  }
  50% {
    transform: translate(-50%, -50%) scale(1.025);
    filter: drop-shadow(0 0 58px rgba(85, 245, 194, 0.26));
  }
}

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

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

@keyframes sweep {
  0%,
  35% {
    left: -40%;
  }
  70%,
  100% {
    left: 120%;
  }
}

@media (max-width: 1120px) {
  .services-grid,
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    gap: 10px;
  }

  .logo {
    margin-right: auto;
  }

  .menu-toggle {
    display: block;
    order: 4;
  }

  .theme-toggle {
    order: 3;
  }

  .nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--nav-menu-bg);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav a {
    padding: 14px;
  }

  .menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  html[data-theme="light"] .nav,
  html[data-theme="dark"] .nav {
    background: var(--nav-menu-bg);
  }

  html[data-theme="light"] .menu-open .nav,
  html[data-theme="dark"] .menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .split-section,
  .section-heading-wide {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .stats-strip,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-layout,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: auto;
  }

  .final-cta,
  .channel-card,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .channel-card {
    grid-template-columns: 1fr;
  }

  .channel-preview {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    margin-top: 12px;
  }

  .header-action {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .compact-section {
    padding: 32px 0 54px;
  }

  .hero {
    padding-top: 58px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(54px, 18vw, 74px);
  }

  h2 {
    font-size: clamp(31px, 11vw, 44px);
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .services-grid,
  .cases-grid,
  .stats-strip,
  .process-timeline,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
    overflow: hidden;
    border-radius: 28px;
  }

  .lab-core {
    right: -36px;
    width: 360px;
  }

  .floating-card {
    min-width: 140px;
    padding: 14px;
  }

  .card-top {
    right: 0;
    top: 48px;
  }

  .card-mid {
    left: 0;
    top: 184px;
  }

  .card-bottom {
    right: 20px;
    bottom: 20px;
  }

  .service-card,
  .case-card {
    min-height: auto;
  }

  .capability-card {
    padding: 24px;
  }

  .capability-top {
    display: grid;
  }

  .capability-mark {
    width: 76px;
    height: 76px;
  }

  .capability-unit {
    min-height: auto;
  }

  .final-cta {
    padding: 28px;
    border-radius: 24px;
  }

  .channel-card {
    min-height: auto;
    padding: 28px;
    border-radius: 24px;
  }

  .channel-preview {
    min-height: 280px;
  }

  .paper-plane {
    right: 18px;
    top: 18px;
    width: 92px;
    height: 74px;
  }

  .message-card {
    min-width: 170px;
    max-width: 230px;
  }

  .message-card-a {
    left: 0;
    top: 18px;
  }

  .message-card-b {
    right: 0;
    top: 118px;
  }

  .message-card-c {
    left: 20px;
    bottom: 12px;
  }

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

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