/* ============================================================
   ESTRIVA CONECT — style.css
   Sora · #1A1F26 dark · #5BA8F5 accent
============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', sans-serif;
  background-color: #1A1F26;
  color: #E5E7EB;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid #5BA8F5; outline-offset: 3px; }

/* Typography tokens */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5BA8F5;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #6B7280;
  max-width: 560px;
}
.text-accent { color: #5BA8F5; }
.section-header.centered { text-align: center; margin-bottom: 56px; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn-primary {
  background: #5BA8F5;
  color: #0a0f16;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(91,168,245,0.3);
}
.btn-primary:hover {
  background: #74b8f7;
  box-shadow: 0 6px 28px rgba(91,168,245,0.45);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: #E5E7EB;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(91,168,245,0.4);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #5BA8F5;
  border: 1.5px solid rgba(91,168,245,0.5);
}
.btn-outline:hover {
  background: rgba(91,168,245,0.08);
  border-color: #5BA8F5;
}
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-xl { padding: 18px 40px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; }
.btn-wa { gap: 10px; }
.btn-play-icon {
  width: 24px; height: 24px;
  background: rgba(91,168,245,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-loading { display: none; animation: spin 1s linear infinite; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: flex; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(26,31,38,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

/* PNG logo mark */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /*
    Se o PNG tiver fundo branco (não transparente), mix-blend-mode: screen
    faz o branco "desaparecer" no fundo escuro, deixando apenas o azul visível.
    Se já for transparente, screen não altera nada.
  */
  mix-blend-mode: screen;
  filter: saturate(1.1);
}
.logo-img-footer {
  height: 28px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; gap: 1px; }
.logo-name {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: #fff;
  font-family: 'Sora', sans-serif;
}
.logo-sub {
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: #5BA8F5;
}
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px;
  font-size: 14px; font-weight: 500;
  color: #9CA3AF;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 12px; right: 12px; height: 1.5px;
  background: #5BA8F5;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.btn-header { margin-left: 8px; padding: 9px 20px; font-size: 13px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; margin-left: auto;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #E5E7EB;
  border-radius: 2px;
  transition: all 0.25s;
}
.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(17,22,28,0.97);
  backdrop-filter: blur(20px);
  padding: 20px 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu .nav-link { display: block; padding: 10px 12px; font-size: 15px; color: #E5E7EB; }
.mobile-menu .btn { width: 100%; margin-top: 12px; justify-content: center; }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  padding: 100px 0 60px;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,168,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,168,245,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 55%;
  transform: translate(-20%, -50%);
  background: radial-gradient(circle, rgba(91,168,245,0.1) 0%, transparent 65%);
  border-radius: 50%;
}
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(91,168,245,0.08);
  border: 1px solid rgba(91,168,245,0.2);
  border-radius: 20px;
  font-size: 12px; font-weight: 500;
  color: #5BA8F5;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #5BA8F5;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 16px; font-weight: 400;
  color: #9CA3AF; line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 20px;
}
.hero-microcopy {
  font-size: 13px; color: #4B5563;
  font-weight: 400;
}

/* Hero Scene */
.hero-scene-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 560/420;
  max-width: 580px;
  justify-self: center;
}
.scene-container {
  position: relative;
  width: 560px; height: 420px;
}
.scene-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
/* SVG lines color transitions */
#line-form-webhook, #line-webhook-ia, #line-ia-sheets,
#line-wa-email, #line-email-lead, #line-lead-crm, #line-ia-email {
  transition: stroke 0.3s;
}
.line-active { stroke: #5BA8F5 !important; }

/* Isometric Nodes */
.node {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  user-select: none;
}
.node-body {
  position: relative;
  width: 80px; height: 80px;
}
.node-ia .node-body { width: 96px; height: 96px; }
.node-face {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #2C3540 0%, #222933 100%);
  border-radius: 18px;
  border: 1.5px solid rgba(91,168,245,0.18);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.07);
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; z-index: 2;
  color: #9CA3AF;
}
.node-face-sheets { color: #34a853; }
.node-face-wa { color: #25D366; }
.node-face-lead { color: #5BA8F5; }
.node-ia .node-face {
  background: linear-gradient(145deg, #1a2d4a 0%, #0e1e38 100%);
  border-color: rgba(91,168,245,0.4);
  color: #5BA8F5;
  box-shadow: 0 8px 40px rgba(91,168,245,0.2), 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(91,168,245,0.1);
}
.ia-label, .crm-label {
  font-size: 11px; font-weight: 700;
  color: #5BA8F5; letter-spacing: 0.05em;
}
.crm-label { color: #9CA3AF; font-size: 10px; }
.node-extrude {
  position: absolute;
  bottom: -6px; left: 3px; right: 3px; height: 8px;
  background: linear-gradient(180deg, #141920 0%, #0d1117 100%);
  border-radius: 0 0 14px 14px;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: bottom 0.18s ease, height 0.18s ease;
}
.node-led {
  position: absolute;
  top: -4px; right: 8px;
  width: 8px; height: 8px;
  background: #3d4a5a;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.06);
  z-index: 3;
  transition: background 0.3s, box-shadow 0.3s;
}
.node-label-tag {
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 500;
  color: #6B7280;
  white-space: nowrap;
  background: rgba(26,31,38,0.8);
  padding: 2px 8px;
  border-radius: 6px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Node hover state */
.node:hover .node-face {
  transform: translateY(-4px);
  border-color: rgba(91,168,245,0.5);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(91,168,245,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}
.node:hover .node-extrude { bottom: -10px; height: 12px; }
.node:hover .node-led { background: #5BA8F5; box-shadow: 0 0 8px #5BA8F5; }

/* Node pressed state */
.node.pressed .node-face { transform: translateY(3px); box-shadow: 0 2px 8px rgba(0,0,0,0.5), inset 0 2px 4px rgba(0,0,0,0.3); }
.node.pressed .node-extrude { bottom: -3px; height: 4px; }

/* Node active state */
.node.active .node-face {
  border-color: #5BA8F5;
  box-shadow: 0 0 0 2px rgba(91,168,245,0.2), 0 12px 36px rgba(91,168,245,0.25), 0 4px 8px rgba(0,0,0,0.4);
}
.node.active .node-led { background: #5BA8F5; box-shadow: 0 0 12px #5BA8F5, 0 0 24px rgba(91,168,245,0.4); animation: led-pulse 1.5s ease-in-out infinite; }
.node-ia.active .node-face {
  box-shadow: 0 0 0 3px rgba(91,168,245,0.3), 0 20px 60px rgba(91,168,245,0.35), 0 4px 12px rgba(0,0,0,0.5);
}
@keyframes led-pulse {
  0%, 100% { box-shadow: 0 0 12px #5BA8F5, 0 0 24px rgba(91,168,245,0.4); }
  50% { box-shadow: 0 0 6px #5BA8F5, 0 0 12px rgba(91,168,245,0.2); }
}

/* Scene Badges */
.scene-badge {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  background: rgba(26,31,38,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  white-space: nowrap;
}
.scene-badge.badge-active { opacity: 1; transform: translateY(0); }
.scene-badge div { display: flex; flex-direction: column; }
.scene-badge strong { font-size: 11px; font-weight: 600; color: #E5E7EB; line-height: 1.3; }
.scene-badge span { font-size: 10px; color: #6B7280; line-height: 1.3; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: rgba(91,168,245,0.5);
  border-radius: 50%;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ============================================================
   MANIFESTO
============================================================ */
.manifesto {
  padding: 100px 0;
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,168,245,0.2), transparent);
}
.manifesto-header { text-align: center; margin-bottom: 56px; }
.manifesto-header .section-subtitle { margin: 0 auto; max-width: 520px; }
.manifesto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.manifesto-card {
  background: rgba(34,41,51,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative; overflow: hidden;
}
.manifesto-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91,168,245,0.3), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.manifesto-card:hover {
  border-color: rgba(91,168,245,0.25);
  box-shadow: 0 8px 32px rgba(91,168,245,0.08);
  transform: translateY(-3px);
}
.manifesto-card:hover::before { opacity: 1; }
.manifesto-card-icon {
  width: 44px; height: 44px;
  background: rgba(91,168,245,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #5BA8F5; margin-bottom: 20px;
}
.manifesto-card h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.manifesto-card p { font-size: 14px; color: #6B7280; line-height: 1.65; }

/* ============================================================
   FOR WHOM
============================================================ */
.for-whom { padding: 100px 0; background: #11161C; }
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fw-card {
  background: rgba(26,31,38,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px 20px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.fw-card:hover {
  border-color: rgba(91,168,245,0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(91,168,245,0.07);
}
.fw-icon {
  width: 36px; height: 36px;
  background: rgba(91,168,245,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #5BA8F5; margin-bottom: 14px;
}
.fw-card h3 { font-size: 14px; font-weight: 600; color: #E5E7EB; margin-bottom: 8px; }
.fw-card p { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ============================================================
   SERVICES
============================================================ */
.services { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.service-card {
  background: rgba(34,41,51,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(91,168,245,0.03) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(91,168,245,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 4px 8px rgba(91,168,245,0.08);
}
.service-card:hover::after { opacity: 1; }
.service-card-featured {
  border-color: rgba(91,168,245,0.2);
  background: linear-gradient(145deg, rgba(91,168,245,0.06) 0%, rgba(34,41,51,0.7) 100%);
}
.service-card-icon {
  width: 44px; height: 44px;
  background: rgba(91,168,245,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #5BA8F5; margin-bottom: 12px;
}
.service-num {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 600;
  color: rgba(91,168,245,0.25);
  letter-spacing: 0.08em;
}
.service-card h3 { font-size: 15px; font-weight: 600; color: #E5E7EB; margin-bottom: 10px; line-height: 1.35; }
.service-card p { font-size: 13px; color: #6B7280; line-height: 1.65; }
.services-cta { text-align: center; }

/* ============================================================
   DELIVERABLES
============================================================ */
.deliverables { padding: 100px 0; background: #11161C; }
.deliverables-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.deliverables-content .section-title { margin-bottom: 20px; }
.deliverables-desc { font-size: 15px; color: #6B7280; line-height: 1.7; margin-bottom: 32px; max-width: 400px; }
.deliverables-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.deliverable-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: #D1D5DB;
  padding: 10px 14px;
  background: rgba(34,41,51,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: border-color 0.2s, color 0.2s;
}
.deliverable-item:hover { border-color: rgba(91,168,245,0.2); color: #fff; }
.deliverable-check { flex-shrink: 0; }

/* ============================================================
   SHOWCASE  — pin + horizontal GSAP scroll (desktop)
============================================================ */
.showcase {
  padding: 100px 0 0;
  /* overflow hidden needed to clip cards before they're visible */
}
.showcase-header { margin-bottom: 52px; text-align: center; }
.showcase-header .section-subtitle { margin: 0 auto; }

/* Clip container: hides the off-screen cards */
.showcase-track-outer {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* The flex row that GSAP will translate horizontally */
.showcase-track {
  display: flex;
  gap: 24px;
  /* Left padding = standard container indent */
  padding: 0 24px 60px calc(max(24px, (100vw - 1200px) / 2 + 24px));
  width: max-content;   /* allow natural flex width */
  will-change: transform;
  /* right edge padding so last card doesn't stick to viewport edge */
  padding-right: calc(max(24px, (100vw - 1200px) / 2 + 24px));
}

.showcase-card {
  flex: 0 0 380px;
  background: rgba(26,31,38,0.8);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.showcase-card:hover {
  border-color: rgba(91,168,245,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.showcase-card-visual {
  height: 220px;
  background: #0e1318;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.showcase-card-info { padding: 24px; }
.showcase-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #5BA8F5;
  background: rgba(91,168,245,0.08);
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 10px;
}
.showcase-card-info h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.showcase-card-info p { font-size: 13px; color: #6B7280; line-height: 1.65; }

/* Progress bar */
.showcase-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin: 0 calc(max(24px, (100vw - 1200px) / 2 + 24px));
  overflow: hidden;
}
.showcase-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #5BA8F5, #74b8f7);
  border-radius: 2px;
  width: 0%;
}

/* Desktop scroll hint (pin mode) */
.showcase-hint-desktop {
  display: flex;
  align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: #4B5563;
  margin: 14px 0 0 calc(max(24px, (100vw - 1200px) / 2 + 24px));
  transition: opacity 0.4s;
}
.showcase-hint-desktop.hidden { opacity: 0; pointer-events: none; }
.hint-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5BA8F5;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Mobile scroll hint */
.showcase-scroll-hint {
  display: none;
  align-items: center; gap: 8px;
  font-size: 12px; color: #4B5563;
  margin: 16px calc(max(24px, (100vw - 1200px) / 2 + 24px)) 0;
}
.showcase-scroll-hint svg { color: #5BA8F5; }

/* ---- Mobile: revert to touch-scroll ---- */
@media (max-width: 768px) {
  .showcase-hint-desktop { display: none; }
  .showcase-track {
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px 48px;
    transform: none !important; /* prevent any GSAP residual translate */
  }
  .showcase-track::-webkit-scrollbar { display: none; }
  .showcase-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }
  .showcase-scroll-hint { display: flex; }
}

/* Showcase mockup styles */
.mock-browser {
  width: 100%; max-width: 320px;
  background: #1a1f26;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.mock-browser-bar {
  height: 28px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-browser-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.mock-browser-content { padding: 14px 16px 16px; }
.mock-hero-bar { height: 36px; background: rgba(91,168,245,0.12); border-radius: 6px; margin-bottom: 10px; }
.mock-text-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mock-line { display: block; height: 7px; background: rgba(255,255,255,0.08); border-radius: 4px; }
.mock-line.w80 { width: 80%; }
.mock-line.w60 { width: 60%; }
.mock-cta-btn { height: 24px; width: 100px; background: #5BA8F5; border-radius: 6px; margin-bottom: 12px; }
.mock-form-block { display: flex; flex-direction: column; gap: 6px; }
.mock-input { height: 18px; background: rgba(255,255,255,0.06); border-radius: 5px; border: 1px solid rgba(255,255,255,0.08); }
.mock-submit { height: 22px; background: rgba(91,168,245,0.25); border-radius: 5px; }
.mock-nav-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mock-logo-sm { width: 40px; height: 10px; background: rgba(91,168,245,0.3); border-radius: 4px; }
.mock-nav-links { display: flex; gap: 6px; }
.mock-nav-links span { width: 24px; height: 7px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.mock-hero-sm { height: 48px; background: linear-gradient(90deg, rgba(91,168,245,0.08), transparent); border-radius: 6px; margin-bottom: 10px; }
.mock-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mock-grid-3 span { height: 32px; background: rgba(255,255,255,0.05); border-radius: 5px; border: 1px solid rgba(255,255,255,0.06); }

/* Automation visual */
.mini-flow { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.flow-node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: rgba(34,41,51,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 10px 10px 8px;
  color: #9CA3AF;
  min-width: 52px;
}
.flow-node span { font-size: 10px; font-weight: 500; white-space: nowrap; }
.fn-form { border-color: rgba(91,168,245,0.2); color: #5BA8F5; }
.fn-webhook { border-color: rgba(91,168,245,0.15); }
.fn-sheets { color: #34a853; border-color: rgba(52,168,83,0.2); }
.fn-wa { color: #25D366; border-color: rgba(37,211,102,0.2); }
.flow-arrow {
  width: 20px; height: 2px;
  background: linear-gradient(90deg, #2a3547, #5BA8F5);
  position: relative; flex-shrink: 0;
}
.flow-arrow::after {
  content: '';
  position: absolute; right: -4px; top: -3px;
  border: 4px solid transparent;
  border-left-color: #5BA8F5;
}

/* Instagram visual */
.mock-feed { width: 100%; max-width: 220px; }
.feed-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.feed-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #5BA8F5, #7dd0f5); flex-shrink: 0; }
.feed-name { display: flex; flex-direction: column; gap: 4px; }
.feed-name span { height: 7px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.feed-name span:first-child { width: 70px; }
.feed-name span:last-child { width: 50px; }
.feed-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-bottom: 10px; }
.feed-grid span { aspect-ratio: 1; background: rgba(255,255,255,0.06); border-radius: 3px; }
.feed-grid span:nth-child(1) { background: rgba(91,168,245,0.15); }
.feed-grid span:nth-child(4) { background: rgba(91,168,245,0.1); }
.feed-metrics { display: flex; gap: 16px; }
.metric { font-size: 11px; color: #6B7280; }
.metric b { color: #E5E7EB; }

/* Chat visual */
.mock-chat { width: 100%; max-width: 260px; }
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(37,211,102,0.05);
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(37,211,102,0.12);
  margin-bottom: 0;
}
.chat-avatar { width: 28px; height: 28px; border-radius: 50%; background: #25D366; flex-shrink: 0; }
.chat-name { display: block; font-size: 12px; font-weight: 600; color: #fff; }
.chat-status { display: block; font-size: 10px; color: #25D366; }
.chat-messages {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px;
  background: rgba(34,41,51,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none; border-radius: 0 0 10px 10px;
}
.chat-bubble { font-size: 11px; padding: 6px 10px; border-radius: 8px; max-width: 85%; line-height: 1.4; }
.bubble-in { background: rgba(255,255,255,0.07); color: #D1D5DB; align-self: flex-start; }
.bubble-out { background: rgba(37,211,102,0.12); color: #D1D5DB; align-self: flex-end; }
.bubble-system { background: rgba(91,168,245,0.1); color: #5BA8F5; font-size: 10px; align-self: center; border: 1px solid rgba(91,168,245,0.15); }

/* CRM visual */
.mock-pipeline {
  display: flex; gap: 8px;
  width: 100%; max-width: 320px;
}
.pipeline-col { flex: 1; }
.pipe-header {
  display: block; font-size: 10px; font-weight: 600;
  color: #6B7280; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pipe-header.pipe-closed { color: #34a853; }
.pipe-card {
  background: rgba(34,41,51,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 6px;
}
.pipe-card span { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.pipe-card span:last-child { width: 60%; }
.pipe-card.pipe-active { border-color: rgba(91,168,245,0.3); }
.pipe-card.pipe-done { border-color: rgba(52,168,83,0.3); }
.pipe-card.pipe-done span { background: rgba(52,168,83,0.15); }

/* Chart visual */
.mock-chart { width: 100%; max-width: 260px; }
.chart-bars {
  display: flex; align-items: flex-end; gap: 8px;
  height: 100px; padding: 0 0 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #5BA8F5, rgba(91,168,245,0.3));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}
.chart-label { font-size: 10px; color: #4B5563; text-align: center; }

/* ============================================================
   PROCESS / TIMELINE
============================================================ */
.process { padding: 100px 0; background: #11161C; }
.process-timeline { position: relative; margin-top: 60px; }
.process-line {
  position: absolute;
  top: 40px; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 0;
}
.process-line-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #5BA8F5, rgba(91,168,245,0.3));
  transition: width 0.6s ease;
  border-radius: 2px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  position: relative; z-index: 1;
}
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-num {
  font-size: 11px; font-weight: 700; color: #5BA8F5;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step-icon {
  width: 56px; height: 56px;
  background: #1A1F26;
  border: 2px solid rgba(91,168,245,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #5BA8F5;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.process-step.active .step-icon {
  border-color: #5BA8F5;
  box-shadow: 0 0 0 4px rgba(91,168,245,0.1), 0 8px 24px rgba(91,168,245,0.15);
  transform: scale(1.05);
}
.process-step h3 { font-size: 16px; font-weight: 600; color: #E5E7EB; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: #6B7280; line-height: 1.65; }

/* ============================================================
   PILLARS
============================================================ */
.pillars { padding: 100px 0; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.pillar-card {
  background: rgba(34,41,51,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #5BA8F5, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.pillar-card:hover {
  border-color: rgba(91,168,245,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 4px 8px rgba(91,168,245,0.06);
  transform: translateY(-4px);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-card-featured {
  background: linear-gradient(145deg, rgba(91,168,245,0.07) 0%, rgba(34,41,51,0.8) 100%);
  border-color: rgba(91,168,245,0.18);
}
.pillar-icon {
  width: 56px; height: 56px;
  background: rgba(91,168,245,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #5BA8F5; margin-bottom: 24px;
  transition: background 0.3s, transform 0.3s;
}
.pillar-card:hover .pillar-icon { background: rgba(91,168,245,0.14); transform: scale(1.05); }
.pillar-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.pillar-card p { font-size: 14px; color: #6B7280; line-height: 1.7; }
.pillar-accent {
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(91,168,245,0.06) 0%, transparent 70%);
}

/* ============================================================
   BEFORE / AFTER
============================================================ */
.before-after { padding: 100px 0; background: #11161C; }
.ba-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}
.ba-side {
  background: rgba(34,41,51,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 32px 28px;
}
.ba-before { opacity: 0.65; }
.ba-after {
  border-color: rgba(91,168,245,0.2);
  background: linear-gradient(145deg, rgba(91,168,245,0.04) 0%, rgba(34,41,51,0.7) 100%);
  box-shadow: 0 8px 32px rgba(91,168,245,0.06);
}
.ba-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ba-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 20px;
}
.ba-tag-before { background: rgba(107,114,128,0.15); color: #6B7280; }
.ba-tag-after { background: rgba(91,168,245,0.12); color: #5BA8F5; }
.ba-header h3 { font-size: 16px; font-weight: 600; color: #E5E7EB; }
.ba-list { display: flex; flex-direction: column; gap: 12px; }
.ba-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #9CA3AF; }
.ba-after .ba-list li { color: #D1D5DB; }
.ba-icon { flex-shrink: 0; }
.ba-divider {
  display: flex; align-items: center;
  padding-top: 80px;
}
.ba-arrow {
  width: 40px; height: 40px;
  background: rgba(91,168,245,0.08);
  border: 1px solid rgba(91,168,245,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-form { padding: 100px 0; }
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.form-content .section-title { margin-bottom: 16px; }
.form-desc { font-size: 15px; color: #6B7280; line-height: 1.7; margin-bottom: 28px; }
.form-trust { display: flex; flex-direction: column; gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9CA3AF; }
.form-container {
  background: rgba(34,41,51,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px 32px;
}
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 500; color: #9CA3AF; }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px; color: #E5E7EB;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #4B5563; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(91,168,245,0.4);
  box-shadow: 0 0 0 3px rgba(91,168,245,0.08);
  outline: none;
}
.form-field input.error,
.form-field select.error,
.form-field textarea.error { border-color: rgba(239,68,68,0.4); }
.form-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px; padding: 20px 0;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: #fff; }
.form-success p { font-size: 14px; color: #6B7280; line-height: 1.6; max-width: 280px; }

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta { padding: 100px 0; }
.cta-card {
  position: relative;
  background: rgba(34,41,51,0.7);
  border: 1px solid rgba(91,168,245,0.15);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(91,168,245,0.08) 0%, transparent 65%);
  pointer-events: none;
  animation: cta-pulse 4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}
.cta-title { font-size: clamp(32px, 5vw, 52px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-text { font-size: 16px; color: #6B7280; line-height: 1.7; max-width: 520px; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-microcopy { font-size: 13px; color: #4B5563; margin-top: 14px; position: relative; z-index: 1; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0d1117;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-tagline { font-size: 13px; color: #4B5563; margin-top: 12px; line-height: 1.6; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: #6B7280; transition: color 0.2s; }
.footer-nav a:hover { color: #5BA8F5; }
.footer-contact p { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #4B5563; margin-bottom: 8px; }
.footer-contact a { font-size: 15px; font-weight: 600; color: #5BA8F5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 18px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: #4B5563; }

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ============================================================
   PARTICLE (generated via JS)
============================================================ */
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(91,168,245,0.4);
  border-radius: 50%;
  animation: particle-float linear infinite;
}
@keyframes particle-float {
  from { transform: translateY(0) translateX(0); opacity: 0.4; }
  to { transform: translateY(-80px) translateX(var(--dx)); opacity: 0; }
}

/* ============================================================
   GSAP initial visibility states
============================================================ */
.hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-microcopy,
.hero-scene-wrapper,
.manifesto-card, .fw-card, .service-card,
.deliverable-item, .deliverables-content, .showcase-card,
.process-step, .pillar-card, .ba-before, .ba-after,
.form-wrapper, .cta-card {
  opacity: 0;
  transform: translateY(20px);
}
.node { opacity: 0; }

/* ============================================================
   RESPONSIVENESS
============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .for-whom-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-scene-wrapper { max-width: 480px; justify-self: center; }
  .scene-container { width: 480px; height: 360px; transform: scale(0.86); transform-origin: top center; }
  .manifesto-cards { grid-template-columns: 1fr; gap: 16px; }
  .for-whom-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-line { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-wrapper { grid-template-columns: 1fr; }
  .ba-divider { display: none; }
  .form-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav { display: none; }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 88px 0 48px; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .for-whom-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .deliverables-list { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section-header.centered { margin-bottom: 40px; }
  .manifesto, .for-whom, .services, .deliverables, .showcase, .process, .pillars, .before-after, .contact-form, .final-cta { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .scene-container { width: 380px; height: 290px; transform: scale(0.68); transform-origin: top center; }
  .for-whom-grid, .services-grid { grid-template-columns: 1fr; }
  .showcase-card { flex: 0 0 280px; }
  .ba-before, .ba-after { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
