:root {
  --bg: #05070b;
  --panel: rgba(7, 12, 20, 0.72);
  --panel-2: rgba(8, 14, 24, 0.82);
  --line: rgba(53, 76, 106, 0.34);
  --line-strong: rgba(53, 76, 106, 0.52);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(204, 214, 229, 0.74);
  --muted-2: rgba(204, 214, 229, 0.58);
  --green: #18d866;
  --green-2: #0bb357;
  --red: #ff3b32;
  --red-soft: rgba(255, 59, 50, 0.16);
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 18px 64px rgba(0,0,0,.38);
  --container: 1180px;
  --headerH: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(24,216,102,.13), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(255,59,50,.15), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.26));
}
.bg-layer { position: absolute; inset: -8%; }
.bg-grid {
  background-image:
    linear-gradient(rgba(14, 29, 49, .42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 29, 49, .42) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: .22;
}
.bg-brain {
  background: 
    linear-gradient(rgba(2,4,8,.56), rgba(2,4,8,.56)),
    url('./brain-circuit-bg.png') center center / cover no-repeat;
  opacity: .42;
  filter: saturate(.92) contrast(1.08);
  transform: scale(1.06);
}
.bg-glow {
  background:
    radial-gradient(circle at 28% 18%, rgba(24,216,102,.18), transparent 18%),
    radial-gradient(circle at 68% 26%, rgba(24,216,102,.12), transparent 22%),
    radial-gradient(circle at 80% 76%, rgba(255,59,50,.14), transparent 24%),
    radial-gradient(circle at 20% 78%, rgba(255,59,50,.09), transparent 18%);
  filter: blur(46px);
  opacity: .7;
}
.bg-noise {
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: .045;
  mix-blend-mode: soft-light;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.section {
  padding: 28px 0;
}
.section-tight { padding: 22px 0; }
.first-section { padding-top: calc(var(--headerH) + 26px); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(4,8,13,.92), rgba(4,8,13,.74));
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.header-inner {
  min-height: var(--headerH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.brand-logo {
  width: 132px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(24,216,102,.06));
}
.brand-copy { min-width: 0; }
.brand-title {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand-red { color: var(--red); }
.brand-sub {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(24,216,102,.42);
  background: rgba(24,216,102,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .26s ease, box-shadow .26s ease, background .26s ease, color .26s ease, border-color .26s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #1dcf66, #0ea44d);
  box-shadow: 0 16px 34px rgba(14,164,77,.22);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 40px rgba(14,164,77,.3);
}
.btn-secondary {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}
.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255,59,50,.3);
}
.hero h1 {
  margin: 16px 0 18px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: .94;
  letter-spacing: -.06em;
  font-weight: 800;
  max-width: 9.1ch;
}
.accent { color: var(--red); }
.hero-text {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
}
.chip-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.chip:hover { transform: translateY(-1px); background: rgba(255,255,255,.055); }
.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-meta {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 14px;
}

.hero-visual { display: flex; justify-content: center; }
.visual-card {
  position: relative;
  width: min(100%, 430px);
  min-height: 460px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8,12,22,.82), rgba(8,12,22,.6));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.045);
}
.lens {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(24,216,102,.25);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.lens-1 { width: 82%; aspect-ratio: 1; }
.lens-2 { width: 56%; aspect-ratio: 1; }
.lens-3 { width: 28%; aspect-ratio: 1; }
.visual-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 460px;
  padding: 40px;
}
.hero-logo {
  width: min(92%, 430px);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.32));
}

