:root {
  --bg: #06120f;
  --bg-soft: #0a1a16;
  --card: #0e1f1a;
  --card-2: #0c1b16;
  --text: #e6eee8;
  --muted: #a9bfaf;
  --accent: #d4a853;
  --accent-2: #c49a3e;
  --border: #1f3730;
  --ok: #22c55e;
  --error: #f87171;
  --max: 1180px;
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --teal: #1a8a7a;
  --teal-light: #4ec9b0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 85% -20%, rgba(212, 168, 83, 0.08), transparent 35%),
    radial-gradient(circle at -10% 50%, rgba(26, 138, 122, 0.1), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#ffffff 0.35px, transparent 0.35px);
  background-size: 3px 3px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(212, 168, 83, 0.5);
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.1);
  color: #d4a853;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-label {
  color: #d4a853;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 600;
}

.section-heading {
  margin-top: 0.6rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.12);
  background: rgba(6, 18, 15, 0.88);
}

.site-header .container {
  width: min(1380px, calc(100% - 2rem));
}

.site-header .wrap {
  min-height: 5.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-lockup-image {
  width: clamp(150px, 13vw, 208px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(78, 201, 176, 0.24));
}

.brand-icon {
  width: 2.55rem;
  height: 2.55rem;
  object-fit: contain;
  border-radius: 0.3rem;
  filter: drop-shadow(0 0 10px rgba(78, 201, 176, 0.32));
}

.brand-wording {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.02;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-subtitle {
  color: #4ec9b0;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.17rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.3vw, 1.2rem);
  flex: 1;
  min-width: 0;
}

.nav-link {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 168, 83, 0.05), rgba(212, 168, 83, 1), rgba(212, 168, 83, 0.05));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.is-active {
  color: #f0d78a;
  border-bottom-color: rgba(212, 168, 83, 0.9);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 0.72rem 1rem;
  font-size: 0.78rem;
  white-space: nowrap;
  min-height: 2.9rem;
  border-radius: 0.8rem;
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(78, 201, 176, 0.45);
  background: rgba(6, 18, 15, 0.74);
  color: #4ec9b0;
  border-radius: 0.58rem;
  padding: 0.5rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-panel {
  display: none;
}

.mobile-links {
  display: grid;
  gap: 0.25rem;
}

.mobile-link {
  padding: 0.62rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: #b7c7d7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.mobile-link:hover {
  color: #d9f8ff;
}

.mobile-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.nav-login {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.78rem 1.15rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth),
    background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}

.btn-primary {
  color: #0a1a16;
  background: linear-gradient(140deg, var(--accent), #f0d78a);
  box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.3), 0 0 20px rgba(212, 168, 83, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.6), 0 0 30px rgba(212, 168, 83, 0.3);
}

.btn-secondary {
  border-color: rgba(78, 201, 176, 0.5);
  color: #4ec9b0;
  background: transparent;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(78, 201, 176, 0.08);
}

main {
  padding-top: 0.2rem;
}

.section {
  padding: 4.5rem 0;
}

.hero {
  padding: 2.2rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.82fr;
  gap: 2rem;
  align-items: start;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.65rem, 3.3vw, 2.45rem);
  margin-top: 0.85rem;
}

.hero-text-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6fd3bd;
  text-decoration: none;
}

