/* ═══════════════════════════════════════════════
   Tera Web — Shared Styles
   ═══════════════════════════════════════════════ */

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

:root {
  --bg:      #080809;
  --bg2:     #0E0E10;
  --bg3:     #161618;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.11);
  --text:    #F2F2F2;
  --muted:   #9CA3AF;
  --accent:  #1AFFE0;
  --accent2: #00D4B8;
  --accent3: #00A896;
  --grad:    linear-gradient(135deg, #1AFFE0, #00A896);
  --grad2:   linear-gradient(135deg, #1AFFE0 0%, #00D4B8 50%, #00A896 100%);
  --card:    #0E0E10;
  --radius:  12px;
  --shadow-tinted: 0 24px 60px rgba(0,212,184,0.08);
  --mono:    'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', sans-serif;
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* ── Hero dot-grid background ────────────────── */
#hero-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#hero-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(26,255,224,0.06) 0%, transparent 70%);
  z-index: 1;
}
#hero-grid-bg::after {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cdefs%3E%3Cpattern id='dots' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='1' fill='%231AFFE0' opacity='0.22'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23dots)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  top: -20%; left: -20%; right: -20%; bottom: -20%;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 80%);
  animation: gridDrift 20s ease-in-out infinite alternate;
}
@keyframes gridDrift {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(12px) rotate(0.3deg); }
}

/* ── Particle Canvas ─────────────────────────── */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

/* ── Navbar ──────────────────────────────────── */
nav {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,9,.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.5px;
  text-decoration: none;
}

.nav-logo-img {
  height: 1.15em;
  width: 1.15em;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--text); }
.nav-links a.nav-active { font-weight: 600; }

/* ── Lang switch ─────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  background: rgba(26,255,224,.08);
  border: 1px solid rgba(26,255,224,.2);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.lang-opt {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  transition: all .2s;
}
.lang-opt.active {
  background: rgba(26,255,224,.28);
  color: #fff;
}
.lang-opt:hover:not(.active) { color: var(--accent2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
  display: block;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
  font-family: 'Satoshi', sans-serif;
}

.btn-primary {
  background: var(--grad);
  color: #080809;
  box-shadow: 0 0 28px rgba(26,255,224,.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(26,255,224,.38);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
  border-color: rgba(26,255,224,.3);
}

.btn:active { transform: translateY(0) scale(0.98); }

/* ── Section base ────────────────────────────── */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

/* Section headers (section-tag + h2 + subtitle) always centered */
.section-inner > .section-tag,
.section-inner > h2 {
  display: block;
  text-align: center;
}

.section-sub {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Page hero (subpages) ────────────────────── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 130px 24px 70px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.page-hero p {
  margin: 18px auto 0;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  text-align: center;
}

/* Split hero layout: tag+h1 left, subtitle right */
.page-hero-split {
  text-align: left;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 48px;
}
.page-hero-split .section-tag {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 16px;
  display: block;
}
.page-hero-split h1 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}
.page-hero-split p {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  max-width: 280px;
  font-size: 1rem;
  border-left: 1px solid var(--border2);
  padding-left: 36px;
  align-self: center;
}
@media (max-width: 768px) {
  .page-hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-hero-split .section-tag { grid-column: 1; grid-row: 1; }
  .page-hero-split h1 { grid-column: 1; grid-row: 2; }
  .page-hero-split p {
    grid-column: 1; grid-row: 3;
    border-left: none;
    border-top: 1px solid var(--border2);
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
    max-width: 100%;
  }
}

