:root {
  --bg: #060807;
  --bg-2: #0a0e0c;
  --surface: #0f1412;
  --surface-2: #141a17;
  --surface-3: #1a221e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f7f4;
  --text-secondary: #a3ada7;
  --text-muted: #6d7771;
  --accent: #35e07f;
  --accent-2: #b8f28b;
  --accent-deep: #0f9f52;
  --accent-soft: rgba(53, 224, 127, 0.12);
  --accent-glow: rgba(53, 224, 127, 0.35);
  --danger: #ff6b6b;
  --footer-grey: #8c948f;
  --radius-card: 22px;
  --radius-btn: 14px;
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* legacy aliases used by inline styles */
  --text-primary: var(--text);
  --brand-light: var(--accent-2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #04120a;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #04120a;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ===== PRELOADER ===== */
.preloader {
  display: none;
}

.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--bg);
  transition: clip-path 0.9s var(--ease-io), visibility 0s linear 0.9s;
  clip-path: inset(0 0 0 0);
}

.js.is-preloaded .preloader,
.preloader.is-done {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

.js.is-preloaded .preloader {
  display: none;
}

.preloader-inner {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.preloader-inner img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader-count {
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  min-width: 2.2ch;
  text-align: right;
}

.preloader-pct {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.preloader-bar {
  width: min(280px, 60vw);
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
}

/* ===== SCROLL PROGRESS / CURSOR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 12px var(--accent-glow);
}

.cursor {
  display: none;
}

@media (pointer: fine) {
  .js .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    pointer-events: none;
    mix-blend-mode: difference;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    will-change: transform;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: #fff;
  }

  .cursor-ring {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.35s, border-color 0.35s;
  }

  .cursor.is-hover .cursor-ring {
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
  }

  .cursor.is-hidden {
    opacity: 0;
  }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.45s var(--ease), background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(6, 8, 7, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-12deg) scale(1.06);
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.brand-the {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 14px;
  height: 2px;
  margin-left: -7px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 127, 0.55);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}

.nav-cta:hover {
  background: var(--accent);
  color: #04120a;
  box-shadow: 0 0 28px var(--accent-glow);
}

.nav-cta:hover svg {
  transform: rotate(90deg);
}

.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(6, 8, 7, 0.96);
  backdrop-filter: blur(12px);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}

.mobile-nav a {
  padding: 18px 4px;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  animation: menuIn 0.5s var(--ease) both;
}

.mobile-nav a:nth-child(2) { animation-delay: 0.05s; }
.mobile-nav a:nth-child(3) { animation-delay: 0.1s; }
.mobile-nav a:nth-child(4) { animation-delay: 0.15s; }
.mobile-nav a:nth-child(5) { animation-delay: 0.2s; }

.mobile-nav .mobile-cta {
  margin-top: 24px;
  border: 0;
  padding: 16px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: #04120a;
  text-align: center;
  font-size: 17px;
}

body.menu-open {
  overflow: hidden;
}

/* ===== BUTTONS ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: #04120a;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px -10px var(--accent-glow), 0 0 0 4px rgba(53, 224, 127, 0.12);
}

.btn-primary:hover::before {
  transform: none;
}

.btn-dark,
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-dark:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 17px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ===== TYPOGRAPHY / SECTIONS ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
}

.section-head {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.split-head {
  display: grid;
  gap: 20px;
  align-items: end;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.section-title em,
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 60%, var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShine 6s linear infinite;
}

.section-desc {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.75;
  color: var(--text-secondary);
}

.section-head.center .section-desc {
  max-width: 620px;
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), border-color 0.3s, color 0.3s;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  gap: 14px;
  color: var(--accent);
  border-color: var(--accent);
}

.chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(53, 224, 127, 0.25);
}

/* ===== ANIMATION PRIMITIVES ===== */
.js [data-anim] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-anim="up"] { transform: translateY(40px); }
.js [data-anim="fade"] { transform: none; }
.js [data-anim="rise"] { transform: translateY(80px) scale(0.96); filter: blur(6px); }

.js [data-anim].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.js [data-split] .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.js [data-split] .line > span {
  display: inline-block;
  transform: translateY(110%) rotate(3deg);
  transform-origin: left top;
  transition: transform 1.1s var(--ease);
}

.js [data-split] .line:nth-child(2) > span { transition-delay: 0.08s; }
.js [data-split] .line:nth-child(3) > span { transition-delay: 0.16s; }

.js [data-split].is-in .line > span {
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 0;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  animation: gridDrift 20s linear infinite;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(1100px, 120vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(53, 224, 127, 0.28), rgba(15, 159, 82, 0.1) 40%, transparent 70%);
  filter: blur(30px);
  animation: glowBreath 7s ease-in-out infinite;
}

.hero-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(53, 224, 127, 0.6), transparent);
  animation: beamDrop 4.5s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.hero-badge:hover {
  border-color: rgba(53, 224, 127, 0.5);
  color: var(--text);
  background: rgba(53, 224, 127, 0.06);
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.hero-badge:hover svg {
  transform: translateX(3px);
}

.hero-badge-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #04120a;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-desc {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* Console mockup */
.console-wrap {
  position: relative;
  margin-top: clamp(56px, 8vw, 88px);
  perspective: 1600px;
}

.console-wrap::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
  pointer-events: none;
  z-index: 2;
}

.console {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(20, 26, 23, 0.92), rgba(10, 14, 12, 0.96));
  box-shadow: 0 -30px 120px -40px rgba(53, 224, 127, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform-origin: 50% 0;
  transform: rotateX(var(--console-tilt, 18deg)) scale(var(--console-scale, 0.94));
  will-change: transform;
}

.console-side {
  display: none;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 22px;
  font-size: 16px;
}

.console-brand img {
  width: 22px;
  height: 22px;
}

.console-nav {
  display: grid;
  gap: 4px;
}

.console-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.console-nav i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid currentColor;
  opacity: 0.8;
}

