/* ================================================================
   XD4 Robotics — Autonomous Intelligence
   Minimal deeptech design system
   ================================================================ */

:root {
  --blue: #1573B7;
  --cyan: #2AA9E0;
  --ink: #0B1220;
  --dark: #060A10;
  --dark-2: #0B121C;
  --gray: #5C6674;
  --gray-light: #98A2B3;
  --line: #E6EAF0;
  --line-dark: rgba(255, 255, 255, 0.09);
  --bg: #FFFFFF;
  --bg-tint: #F6F8FA;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --container: 1180px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- Typography ---------------- */

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 720px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.eyebrow .idx {
  color: var(--gray-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.7rem;
}

.eyebrow-light { color: var(--cyan); }
.eyebrow-light .idx { border-color: var(--line-dark); color: rgba(255,255,255,0.4); }

/* ---------------- Nav ---------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo { height: 34px; width: auto; }

.nav .logo-on-light { display: none; }
.nav.scrolled .logo-on-light { display: block; }
.nav.scrolled .logo-on-dark { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-links a.active {
  opacity: 1;
  color: var(--cyan);
}
.nav.scrolled .nav-links a.active { color: var(--blue); }

.nav-links .nav-cta {
  opacity: 1;
  border: 1px solid currentColor;
  border-radius: 100px;
  padding: 7px 18px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav .nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav.scrolled .nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

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

.lang-toggle {
  font-family: var(--mono);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-toggle button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.45;
  padding: 4px 3px;
  transition: opacity 0.2s;
}

.lang-toggle button.active { opacity: 1; font-weight: 500; }
.lang-toggle button:hover { opacity: 1; }
.lang-sep { opacity: 0.3; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 3px; right: 3px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, top 0.3s;
}
.nav-burger span:first-child { top: 7px; }
.nav-burger span:last-child { top: 15px; }
.nav-burger.open span:first-child { top: 11px; transform: rotate(45deg); }
.nav-burger.open span:last-child { top: 11px; transform: rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

canvas[data-pointcloud] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 32px 80px;
  width: 100%;
}

.hero h1 { max-width: 820px; }

.hero-sub {
  margin-top: 28px;
  max-width: 540px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.68);
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--cyan); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; }

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}

.marquee { overflow: hidden; }

.marquee-track {
  display: inline-flex;
  gap: 56px;
  padding: 20px 28px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------------- Page hero (subpages) ---------------- */

.page-hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 210px 0 110px;
  overflow: hidden;
}

.page-hero-sm { padding: 190px 0 84px; }

.page-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  max-width: 760px;
}

.page-hero .hero-sub { margin-top: 20px; }

/* ---------------- Sections ---------------- */

.section { padding: 130px 0; }

.section-head { margin-bottom: 64px; }
.section-head h2 { margin-top: 6px; }

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-tint { background: var(--bg-tint); }

/* Futuristic grid backdrop for dark sections */
.grid-bg {
  background-image:
    linear-gradient(rgba(42, 169, 224, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 169, 224, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* Arrow links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
  margin-top: 8px;
  transition: gap 0.25s;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s;
}

.link-arrow:hover { gap: 16px; }

/* ---------------- About ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}

.about-copy p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-copy p:first-child {
  color: var(--ink);
  font-weight: 500;
}

.stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 36px 32px 0;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; padding-left: 0; }

.stat-num {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 260px;
}

/* ---------------- Pillars ---------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.pillar {
  background: var(--dark);
  padding: 44px 36px 52px;
  transition: background 0.3s;
}

.pillar:hover { background: var(--dark-2); }

.pillar-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
}

.pillar h3 {
  margin: 22px 0 14px;
  font-size: 1.3rem;
  color: #fff;
}

.pillar p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------------- Tech grid ---------------- */

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

.tech-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.tech-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(21, 115, 183, 0.09);
}

.tech-card h3 { margin-bottom: 12px; }

.tech-card h3::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  margin-bottom: 18px;
}

.tech-card p {
  font-size: 0.93rem;
  color: var(--gray);
}

/* ---------------- Platform ---------------- */

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.platform-copy h2 { margin-bottom: 22px; }

.platform-copy > p {
  color: var(--gray);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.platform-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
}
.platform-list li:last-child { border-bottom: 1px solid var(--line); }

.platform-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

/* Mock terminal/dashboard */

.platform-mock {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(6, 10, 16, 0.25);
  font-family: var(--mono);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
}

.mock-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.mock-url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}

.mock-body { padding: 26px 28px 30px; position: relative; overflow: hidden; }

