/* ═══════════════════════════════════════════════════════════
   NodeControl — Premium Dark UI
   Inspired by Stripe / Linear / Vercel / Tesla aesthetic
═══════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  --bg:            #060912;
  --bg-2:          #080d18;
  --bg-card:       rgba(255,255,255,0.034);
  --bg-card-hover: rgba(255,255,255,0.056);
  --border:        rgba(255,255,255,0.07);
  --border-blue:   rgba(56,189,248,0.22);
  --border-hover:  rgba(56,189,248,0.36);
  --text:          #ffffff;
  --text-muted:    #94a3b8;
  --text-faint:    #475569;
  --blue:          #38bdf8;
  --blue-2:        #0ea5e9;
  --blue-3:        #7dd3fc;
  --purple:        #a78bfa;
  --green:         #34d399;
  --amber:         #fbbf24;
  --red:           #f87171;
  --glow-blue:     rgba(56,189,248,0.14);
  --glow-purple:   rgba(139,92,246,0.10);
  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     22px;
  --shadow-card:   0 1px 3px rgba(0,0,0,0.5), 0 20px 60px rgba(0,0,0,0.28);
  --shadow-glow:   0 0 60px rgba(56,189,248,0.10);
  --transition:    0.22s cubic-bezier(0.4,0,0.2,1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

/* ─── LAYOUT ───────────────────────────────────────── */

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(800px, calc(100% - 40px));
  margin-inline: auto;
}

/* ─── HEADER ───────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(6,9,18,0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(6,9,18,0.94);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  height: 54px;
  width: auto;
  max-width: 180px;
  display: block;
  border-radius: 6px;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: -0.01em;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue-2), var(--blue)) !important;
  color: #020d1a !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  letter-spacing: -0.02em;
  box-shadow: 0 0 24px rgba(56,189,248,0.22);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 28px rgba(56,189,248,0.36) !important;
  background: rgba(255,255,255,0.06) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── BUTTONS ──────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
  color: #020d1a;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.3), 0 8px 32px rgba(56,189,248,0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.5), 0 16px 48px rgba(56,189,248,0.30);
  opacity: 0.95;
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.14);
  color: var(--text);
}

.btn-lg {
  font-size: 16px;
  padding: 16px 28px;
}

/* ─── HERO ─────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

.hero-glow-a {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: glow-drift-a 18s ease-in-out infinite alternate;
}

.hero-glow-b {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 70%);
  bottom: 0px;
  right: -80px;
  animation: glow-drift-b 22s ease-in-out infinite alternate;
}

.hero-glow-c {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

@keyframes glow-drift-a {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,40px) scale(1.15); }
}
@keyframes glow-drift-b {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-50px,-30px) scale(1.10); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-text {
  animation: hero-in 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: 999px;
  color: var(--blue-3);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: badge-pulse 2s ease infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--blue); }
  50%       { opacity: 0.6; box-shadow: 0 0 4px var(--blue); }
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

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

/* ─── HERO CARD (mock dashboard) ───────────────────── */

.hero-visual {
  position: relative;
  animation: hero-visual-in 1.1s cubic-bezier(0.16,1,0.3,1) 0.15s both;
}

@keyframes hero-visual-in {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-card {
  background: rgba(13,20,38,0.85);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.06),
    0 2px 4px rgba(0,0,0,0.4),
    0 24px 80px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}

