/* DESIGN SYSTEM & TOKENS */
:root {
  --bg-main: #070a13;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(23, 37, 68, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-active: rgba(99, 102, 241, 0.3);
  
  --primary-rgb: 99, 102, 241; /* Violet */
  --cyan-rgb: 6, 182, 212;     /* Cyan */
  --emerald-rgb: 16, 185, 129; /* Emerald / WhatsApp */
  
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-cyan: #06b6d4;
  --color-emerald: #10b981;
  --color-emerald-hover: #059669;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #0f172a;
  
  --font-sans: 'Outfit', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon: 0 0 25px rgba(99, 102, 241, 0.15);
  --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.2);
}

/* RESET & CORE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

body.tech-bg {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-h: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  /* Grid pattern overlay */
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-w-lg {
  max-width: 800px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

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

/* GLOW ORBS DECORATION */
.glow-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.orb-1 {
  background: var(--color-primary);
  top: 10%;
  left: -50px;
}

.orb-2 {
  background: var(--color-cyan);
  top: 40%;
  right: -50px;
}

/* GRADIENTS & UTILITIES */
.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.icon-small {
  width: 14px;
  height: 14px;
}

.icon-btn {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
}

.icon-right {
  width: 18px;
  height: 18px;
  margin-left: 0.5rem;
}

.icon-xs {
  width: 14px;
  height: 14px;
}

/* GLASSMORPHISM CARD */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
}

/* HEADER / NAVIGATION */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
  color: white;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.logo-text span {
  font-weight: 400;
  color: var(--color-cyan);
}

.nav-menu {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cyan);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-glass);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-lg {
  padding: 1rem 2rem;
  border-radius: 16px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
  color: white;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass-active);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-emerald-hover) 100%);
  color: white;
  box-shadow: var(--shadow-emerald);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
}

.btn-primary-whatsapp {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-primary-whatsapp:hover {
  background: var(--color-emerald);
  color: white;
}

.btn-outline-whatsapp {
  background: transparent;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.btn-outline-whatsapp:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
}

.btn-pulse {
  animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* HERO SECTION */
.hero-section {
  padding: 6rem 0;
  position: relative;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* INTERACTIVE PREVIEW CARD (HERO) */
.hero-visual {
  display: flex;
  justify-content: center;
}

.interactive-preview-card {
  width: 100%;
  max-width: 440px;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.preview-header {
  background: #141c30;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-dots {
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.preview-title {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-muted);
}

.preview-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: simplePulse 1.8s infinite;
}

@keyframes simplePulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.preview-body {
  padding: 1.25rem;
}

.client-info-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.client-info-bar .avatar {
  width: 32px;
  height: 32px;
  background: var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.client-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.client-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  min-height: 180px;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
}

.chat-bubble.received {
  background: #1f293d;
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.sent {
  background: rgba(16, 185, 129, 0.15);
  color: #e6fcf5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-time {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
}

.chat-time .icon-xs {
  color: #34d399;
  vertical-align: middle;
  margin-left: 2px;
}

.preview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.65rem;
  text-align: center;
}

.metric-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cyan);
}

.metric-title {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* PHILOSOPHY CARDS */
.card-icon-container {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.card-icon-container.cyan {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--color-cyan);
}

.card-icon-container.emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-emerald);
}

