/* ============================================================
   Naxput Studio — site styles
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-2: #0a1019;
  --surface: rgba(15, 23, 36, 0.72);
  --surface-solid: #0e1624;
  --text: #eef4fb;
  --muted: #94a2b6;
  --muted-2: #6b7a8f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --mint: #3ce6c4;
  --indigo: #6d7cff;
  --amber: #ffb86b;
  --rose: #ff9db1;
  --grad: linear-gradient(135deg, #3ce6c4 0%, #6d7cff 100%);
  --grad-soft: linear-gradient(135deg, rgba(60, 230, 196, 0.16), rgba(109, 124, 255, 0.16));
  --font: "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

html { overflow-x: hidden; }
body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(60, 230, 196, 0.28); color: #fff; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  flex: none;
}

/* ---------- ambient background ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(109, 124, 255, 0.18), transparent 60%),
    radial-gradient(700px 500px at 8% 8%, rgba(60, 230, 196, 0.10), transparent 60%),
    linear-gradient(180deg, #070b12 0%, #080d15 45%, #070b12 100%);
}

.ambient-a,
.ambient-b {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.ambient-a { top: 18%; right: -180px; background: #1f8f7f; }
.ambient-b { top: 62%; left: -220px; background: #2b2f8f; }

.grid-fade {
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(60, 230, 196, 0.18));
}

.brand-mark svg { width: 100%; height: 100%; }
.brand-mark.small { width: 32px; height: 32px; }

.brand-text { font-size: 17px; }
.brand-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  margin-left: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn .icon { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn-primary {
  background: var(--grad);
  color: #04110e;
  box-shadow: 0 12px 34px rgba(60, 230, 196, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(60, 230, 196, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::after { transform: translateX(120%); }

.btn-line {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-line:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 230, 196, 0.45);
  background: rgba(60, 230, 196, 0.07);
}

.btn-ghost {
  height: 40px;
  padding: 0 17px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 13px;
}

.btn-ghost:hover { border-color: rgba(60, 230, 196, 0.4); color: var(--mint); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 0;
}

.hero-grid > * { min-width: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
  min-height: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(60, 230, 196, 0.5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 230, 196, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(60, 230, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 230, 196, 0); }
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta strong { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.hero-meta span { font-size: 12px; color: var(--muted-2); }

.hero-visual {
  position: relative;
  min-height: 500px;
  perspective: 1200px;
}

.orb {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -40px;
  top: 20px;
  background: conic-gradient(from 120deg at 50% 50%, #1a8f7e, #3a3f9e, #0b1220, #1a8f7e);
  filter: blur(70px);
  opacity: 0.42;
  border-radius: 50%;
  animation: orb 14s ease-in-out infinite alternate;
}

@keyframes orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 26px, 0) scale(1.08); }
}

.code-card {
  max-width: min(520px, 100%);
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(17, 26, 42, 0.96), rgba(8, 13, 22, 0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.code-card:hover { transform: rotateY(-2deg) rotateX(0deg) translateY(-4px); }

.code-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a3444; }
.dots i:nth-child(1) { background: #ff6b6b; }
.dots i:nth-child(2) { background: #ffc46b; }
.dots i:nth-child(3) { background: #3ce6c4; }

.code-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.code-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mint);
  border: 1px solid rgba(60, 230, 196, 0.3);
  background: rgba(60, 230, 196, 0.08);
  padding: 3px 7px;
  border-radius: 999px;
}

.code-html { overflow-x: hidden; }
body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 18px 18px 14px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.95;
  color: #c8d3e4;
  tab-size: 2;
}

.code-body code { font-family: inherit; }
.c-key { color: #8b9cff; }
.c-fn { color: #3ce6c4; }
.c-str { color: #ffd28a; }
.c-num { color: #ff9db1; }
.c-mut { color: #5e6c80; }
.c-ok { color: #3ce6c4; }

.code-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}

.code-footer .ok { color: var(--mint); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(14, 22, 36, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
}

.float-card b { display: block; font-size: 12px; font-weight: 600; }
.float-card small { display: block; font-size: 10px; color: var(--muted-2); margin-top: 1px; }

.float-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(60, 230, 196, 0.12);
  color: var(--mint);
}

.float-icon.alt { background: rgba(109, 124, 255, 0.14); color: #aab4ff; }

.float-a { left: -20px; top: -72px; }
.float-b { right: -20px; top: -72px; animation-delay: -3s; }

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

/* ---------- tech strip ---------- */