.card-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.chrome-dot--red    { background: #ff5f57; }
.chrome-dot--yellow { background: #ffbd2e; }
.chrome-dot--green  { background: #28c840; }

.chrome-title {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 6px;
  letter-spacing: 0.01em;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.kpi-value small {
  font-size: 14px;
  font-weight: 600;
}

.kpi-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
}

.kpi-status--ok  { color: var(--green); }
.kpi-status--up  { color: var(--blue-3); }

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-live 1.8s ease infinite;
}

@keyframes pulse-live {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(52,211,153,0.5); }
  50%      { opacity:0.7; box-shadow:0 0 0 4px rgba(52,211,153,0); }
}

.card-chart {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 14px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-bottom: 8px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: rgba(56,189,248,0.22);
  border-radius: 4px;
  border-top: 1px solid rgba(56,189,248,0.4);
  transition: background var(--transition);
}

.bar--active {
  background: rgba(56,189,248,0.55);
  box-shadow: 0 0 10px rgba(56,189,248,0.25);
}

.chart-label {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-machines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.machine-row {
  display: grid;
  grid-template-columns: 1fr auto 80px;
  align-items: center;
  gap: 10px;
}

.machine-id {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.machine-state {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.machine-state--running     { background: rgba(56,189,248,0.12); color: var(--blue-3); border: 1px solid rgba(56,189,248,0.22); }
.machine-state--idle        { background: rgba(71,85,105,0.20); color: var(--text-faint); border: 1px solid rgba(71,85,105,0.3); }
.machine-state--maintenance { background: rgba(251,191,36,0.10); color: var(--amber); border: 1px solid rgba(251,191,36,0.22); }

.machine-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.machine-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.machine-bar--warn .machine-fill {
  background: linear-gradient(90deg, #f59e0b, var(--amber));
}

/* ─── HERO FLOAT CARDS ─────────────────────────────── */

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,20,38,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  white-space: nowrap;
  animation: float-idle 4s ease-in-out infinite alternate;
}

.hero-float-a {
  bottom: 18%;
  left: -30px;
  animation-delay: 0s;
  color: var(--blue-3);
}

.hero-float-b {
  top: 14%;
  right: -20px;
  animation-delay: 2s;
  color: var(--green);
}

@keyframes float-idle {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* ─── HERO SCROLL HINT ─────────────────────────────── */

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  margin-inline: auto;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,100% { transform: scaleY(1); opacity: 0.6; }
  50%      { transform: scaleY(0.6); opacity: 0.2; }
}

/* ─── CREDIBILITY BAR ──────────────────────────────── */

.credibility-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(255,255,255,0.014);
}

.credibility-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.credibility-label {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
}

.credibility-items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cred-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.cred-sep {
  color: var(--text-faint);
  font-size: 12px;
}

/* ─── SECTIONS COMMON ──────────────────────────────── */

.section {
  padding: 100px 0;
  position: relative;
}

.section-tag-wrap {
  margin-bottom: 16px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.18);
  padding: 5px 12px;
  border-radius: 999px;
}

.section-h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
  text-align: center;
  color: var(--text);
}

.section-h2--center { text-align: center; }

.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.section-lead--center { text-align: center; }

/* ─── PROBLEM SECTION ──────────────────────────────── */

.section-problem {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.problem-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.problem-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.18);
  border-radius: var(--radius);
  color: var(--red);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--text);
}

.problem-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── PLATFORM SECTION ─────────────────────────────── */

.section-platform {
  background: var(--bg-2);
  overflow: hidden;
}

.platform-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(56,189,248,0.06), transparent),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(139,92,246,0.05), transparent);
  pointer-events: none;
}

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

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.platform-card:hover {
  border-color: var(--border-blue);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.platform-card--featured {
  border-color: rgba(56,189,248,0.18);
  background: rgba(56,189,248,0.035);
}

.platform-card--featured::before {
  opacity: 1;
}

.pcard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pcard-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.18);
  border-radius: var(--radius);
  color: var(--blue);
}

.pcard-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-3);
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.18);
  padding: 3px 8px;
  border-radius: 999px;
}

.platform-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--text);
}

.platform-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pcard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pcard-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcard-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── FLOW SECTION ─────────────────────────────────── */

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

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow-line {
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-blue) 20%, var(--border-blue) 80%, transparent);
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.flow-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.26);
  margin: 0 auto 20px;
  box-shadow: 0 0 24px rgba(56,189,248,0.12);
}

.flow-content h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}

.flow-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── TECH SECTION ─────────────────────────────────── */

.section-tech {
  background: var(--bg-2);
  overflow: hidden;
}

.tech-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(139,92,246,0.07), transparent),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(56,189,248,0.06), transparent);
  pointer-events: none;
}

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

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.tech-card:hover {
  border-color: rgba(139,92,246,0.3);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.tech-icon-wrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.20);
  border-radius: var(--radius);
  color: var(--purple);
  margin-bottom: 18px;
}

.tech-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.tech-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ─── TECH ARCHITECTURE DIAGRAM ────────────────────── */

.tech-arch {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
}

.arch-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.arch-node-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.arch-node-icon--highlight {
  background: rgba(56,189,248,0.10);
  border-color: rgba(56,189,248,0.28);
  color: var(--blue);
  box-shadow: 0 0 20px rgba(56,189,248,0.12);
}

.arch-node-label {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.arch-arrow {
  font-size: 18px;
  color: var(--border-blue);
  font-weight: 300;
  margin-bottom: 20px;
}

/* ─── VISION SECTION ───────────────────────────────── */

.section-vision {
  overflow: hidden;
  background: var(--bg);
}

.vision-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(139,92,246,0.07), transparent 70%);
  pointer-events: none;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.vision-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
}