.panel {
  background: linear-gradient(180deg, rgba(5,10,18,.72), rgba(5,10,18,.58));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
}
.panel h2 {
  margin: 0 0 20px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: .98;
  letter-spacing: -.05em;
}
.stack-list { display: grid; gap: 12px; }
.stack-item {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  font-size: 18px;
  font-weight: 600;
}
.bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(24,216,102,.35);
}
.panel-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.card-grid {
  display: grid;
  gap: 18px;
}
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card,
.case-card,
.service-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  padding: 24px;
  transition: transform .26s ease, border-color .26s ease, background .26s ease, box-shadow .26s ease;
  transform-style: preserve-3d;
}
.info-card:hover,
.case-card:hover,
.service-card:hover,
.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24,216,102,.18);
  background: rgba(255,255,255,.03);
}
.info-card h3,
.case-card h3,
.service-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.info-card p,
.case-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 17px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-num {
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, .84fr);
  gap: 20px;
  align-items: stretch;
}
.process-steps,
.process-visual { min-height: 100%; }
.steps-list { display: grid; gap: 14px; }
.step-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  border-radius: 24px;
  color: var(--text);
  padding: 22px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  transition: transform .26s ease, border-color .26s ease, background .26s ease, box-shadow .26s ease;
}
.step-card.is-active {
  border-color: rgba(24,216,102,.26);
  background: linear-gradient(180deg, rgba(15,25,28,.7), rgba(9,18,25,.62));
  box-shadow: inset 0 0 0 1px rgba(24,216,102,.06);
}
.step-index {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24,216,102,.08);
  border: 1px solid rgba(24,216,102,.18);
  color: var(--green);
  font-weight: 800;
  font-size: 18px;
}
.step-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.08;
}
.step-copy small {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.motion-scene {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7,12,22,.9), rgba(7,12,22,.7));
  border: 1px solid rgba(255,255,255,.06);
}
.scene-slide {
  position: absolute;
  inset: 0;
  padding: 22px;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .65s ease, transform .65s ease;
}
.scene-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.scene-kicker {
  position: absolute;
  left: 22px;
  top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.scene-network,
.scene-offer,
.scene-test,
.scene-roi {
  position: absolute;
  inset: 64px 18px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
.scene-center,
.roi-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 138px;
  height: 138px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24,216,102,.24);
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  background: radial-gradient(circle at center, rgba(24,216,102,.12), rgba(24,216,102,.02));
  box-shadow: 0 0 36px rgba(24,216,102,.08);
}
.node,
.coin {
  position: absolute;
  border-radius: 50%;
}
.node {
  width: 12px;
  height: 12px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(24,216,102,.35);
}
.n1 { left: 18%; top: 24%; }
.n2 { right: 18%; top: 28%; }
.n3 { left: 22%; bottom: 24%; }
.n4 { right: 22%; bottom: 22%; }
.line { position: absolute; background: rgba(24,216,102,.2); height: 2px; transform-origin: left center; }
.l1 { left: 23%; top: 29%; width: 28%; transform: rotate(18deg); }
.l2 { left: 24%; bottom: 30%; width: 30%; transform: rotate(-18deg); }
.l3 { right: 23%; top: 40%; width: 24%; transform: rotate(150deg); }
.offer-card,
.test-branch {
  position: absolute;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.offer-main { width: 200px; height: 110px; left: 50%; top: 34%; transform: translate(-50%,-50%); }
.offer-sub { width: 150px; height: 90px; left: 18%; bottom: 14%; }
.offer-side { width: 150px; height: 90px; right: 18%; bottom: 14%; }
.test-branch { width: 110px; height: 110px; top: 50%; transform: translateY(-50%); font-size: 30px; }
.branch-a { left: 16%; }
.branch-b { left: 50%; transform: translate(-50%, -50%); }
.branch-c { right: 16%; }
.branch-c.is-win { border-color: rgba(24,216,102,.3); background: rgba(24,216,102,.09); }
.coin {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #3d2f00;
  font-size: 34px;
  font-weight: 800;
  background: radial-gradient(circle at 35% 35%, #ffe680, #f2c83b);
  box-shadow: 0 8px 20px rgba(0,0,0,.24);
}
.c1 { left: 18%; top: 24%; }
.c2 { right: 18%; top: 18%; }
.c3 { left: 20%; bottom: 14%; }
.c4 { right: 18%; bottom: 18%; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.cta-panel h2 { margin-bottom: 10px; max-width: 12ch; }
.cta-panel p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.site-footer {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand { font-size: 22px; }
.footer-sub { margin-top: 8px; color: var(--muted-2); font-size: 14px; }
.footer-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-actions a,
.footer-link {
  color: var(--muted);
  font-size: 14px;
  background: none;
  border: 0;
  padding: 0;
}
.footer-actions a:hover,
.footer-link:hover { color: var(--text); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}
.modal.is-open { display: block; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(10px);
}
.modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 7vh auto 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(7,12,22,.95), rgba(7,12,22,.88));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(0,0,0,.42);
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: #fff;
  font-size: 24px;
}
.modal-head h3 {
  margin: 10px 0 8px;
  font-size: 36px;
  line-height: .98;
  letter-spacing: -.04em;
}
.modal-head p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}
.lead-form {
  display: grid;
  gap: 14px;
}
.lead-form label { display: grid; gap: 8px; }
.lead-form span { color: var(--muted); font-size: 14px; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(24,216,102,.32);
  box-shadow: 0 0 0 3px rgba(24,216,102,.08);
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.btn-submit { width: 100%; margin-top: 4px; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .process-grid,
  .service-grid,
  .two-up { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .visual-card { width: min(100%, 520px); min-height: 360px; }
  .visual-core { min-height: 360px; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 780px) {
  :root { --headerH: 76px; }
  .container { width: min(var(--container), calc(100% - 20px)); }
  .site-header { background: linear-gradient(180deg, rgba(4,8,13,.96), rgba(4,8,13,.82)); }
  .header-inner { min-height: var(--headerH); gap: 10px; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand-logo { width: 84px; }
  .brand-title { font-size: 15px; }
  .brand-sub { display: none; }
  .header-actions { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
  .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .btn-primary { font-size: 14px; }
  .first-section { padding-top: calc(var(--headerH) + 14px); }

  .hero-grid { gap: 18px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .eyebrow { font-size: 11px; gap: 8px; }
  .hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 12vw, 56px);
    line-height: .95;
    max-width: none;
  }
  .hero-text { font-size: 16px; line-height: 1.52; }
  .chip-row { gap: 8px; }
  .chip { min-height: 34px; padding: 7px 12px; font-size: 13px; }
  .hero-actions { margin-top: 20px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { font-size: 13px; }
  .visual-card { min-height: 280px; border-radius: 24px; }
  .visual-core { min-height: 280px; padding: 26px; }
  .hero-logo { width: min(88%, 300px); }
  .panel { padding: 18px; border-radius: 24px; }
  .panel h2 { font-size: clamp(30px, 8vw, 40px); }
  .stack-item { min-height: 54px; font-size: 16px; }
  .stack-item, .step-card { border-radius: 18px; }
  .step-card { grid-template-columns: 60px minmax(0, 1fr); padding: 18px; }
  .step-index { width: 46px; height: 46px; font-size: 16px; border-radius: 14px; }
  .step-copy strong { font-size: 18px; }
  .step-copy small { font-size: 15px; }
  .motion-scene { min-height: 300px; }
  .scene-center, .roi-core { width: 110px; height: 110px; font-size: 22px; }
  .coin { width: 60px; height: 60px; font-size: 28px; }
  .case-card h3, .service-card h3, .info-card h3 { font-size: 20px; }
  .info-card p, .case-card p, .service-card p, .panel-note, .cta-panel p { font-size: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .modal-dialog { margin-top: 4vh; padding: 22px 18px; }
  .modal-head h3 { font-size: 30px; }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .brand-logo { width: 76px; }
  .brand-title { font-size: 14px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .btn-primary { padding: 0 14px; }
  .hero h1 { font-size: clamp(28px, 10.5vw, 46px); }
  .chip-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip:last-child { grid-column: 1 / -1; justify-self: start; }
}


/* v7 refinements */
.bg-brain{opacity:.38;}
.brand-logo{transition: transform 1s ease, filter .6s ease;}
.visual-card{transform-style: preserve-3d;}
.lens{transition: transform .6s ease, opacity .6s ease; animation: lensPulse 8s ease-in-out infinite;}
.lens-2{animation-delay: 1.2s;} .lens-3{animation-delay: 2.4s;}
.visual-card::after{content:"";position:absolute;inset:-10% 30% auto -20%;height:48%;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.12) 48%,transparent 54%);filter:blur(12px);opacity:.0;transform:translateX(-120%) rotate(8deg);animation: heroSweep 9s ease-in-out infinite;}
.hero-logo{animation: logoFloat 6.5s ease-in-out infinite; will-change:transform,filter;}
.hero-visual:hover .hero-logo{filter: drop-shadow(0 18px 34px rgba(0,0,0,.34)) drop-shadow(0 0 20px rgba(24,216,102,.08));}
.hero-visual:hover .lens-1{transform:translate(-50%,-50%) scale(1.04);} 
.hero-visual:hover .lens-2{transform:translate(-50%,-50%) scale(.98);} 
.hero-visual:hover .lens-3{transform:translate(-50%,-50%) scale(1.06);} 
@keyframes logoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes lensPulse{0%,100%{opacity:.8}50%{opacity:1}}
@keyframes heroSweep{0%,100%{opacity:0;transform:translateX(-120%) rotate(8deg)}18%,26%{opacity:.22}42%{opacity:0;transform:translateX(180%) rotate(8deg)}}

.scroll-fade{opacity:0;transform:translateY(18px) scale(.985);transition:opacity .7s ease, transform .7s ease, border-color .3s ease, background .3s ease;}
.scroll-fade.in-view{opacity:1;transform:translateY(0) scale(1);}
.chip.scroll-fade{transform:translateY(12px) scale(.98);} 
.chip.scroll-fade.in-view{transform:translateY(0) scale(1);} 
.stack-item.scroll-fade:nth-child(1), .chip.scroll-fade:nth-child(1){transition-delay:.02s}
.stack-item.scroll-fade:nth-child(2), .chip.scroll-fade:nth-child(2){transition-delay:.07s}
.stack-item.scroll-fade:nth-child(3), .chip.scroll-fade:nth-child(3){transition-delay:.12s}
.stack-item.scroll-fade:nth-child(4), .chip.scroll-fade:nth-child(4){transition-delay:.17s}
.stack-item.scroll-fade:nth-child(5), .chip.scroll-fade:nth-child(5){transition-delay:.22s}
.info-card.scroll-fade:nth-child(2), .service-card.scroll-fade:nth-child(2), .case-card.scroll-fade:nth-child(2){transition-delay:.06s}
.info-card.scroll-fade:nth-child(3), .service-card.scroll-fade:nth-child(3), .case-card.scroll-fade:nth-child(3){transition-delay:.12s}
.info-card.scroll-fade:nth-child(4), .service-card.scroll-fade:nth-child(4), .case-card.scroll-fade:nth-child(4){transition-delay:.18s}
.service-card.scroll-fade:nth-child(5){transition-delay:.24s}.service-card.scroll-fade:nth-child(6){transition-delay:.3s}
.step-card.scroll-fade:nth-child(2){transition-delay:.06s}.step-card.scroll-fade:nth-child(3){transition-delay:.12s}.step-card.scroll-fade:nth-child(4){transition-delay:.18s}

.icon-card{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:var(--text);font-weight:700;text-align:center}
.icon-card svg{width:34px;height:34px;fill:#fff;opacity:.92;filter:drop-shadow(0 4px 10px rgba(0,0,0,.18));}
.small-icon-card svg{width:32px;height:32px}
.offer-card,.test-branch{padding:16px}
.offer-main{gap:12px}
.offer-sub,.offer-side{gap:10px}
.offer-card span,.test-branch span{font-size:18px;line-height:1.15}
.small-icon-card span{font-size:16px}
.offer-card::before,.test-branch::before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 50%);opacity:.65;pointer-events:none}
.offer-main{background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.035));}
.offer-sub{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(24,216,102,.04));}
.offer-side{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(25,99,255,.04));}
.branch-a{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,184,0,.04));}
.branch-b{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(67,97,238,.05));}
.branch-c.is-win{background:linear-gradient(180deg, rgba(24,216,102,.14), rgba(24,216,102,.07));}
.scene-slide.is-active .icon-card{animation: sceneRise .7s ease both;}
.scene-slide.is-active .offer-sub,.scene-slide.is-active .branch-b{animation-delay:.08s}
.scene-slide.is-active .offer-side,.scene-slide.is-active .branch-c{animation-delay:.16s}
@keyframes sceneRise{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}

