/* ============================================================
   CENTROACTIVO — Stylesheet
   Dark luxury · Neural network aesthetic · #2D3A8C primary
   ============================================================ */

/* ----------------------- VARIABLES ----------------------- */
:root {
  --bg:            #05080f;
  --surface:       #0a1020;
  --surface-2:     #0f1830;
  --primary:       #2D3A8C;
  --primary-light: #3d4fa8;
  --accent:        #00C2FF;
  --accent-dim:    rgba(0, 194, 255, 0.12);
  --accent-glow:   rgba(0, 194, 255, 0.08);
  --text:          #e8edf8;
  --text-muted:    #6b7fa3;
  --border:        rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 194, 255, 0.22);
  --radius:        16px;
  --radius-lg:     24px;
  --nav-h:         72px;
  --container:     1200px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--surface);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

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

/* ---------------------- TYPOGRAPHY ---------------------- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #7B8FFF 60%, #B06BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== LOADER ==================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.loader-logo span { color: var(--accent); }

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width 0.05s linear;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0, 194, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s, background 0.3s;
}

.cursor.hover {
  width: 64px;
  height: 64px;
  background: rgba(0, 194, 255, 0.06);
  border-color: var(--accent);
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

/* ======================= NAV ======================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 4px 30px rgba(0, 194, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(0, 194, 255, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
}

.btn-ghost:hover { color: var(--text); }

.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 18px 40px;
  font-size: 16px;
  border-radius: 50px;
}

.w-full { width: 100%; justify-content: center; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.mobile-nav a {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--text); }

/* ======================= HERO ======================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 194, 255, 0.6);
  bottom: -100px;
  right: -50px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #7B3FF5;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -6s;
  opacity: 0.2;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%        { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 194, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.5); }
  50%        { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 194, 255, 0); }
}

.hero-title {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

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

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Hero visual cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateX(40px);
}

.hero-card {
  background: rgba(10, 16, 32, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.3s;
}

.hero-card:hover { border-color: var(--border-accent); }

.hcard-icon { font-size: 24px; flex-shrink: 0; }

.hcard-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hcard-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hcard-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.hcard-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}

.hcard-status.live {
  background: rgba(0, 255, 150, 0.12);
  color: #00ff96;
  border: 1px solid rgba(0, 255, 150, 0.25);
}

.floating {
  animation: float 4s ease-in-out infinite;
}
.delay-1 { animation-delay: -1.3s; }
.delay-2 { animation-delay: -2.7s; }

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

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1;
  opacity: 0;
  animation: fade-in 1s 2s forwards;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* ==================== STATS STRIP ==================== */