.card-icon-container.purple {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--color-primary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SOLUTIONS CARD SECTIONS */
.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

@media (min-width: 992px) {
  .solution-card {
    flex-direction: row;
  }
  .solution-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.solution-visual {
  flex: 1;
  background: radial-gradient(circle at center, #1b2640 0%, #0d1222 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  min-height: 280px;
}

.solution-info {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-badge {
  color: var(--color-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.solution-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.solution-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.solution-features {
  list-style: none;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.icon-check {
  width: 16px;
  height: 16px;
  color: var(--color-emerald);
}

/* Mock Phone and Mock Desktop inside Catalog Visuals */
.mock-phone {
  width: 175px;
  height: 320px;
  background: #000;
  border-radius: 28px;
  border: 4px solid #334155;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0f172a;
}

.phone-header {
  background: #1e293b;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.phone-avatar {
  width: 18px;
  height: 18px;
  background: var(--color-emerald);
  border-radius: 50%;
  font-size: 0.45rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-info {
  display: flex;
  flex-direction: column;
}

.phone-name {
  font-size: 0.55rem;
  font-weight: bold;
  color: white;
}

.phone-status {
  font-size: 0.45rem;
  color: #34d399;
}

.phone-body {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.phone-bubble {
  background: #1e293b;
  font-size: 0.55rem;
  padding: 0.45rem;
  border-radius: 8px;
  align-self: flex-start;
  max-width: 85%;
}

.phone-bubble.options {
  background: transparent;
  padding: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.phone-bubble.options span {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-size: 0.5rem;
}

.mock-desktop {
  width: 280px;
  height: 175px;
  background: #000;
  border-radius: 12px;
  border: 3px solid #334155;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.desktop-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0f172a;
}

.desktop-nav {
  background: #1e293b;
  height: 14px;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav .circle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #475569;
}

.desktop-body {
  flex: 1;
  padding: 0.5rem;
}

.grid-dashboard {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 0.5rem;
  height: 100%;
}

.grid-dashboard .sidebar {
  background: #1e293b;
  border-radius: 6px;
}

.grid-dashboard .main-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  background: rgba(255,255,255,0.02);
  height: 60px;
  border-bottom: 1px solid #334155;
  padding-bottom: 2px;
  justify-content: space-around;
}

.bar-chart .bar {
  width: 14px;
  background: var(--color-primary);
  border-radius: 3px 3px 0 0;
}

.small-lines {
  background: #1e293b;
  height: 6px;
  width: 70%;
  border-radius: 3px;
}

/* WIZARD CONFIGURATOR */
.wizard-card {
  padding: 2.5rem;
}

.wizard-progress {
  margin-bottom: 2.5rem;
  position: relative;
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--color-cyan), var(--color-primary));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-steps-indicators {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-indicator {
  width: 32px;
  height: 32px;
  background: #141c30;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.step-indicator.active {
  background: #0f172a;
  border-color: var(--color-cyan);
  color: white;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.step-indicator.completed {
  background: var(--color-emerald);
  border-color: var(--color-emerald);
  color: white;
}

.wizard-step {
  display: none;
  animation: stepFade 0.4s ease-out;
}

.wizard-step.active {
  display: block;
}

@keyframes stepFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.step-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Step 1 Specific Layout: Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.option-button {
  cursor: pointer;
  position: relative;
}

.option-button input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-card-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.option-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.option-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
}

.option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.option-button input[type="radio"]:checked + .option-card-content {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.option-button input[type="radio"]:checked + .option-card-content .option-icon {
  color: var(--color-cyan);
  transform: scale(1.1);
}

/* Step 2 Specific Layout: Checkbox features list */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.feature-checkbox-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.feature-checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: var(--transition-smooth);
}

.custom-checkbox::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-checkbox-item input[type="checkbox"]:checked + .custom-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.feature-checkbox-item input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
}

.feature-checkbox-item input[type="checkbox"]:checked {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--color-primary);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.feature-description {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Step 3 Specific Layout: Form Group Stack */
.form-group-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: white;
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input {
  padding: 0.85rem 1rem 0.85rem 2.75rem;
}

.form-group textarea {
  padding: 1rem;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* Step 4 Specific Layout: Summary Details */
.summary-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-display {
  text-align: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-glass);
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-cyan);
  margin-top: 0.25rem;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.price-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.summary-details-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.client-summary-card {
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.85rem;
}

.client-summary-card p {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.client-summary-card p strong {
  color: white;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PORTAL DE CLIENTE DE DEMO */
.portal-container {
  overflow: hidden;
  padding: 0;
}

.portal-header {
  background: rgba(20, 30, 54, 0.4);
  padding: 2rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .portal-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.project-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.project-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portal-progress-bar-container {
  width: 100%;
  max-width: 320px;
}

.portal-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.portal-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.portal-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-cyan), var(--color-emerald));
  border-radius: 4px;
  transition: width 0.6s ease;
}

.portal-body {
  padding: 2rem;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

/* Hitos List */
.hitos-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hitos-list::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 17px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.hito-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.hito-item:last-child {
  padding-bottom: 0;
}

.hito-status-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141c30;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.hito-details {
  flex: 1;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.hito-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hito-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.hito-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.hito-badge.done {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.hito-badge.wait {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.hito-badge.block {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.hito-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hito-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Conditional states styles */
.hito-item.completed .hito-status-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--color-emerald);
  color: var(--color-emerald);
}

.hito-item.completed .hito-details {
  border-color: rgba(16, 185, 129, 0.2);
}

.hito-item.pending .hito-status-icon {
  border-color: #fbbf24;
  color: #fbbf24;
  animation: outlinePulse 2s infinite;
}

.hito-item.pending .hito-details {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.01);
}

.hito-item.blocked {
  opacity: 0.5;
}

@keyframes outlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* FLOATING WHATSAPP CHAT WIDGET */
.floating-whatsapp-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.wa-trigger-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-emerald-hover) 100%);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
  position: relative;
  transition: var(--transition-smooth);
}

.wa-trigger-btn:hover {
  transform: scale(1.08);
}

.wa-trigger-btn i {
  width: 28px;
  height: 28px;
}

.wa-icon-open,
.wa-icon-close {
  transition: var(--transition-smooth);
}

.hidden {
  display: none !important;
}

.wa-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--color-emerald);
  animation: badgeAlert 2s infinite;
}

@keyframes badgeAlert {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(0.9); opacity: 1; }
}

.wa-chat-window {
  width: 320px;
  max-width: calc(100vw - 4rem);
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: widgetSlide 0.3s ease-out;
}

@keyframes widgetSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-window-header {
  background: #141c30;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-header-avatar {
  width: 38px;
  height: 38px;
  background: var(--color-emerald);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.wa-header-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.wa-header-info span {
  font-size: 0.75rem;
  color: #34d399;
}

.wa-window-body {
  padding: 1.25rem;
}

.wa-welcome-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.wa-departments-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wa-dept-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.wa-dept-card:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

.dept-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.dept-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--color-cyan); }
.dept-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.dept-icon.purple { background: rgba(99, 102, 241, 0.15); color: var(--color-primary); }

.dept-icon i {
  width: 16px;
  height: 16px;
}

.dept-info {
  display: flex;
  flex-direction: column;
}

.dept-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}

.dept-info p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* FOOTER SECTION */
.main-footer {
  background: #04060b;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0;
}

.footer-brand {
  margin-bottom: 2rem;
}

.center-icon {
  margin: 0 auto 1rem auto;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 10000;
  background: #141c30;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: toastSlide 0.3s ease-out;
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
}

.toast-icon {
  color: var(--color-emerald);
  width: 18px;
  height: 18px;
}

.toast-content span {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}