.vision-pillar:hover {
  border-color: rgba(139,92,246,0.26);
  transform: translateY(-3px);
}

.pillar-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 16px;
  font-style: italic;
}

.vision-pillar h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}

.vision-pillar p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.vision-statement {
  text-align: center;
}

.vision-statement blockquote {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.3;
  color: transparent;
  background: linear-gradient(135deg, var(--text) 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  quotes: none;
}

/* ─── CTA SECTION ──────────────────────────────────── */

.section-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(56,189,248,0.07), transparent 65%);
  pointer-events: none;
}

.cta-h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--text);
}

.cta-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── LEAD FORM SECTION ────────────────────────────── */

.section-capture {
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}

.lead-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 20% 50%, rgba(56,189,248,0.06), transparent),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(139,92,246,0.05), transparent);
  pointer-events: none;
}

.lead-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* copy side */
.lead-copy .section-tag {
  display: inline-block;
  margin-bottom: 20px;
}

.lead-copy h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}

.lead-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.lead-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.lead-bullets li svg {
  color: var(--blue);
  flex-shrink: 0;
}

/* form side */
.lead-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.lead-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4), transparent);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.form-group input {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}

.form-group input::placeholder {
  color: var(--text-faint);
}

.form-group input:focus {
  border-color: rgba(56,189,248,0.5);
  background: rgba(56,189,248,0.04);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.10);
}

.form-group input.input-error {
  border-color: rgba(248,113,113,0.6);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.10);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  position: relative;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-feedback {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
  border-radius: var(--radius);
  padding: 0;
  transition: all var(--transition);
}

.form-feedback.success {
  color: var(--green);
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.2);
  padding: 12px 16px;
}

.form-feedback.error {
  color: var(--red);
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  padding: 12px 16px;
}

.form-privacy {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ─── FOOTER ───────────────────────────────────────── */

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

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

.footer-logo {
  height: 44px;
  width: auto;
  max-width: 140px;
  display: block;
  border-radius: 5px;
  opacity: 0.85;
  object-fit: contain;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: -0.01em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-contact {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact:hover {
  color: var(--blue);
}

/* ─── REVEAL ANIMATIONS ────────────────────────────── */
/* Conteúdo sempre visível. Animação de entrada via @keyframes quando
   IntersectionObserver adiciona .animated — nunca bloqueia visibilidade. */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal.animated,
.reveal-child.animated {
  animation: fade-up 0.65s cubic-bezier(0.16,1,0.3,1) both;
}

/* ─── RESPONSIVE — TABLET ──────────────────────────── */

@media (max-width: 1020px) {
  .lead-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    max-width: 600px;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-float-a { left: -10px; }
  .hero-float-b { right: -10px; }

  .problem-grid,
  .platform-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .flow-line { display: none; }
}

/* ─── RESPONSIVE — MOBILE ──────────────────────────── */

@media (max-width: 720px) {
  .site-header { position: sticky; }

  .nav-hamburger {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8,13,24,0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: none;
    backdrop-filter: blur(20px);
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius);
    text-align: left;
  }

  .nav-cta {
    border-radius: var(--radius) !important;
    text-align: center !important;
    justify-content: center;
  }

  .hero {
    padding: 90px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .hero-desc { font-size: 16px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-float-a,
  .hero-float-b {
    display: none;
  }

  .credibility-bar .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .credibility-items {
    justify-content: center;
  }

  .section { padding: 72px 0; }

  .section-h2 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .section-lead { font-size: 16px; margin-bottom: 40px; }

  .lead-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lead-form-wrap {
    padding: 28px 20px;
  }

  .problem-grid,
  .platform-grid,
  .tech-grid,
  .vision-pillars {
    grid-template-columns: 1fr;
  }

  .flow-track {
    grid-template-columns: 1fr;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    gap: 16px;
    text-align: left;
  }

  .flow-num { margin: 0; }

  .arch-flow {
    gap: 8px;
  }

  .arch-node-icon { width: 42px; height: 42px; font-size: 11px; }

  .arch-arrow { font-size: 14px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-right {
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg { width: 100%; }

  .btn-ghost { width: 100%; text-align: center; }

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

  .kpi-value { font-size: 20px; }
}

@media (max-width: 420px) {
  .card-kpis {
    grid-template-columns: 1fr;
  }

  .machine-row {
    grid-template-columns: 1fr auto;
  }

  .machine-bar { display: none; }
}