.console-nav .is-on {
  color: var(--accent);
  background: var(--accent-soft);
}

.console-main {
  padding: 18px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-search {
  flex: 0 1 280px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.console-dots {
  display: flex;
  gap: 8px;
}

.console-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #35e07f;
}

.console-dots i:nth-child(2) { background: #f5b83d; }
.console-dots i:nth-child(3) { background: #ff5f57; }

.console-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.kpi {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  text-align: left;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.kpi:hover {
  border-color: rgba(53, 224, 127, 0.4);
  transform: translateY(-3px);
}

.kpi-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.kpi-icon svg {
  width: 16px;
  height: 16px;
}

.kpi-label {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.kpi-value {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.kpi-sub {
  font-size: 12px;
  color: var(--accent);
}

.console-row {
  display: grid;
  gap: 12px;
}

.console-chart,
.console-feed {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  text-align: left;
}

.console-chart p,
.console-feed p {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.console-chart svg {
  width: 100%;
  height: 130px;
  overflow: visible;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2s var(--ease) 0.4s;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.chart-area {
  opacity: 0;
  transition: opacity 1.2s ease 1.2s;
}

.chart-dot {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: calc(0.8s + var(--i) * 0.14s);
}

.console.is-live .chart-line { stroke-dashoffset: 0; }
.console.is-live .chart-area { opacity: 1; }
.console.is-live .chart-dot { opacity: 1; }

.console-feed ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.console-feed li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(1s + var(--i) * 0.18s);
}

.console.is-live .console-feed li {
  opacity: 1;
  transform: none;
}

.console-feed li i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex-shrink: 0;
}

.console-feed .dot-a { background: rgba(53, 224, 127, 0.2); box-shadow: inset 0 0 0 6px rgba(53, 224, 127, 0.55); }
.console-feed .dot-b { background: rgba(125, 140, 255, 0.2); box-shadow: inset 0 0 0 6px rgba(125, 140, 255, 0.55); }
.console-feed .dot-c { background: rgba(245, 184, 61, 0.2); box-shadow: inset 0 0 0 6px rgba(245, 184, 61, 0.55); }

.console-feed li span {
  flex: 1;
}

.console-feed li em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== VALUE STRIP ===== */
.value-strip {
  position: relative;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.value-strip-track,
.footer-marquee-track,
.mega-row {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.value-strip-track {
  gap: 64px;
  padding-left: 64px;
}

.value-strip span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s;
}

.value-strip span:hover {
  color: var(--text);
}

.value-strip span i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}

.value-strip span i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ===== BENTO ===== */
.bento {
  display: grid;
  gap: 16px;
}

.bento-card,
.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s;
}

[data-spot]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(53, 224, 127, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

[data-spot]:hover::before {
  opacity: 1;
}

.bento-card:hover,
.card:hover {
  border-color: rgba(53, 224, 127, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.bento-card h3,
.card h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.bento-card p,
.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.bento-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  min-height: 360px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(184, 242, 139, 0.18), transparent 60%),
    linear-gradient(145deg, #0f5a33, #0a3a22 55%, #082a19);
  border-color: rgba(53, 224, 127, 0.3);
}

.bento-feature .chip {
  align-self: flex-start;
  margin-bottom: auto;
  background: rgba(53, 224, 127, 0.2);
}

.bento-feature h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  margin: 0;
}

.bento-feature p {
  color: rgba(243, 247, 244, 0.78);
  max-width: 440px;
}

.bento-feature .text-link {
  align-self: flex-start;
}

.bento-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 0;
  background: radial-gradient(circle at 50% 50%, rgba(53, 224, 127, 0.16), transparent 60%), var(--surface);
}

.orbit-scene {
  position: relative;
  width: min(340px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit-scene img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px var(--accent-glow));
  animation: floatY 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: spin 18s linear infinite;
}

.orbit i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px 3px var(--accent-glow);
}

.orbit.o1 { width: 100%; height: 100%; }
.orbit.o2 { width: 72%; height: 72%; animation-duration: 12s; animation-direction: reverse; border-style: dashed; }
.orbit.o3 { width: 46%; height: 46%; animation-duration: 8s; }
.orbit.o2 i { background: var(--accent-2); }

.orbit-tag {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 20, 18, 0.9);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  animation: floatY 6s ease-in-out infinite;
}

.orbit-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.orbit-tag.t1 { top: 6%; left: 0; }
.orbit-tag.t2 { top: 44%; right: -6%; animation-delay: -2s; }
.orbit-tag.t3 { bottom: 6%; left: 10%; animation-delay: -4s; }

.bento-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid rgba(53, 224, 127, 0.25);
  color: var(--accent);
  transition: transform 0.5s var(--ease);
}

.bento-card:hover .bento-icon {
  transform: rotate(-8deg) scale(1.08);
}

.bento-icon svg {
  width: 22px;
  height: 22px;
}

.value-key {
  margin: 0 0 8px !important;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.16em;
  color: var(--accent) !important;
}

.mini-avatars {
  display: flex;
  margin-top: 26px;
}

.mini-avatars i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  transition: transform 0.4s var(--ease);
}

.mini-avatars i:first-child { margin-left: 0; }
.mini-avatars i:nth-child(2) { background: linear-gradient(135deg, #8fb8ff, #3e63d6); }
.mini-avatars i:nth-child(3) { background: linear-gradient(135deg, #ffd48a, #d98a1f); }
.mini-avatars i:nth-child(4) { background: linear-gradient(135deg, #e0a5ff, #8a3fd1); }
.bento-card:hover .mini-avatars i { transform: translateY(-4px); }
.bento-card:hover .mini-avatars i:nth-child(2) { transition-delay: 0.05s; }
.bento-card:hover .mini-avatars i:nth-child(3) { transition-delay: 0.1s; }
.bento-card:hover .mini-avatars i:nth-child(4) { transition-delay: 0.15s; }

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
  margin-top: 22px;
}

.mini-bars i {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(53, 224, 127, 0.25));
  transform-origin: bottom;
  animation: eq 1.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--b) * -0.13s);
}

.mini-ring {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.mini-ring svg {
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}

.mini-ring circle {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 4;
}

.mini-ring .ring-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.8s var(--ease) 0.3s;
}

.is-in .mini-ring .ring-fill {
  stroke-dashoffset: 0;
}

/* ===== MEGA MARQUEE ===== */
.mega-marquee {
  padding: clamp(40px, 6vw, 80px) 0;
  overflow: hidden;
  display: grid;
  gap: 8px;
}

.mega-row {
  gap: clamp(20px, 3vw, 44px);
  padding-left: clamp(20px, 3vw, 44px);
}

.mega-row span {
  font-size: clamp(56px, 10vw, 150px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--text);
}

.mega-row span.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}

.mega-row span.outline:hover {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

.mega-row i {
  font-style: normal;
  font-size: clamp(24px, 4vw, 56px);
  color: var(--accent);
  display: inline-block;
  animation: spin 8s linear infinite;
}

/* ===== CARDS / SERVICES ===== */
.card-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  padding: 0;
}

.service-card .stretched {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
}

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

.service-card .service-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-logo {
  transform: rotate(-6deg) scale(1.06);
}

.service-card h3 {
  font-size: 23px;
}

.service-category {
  margin: 0 0 6px !important;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.12em;
  color: var(--accent) !important;
}

.service-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent);
}