.hero-text-link:hover {
  text-decoration: underline;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-panel {
  padding: 1.3rem 1.4rem;
}

.hero-panel .hero-title-line {
  margin-top: 0;
}

.hero-title-line {
  margin: 1.1rem 0 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #ffffff;
}

.hero-statement {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

.hero-statement strong {
  color: #ffffff;
  font-weight: 700;
}

.lead {
  font-size: 1.08rem;
  max-width: 63ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-actions .btn {
  padding: 0.68rem 0.98rem;
  font-size: 0.73rem;
}

.hero-visual {
  min-height: 390px;
  border: 1px solid rgba(78, 201, 176, 0.25);
  border-radius: 1.2rem;
  background: radial-gradient(circle at center, rgba(78, 201, 176, 0.1), transparent 50%), var(--card);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  background: #040911;
  min-height: clamp(280px, 26vw, 400px);
  width: 100%;
  max-width: 560px;
  justify-self: end;
  margin-top: 0.4rem;
  border-color: rgba(78, 201, 176, 0.45);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(26, 138, 122, 0.25),
    0 0 42px rgba(26, 138, 122, 0.2);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth);
}

.hero-video::before,
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.hero-video::before {
  background: linear-gradient(180deg, rgba(5, 9, 16, 0.06), rgba(3, 7, 12, 0.2));
  opacity: 0;
  transition: opacity 0.32s var(--ease-smooth);
}

.hero-video::after {
  box-shadow: inset 0 0 0 1px rgba(174, 230, 255, 0.25), inset 0 -70px 110px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(34, 211, 238, 0.23);
  z-index: 2;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: inherit;
}

.hero-video:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(174, 230, 255, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(174, 230, 255, 0.34),
    0 0 56px rgba(58, 123, 255, 0.43);
}

.hero-video:hover::before {
  opacity: 1;
}

.hero-video.is-playing {
  animation: playerPulse 1.05s var(--ease-smooth);
}

.hero-video.is-fullscreen {
  border-radius: 0;
  margin-top: 0;
  box-shadow: none;
}

.video-overlay-controls {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  display: flex;
  gap: 0.55rem;
}

.video-control {
  border: 1px solid rgba(174, 230, 255, 0.42);
  background: rgba(4, 11, 20, 0.78);
  color: #d7f6ff;
  border-radius: 0.62rem;
  padding: 0.5rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}

.video-control:hover {
  transform: translateY(-1px);
  border-color: rgba(174, 230, 255, 0.85);
  background: rgba(7, 18, 30, 0.95);
  box-shadow: 0 0 20px rgba(58, 123, 255, 0.33);
}

.video-control-play {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.2), rgba(3, 17, 27, 0.92));
  animation: controlPulse 2.8s ease-in-out infinite;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.hero-visual::before {
  width: 290px;
  height: 290px;
}

.hero-visual::after {
  width: 200px;
  height: 200px;
}

.cube {
  width: 130px;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  transform: rotate(21deg);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.9), rgba(10, 20, 34, 0.85));
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.35);
}

.status-chip {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  background: rgba(5, 7, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.75rem;
  color: #b7f4ff;
  display: flex;
  justify-content: space-between;
}

.dot-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dot-live::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.trust-strip {
  margin-top: 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.9rem;
  padding: 1rem 1.2rem;
  background: rgba(11, 15, 20, 0.7);
}

.logo-row {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.logo-pill {
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  background: #0f151d;
  color: #6f7a86;
  font-size: 0.76rem;
  display: grid;
  place-items: center;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: linear-gradient(155deg, var(--card), #0a1119);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.05rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(78, 201, 176, 0.18), transparent 54%);
  transition: opacity 0.32s var(--ease-smooth);
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 201, 176, 0.4);
  box-shadow: inset 0 0 0 1px rgba(78, 201, 176, 0.1), 0 0 25px rgba(26, 138, 122, 0.12);
}

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

.card > * {
  position: relative;
  z-index: 2;
}

.card h3,
.card h4 {
  margin-bottom: 0.45rem;
}

.card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: #a7b8c7;
}

.card li {
  margin-top: 0.35rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
}

.metric {
  text-align: center;
  padding: 1.1rem;
}

.metric .value {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: #4ec9b0;
  text-shadow: 0 0 16px rgba(78, 201, 176, 0.35);
}

.grid-ai-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.ai-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(78, 201, 176, 0.3);
  border-radius: 0.55rem;
  background: rgba(78, 201, 176, 0.06);
  color: #4ec9b0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
}

.pillar-card {
  padding: 1.2rem;
}

.pillar-card h3 {
  font-size: 1.05rem;
  color: #d4a853;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 168, 83, 0.2);
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.pillar-list li {
  color: #b0c4b8;
  font-size: 0.88rem;
  padding: 0.22rem 0;
  margin: 0;
}

.pillar-highlight {
  border-color: rgba(200, 60, 60, 0.6) !important;
  box-shadow: inset 0 0 0 1px rgba(200, 60, 60, 0.15), 0 0 20px rgba(200, 60, 60, 0.1);
}

.pillar-highlight h3 {
  color: #e8e0d0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.process .step {
  padding: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 0.9rem;
  background: rgba(11, 15, 20, 0.75);
}

.process .step .num {
  color: #9deefa;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.quote {
  font-size: 0.98rem;
  color: #ccdae6;
}

.quote-author {
  margin-top: 0.8rem;
  font-size: 0.84rem;
  color: #87a0b7;
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.api-table th,
.api-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.68rem 0.7rem;
  text-align: left;
}

.api-table th {
  color: #b9f2fd;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.08);
}

.dev-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
}