.stats-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===================== SECTIONS ===================== */
.section { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =================== SERVICES =================== */
.services { background: var(--bg); }

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 194, 255, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

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

/* =================== PRICING =================== */
.pricing { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

.pricing-custom-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.pricing-custom-link {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
}

.pricing-custom-link:hover {
  text-decoration: underline;
}


.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.3s;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(40px);
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.pricing-featured {
  background: linear-gradient(160deg, rgba(45, 58, 140, 0.3) 0%, rgba(0, 194, 255, 0.05) 100%);
  border-color: var(--border-accent);
  box-shadow: 0 0 80px rgba(0, 194, 255, 0.08);
  transform: translateY(-16px) !important;
}

.pricing-featured.visible {
  transform: translateY(-16px) !important;
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 194, 255, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pricing-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-setup {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-header { margin-bottom: 32px; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.pricing-features .check {
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}

.feat-off {
  color: var(--text-muted);
  opacity: 0.5;
}

.feat-off span { color: var(--text-muted); }

.pricing-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(0, 194, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.pricing-note a:hover { text-decoration-color: var(--accent); }

/* ==================== CASES ==================== */
.cases { background: var(--bg); }

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

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  opacity: 0;
  transform: translateY(40px);
}

.case-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.case-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.case-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--av-color, var(--primary)), rgba(0, 194, 255, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(45, 58, 140, 0.4);
}

.case-sector {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.case-card blockquote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid var(--border-accent);
  padding-left: 16px;
  margin-bottom: 28px;
  font-style: italic;
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.case-stat-number {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.case-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =================== PROCESS =================== */
.process {
  background: var(--surface);
  overflow: hidden;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(30px);
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 40px;
  opacity: 0.4;
}

/* ==================== CTA ==================== */
.cta-section { background: var(--bg); overflow: hidden; }

.cta-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.footer-logo span { color: var(--accent); }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* =================== REVEAL UTIL =================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Stagger delays for grids */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6) { transition-delay: 0.5s; }

.pricing-card:nth-child(1) { transition-delay: 0s; }
.pricing-card:nth-child(2) { transition-delay: 0.15s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }
.pricing-card:nth-child(4) { transition-delay: 0.45s; }

.case-card:nth-child(1) { transition-delay: 0s; }
.case-card:nth-child(2) { transition-delay: 0.15s; }
.case-card:nth-child(3) { transition-delay: 0.3s; }

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(3) { transition-delay: 0.15s; }
.process-step:nth-child(5) { transition-delay: 0.3s; }
.process-step:nth-child(7) { transition-delay: 0.45s; }

/* ================ NAV CLIENT BUTTON ================ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-client {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-client:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ================ PAIN POINTS ================ */
.pains { background: var(--surface); }

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

.pains-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pains-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.pains-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}

.pains-count {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--accent) 0%, #7B8FFF 60%, #B06BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.2s var(--ease);
}

.pains-count.bump {
  transform: scale(1.15);
}

.pains-count-label {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.pains-action {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}

.pains-action.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.pains-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-check {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  user-select: none;
}

.pain-check:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--surface-2);
}

.pain-check.checked {
  border-color: var(--border-accent);
  background: rgba(0, 194, 255, 0.04);
}

.pain-checkbox {
  display: none;
}

.pain-check-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
  color: transparent;
  background: transparent;
}

.pain-check.checked .pain-check-box {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.pain-check-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.25s;
}

.pain-check.checked .pain-check-text {
  color: var(--text);
}

.pain-check-text strong {
  color: var(--text);
  font-weight: 600;
}

.pain-check:nth-child(1) { transition-delay: 0s; }
.pain-check:nth-child(2) { transition-delay: 0.06s; }
.pain-check:nth-child(3) { transition-delay: 0.12s; }
.pain-check:nth-child(4) { transition-delay: 0.18s; }
.pain-check:nth-child(5) { transition-delay: 0.24s; }
.pain-check:nth-child(6) { transition-delay: 0.3s; }

/* =================== FAQ =================== */
.faq { background: var(--surface); }

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.faq-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.faq-cta-box {
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-cta-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.3s;
  display: flex;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item:nth-child(1) { transition-delay: 0s; }
.faq-item:nth-child(2) { transition-delay: 0.06s; }
.faq-item:nth-child(3) { transition-delay: 0.12s; }
.faq-item:nth-child(4) { transition-delay: 0.18s; }
.faq-item:nth-child(5) { transition-delay: 0.24s; }
.faq-item:nth-child(6) { transition-delay: 0.3s; }

/* ================ CTA FORM LAYOUT ================ */
.cta-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-form-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-form-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.cta-trust-item svg {
  flex-shrink: 0;
}

.demo-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

.demo-form .form-group input,
.demo-form .form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.demo-form .form-group input::placeholder,
.demo-form .form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.demo-form .form-group input:focus,
.demo-form .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}

.demo-form .form-group input.error,
.demo-form .form-group textarea.error {
  border-color: #ff5e5e;
}

.form-feedback {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-feedback.success {
  color: #4ade80;
}

.form-feedback.error {
  color: #ff5e5e;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1280px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto 40px; }
}

@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pains-layout { grid-template-columns: 1fr; gap: 48px; }
  .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .cta-form-layout { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto 40px; }
  .pricing-featured { transform: none !important; }
  .pricing-featured.visible { transform: none !important; }
  .cases-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { width: 1px; height: 48px; margin-top: 0; background: linear-gradient(180deg, var(--primary), var(--accent)); }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .demo-form .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .demo-form { padding: 28px 20px; }
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
  .btn { cursor: pointer; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

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

.form-group input,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ff5e5e;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  gap: 10px;
}

.spin-icon {
  animation: spin 0.9s linear infinite;
}

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

.form-success {
  text-align: center;
  color: #4ade80;
  font-size: 15px;
  padding: 16px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 10px;
}

.form-error {
  text-align: center;
  color: #ff7e7e;
  font-size: 14px;
  padding: 14px;
  background: rgba(255, 94, 94, 0.08);
  border: 1px solid rgba(255, 94, 94, 0.2);
  border-radius: 10px;
}

.form-error a { color: var(--accent); text-decoration: underline; }

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.ci-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ci-value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

a.ci-value:hover { color: var(--accent); }

.contact-sofia-card {
  position: relative;
  background: linear-gradient(135deg, rgba(45,58,140,0.25), rgba(0,194,255,0.08));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-sofia-card strong { color: var(--text); }

.sofia-card-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px #4ade80; }
  50%       { box-shadow: 0 0 12px #4ade80, 0 0 24px rgba(74,222,128,0.3); }
}

@media (max-width: 1024px) {
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-info-item { flex: 1 1 200px; }
  .contact-sofia-card { flex: 100%; }
}

@media (max-width: 600px) {
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; }
}

/* ============================================================
   SOFIA CHAT WIDGET
   ============================================================ */
.sofia-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* Toggle button */
.sofia-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), #5a6fd6);
  border: none;
  border-radius: 50px;
  padding: 14px 22px 14px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(45, 58, 140, 0.55), 0 0 0 0 rgba(0,194,255,0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
}

.sofia-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(45, 58, 140, 0.7), 0 0 0 6px rgba(0,194,255,0.12);
}