/* ── Hero (homepage) — Split Screen ──────────── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 0 80px;
  gap: 0;
}

.hero-left {
  padding: 0 40px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px 0 24px;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(26,255,224,.3);
  background: rgba(26,255,224,.07);
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent2);
  margin-bottom: 28px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.7); }
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 760px;
}

.gradient-text {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-values {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  width: 100%;
  max-width: 520px;
}
.hero-value {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--text);
  line-height: 1.5;
}
.hero-value svg { width: 18px; height: 18px; color: var(--accent2); flex-shrink: 0; margin-top: 2px; }

/* ── Dashboard Mockup ────────────────────────── */
.mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.mockup-shell {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6),
              0 0 0 1px rgba(26,255,224,.05);
  animation: mockupFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-12px) rotate(0.5deg); }
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mockup-dot.red    { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green  { background: #28c840; }
.mockup-title-text {
  margin-left: 8px;
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .5px;
  font-weight: 500;
}
.mockup-live {
  margin-left: auto;
  font-size: .68rem;
  color: var(--accent2);
  font-weight: 600;
}

.hero-checklist {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text);
  line-height: 1.5;
}
.hero-check-item svg { width: 20px; height: 20px; color: var(--accent2); flex-shrink: 0; margin-top: 1px; }

.mockup-body {
  padding: 18px;
  display: flex;
  gap: 14px;
}

.mockup-sidebar {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.mockup-nav-label {
  font-size: .58rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.mockup-nav-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.mockup-nav-item {
  padding: 5px 8px;
  border-radius: 5px;
  font-size: .7rem;
  font-weight: 500;
  color: var(--muted);
}
.mockup-nav-item.active {
  background: rgba(26,255,224,.1);
  color: var(--accent2);
  font-weight: 600;
}

.mockup-metric {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 6px;
}
.mockup-metric-label {
  font-size: .58rem;
  color: var(--muted);
  margin-bottom: 3px;
  font-weight: 500;
}
.mockup-metric-val {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.mockup-metric-val.teal  { color: var(--accent); }
.mockup-metric-val.green { color: #34d399; }

.mockup-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mockup-chat-label {
  font-size: .58rem;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: .5px;
  font-weight: 500;
}

.chat-bubble {
  border-radius: 10px;
  padding: 7px 11px;
  font-size: .7rem;
  line-height: 1.45;
  margin-bottom: 6px;
  max-width: 90%;
}
.chat-bubble.user {
  background: rgba(26,255,224,.1);
  border: 1px solid rgba(26,255,224,.18);
  margin-left: auto;
  color: var(--text);
  border-radius: 10px 10px 2px 10px;
}
.chat-bubble.bot {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 10px 10px 10px 2px;
}

.mockup-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.mockup-typing-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .58rem;
  color: var(--accent2);
  font-weight: 700;
  flex-shrink: 0;
}
.mockup-typing-lines { flex: 1; }

.shimmer-bar {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    var(--border) 25%,
    rgba(26,255,224,.1) 50%,
    var(--border) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.shimmer-bar + .shimmer-bar { margin-top: 4px; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Industries grid ──────────────────────────── */
.industries-section {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.industries-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry-card {
  border-radius: 16px;
  padding: 26px 24px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color .3s cubic-bezier(0.16,1,0.3,1),
              transform .3s cubic-bezier(0.16,1,0.3,1),
              box-shadow .3s cubic-bezier(0.16,1,0.3,1);
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,255,224,.22);
  box-shadow: var(--shadow-tinted);
}
.industry-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(26,255,224,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background .3s;
}
.industry-icon svg { width: 18px; height: 18px; color: var(--accent2); }
.industry-card:hover .industry-icon { background: rgba(26,255,224,.14); }
.industry-card h3 {
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.industry-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Bento Grid (homepage teasers) ──────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 64px;
}

.bento-cell {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.16,1,0.3,1),
              transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.bento-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(26,255,224,.05) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.bento-cell:hover::before { opacity: 1; }
.bento-cell > * { position: relative; z-index: 1; }

.bento-cell:nth-child(1) { grid-column: 1; grid-row: 1; }
.bento-cell:nth-child(2) { grid-column: 2; grid-row: 1 / 3; min-height: 360px; }
.bento-cell:nth-child(3) { grid-column: 3; grid-row: 1; }
.bento-cell:nth-child(4) { grid-column: 1; grid-row: 2; }
.bento-cell:nth-child(5) { grid-column: 3; grid-row: 2; }

.bento-cell:hover {
  border-color: rgba(26,255,224,.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-tinted);
}

.bento-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.65;
  align-self: flex-start;
  line-height: 1;
}

.bento-label {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-top: 22px;
  margin-bottom: 6px;
}

.bento-cell h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.bento-cell p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.bento-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.bento-cell:hover .bento-arrow {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translate(2px,-2px);
}
.bento-arrow svg { width: 11px; height: 11px; }

.bento-accent-strip {
  margin-top: 14px;
  padding: 24px 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(26,255,224,.04) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Services — Zig-Zag ──────────────────────── */
.services-zig {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 64px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.service-row:last-child { border-bottom: none; }

.service-row-text { padding: 0 64px 0 0; }
.service-row:nth-child(even) .service-row-text { order: 2; padding: 0 0 0 64px; }
.service-row:nth-child(even) .service-row-visual { order: 1; }

.service-row-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-card {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg3);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
}
.service-visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,255,224,0.2);
}
.service-visual-card svg { display: block; width: 100%; height: auto; }

.service-num-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.85;
}

.service-row-text .service-icon {
  display: none;
}

.service-row-text .service-icon-legacy {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(26,255,224,.08);
  border: 1px solid rgba(26,255,224,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-row-text .service-icon svg { width: 22px; height: 22px; color: var(--accent2); }

.service-row-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.service-row-text p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: .68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(26,255,224,.08);
  color: var(--accent2);
  border: 1px solid rgba(26,255,224,.18);
}

.service-features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--muted);
}
.service-feature svg { width: 14px; height: 14px; color: var(--accent2); flex-shrink: 0; }

/* ── Benefits ────────────────────────────────── */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all .25s;
}
.benefit-item:last-child { border-bottom: none; }
.benefit-item:hover { transform: translateX(4px); }

.benefit-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(26,255,224,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 16px; height: 16px; color: var(--accent2); }

.benefit-text h4 { font-size: .92rem; font-weight: 700; margin-bottom: 3px; }
.benefit-text p  { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── Visual card (benefits page) ─────────────── */
.visual-card {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.visual-card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.metric-row:last-child { border-bottom: none; }
.metric-label { font-size: .82rem; color: var(--muted); }
.metric-val { font-size: 1.05rem; font-weight: 700; }
.metric-val.up     { color: #34d399; }
.metric-val.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mini-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  margin-top: 7px;
  overflow: hidden;
}
.mini-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--grad);
  animation: barGrow 1.8s ease forwards;
}
@keyframes barGrow { from { width:0; } }

/* ── Stats Divider Row (beneficios numbers) ── */
.stat-divider-row {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat-divider-item {
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.stat-divider-item:first-child { padding-left: 0; }
.stat-divider-item:last-child  { border-right: none; }

.stat-big {
  display: block;
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-divider-title {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-divider-sub {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Process Timeline (soluciones) ──────────── */
.process-timeline {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 52px;
  max-width: 760px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--border2) 8%,
    var(--border2) 92%,
    transparent 100%
  );
}

.process-step {
  position: relative;
  padding-bottom: 52px;
}
.process-step:last-child { padding-bottom: 0; }

.process-step-num {
  position: absolute;
  left: -52px;
  top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: .5px;
  transition: all .3s;
}
.process-step:hover .process-step-num {
  border-color: rgba(26,255,224,.4);
  background: rgba(26,255,224,.08);
  color: var(--accent);
}

.process-step-label {
  font-size: .65rem;
  color: var(--accent2);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.process-step p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Solutions cards ─────────────────────────── */
.solutions-cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sol-card {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all .3s cubic-bezier(0.16,1,0.3,1);
}
.sol-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,255,224,.2);
  box-shadow: var(--shadow-tinted);
}
.sol-card.featured {
  background: linear-gradient(135deg, rgba(26,255,224,.06), rgba(0,212,184,.03));
  border-color: rgba(26,255,224,.2);
  grid-column: span 2;
}
.sol-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(26,255,224,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sol-icon svg { width: 20px; height: 20px; color: var(--accent2); }
.sol-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.sol-card p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── Integrations pills ──────────────────────── */
.integrations-row {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.integration-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s cubic-bezier(0.16,1,0.3,1);
  cursor: default;
}
.integration-pill:hover {
  border-color: rgba(26,255,224,.25);
  color: var(--text);
  transform: translateY(-2px);
}
.integration-pill svg { width: 18px; height: 18px; color: var(--accent2); flex-shrink: 0; }

/* ── Pricing ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
  margin-top: 56px;
}

.pricing-card {
  border-radius: 18px;
  padding: 36px 30px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all .3s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26,255,224,.25);
  box-shadow: var(--shadow-tinted);
}
.pricing-card.popular {
  border-color: rgba(26,255,224,.4);
  background: linear-gradient(160deg, rgba(26,255,224,.07), rgba(0,212,184,.03));
}
.pricing-card[data-selectable] {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.pricing-card.selected {
  border-color: rgba(26,255,224,.6);
  background: linear-gradient(160deg, rgba(26,255,224,.15), rgba(0,212,184,.07));
  box-shadow: 0 0 60px rgba(26,255,224,.18), 0 20px 60px rgba(0,0,0,.25);
  transform: translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--grad);
  color: #080809;
}

.pricing-tier  { font-size:.7rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--accent2); margin-bottom:12px; }
.pricing-name  { font-size:1.25rem; font-weight:800; margin-bottom:8px; }
.pricing-desc  { font-size:.82rem; color:var(--muted); margin-bottom:24px; line-height:1.6; }
.pricing-price { font-family:var(--mono); font-size:2.6rem; font-weight:900; letter-spacing:-0.03em; margin-bottom:4px; }
.pricing-price span { font-size:1rem; font-weight:500; color:var(--muted); }
.pricing-note  { font-size:.76rem; color:var(--muted); margin-bottom:28px; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--muted);
}
.pricing-features .check {
  display: inline-flex;
  align-items: center;
  min-width: 16px;
  margin-top: 1px;
  color: var(--accent2);
  flex-shrink: 0;
}
.pricing-features .check svg { width: 14px; height: 14px; color: var(--accent2); }

/* ── Subscription band ───────────────────────── */
.subscription-band {
  margin-top: 48px;
  border-radius: 18px;
  padding: 40px 48px;
  background: linear-gradient(135deg, rgba(26,255,224,.07), rgba(0,212,184,.04));
  border: 1px solid rgba(26,255,224,.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  text-align: left;
}
.sub-badge { display:inline-block; font-size:.68rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent2); margin-bottom:10px; }
.sub-title { font-size:1.4rem; font-weight:800; margin-bottom:8px; }
.sub-desc  { font-size:.88rem; color:var(--muted); max-width:500px; }
.sub-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.sub-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--muted);
}
.sub-feat svg { width: 12px; height: 12px; color: var(--accent2); flex-shrink: 0; }
.sub-price { text-align: right; flex-shrink: 0; }
.sub-price .big {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sub-price .per { font-size: .88rem; color: var(--muted); }

/* ── Contact / Form ──────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  margin-top: 16px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
}
.contact-bullets {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  color: var(--muted);
}
.contact-bullet-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(26,255,224,.07);
  border: 1px solid rgba(26,255,224,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-bullet-icon svg { width: 14px; height: 14px; color: var(--accent2); }

.form-card {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 22px;
  padding: 40px 36px;
}
.form-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: all .2s;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(152,152,184,.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(26,255,224,.45);
  background: rgba(26,255,224,.03);
  box-shadow: 0 0 0 3px rgba(26,255,224,.08);
}
.form-group select option { background: var(--bg3); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 90px; }

.services-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: .82rem;
  transition: all .2s;
  user-select: none;
}
.checkbox-item:hover {
  border-color: rgba(26,255,224,.3);
  background: rgba(26,255,224,.04);
}
.checkbox-item input[type="checkbox"] {
  width: 15px; height: 15px;
  padding: 0;
  appearance: auto;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-item:has(input:checked) {
  border-color: rgba(26,255,224,.45);
  background: rgba(26,255,224,.07);
  color: var(--text);
}
.checkbox-item svg { width: 15px; height: 15px; color: var(--accent2); flex-shrink: 0; }

.form-submit {
  margin-top: 6px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 12px;
  justify-content: center;
}

.form-success { display: none; text-align: center; padding: 40px; }
.form-success-icon svg { width: 56px; height: 56px; color: #34d399; margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p  { font-size: .9rem; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────── */
.faq-list {
  margin-top: 56px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(26,255,224,.25); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: .93rem;
  font-weight: 600;
  transition: background .2s;
}
.faq-question:hover { background: rgba(255,255,255,.02); }
.faq-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-arrow svg { width: 16px; height: 16px; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ── CTA band ────────────────────────────────── */
.cta-band {
  position: relative; z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.5px; }
.cta-band p  { margin: 16px auto 36px; font-size: 1rem; color: var(--muted); max-width: 480px; }

/* ── Footer ──────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 64px 24px 40px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: .84rem;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.65;
}
.footer-col h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .84rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: .8rem; color: var(--muted); }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  transition: all .2s;
}
.social-link:hover {
  border-color: rgba(26,255,224,.35);
  background: rgba(26,255,224,.07);
  color: var(--accent2);
  transform: translateY(-2px);
}
.social-link svg { width: 14px; height: 14px; }

/* ── Scroll animations ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 960px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 100px 32px 64px;
    min-height: 100dvh;
  }
  .hero-left { padding: 0; }
  .hero-right { display: none; }

  .benefits-layout   { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; gap: 48px; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .solutions-cards   { grid-template-columns: 1fr; }
  .sol-card.featured { grid-column: span 1; }
  .subscription-band { flex-direction: column; text-align: center; }
  .sub-price         { text-align: center; }

  .stat-divider-row { grid-template-columns: 1fr 1fr; }
  .stat-divider-item { padding: 20px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-divider-item:last-child { border-bottom: none; }

  .service-row { grid-template-columns: 1fr; padding: 48px 0; }
  .service-row-text { padding: 0 !important; order: 1 !important; }
  .service-row-visual { display: none; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-cell { min-height: auto !important; }
  .bento-cell:nth-child(1) { grid-column: 1; grid-row: auto; }
  .bento-cell:nth-child(2) { grid-column: 2; grid-row: auto; }
  .bento-cell:nth-child(3) { grid-column: 1; grid-row: auto; }
  .bento-cell:nth-child(4) { grid-column: 2; grid-row: auto; }
  .bento-cell:nth-child(5) { grid-column: 1; grid-row: auto; }

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

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(8,8,9,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav-links.open .btn { width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .services-checkboxes { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .section-inner { padding: 70px 20px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell { grid-column: 1 !important; grid-row: auto !important; }
  .stat-divider-row { grid-template-columns: 1fr; }
  .bento-accent-strip { flex-direction: column; gap: 16px; }

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

#particleCanvas {
  z-index: 0;
}

/* hide 2d particles on home hero so 3D takes over visually */
body.page-home #particleCanvas {
  opacity: 0.25;
}

/* ═══════════════════════════════════════════════
   PAGE TRANSITION OVERLAY
   ═══════════════════════════════════════════════ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #080809 0%, #0a1a18 50%, #04120f 100%);
  z-index: 9999;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
}

/* ═══════════════════════════════════════════════
   AI WORKFLOW SECTION
   ═══════════════════════════════════════════════ */
.workflow-section {
  padding: 100px 0 80px;
  background: var(--bg);
  overflow: hidden;
}

.workflow-section .section-inner {
  padding-bottom: 56px;
}

.workflow-track-outer {
  width: 100%;
  padding: 0 clamp(20px, 5vw, 80px);
}

.workflow-track-inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.workflow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
  min-width: 0;
}

.workflow-step:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,255,224,0.12);
}