.dev-network {
  min-height: 360px;
}

.network-map {
  margin-top: 0.8rem;
  height: 260px;
  border-radius: 1rem;
  border: 1px solid rgba(174, 230, 255, 0.2);
  background: radial-gradient(circle at center, rgba(58, 123, 255, 0.16), rgba(10, 16, 26, 0.78) 60%);
  position: relative;
  overflow: hidden;
}

.network-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.node {
  position: absolute;
  z-index: 2;
  min-width: 104px;
  padding: 0.42rem 0.6rem;
  border-radius: 0.66rem;
  font-size: 0.74rem;
  text-align: center;
  border: 1px solid rgba(174, 230, 255, 0.38);
  background: rgba(14, 22, 33, 0.84);
  color: #d7f7ff;
  box-shadow: 0 0 0 1px rgba(58, 123, 255, 0.12), 0 0 20px rgba(58, 123, 255, 0.2);
}

.node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 126px;
  border-color: rgba(174, 230, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(174, 230, 255, 0.25), 0 0 30px rgba(34, 211, 238, 0.33);
  animation: nodePulse 2.6s ease-in-out infinite;
}

.node-ai {
  left: 8%;
  top: 20%;
}

.node-ws {
  left: 8%;
  bottom: 19%;
}

.node-vi {
  right: 8%;
  top: 20%;
}

.node-sg {
  right: 8%;
  bottom: 19%;
}

.flow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(58, 123, 255, 0.2), rgba(174, 230, 255, 0.95), rgba(58, 123, 255, 0.2));
  background-size: 220% 100%;
  animation: flowPulse 3s linear infinite;
  filter: drop-shadow(0 0 8px rgba(174, 230, 255, 0.45));
}

.flow-ai {
  width: 160px;
  left: 25%;
  top: 31%;
  transform: rotate(20deg);
}

.flow-ws {
  width: 160px;
  left: 25%;
  top: 68%;
  transform: rotate(-20deg);
}

.flow-vi {
  width: 160px;
  right: 24%;
  top: 31%;
  transform: rotate(-20deg);
}

.flow-sg {
  width: 160px;
  right: 24%;
  top: 68%;
  transform: rotate(20deg);
}

.dev-caption {
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: #96aecd;
}

.dev-split-panel {
  min-height: 360px;
}

.dev-split {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 0.8rem;
}

.dev-list {
  display: grid;
  gap: 0.45rem;
}

.dev-tab {
  text-align: left;
  border: 1px solid rgba(174, 230, 255, 0.2);
  background: rgba(9, 16, 27, 0.88);
  color: #9eb6cf;
  border-radius: 0.6rem;
  padding: 0.58rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.dev-tab:hover,
.dev-tab.is-active {
  color: #d8f6ff;
  border-color: rgba(174, 230, 255, 0.65);
  box-shadow: 0 0 16px rgba(58, 123, 255, 0.18);
}

.dev-panel {
  display: none;
  border-radius: 0.7rem;
  border: 1px solid rgba(174, 230, 255, 0.2);
  background: rgba(9, 15, 24, 0.93);
  padding: 0.78rem;
  white-space: pre-line;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #9ec2dd;
}

.dev-panel.is-active {
  display: block;
  animation: fadeIn 0.28s ease;
}

.api-cap-card {
  position: relative;
}

.api-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.48rem;
  border: 1px solid rgba(174, 230, 255, 0.45);
  background: rgba(58, 123, 255, 0.15);
  color: #b2ebff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  margin-bottom: 0.45rem;
}

.api-cap-card:hover .api-icon {
  box-shadow: 0 0 18px rgba(174, 230, 255, 0.4);
}

.dev-architecture {
  background: linear-gradient(165deg, rgba(16, 25, 39, 0.95), rgba(8, 12, 21, 0.9));
}

.arch-blueprint {
  margin-top: 0.85rem;
  border: 1px solid rgba(174, 230, 255, 0.2);
  border-radius: 0.82rem;
  background: rgba(10, 15, 24, 0.88);
  padding: 0.75rem;
}

.arch-row {
  display: grid;
  grid-template-columns: 180px 1fr 210px;
  gap: 0.6rem;
  align-items: center;
  padding: 0.42rem 0;
}