.service-link span {
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-link span {
  transform: translateX(6px);
}

.service-card-next {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
}

.service-card-next .plus {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  border: 1px dashed rgba(53, 224, 127, 0.5);
  color: var(--accent);
  font-size: 28px;
  transition: transform 0.6s var(--ease), background-color 0.3s;
}

.service-card-next:hover .plus {
  transform: rotate(90deg);
  background: var(--accent-soft);
}

/* ===== STEPS (sticky) ===== */
.steps-layout {
  display: grid;
  gap: 48px;
}

.steps-progress {
  display: none;
  width: 2px;
  height: 160px;
  margin-top: 44px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.steps-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  transform-origin: top;
  transform: scaleY(0);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  opacity: 0.4;
  transform: scale(0.97);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s, background-color 0.6s;
}

.step.is-active {
  opacity: 1;
  transform: none;
  border-color: rgba(53, 224, 127, 0.35);
  background: linear-gradient(135deg, rgba(53, 224, 127, 0.08), var(--surface) 60%);
}

.step-num {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.3);
  transition: color 0.6s, -webkit-text-stroke-color 0.6s;
}

.step.is-active .step-num {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

.step-key {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.step h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
}

.step p:last-child {
  margin: 0;
  color: var(--text-secondary);
}

/* ===== PROMISE (scroll fill) ===== */
.promise {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(53, 224, 127, 0.12), transparent 70%),
    var(--bg);
}