.tech-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 84px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.tech-label {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.tech-track {
  display: flex;
  gap: 38px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tech-track span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.tech-strip:hover .tech-track { animation-play-state: paused; }

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

/* ---------- sections ---------- */

.section { padding: 122px 0; position: relative; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.045); }

.section-head > *, .contact-grid > *, .standards-grid > *, .faq-grid > *, .process-grid > *, .service-grid > *, .case-grid > * { min-width: 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2,
.standards-copy h2,
.faq-copy h2,
.contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.section-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  padding-bottom: 6px;
}

/* ---------- services ---------- */

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

.service-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.72), rgba(10, 16, 27, 0.72));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 20% 0%, rgba(60, 230, 196, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(60, 230, 196, 0.26);
  background: linear-gradient(180deg, rgba(18, 29, 45, 0.85), rgba(10, 16, 27, 0.9));
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(60, 230, 196, 0.08);
  border: 1px solid rgba(60, 230, 196, 0.16);
  color: var(--mint);
  margin-bottom: 18px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-card:nth-child(2n) .service-icon { background: rgba(109, 124, 255, 0.09); border-color: rgba(109, 124, 255, 0.18); color: #aab4ff; }
.service-card:nth-child(3n) .service-icon { background: rgba(255, 184, 107, 0.08); border-color: rgba(255, 184, 107, 0.16); color: var(--amber); }

.service-card:hover .service-icon { transform: scale(1.06); }

.service-card h3 {
  position: relative;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.service-card p {
  position: relative;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 62px;
}

.tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tags span {
  font-size: 10px;
  color: var(--muted-2);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- cases ---------- */

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition: all 0.25s var(--ease);
}

.filter:hover { color: var(--text); border-color: var(--line-2); }
.filter.active {
  color: #04110e;
  background: var(--grad);
  border-color: transparent;
  font-weight: 600;
}

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

.case-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 19, 31, 0.65);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.3s var(--ease);
}

.case-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.16); }
.case-card.hidden { display: none; }

.case-cover {
  position: relative;
  height: 176px;
  overflow: hidden;
  isolation: isolate;
}

.case-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 75%);
  opacity: 0.5;
}

.case-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 13, 22, 0.85) 100%);
}