.arch-label {
  color: #8ee2f6;
  font-size: 0.75rem;
}

.arch-path {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(58, 123, 255, 0.2), rgba(174, 230, 255, 0.95), rgba(58, 123, 255, 0.2));
  background-size: 220% 100%;
  animation: flowPulse 2.7s linear infinite;
}

.arch-node {
  justify-self: end;
  border: 1px solid rgba(174, 230, 255, 0.3);
  border-radius: 0.54rem;
  padding: 0.3rem 0.5rem;
  color: #c8efff;
  font-size: 0.72rem;
  background: rgba(58, 123, 255, 0.11);
}

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

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(174, 230, 255, 0.25), 0 0 18px rgba(34, 211, 238, 0.24);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(174, 230, 255, 0.35), 0 0 30px rgba(34, 211, 238, 0.42);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes controlPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(58, 123, 255, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(58, 123, 255, 0.28);
  }
}

@keyframes playerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.62);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(34, 211, 238, 0);
  }
}

.form-panel {
  background: linear-gradient(160deg, #0d131d, #091018);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  padding: 1rem;
  transition: transform 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

.form-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 22px rgba(58, 123, 255, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: #a7b7c6;
}

input,
select,
textarea {
  width: 100%;
  background: #060b12;
  border: 1px solid #243244;
  border-radius: 0.6rem;
  color: #dce7f2;
  padding: 0.68rem 0.7rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(78, 201, 176, 0.4);
  border-color: rgba(78, 201, 176, 0.6);
}

.form-span-2 {
  grid-column: span 2;
}

.form-meta {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #7f8da0;
}

.form-status {
  margin-top: 0.5rem;
  min-height: 1.3rem;
  font-size: 0.84rem;
}

.video-panel {
  background: linear-gradient(165deg, rgba(16, 25, 39, 0.95), rgba(8, 12, 21, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  padding: 0.95rem;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(174, 230, 255, 0.24);
  border-radius: 0.86rem;
  overflow: hidden;
  background: #060b12;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

.office-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  padding: 1rem;
  background: rgba(11, 15, 20, 0.85);
  transition: transform 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

.office-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 20px rgba(58, 123, 255, 0.16);
}

footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(212, 168, 83, 0.15);
  background: #04110e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 2.2rem 0;
}

.footer-title {
  margin-bottom: 0.6rem;
  color: #d4a853;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  color: #93a5b6;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.95rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #8493a5;
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-smooth), transform 0.55s var(--ease-smooth);
}

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

@media (max-width: 1020px) {
  .hero-grid,
  .split-panel,
  .dev-top,
  .grid-4,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-ai-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .logo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.35s var(--ease-smooth), opacity 0.3s var(--ease-smooth),
      transform 0.3s var(--ease-smooth), padding 0.3s var(--ease-smooth);
    padding: 0;
  }

  .mobile-panel.is-open {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
    padding: 0.7rem 0 0.95rem;
  }

  .hero-video {
    min-height: 330px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4,
  .dev-top,
  .dev-split,
  .split-panel,
  .process,
  .offices,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .network-map {
    height: 290px;
  }

  .arch-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .arch-node {
    justify-self: start;
  }

  .form-span-2 {
    grid-column: auto;
  }

  .site-header .wrap {
    min-height: 4.1rem;
  }

  .brand-lockup-image {
    width: 134px;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(1.4rem, 7.4vw, 1.85rem);
    line-height: 1.12;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-video {
    min-height: 225px;
    margin-top: 0;
  }

  .video-overlay-controls {
    right: 0.55rem;
    top: 0.55rem;
    gap: 0.4rem;
  }

  .video-control {
    padding: 0.42rem 0.58rem;
    font-size: 0.66rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 2.65rem;
  }

  .hero-actions .btn-secondary {
    font-size: 0.69rem;
  }

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

@media (max-width: 1020px) {
  .hero-video {
    justify-self: center;
  }
}

body[data-page="ai-for-oracle"] .hero {
  padding-bottom: 1.25rem;
}

body[data-page="home"] .hero {
  padding-bottom: 1.25rem;
}

.why-splan {
  padding-bottom: 1.25rem;
}

.why-splan .section-label {
  font-size: 0.85rem;
}

.why-splan .card h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.why-splan .card p {
  font-size: 1.08rem;
  line-height: 1.6;
}