@media (max-width: 780px){
  .header-inner{gap:8px; flex-wrap:nowrap;}
  .brand{gap:6px; min-width:0; flex:1 1 auto; max-width:calc(100% - 190px); overflow:hidden;}
  .brand-logo{width:74px; flex:0 0 auto;}
  .brand-copy{min-width:0; max-width:72px;}
  .brand-title{font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .header-actions{gap:6px; flex:0 0 auto;}
  .icon-btn{width:36px;height:36px;border-radius:11px;}
  .btn-primary{min-height:40px; padding:0 14px; font-size:13px; white-space:nowrap;}
  .visual-card{min-height:252px;}
  .visual-core{min-height:252px;padding:20px;}
  .hero-logo{width:min(88%,260px);} 
  .motion-scene{min-height:320px}
  .offer-main{width:180px;height:106px}
  .offer-sub,.offer-side{width:128px;height:86px}
  .test-branch{width:98px;height:98px}
}
@media (max-width: 520px){
  .header-inner{padding-block:8px; min-height:68px;}
  .brand{max-width:calc(100% - 176px)}
  .brand-logo{width:68px}
  .brand-copy{max-width:62px}
  .brand-title{font-size:12px}
  .btn-primary{padding:0 12px;font-size:12.5px}
  .hero-visual{order:2}
  .hero-copy{order:1}
  .hero-grid{gap:14px}
}
@media (max-width: 420px){
  .header-inner{gap:6px}
  .brand{max-width:calc(100% - 168px)}
  .brand-copy{display:none}
  .brand-logo{width:78px}
  .icon-btn{width:34px;height:34px}
  .btn-primary{min-height:38px;padding:0 10px;font-size:12px}
  .hero-logo{width:min(92%,240px)}
}


/* v8 scene + mobile fixes */
.scene-offer,
.scene-test{
  display:grid;
  align-content:center;
  justify-items:center;
  gap:18px;
  padding:28px;
}
.scene-offer{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:auto auto;
}
.scene-test{
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:auto;
}
.offer-card,
.test-branch{
  position:relative;
  left:auto; right:auto; top:auto; bottom:auto;
  transform:none !important;
  width:100%;
  max-width:none;
  min-height:104px;
  height:auto;
  padding:18px 14px;
  border-radius:22px;
  overflow:hidden;
}
.offer-main{
  grid-column:1 / -1;
  width:min(72%, 260px);
  min-height:118px;
  justify-self:center;
}
.offer-sub,
.offer-side{
  min-height:96px;
}
.test-branch{
  min-height:112px;
}
.scene-offer::before,
.scene-test::before{
  content:"";
  position:absolute;
  inset:64px 24px 24px;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 32%, rgba(24,216,102,.08), transparent 22%),
    radial-gradient(circle at 22% 74%, rgba(24,216,102,.06), transparent 18%),
    radial-gradient(circle at 78% 74%, rgba(24,216,102,.06), transparent 18%);
}
.scene-offer::after,
.scene-test::after{
  content:"";
  position:absolute;
  inset:64px 24px 24px;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(24,216,102,.16), rgba(24,216,102,.16)),
    linear-gradient(rgba(24,216,102,.12), rgba(24,216,102,.12));
  background-size: 2px 22%, 26% 2px;
  background-position: 50% 46%, 50% 60%;
  background-repeat:no-repeat;
  opacity:.5;
}
.scene-test::after{
  background-image: linear-gradient(90deg, rgba(24,216,102,.10), rgba(24,216,102,.18), rgba(24,216,102,.10));
  background-size: 62% 2px;
  background-position: center 50%;
}
.icon-card{
  gap:12px;
}
.icon-card .icon-orb{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:radial-gradient(circle at 35% 35%, rgba(24,216,102,.18), rgba(24,216,102,.05));
  border:1px solid rgba(24,216,102,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.18), 0 0 24px rgba(24,216,102,.06);
}
.icon-card svg{
  width:26px;
  height:26px;
  fill:#e9f0ff;
  opacity:.96;
  filter:none;
}
.small-icon-card .icon-orb{
  width:50px;
  height:50px;
  border-radius:16px;
}
.small-icon-card svg{
  width:24px;
  height:24px;
}
.offer-card span,.test-branch span{
  font-size:17px;
}
.small-icon-card span{
  font-size:15px;
}
.branch-c.is-win .icon-orb,
.offer-main .icon-orb{
  background:radial-gradient(circle at 35% 35%, rgba(24,216,102,.24), rgba(24,216,102,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.2), 0 0 26px rgba(24,216,102,.10);
}
@media (max-width: 980px){
  .offer-main{width:min(78%,240px)}
}
@media (max-width: 780px){
  .scene-offer,.scene-test{padding:22px 16px;gap:12px}
  .offer-main{width:100%; min-height:104px}
  .offer-sub,.offer-side,.test-branch{min-height:88px}
  .scene-offer::after{background-size:2px 18%, 22% 2px; background-position:50% 44%, 50% 57%;}
}
@media (max-width: 520px){
  .site-header{padding-inline:0}
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding-block:8px;min-height:64px}
  .brand{max-width:none; min-width:0; overflow:hidden}
  .brand-logo{width:64px}
  .brand-copy{display:block;max-width:68px;min-width:0}
  .brand-title{font-size:11px;line-height:1}
  .brand-sub{display:none}
  .header-actions{gap:6px}
  .icon-btn{width:34px;height:34px;border-radius:10px;flex:0 0 34px}
  .btn-primary{min-height:38px;padding:0 12px;font-size:12px;max-width:140px;text-align:center;line-height:1.05;white-space:normal}
  .hero-grid{gap:16px}
  .hero-copy{order:1}.hero-visual{order:2}
}
@media (max-width: 390px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}
  .brand-copy{max-width:62px}
  .brand-logo{width:58px}
  .brand-title{font-size:10.5px}
  .btn-primary{padding:0 10px;font-size:11px;max-width:130px}
  .icon-btn{width:32px;height:32px;flex-basis:32px}
}