.promise-text {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(30px, 4.8vw, 64px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.promise-text .w {
  color: rgba(255, 255, 255, 0.14);
  transition: color 0.3s;
}

.promise-text .w.is-lit {
  color: var(--text);
}

.promise-text .w.is-accent.is-lit {
  color: var(--accent);
}

.brand-eq {
  display: inline-flex;
  margin-top: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 127, 0.35);
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* ===== CTA ===== */
.cta-card {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 28px;
  border: 1px solid rgba(53, 224, 127, 0.3);
  background: linear-gradient(135deg, #0d3a23, #0a1a12 60%, var(--surface));
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  right: -120px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 224, 127, 0.4), transparent 65%);
  filter: blur(20px);
  animation: glowBreath 6s ease-in-out infinite;
  pointer-events: none;
}

.cta-card h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.cta-card p:not(.eyebrow) {
  margin: 0;
  max-width: 560px;
  color: rgba(243, 247, 244, 0.72);
}

.cta-card .btn {
  justify-self: start;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.footer-marquee {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.footer-marquee-track {
  gap: 36px;
  padding-left: 36px;
}

.footer-marquee span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-marquee i {
  font-style: normal;
  color: var(--accent);
}

.footer-inner {
  display: grid;
  gap: 36px;
  padding: 64px 0 40px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.85;
}

.footer-lockup {
  display: grid;
  line-height: 1.1;
}

.footer-the {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--footer-grey);
}

.footer-name {
  font-size: 20px;
  font-weight: 800;
  color: #c5c9c6;
}

.footer-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--footer-grey);
}