/* Scanline sweep over the mock (LiDAR scan feel) */
.mock-scan {
  position: absolute;
  left: 0; right: 0;
  top: -20%;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(42, 169, 224, 0.10) 78%, rgba(42, 169, 224, 0.45));
  animation: scan 4.5s cubic-bezier(0.4, 0, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { top: -25%; opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mock-scan { display: none; }
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.82rem;
}

.mock-label { color: rgba(255, 255, 255, 0.55); }

.mock-value { color: #fff; }
.mock-value.ok { color: #4ADE80; }
.mock-value.rec {
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FF9F1E;
  animation: blink 1.2s infinite;
}

@keyframes blink { 50% { opacity: 0.25; } }

.mock-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.mock-btn {
  font-size: 0.76rem;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.7);
}

.mock-btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ---------------- Industries ---------------- */

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industries span {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: default;
}

.industries span:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

/* ---------------- Ecosystem ---------------- */

.eco-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.eco-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Radar animation */
.radar {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: 50%;
  border: 1px solid rgba(42, 169, 224, 0.25);
  background: radial-gradient(circle, rgba(21, 115, 183, 0.10), transparent 70%);
  overflow: hidden;
}

.radar-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 24%, rgba(42, 169, 224, 0.18) 24.6%, transparent 25.2%),
    radial-gradient(circle, transparent 49%, rgba(42, 169, 224, 0.18) 49.6%, transparent 50.2%),
    radial-gradient(circle, transparent 74%, rgba(42, 169, 224, 0.18) 74.6%, transparent 75.2%),
    linear-gradient(rgba(42, 169, 224, 0.10), rgba(42, 169, 224, 0.10)) 50% 50% / 1px 100% no-repeat,
    linear-gradient(rgba(42, 169, 224, 0.10), rgba(42, 169, 224, 0.10)) 50% 50% / 100% 1px no-repeat;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(42, 169, 224, 0.45), transparent 18%);
  animation: sweep 5s linear infinite;
}

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

.radar-dot {
  position: absolute;
  left: var(--rx);
  top: var(--ry);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(42, 169, 224, 0.9);
  animation: ping 5s infinite;
  animation-delay: var(--rd);
  opacity: 0.15;
}

@keyframes ping {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  8% { opacity: 1; transform: scale(1.6); }
  30% { opacity: 0.4; transform: scale(1); }
}

.radar-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep, .radar-dot { animation: none; }
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}

.eco-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.eco-card p:last-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.eco-card-highlight {
  border-color: rgba(42, 169, 224, 0.45);
  background: linear-gradient(160deg, rgba(21, 115, 183, 0.14), rgba(42, 169, 224, 0.05));
}

.eco-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.eco-arrow {
  align-self: center;
  font-size: 1.6rem;
  color: var(--cyan);
}

.eco-note {
  margin-top: 56px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--cyan);
  padding-left: 28px;
}

/* ---------------- Interactive cloud viewer ---------------- */

.map-note {
  max-width: 340px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

.cloud-viewer {
  position: relative;
  border: 1px solid rgba(255, 179, 64, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 72% 64% at 50% 54%, rgba(255, 184, 77, 0.12), transparent),
    radial-gradient(ellipse 42% 45% at 55% 35%, rgba(235, 54, 45, 0.08), transparent),
    #04070C;
}

#cloudViewer {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  cursor: grab;
  touch-action: none;
}

#cloudViewer.dragging { cursor: grabbing; }

.viewer-hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  pointer-events: none;
}

.viewer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(6, 10, 16, 0.65);
  border: 1px solid rgba(255, 179, 64, 0.22);
  border-radius: 100px;
  padding: 8px 16px;
  backdrop-filter: blur(6px);
}

.viewer-hint {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.viewer-ops {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  pointer-events: none;
}

.ops-status {
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 179, 64, 0.18);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.64);
  backdrop-filter: blur(8px);
  color: #fff;
}

.ops-kicker {
  display: block;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 184, 77, 0.72);
}

.ops-status strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.ops-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: auto;
}

.ops-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(6, 10, 16, 0.7);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.ops-btn:hover,
.ops-btn.active {
  border-color: rgba(255, 184, 77, 0.55);
  background: rgba(255, 151, 30, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.ops-btn-primary {
  border-color: rgba(255, 184, 77, 0.48);
  color: #FFE253;
}

.ops-btn-danger {
  border-color: rgba(235, 54, 45, 0.42);
  color: #FF8A7A;
}

.ops-btn-danger:hover,
.ops-btn-danger.active {
  border-color: rgba(235, 54, 45, 0.75);
  background: rgba(235, 54, 45, 0.16);
}

.viewer-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 28px;
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 179, 64, 0.18);
  background: rgba(6, 10, 16, 0.55);
  backdrop-filter: blur(6px);
  pointer-events: none;
  overflow-x: auto;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .viewer-hint { display: none; }
  #cloudViewer { height: 60vh; }
  .viewer-ops {
    left: 12px;
    right: 12px;
    bottom: 46px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ops-status {
    min-width: 0;
    padding: 10px 12px;
  }
  .ops-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ops-btn {
    min-width: 0;
    padding: 0 8px;
  }
  .ops-btn-danger {
    grid-column: 1 / -1;
  }
}

/* ---------------- Data tags (dark) ---------------- */

.data-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.data-tags span {
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: default;
}

.data-tags span:hover {
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 24px rgba(42, 169, 224, 0.25);
}

/* ---------------- Quote ---------------- */

.section-quote { padding: 100px 0; }

.big-quote {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 880px;
  border-left: 3px solid var(--blue);
  padding-left: 32px;
  color: var(--ink);
}

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 18px; }