.workflow-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--bg2);
  border: 1px solid var(--accent);
  padding: 2px 10px;
  border-radius: 99px;
}

.workflow-step-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(26,255,224,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: rgba(26,255,224,0.45);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.workflow-step:hover .workflow-step-icon {
  background: rgba(26,255,224,0.06);
  border-color: rgba(26,255,224,0.4);
  color: var(--accent);
}

.workflow-step-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
}

.workflow-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.workflow-connector {
  flex: 0 0 auto;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 52px;
  position: relative;
}

.workflow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(26,255,224,0.3) 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  position: relative;
}

.workflow-line::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

/* responsive workflow */
@media (max-width: 900px) {
  .workflow-track-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 480px;
  }

  .workflow-step {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    padding: 24px 20px;
    align-items: flex-start;
  }

  .workflow-step-num {
    top: auto;
    left: auto;
    position: static;
    transform: none;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .workflow-step-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .workflow-connector {
    width: auto;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-left: 32px;
  }

  .workflow-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(26,255,224,0.3) 100%);
    transform: scaleY(0);
    transform-origin: top;
  }

  .workflow-line::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -5px;
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════
   PERSONALITY OVERHAUL — NEW ELEMENTS
   ═══════════════════════════════════════════════ */

/* ── Metrics SVG (beneficios) ─────────────────── */
.metrics-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ── Connection Graph (soluciones) ───────────── */
.connection-graph-wrap {
  max-width: 800px;
  margin: 56px auto 0;
  padding: 0 24px;
}
.conn-graph {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Workflow pulse dot ───────────────────────── */
.workflow-pulse {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(26,255,224,0.6);
  pointer-events: none;
  left: 0;
}

/* ── Section tag mono ────────────────────────── */
.section-tag {
  font-family: var(--mono);
}

/* ── Process step num mono ───────────────────── */
.process-step-num {
  font-family: var(--mono);
}
.workflow-step-num {
  font-family: var(--mono);
}