.footer-legal {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-meta {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy p {
  margin: 0;
}

.footer-top {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s;
}

.footer-top:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-giant {
  font-size: clamp(90px, 26vw, 380px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(53, 224, 127, 0.14), transparent 75%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  margin-bottom: -0.08em;
}

/* ===== SUB PAGES ===== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 20%, transparent 75%);
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  top: -40%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(53, 224, 127, 0.16), transparent 65%);
  filter: blur(20px);
  animation: glowBreath 8s ease-in-out infinite;
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.page-hero p:not(.eyebrow) {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
}

.page-hero .badge {
  margin-bottom: 18px;
}

.service-hero .tagline {
  font-size: clamp(18px, 2vw, 22px) !important;
}

.service-hero .btn {
  margin-top: 28px;
}

.prose {
  max-width: 820px;
}

.prose > div + div,
.prose h2 + p {
  margin-top: 0;
}

.prose > div {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.prose > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.prose h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.prose.reveal h2 {
  margin-top: 48px;
}

.prose p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.85;
}

.prose strong {
  color: var(--text);
}

.prose .lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.6;
}

.prose ul,
.prose ol {
  color: var(--text-secondary);
  padding-left: 20px;
}

.prose a:not(.btn):not(.text-link) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.two-col,
.benefit-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.pill-block {
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.pill-block:hover {
  border-color: rgba(53, 224, 127, 0.35);
  transform: translateY(-3px);
}

.pill-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.values-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}

.values-list li {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-secondary);
}

.values-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--text);
}

.empty-services {
  padding: 56px 32px;
  border-radius: var(--radius-card);
  border: 1px dashed var(--line-strong);
  text-align: center;
}

/* ===== FORMS ===== */
.form-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.req {
  color: var(--accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  font-size: 15.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%23a3ada7' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.form-group select option {
  background: var(--surface);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(53, 224, 127, 0.14);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
}

.error {
  margin-top: 6px;
  font-size: 13px;
  color: var(--danger);
}

.error:empty {
  display: none;
}

.consent {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-weight: 400 !important;
  font-size: 13px !important;
  line-height: 1.7;
  color: var(--text-secondary);
  cursor: pointer;
}

.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent a {
  color: var(--accent);
  text-decoration: underline;
}

.form-message {
  margin-top: 16px;
  font-size: 14.5px;
}

.form-message:empty {
  display: none;
}

.form-message.is-success,
.form-message.is-error {
  padding: 14px 16px;
  border-radius: 12px;
}

.form-message.is-success {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(53, 224, 127, 0.3);
}

.form-message.is-error {
  background: rgba(255, 107, 107, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.contact-aside {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #0f5a33, #0a2a19);
  border: 1px solid rgba(53, 224, 127, 0.3);
}

.contact-aside h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.contact-aside p {
  margin: 0;
  color: rgba(243, 247, 244, 0.75);
}

/* ===== ERROR PAGE ===== */
.error-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(110px, 22vw, 240px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.error-page p {
  margin: 12px 0 0;
  font-size: 18px;
  color: var(--text-secondary);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ===== KEYFRAMES ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes eq { 0% { transform: scaleY(0.25); } 100% { transform: scaleY(1); } }
@keyframes textShine { to { background-position: -200% 0; } }
@keyframes gridDrift { to { background-position: 64px 64px; } }
@keyframes glowBreath { 0%, 100% { opacity: 0.75; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@keyframes beamDrop { 0% { transform: translateY(-100%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(120%); opacity: 0; } }
@keyframes preloaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.88); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .console-kpis { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-feature { grid-column: span 4; }
  .bento-visual { grid-column: span 2; }
  .bento > .bento-card:nth-child(n+3) { grid-column: span 2; }
  .console-row { grid-template-columns: 1.4fr 1fr; }
  .split-head { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .split-head .section-desc { margin: 0 0 8px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .cta-card { grid-template-columns: 1fr auto; }
}

@media (min-width: 1024px) {
  .nav-desktop,
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .console { grid-template-columns: 200px 1fr; }
  .console-side { display: block; }
  .console-main { padding: 22px 24px 28px; }
  .steps-layout { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
  .steps-sticky { position: sticky; top: calc(var(--header-h) + 60px); }
  .steps-progress { display: block; }
  .form-layout { grid-template-columns: 1.4fr 0.8fr; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (max-width: 1023px) {
  .mobile-menu[hidden] { display: none; }
}

@media (max-width: 767px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .bento-feature,
  .bento-visual { min-height: 300px; }
  .footer-copy { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 12px; }
}