.sofia-toggle:active { transform: translateY(0); }

.sofia-toggle-icon { display: flex; align-items: center; }

.sofia-label { white-space: nowrap; }

.sofia-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #05080f;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes badge-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* Chat panel */
.sofia-panel {
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,194,255,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
  max-height: 520px;
}

.sofia-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Panel header */
.sofia-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, var(--primary), #1e2b6e);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sofia-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0,194,255,0.4);
}

.sofia-header-text { flex: 1; }

.sofia-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.sofia-status {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.sofia-status-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

.sofia-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}

.sofia-close-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Messages */
.sofia-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sofia-messages::-webkit-scrollbar { width: 4px; }
.sofia-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sofia-msg { display: flex; flex-direction: column; max-width: 85%; }

.sofia-msg-bot { align-self: flex-start; }
.sofia-msg-user { align-self: flex-end; }

.sofia-msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.sofia-msg-bot .sofia-msg-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.sofia-msg-user .sofia-msg-bubble {
  background: linear-gradient(135deg, var(--primary), #3d52c4);
  border-bottom-right-radius: 4px;
  color: #fff;
}

.sofia-msg-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

.sofia-msg-user .sofia-msg-time { text-align: right; }

/* Quick replies */
.sofia-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  width: 100%;
}

.sofia-quick-btn {
  background: transparent;
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.sofia-quick-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* Typing indicator */
.sofia-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.sofia-typing span {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.sofia-typing span:nth-child(2) { animation-delay: 0.2s; }
.sofia-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* Input area */
.sofia-input-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.sofia-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.sofia-input::placeholder { color: var(--text-muted); opacity: 0.7; }

.sofia-input:focus {
  border-color: var(--accent);
}

.sofia-send-btn {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), #3d52c4);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}

.sofia-send-btn:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(45,58,140,0.5); }
.sofia-send-btn:active { transform: scale(0.95); }

.sofia-footer-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 8px;
  opacity: 0.6;
}

@media (max-width: 480px) {
  .sofia-widget { bottom: 16px; right: 16px; }
  .sofia-panel { width: calc(100vw - 32px); }
  .sofia-label { display: none; }
  .sofia-toggle { padding: 14px; border-radius: 50%; }
}