.contact-info-text {
  color: var(--gray);
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
}

.channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.channel:last-child { border-bottom: 1px solid var(--line); }

.channel-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.channel-value {
  font-weight: 500;
  font-size: 0.98rem;
}

a.channel-value { color: var(--blue); }
a.channel-value:hover { text-decoration: underline; }

.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 36px;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(42, 169, 224, 0.15);
}

.form-field input.invalid,
.form-field textarea.invalid { border-color: #E5484D; }

.btn-block { width: 100%; border: none; cursor: pointer; font-family: var(--font); }

.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--blue);
  min-height: 1.4em;
}

/* ---------------- MVV ---------------- */

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mvv {
  background: var(--bg);
  padding: 42px 36px 48px;
}

.mvv h3 {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 20px;
  font-weight: 500;
}

.mvv p {
  color: var(--gray);
  font-size: 0.96rem;
}

.values-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--gray);
}
.values-list li:last-child { border-bottom: none; }

/* ---------------- CEO ---------------- */

.ceo-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}

.leadership-stack {
  display: grid;
  gap: 52px;
}

.leadership-block-cto {
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.ceo-card-stack {
  display: grid;
  gap: 22px;
}

.ceo-card {
  background: var(--dark);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ceo-card::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  background: url('../assets/icone.svg') no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}

.ceo-avatar {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1.08;
  margin: 0 auto 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(42, 169, 224, 0.35);
  overflow: hidden;
}

.ceo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 46%;
}

.ceo-avatar-cto img { object-position: 24% 74%; }

.ceo-card-compact .ceo-avatar {
  max-width: 220px;
  aspect-ratio: 1 / 1.18;
}

.ceo-card-compact .ceo-role {
  margin-bottom: 20px;
}

.ceo-card-compact .ceo-linkedin {
  margin-top: 18px;
}

.ceo-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ceo-role {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 8px 0 24px;
}

.ceo-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.ceo-badges span {
  font-size: 0.74rem;
  font-weight: 500;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.65);
}

.ceo-linkedin {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(42, 169, 224, 0.38);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.ceo-linkedin:hover {
  border-color: var(--cyan);
  background: rgba(42, 169, 224, 0.1);
  color: #fff;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  background: var(--cyan);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.ceo-bio p {
  color: var(--gray);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.ceo-bio p:first-child {
  color: var(--ink);
  font-weight: 500;
}

.ceo-cto-text {
  margin: 28px 0 24px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.ceo-bio-compact {
  align-self: center;
}

.ceo-bio-compact .ceo-cto-text {
  margin: 0;
  padding: 0;
  border-top: none;
  color: var(--ink);
  font-weight: 500;
}

.ceo-quote {
  margin-top: 32px;
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink) !important;
  border-left: 3px solid var(--cyan);
  padding-left: 24px;
}

@media (max-width: 960px) {
  .ceo-grid { grid-template-columns: 1fr; gap: 44px; }
  .ceo-card-stack { max-width: 420px; margin: 0 auto; }
  .ceo-card { max-width: 420px; margin: 0 auto; }
  .ceo-bio-compact { max-width: 680px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .ceo-card-stack { max-width: 420px; }
  .leadership-stack { gap: 44px; }
  .leadership-block-cto { padding-top: 38px; }
}

/* ---------------- CTA ---------------- */

.section-cta {
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(21, 115, 183, 0.35), transparent),
    var(--dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  background: url('../assets/icone.svg') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { justify-content: center; }
.cta-inner h2 { max-width: 680px; }

.cta-sub {
  margin: 24px auto 40px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
}

.cta-inner .hero-actions { margin-top: 0; justify-content: center; }

/* ---------------- Footer ---------------- */

.footer {
  background: var(--dark);
  color: #fff;
  border-top: 1px solid var(--line-dark);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo { height: 40px; width: auto; align-self: flex-start; }

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-addr { line-height: 1.7; }

.footer-cnpj {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------------- Reveal animations ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .about-grid,
  .platform-grid { grid-template-columns: 1fr; gap: 44px; }

  .pillars,
  .tech-grid,
  .mvv-grid { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr; border-top: none; }
  .stat {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
    margin-bottom: 28px;
  }

  .eco-grid { grid-template-columns: 1fr; }
  .eco-arrow { transform: rotate(90deg); justify-self: center; }

  .eco-layout { grid-template-columns: 1fr; gap: 48px; }
  .radar { margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .page-hero { padding: 150px 0 70px; }

  .section { padding: 90px 0; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 32px 36px;
    gap: 22px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    color: #fff;
  }

  .nav-links.open { transform: translateY(0); }
  .nav-burger { display: block; }

  .nav.scrolled .nav-links { color: #fff; }
}