.cover-a { background: linear-gradient(135deg, #0f3d3a 0%, #10233f 55%, #0a1220 100%); }
.cover-b { background: linear-gradient(135deg, #143a2f 0%, #1c2b52 60%, #0a1220 100%); }
.cover-c { background: linear-gradient(135deg, #2c2050 0%, #103a3a 60%, #0a1220 100%); }
.cover-d { background: linear-gradient(135deg, #0e2f46 0%, #23204d 60%, #0a1220 100%); }
.cover-e { background: linear-gradient(135deg, #3b2a1c 0%, #17343a 60%, #0a1220 100%); }
.cover-f { background: linear-gradient(135deg, #1b2b4a 0%, #2d1f42 60%, #0a1220 100%); }

.case-no {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.case-glyph {
  position: absolute;
  right: 18px;
  bottom: 8px;
  z-index: 2;
  font-size: 92px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 300;
}

.case-cover-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  padding: 4px 9px;
  border-radius: 999px;
}

.case-body { padding: 20px 20px 22px; }
.case-body h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.case-body p { margin-top: 8px; font-size: 12.5px; line-height: 1.75; color: var(--muted); min-height: 44px; }

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-metric b {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-metric span { font-size: 10px; color: var(--muted-2); }

.case-note { margin-top: 18px; font-size: 11px; color: var(--muted-2); }

/* ---------- process ---------- */

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

.process-item {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(13, 21, 34, 0.55);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.process-item:hover { border-color: rgba(60, 230, 196, 0.24); transform: translateY(-3px); }

.step {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mint);
  letter-spacing: 0.1em;
}

.process-item h3 { margin-top: 14px; font-size: 18px; letter-spacing: -0.01em; }
.process-item p { margin-top: 8px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

.process-item::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 230, 196, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.process-item:hover::after { opacity: 1; }

/* ---------- standards ---------- */

.standards {
  background: linear-gradient(180deg, rgba(10, 16, 27, 0.4), rgba(7, 11, 18, 0));
}

.standards-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.standards-copy { position: sticky; top: 120px; }
.standards-copy p { margin-top: 20px; font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 430px; }
.standards-copy .btn { margin-top: 28px; }

.standards-list { display: grid; gap: 12px; }

.standard {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(14, 22, 36, 0.55);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.standard:hover { border-color: rgba(60, 230, 196, 0.22); background: rgba(17, 27, 43, 0.7); }

.check {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(60, 230, 196, 0.1);
  color: var(--mint);
  border: 1px solid rgba(60, 230, 196, 0.18);
}

.standard h3 { font-size: 15px; }
.standard p { margin-top: 5px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* ---------- faq ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.faq-copy { position: sticky; top: 120px; }
.faq-copy p { margin-top: 18px; font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 360px; }

.faq-list { display: grid; gap: 10px; }

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(13, 21, 34, 0.55);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item[open] { border-color: rgba(60, 230, 196, 0.22); background: rgba(16, 26, 41, 0.72); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 14.5px;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--muted); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--mint); }

.faq-body {
  padding: 0 22px 20px;
  font-size: 12.8px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- contact ---------- */

.contact { padding-bottom: 110px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p { margin-top: 20px; font-size: 14px; line-height: 1.9; color: var(--muted); max-width: 430px; }

.contact-list { display: grid; gap: 10px; margin-top: 30px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(14, 22, 36, 0.6);
  text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-item:hover {
  border-color: rgba(60, 230, 196, 0.3);
  background: rgba(18, 29, 45, 0.8);
  transform: translateY(-2px);
}

.contact-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(60, 230, 196, 0.1);
  border: 1px solid rgba(60, 230, 196, 0.18);
  color: var(--mint);
}

.contact-icon.mail { background: rgba(109, 124, 255, 0.1); border-color: rgba(109, 124, 255, 0.2); color: #aab4ff; }

.contact-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.contact-text small { font-size: 10px; color: var(--muted-2); }
.contact-text b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

.copy-hint {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
  flex: none;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted-2);
}

.contact-meta span { display: inline-flex; align-items: center; gap: 7px; }

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(60, 230, 196, 0.8);
}

/* ---------- form ---------- */

.form-wrap {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(109, 124, 255, 0.13), transparent 60%),
    linear-gradient(180deg, rgba(18, 27, 42, 0.94), rgba(10, 16, 27, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 28px;
  overflow: hidden;
}

.lead-form { display: grid; gap: 16px; }

.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.form-head h3 { font-size: 20px; letter-spacing: -0.02em; }
.form-head span { font-size: 10.5px; color: var(--muted-2); }
.form-head b { color: var(--mint); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.label {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.label b { color: var(--mint); font-weight: 600; }
.label em { font-style: normal; color: var(--muted-2); font-size: 10px; margin-left: 4px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 11, 19, 0.62);
  padding: 12px 13px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: #5a687c; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(60, 230, 196, 0.55);
  box-shadow: 0 0 0 3px rgba(60, 230, 196, 0.1);
  background: rgba(8, 14, 24, 0.9);
}

.field textarea { resize: vertical; min-height: 112px; line-height: 1.7; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a2b6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

.field select option { background: #0e1624; color: var(--text); }

.field-error { font-size: 10.5px; color: #ff8f9f; min-height: 0; }
.field-error:empty { display: none; }
.field.invalid input { border-color: rgba(255, 120, 140, 0.6); }

.field-hint .hint-text { font-size: 11px; line-height: 1.65; color: var(--muted-2); padding-top: 2px; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 11.5px;
  transition: all 0.22s var(--ease);
}

.chip:hover { color: var(--text); border-color: var(--line-2); }

.chip.active {
  color: #04110e;
  background: var(--grad);
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(60, 230, 196, 0.2);
}

.btn-submit {
  width: 100%;
  height: 50px;
  margin-top: 2px;
  font-size: 14.5px;
}

.btn-submit .icon { margin-left: auto; }

.btn-submit.loading .btn-label { opacity: 0; }
.btn-submit.loading .icon { opacity: 0; }
.btn-submit.loading .btn-loading {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(4, 17, 14, 0.25);
  border-top-color: #04110e;
  animation: spin 0.7s linear infinite;
}

.btn-loading { display: none; }

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

.form-note { font-size: 10.5px; line-height: 1.7; color: var(--muted-2); }

.form-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(60, 230, 196, 0.14), transparent 70%),
    rgba(10, 16, 27, 0.97);
  z-index: 5;
}

.form-success[hidden] { display: none; }

.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(60, 230, 196, 0.12);
  border: 1px solid rgba(60, 230, 196, 0.3);
  color: var(--mint);
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 0 40px rgba(60, 230, 196, 0.2);
}

.form-success h3 { font-size: 22px; letter-spacing: -0.02em; }
.form-success p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 340px; }
.form-success b { color: var(--mint); font-weight: 600; }
.form-success .btn { margin-top: 22px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 17, 0.7);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: 40px;
}

.footer-brand p { margin-top: 16px; font-size: 12px; line-height: 1.8; color: var(--muted-2); }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-contact h4 {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.footer-links a, .footer-contact a, .footer-copy {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
}
.footer-links a:hover, .footer-contact a:hover, .footer-copy:hover { color: var(--mint); }

.admin-link { color: var(--muted-2) !important; font-size: 11px !important; margin-top: 4px; }
.admin-link:hover { color: var(--mint) !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted-2);
}

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

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 20px);
  background: rgba(14, 22, 36, 0.95);
  border: 1px solid rgba(60, 230, 196, 0.3);
  color: var(--text);
  font-size: 12.5px;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 75ms);
}

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

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .hero { padding-top: 140px; }
  .hero-visual { min-height: 440px; max-width: 620px; }
  .code-card { margin: 0 auto; transform: none; }
  .code-card:hover { transform: translateY(-4px); }
  .float-a { left: -10px; top: -62px; }
  .float-b { right: -10px; top: -62px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-desc { max-width: 560px; }
  .standards-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .standards-copy, .faq-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    background: #0a111c;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; border-radius: 10px; font-size: 14px; }
  .nav a:hover { background: rgba(255, 255, 255, 0.04); }
  .nav a::after { display: none; }

  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .lead { font-size: 15px; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }
  .hero-visual { min-height: 390px; }
  .float-card { display: none; }
  .code-body { font-size: 10px; padding: 14px; line-height: 1.9; }
  .float-card { padding: 9px 11px; }
  .float-card b { font-size: 11px; }
  .float-card small { font-size: 9px; }
  .float-a { left: -4px; top: -52px; }
  .float-b { right: -4px; top: -52px; }
  .orb { width: 320px; height: 320px; }

  .tech-strip { margin-top: 54px; gap: 14px; }
  .tech-label { display: none; }
  .tech-track { gap: 24px; }

  .section { padding: 84px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .standards-copy h2, .faq-copy h2, .contact-copy h2 { font-size: clamp(28px, 7.8vw, 34px); }

  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
  .case-grid { grid-template-columns: 1fr; }
  .case-cover { height: 168px; }
  .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 20px; border-radius: 22px; }
  .form-head { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

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

:focus-visible {
  outline: 2px solid rgba(60, 230, 196, 0.7);
  outline-offset: 3px;
  border-radius: 6px;
}

body.nav-open { overflow: hidden; }







