:root {
  --bg: #071019;
  --panel: rgba(11, 19, 31, 0.72);
  --panel-strong: rgba(15, 24, 38, 0.88);
  --text: #DADADA;
  --muted: #9eabbc;
  --soft: #41526c;
  --cyan: #35c8ff;
  --blue: #4f7dff;
  --violet: #6c8cff;
  --gold: #ff8a26;
  --green: #31d587;
  --border: rgba(117, 168, 255, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-blue: 0 0 52px rgba(49, 215, 255, 0.18);
  --max: 1180px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, rgba(255, 138, 38, 0.10), transparent 30%), radial-gradient(circle at 80% 18%, rgba(49, 213, 135, 0.09), transparent 32%), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  cursor: auto;
}

a, button, input, textarea { font: inherit; }
a, button { cursor: auto; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
img { max-width: 100%; display: block; }

#webgl-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
  background: #02040a;
}

.noise,
.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.noise {
  z-index: -2;
  opacity: 0.12;
  background-image:
    linear-gradient(transparent 0, rgba(255,255,255,0.04) 1px, transparent 2px),
    radial-gradient(circle at center, rgba(255,255,255,0.08) 0 1px, transparent 1px);
  background-size: 100% 4px, 16px 16px;
  mix-blend-mode: screen;
}
.scanline {
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(49, 215, 255, 0.04), transparent);
  background-size: 100% 26vh;
  animation: scan 8s linear infinite;
}
@keyframes scan { from { background-position-y: -26vh; } to { background-position-y: 100vh; } }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  box-shadow: 0 0 20px rgba(49, 215, 255, 0.8);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 100;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--green));
  box-shadow: 0 0 8px rgba(49,213,135,.30);
  opacity: .72;
}
.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(218, 218, 218, 0.24);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(4px);
}
.cursor-ring span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--text);
  opacity: 0;
  transition: opacity .2s ease;
}
.cursor-ring.is-active {
  width: 48px;
  height: 48px;
  border-color: rgba(49, 213, 135, .42);
  background: rgba(49, 213, 135, .045);
}
.cursor-ring.is-active span { opacity: 1; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  height: 60px;
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(117, 168, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 7, 17, 0.72);
  box-shadow: 0 10px 40px rgba(0,0,0,.36);
  backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(49,215,255,.8), rgba(79,125,255,.2) 52%, rgba(3,7,17,.8));
  box-shadow: 0 0 30px rgba(49,215,255,.25), inset 0 0 20px rgba(255,255,255,.08);
  border: 1px solid rgba(49, 215, 255, 0.25);
}
.brand-mark span {
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255,255,255,.7);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-40deg);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 15px; letter-spacing: .01em; color: var(--text); }
.brand-copy small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #b9c7dc;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(49,215,255,.2), rgba(143,99,255,.18));
  border: 1px solid rgba(49,215,255,.35);
  color: var(--text);
  box-shadow: var(--shadow-blue);
  font-weight: 700;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
  position: relative;
}
.hero { min-height: 100vh; display: grid; align-items: center; padding-top: 120px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .82fr);
  gap: 56px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #9bdfff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .17em;
  font-size: 12px;
}
.eyebrow span {
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 16px rgba(49,215,255,.8);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(46px, 7vw, 96px);
  line-height: .91;
  letter-spacing: -0.075em;
  margin-bottom: 26px;
  max-width: 900px;
}
h2 {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: .94;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}
h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.68; }
.hero-lead { max-width: 760px; font-size: clamp(18px, 2.2vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 32px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.24), transparent 80%);
  transform: translateX(-70%) rotate(12deg);
  transition: transform .7s ease;
}
.btn:hover::before { transform: translateX(70%) rotate(12deg); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--violet));
  color: #02040a;
  box-shadow: 0 0 44px rgba(49, 215, 255, 0.32);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  border: 1px solid rgba(117,168,255,.14);
  border-radius: var(--radius-lg);
  background: rgba(7,13,28,.58);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.metric-strip div { padding: 18px; border-right: 1px solid rgba(117,168,255,.12); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip strong { display: block; color: var(--text); margin-bottom: 4px; }
.metric-strip span { display: block; color: var(--muted); font-size: 13px; }

.hero-visual { min-height: 570px; position: relative; display: grid; place-items: center; perspective: 1100px; }
.device-stage {
  width: min(100%, 480px);
  height: 560px;
  position: relative;
  transform-style: preserve-3d;
}
.device-shell {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotateY(-12deg) rotateX(5deg);
  width: 286px;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  border: 1px solid rgba(117,168,255,.22);
  box-shadow: 0 28px 90px rgba(0,0,0,.48), 0 0 70px rgba(49,215,255,.12);
  z-index: 1;
  opacity: .42;
  filter: saturate(.95) brightness(.86);
  pointer-events: none;
}
.device-shell img { border-radius: 27px; border: 1px solid rgba(255,255,255,.08); }
.device-glow {
  position: absolute;
  inset: -38px;
  border-radius: 52px;
  background: radial-gradient(circle, rgba(49,215,255,.18), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}
.orbit {
  position: absolute;
  inset: 52px 42px;
  border-radius: 50%;
  border: 1px solid rgba(49,215,255,.20);
  transform-style: preserve-3d;
  animation: spin 14s linear infinite;
  z-index: 3;
}
.orbit-b { inset: 112px 20px; border-color: rgba(143,99,255,.22); animation-duration: 18s; animation-direction: reverse; }
.orbit-c { inset: 164px 72px; border-color: rgba(255,191,47,.18); animation-duration: 21s; }
.orbit span {
  position: absolute;
  top: 16px; left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(4,8,18,.8);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }
.command-card {
  position: absolute;
  z-index: 5;
  width: 210px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(5,11,24,.80);
  border: 1px solid rgba(117,168,255,.20);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 34px rgba(49,215,255,.12);
  backdrop-filter: blur(14px);
}
.command-card small { display: block; color: var(--cyan); letter-spacing: .16em; font-size: 10px; font-weight: 900; margin-bottom: 5px; }
.command-card strong { font-size: 14px; line-height: 1.35; }
.command-card-a { left: 0; top: 110px; animation: floatY 6s ease-in-out infinite; }
.command-card-b { right: 0; bottom: 110px; animation: floatY 6s ease-in-out infinite reverse; border-color: rgba(255,191,47,.22); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero-marquee {
  position: absolute;
  left: 50%; bottom: 18px;
  width: 100vw;
  overflow: hidden;
  transform: translateX(-50%);
  border-top: 1px solid rgba(117,168,255,.10);
  border-bottom: 1px solid rgba(117,168,255,.10);
  background: rgba(2,4,10,.34);
}
.hero-marquee div { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.hero-marquee span {
  padding: 14px 26px;
  color: rgba(242,247,255,.42);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section-kicker { color: var(--gold); }
.section-title-row {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}
.section-title-row p { margin-bottom: 4px; }
.cards-grid { display: grid; gap: 18px; }
.cards-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glass-card,
.capability,
.case-card,
.workflow-console,
.launch-card,
.contact-grid,
.architecture-board {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(12, 21, 44, 0.78), rgba(4, 8, 18, 0.56));
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.glass-card {
  min-height: 250px;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.glass-card::after,
.capability::after,
.case-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 10%;
  height: 120px;
  background: radial-gradient(circle, rgba(49,215,255,.18), transparent 70%);
  filter: blur(22px);
  opacity: .8;
}
.card-index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  margin-bottom: 38px;
  background: rgba(49,215,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(49,215,255,.20);
  font-weight: 900;
}
.glass-card p { font-size: 15px; margin-bottom: 0; }

.process-lab {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}
.lab-panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 20% 0, rgba(255,191,47,.12), transparent 34%), rgba(4, 8, 18, 0.58);
  border: 1px solid rgba(255,191,47,.16);
  backdrop-filter: blur(18px);
}
.scenario-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.scenario {
  padding: 12px 15px;
  border-radius: 999px;
  color: #b9c7dc;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  cursor: auto;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.scenario:hover,
.scenario.active {
  color: #02040a;
  background: linear-gradient(135deg, var(--gold), #ffe08a);
  border-color: rgba(255,191,47,.62);
}
.workflow-console {
  min-height: 510px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.console-top {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(117,168,255,.15);
  background: rgba(0,0,0,.22);
}
.console-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.console-top span:nth-child(1) { background: #ff6b70; }
.console-top span:nth-child(2) { background: #ffd166; }
.console-top span:nth-child(3) { background: #4dffbc; }
.console-top strong { margin-left: 8px; font-size: 14px; color: var(--text); }
.workflow-map { position: relative; height: 330px; }
.flow-node {
  position: absolute;
  width: 152px;
  min-height: 94px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(5,11,24,.84);
  border: 1px solid rgba(117,168,255,.2);
  box-shadow: 0 18px 54px rgba(0,0,0,.38);
  z-index: 3;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.flow-node small { color: var(--cyan); font-weight: 900; }
.flow-node b { display: block; margin: 5px 0 4px; }
.flow-node em { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; font-style: normal; }
.flow-node.active { border-color: rgba(49,215,255,.64); box-shadow: 0 0 38px rgba(49,215,255,.22); }
.node-voice { left: 28px; top: 34px; }
.node-agent { left: 218px; top: 118px; }
.node-n8n { left: 406px; top: 34px; }
.node-api { left: 238px; top: 242px; }
.node-result { right: 30px; top: 194px; }
.route {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(49,215,255,.8), transparent);
  opacity: .56;
  overflow: hidden;
}
.route::after {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: #fff;
  box-shadow: 0 0 18px var(--cyan);
  animation: pulseRoute 2.2s linear infinite;
}
.route-1 { width: 230px; left: 150px; top: 125px; transform: rotate(24deg); }
.route-2 { width: 210px; left: 340px; top: 136px; transform: rotate(-24deg); }
.route-3 { width: 190px; left: 330px; top: 224px; transform: rotate(41deg); }
.route-4 { width: 230px; left: 388px; top: 286px; transform: rotate(-8deg); }
@keyframes pulseRoute { to { left: 110%; } }
.console-log {
  margin: 0 20px 20px;
  padding: 18px;
  border: 1px solid rgba(117,168,255,.13);
  border-radius: 20px;
  background: rgba(2,4,10,.5);
}
.console-log p { display: flex; gap: 14px; margin: 0 0 10px; line-height: 1.35; }
.console-log p:last-child { margin-bottom: 0; }
.console-log span { color: var(--gold); min-width: 54px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.console-log strong { color: #eaf4ff; font-size: 14px; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.capability {
  position: relative;
  min-height: 228px;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cap-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 34px;
  background: rgba(49,215,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(49,215,255,.2);
  font-size: 24px;
  box-shadow: inset 0 0 20px rgba(49,215,255,.08);
}
.capability p { font-size: 15px; margin-bottom: 0; }

.architecture-board {
  display: grid;
  grid-template-columns: 1fr 90px 1fr 90px 1fr;
  align-items: center;
  min-height: 330px;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.architecture-board::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: conic-gradient(from 120deg, transparent, rgba(49,215,255,.16), transparent, rgba(255,191,47,.12), transparent);
  filter: blur(42px);
  animation: rotateGlow 16s linear infinite;
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }
.arch-layer {
  position: relative;
  z-index: 2;
  min-height: 210px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(3,7,17,.78);
  border: 1px solid rgba(117,168,255,.18);
}
.arch-layer span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}
.arch-layer p { margin-bottom: 0; font-size: 15px; }
.arch-connector {
  position: relative;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, rgba(49,215,255,.0), rgba(49,215,255,.8), rgba(49,215,255,.0));
}
.arch-connector::after {
  content: "";
  position: absolute;
  top: 50%; right: 0;
  width: 8px; height: 8px;
  border-top: 2px solid rgba(49,215,255,.9);
  border-right: 2px solid rgba(49,215,255,.9);
  transform: translateY(-50%) rotate(45deg);
}
.code-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 16px;
  border-radius: 999px;
  background: rgba(2,4,10,.48);
  border: 1px solid rgba(117,168,255,.12);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}
.code-ribbon span { color: #d7ecff; }
.code-ribbon i { color: var(--cyan); font-style: normal; }

.case-stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.case-card {
  min-height: 310px;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.case-card span {
  display: inline-block;
  margin-bottom: 82px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.case-card p { margin-bottom: 0; font-size: 15px; }

.launch-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 85% 20%, rgba(49,215,255,.16), transparent 36%),
    linear-gradient(145deg, rgba(12,21,44,.78), rgba(4,8,18,.56));
}
.timeline { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.timeline div {
  min-height: 125px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(2,4,10,.48);
  border: 1px solid rgba(117,168,255,.14);
}
.timeline strong {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(49,215,255,.1);
  color: var(--cyan);
}
.timeline span { color: var(--text); font-weight: 700; }

.contact { padding-bottom: 70px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: 34px;
  padding: 36px;
  border-radius: var(--radius-xl);
}
.contact-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(117,168,255,.14);
  background: rgba(255,255,255,.04);
  color: #c4ceda;
  font-size: 13px;
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(2,4,10,.48);
  border: 1px solid rgba(117,168,255,.14);
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(117,168,255,.18);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255,255,255,.04);
  padding: 13px 14px;
  outline: none;
  cursor: text;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(49,215,255,.58); box-shadow: 0 0 0 4px rgba(49,215,255,.08); }
.form-note { margin: 0; font-size: 12px; color: var(--soft); }
.form-note.success { color: #8fe5b5; }
.form-note.error { color: #ffb59d; }

.footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(117,168,255,.10);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .7fr) minmax(260px, .75fr);
  gap: 28px;
  align-items: start;
}
.ft-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ft-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}
.footer strong { color: var(--text); display: block; margin-bottom: 6px; }
.footer span, .footer a { color: var(--muted); line-height: 1.75; font-size: 14px; }
.footer a:hover { color: var(--text); }
.ft-col { display: grid; gap: 8px; }
.ft-col h4 { margin: 0 0 8px; color: var(--text); font-size: 15px; }
.ft-social { display: flex; flex-wrap: wrap; gap: 10px; }
.soc-ab {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--text) !important;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(117,168,255,.14);
  background: rgba(255,255,255,.04);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.soc-ab:hover { transform: translateY(-2px); border-color: rgba(49,213,135,.32); background: rgba(255,255,255,.06); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(117,168,255,.08);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition: opacity .72s ease, transform .72s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .27s; }

[data-tilt] { transform-style: preserve-3d; transition: transform .18s ease-out; }

@media (max-width: 1080px) {
  .hero-grid,
  .process-lab,
  .launch-card,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .cards-grid.four,
  .case-stack { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .architecture-board { grid-template-columns: 1fr; gap: 16px; }
  .arch-connector { height: 52px; width: 2px; justify-self: center; background: linear-gradient(180deg, rgba(49,215,255,.0), rgba(49,215,255,.8), rgba(49,215,255,.0)); }
  .arch-connector::after { top: auto; right: 50%; bottom: 0; transform: translateX(50%) rotate(135deg); }
}

@media (max-width: 760px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .site-header { top: 10px; width: calc(100% - 18px); height: auto; border-radius: 24px; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .brand { margin-right: auto; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; padding: 4px; }
  .nav-links a { white-space: nowrap; font-size: 13px; padding: 8px 10px; }
  .header-cta { padding: 9px 13px; }
  .section { width: min(calc(100% - 24px), var(--max)); padding: 82px 0; }
  .hero { padding-top: 148px; }
  h1 { font-size: clamp(42px, 14vw, 68px); }
  h2 { font-size: clamp(34px, 11vw, 52px); }
  .section-title-row { grid-template-columns: 1fr; gap: 12px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .metric-strip div:nth-child(1), .metric-strip div:nth-child(2) { border-bottom: 1px solid rgba(117,168,255,.12); }
  .cards-grid.four,
  .capability-grid,
  .case-stack,
  .timeline { grid-template-columns: 1fr; }
  .device-stage { height: 480px; }
  .device-shell { width: 238px; }
  .command-card { width: 176px; }
  .command-card-a { left: 0; top: 76px; }
  .command-card-b { right: 0; bottom: 74px; }
  .workflow-console { min-height: 680px; }
  .workflow-map { height: 500px; }
  .flow-node { width: calc(100% - 40px); left: 20px !important; right: auto !important; }
  .node-voice { top: 20px; }
  .node-agent { top: 120px; }
  .node-n8n { top: 220px; }
  .node-api { top: 320px; }
  .node-result { top: 420px; }
  .route { left: 50% !important; width: 2px !important; height: 70px !important; transform: none !important; background: linear-gradient(180deg, transparent, rgba(49,215,255,.8), transparent); }
  .route-1 { top: 98px; }
  .route-2 { top: 198px; }
  .route-3 { top: 298px; }
  .route-4 { top: 398px; }
  .route::after { width: 100%; height: 40%; left: 0; top: -40%; animation: pulseRouteMobile 1.9s linear infinite; }
  @keyframes pulseRouteMobile { to { top: 110%; } }
  .lab-panel,
  .launch-card,
  .contact-grid { padding: 24px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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

/* === iQprofy correction pack: lighter visual, device behind animation === */
.device-stage {
  isolation: isolate;
}
.device-backplane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(430px, 82vw);
  transform: translate(-50%, -50%) rotateY(-12deg) rotateX(5deg) scale(.98);
  z-index: 0;
  opacity: .24;
  filter: saturate(.82) brightness(.72);
  pointer-events: none;
}
.device-backplane img {
  width: 100%;
  border-radius: 34px;
  border: 1px solid rgba(218,218,218,.06);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}
.device-backplane .device-glow {
  position: absolute;
  inset: -48px;
  border-radius: 60px;
  background: radial-gradient(circle, rgba(49, 213, 135, .12), rgba(255, 138, 38, .05), transparent 72%);
  filter: blur(18px);
  z-index: -1;
}
.device-shell {
  z-index: 0 !important;
  opacity: .20 !important;
  filter: saturate(.75) brightness(.70) !important;
  pointer-events: none !important;
}
.orbit { z-index: 4 !important; }
.orbit span { z-index: 5; color: #DADADA; }
.command-card { z-index: 8 !important; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,213,135,.10), transparent 64%);
  z-index: 1;
  pointer-events: none;
}
.cursor-dot {
  width: 4px !important;
  height: 4px !important;
  opacity: .48 !important;
  box-shadow: 0 0 4px rgba(49,213,135,.22) !important;
}
.cursor-ring {
  width: 18px !important;
  height: 18px !important;
  opacity: .38 !important;
  border-color: rgba(218,218,218,.16) !important;
  background: transparent !important;
  backdrop-filter: none !important;
}
.cursor-ring.is-active {
  width: 28px !important;
  height: 28px !important;
  opacity: .52 !important;
  border-color: rgba(49,213,135,.28) !important;
}
body { color: #DADADA; }


/* Revision 3 - bring device closer, keep behind animation, add showcase */
.device-stage {
  perspective: 1200px;
}
.device-backplane {
  width: min(470px, 88vw);
  opacity: .34;
  transform: translate(-50%, -50%) rotateY(-10deg) rotateX(4deg) scale(1.04);
  filter: saturate(.92) brightness(.86);
}
.device-backplane img {
  border-radius: 36px;
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
}
.device-backplane .device-glow {
  inset: -56px;
  background: radial-gradient(circle, rgba(49, 213, 135, .14), rgba(255, 138, 38, .08), transparent 72%);
  filter: blur(20px);
}
.orbit { z-index: 4 !important; }
.command-card { z-index: 7 !important; }

.interface-showcase {
  padding-top: 24px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  align-items: stretch;
}
.showcase-card {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(14,23,35,.84), rgba(9,14,22,.96));
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  overflow: hidden;
  padding: 22px;
}
.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.showcase-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.showcase-head span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}
.showcase-head strong {
  font-size: 16px;
  color: var(--text);
}
.showcase-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(circle at 30% 20%, rgba(49,213,135,.08), transparent 30%), linear-gradient(180deg, rgba(6,10,17,.96), rgba(10,16,25,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  margin-bottom: 16px;
}
.device-closeup {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.device-closeup img {
  width: min(100%, 360px);
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.45));
}
.workflow-closeup {
  min-height: 560px;
  padding: 0;
}
.workflow-closeup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .96;
}
.showcase-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
@media (max-width: 980px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .device-closeup,
  .workflow-closeup {
    min-height: 420px;
  }
}

.endpoint-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  margin: 0 0 4px;
  border: 1px solid rgba(49, 213, 135, .22);
  background: rgba(49, 213, 135, .06);
  color: #DADADA;
  font-size: 12px;
  line-height: 1.45;
}
.endpoint-status[data-mode="test"] {
  border-color: rgba(255, 138, 38, .34);
  background: rgba(255, 138, 38, .08);
}
