/* ========================
   VARIABLES & RESET
======================== */
:root {
  --blue: #3b82f6;
  --indigo: #4f46e5;
  --purple: #8b5cf6;
  --green: #22c55e;
  --orange: #f97316;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  
  /* Missing Variables */
  /* Tema de Color unificado pero dinámico */
  --deep-navy: #0f172a;
  --mid-navy: #171942;
  --dark-indigo: #1e1b4b;
  --azure: #3b82f6;
  --gradient-blue: linear-gradient(135deg, #60a5fa, #3b82f6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* ========================
   UTILS
======================== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--indigo), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(79, 70, 229, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: white;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}

.btn-ghost svg {
  width: 16px;
  height: 16px;
}

/* ========================
   NAVBAR
======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  color: white;
  transition: color 0.3s;
}

.logo-accent {
  color: #60a5fa;
  transition: color 0.3s;
}

/* Dark text when scrolled */
.navbar.scrolled .logo-text {
  color: var(--dark);
}

.navbar.scrolled .logo-accent {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.navbar.scrolled .nav-links a {
  color: var(--muted);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--dark);
}

.nav-cta {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.22);
}

.navbar.scrolled .nav-cta {
  background: var(--dark);
  border-color: transparent;
}

.navbar.scrolled .nav-cta:hover {
  background: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

/* ── Hamburger → X cuando está abierto ─────────────────── */
.navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Menú desplegable móvil ─────────────────────────────── */
@media (max-width: 768px) {
  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 8px 0 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #e2e8f0;
    animation: slideDown 0.25s ease;
  }

  .navbar.nav-open .nav-links a {
    color: var(--dark) !important;
    padding: 13px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    display: block;
  }

  .navbar.nav-open .nav-links a:hover {
    color: var(--blue) !important;
    background: #f8fafc;
  }

  .navbar.nav-open .nav-links li:last-child a {
    border-bottom: none;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.15);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(79, 70, 229, 0.12);
  bottom: -50px;
  right: 200px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 24px;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: mockup-entry 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mockup-entry {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
  background: #ef4444;
}

.mockup-dots span:nth-child(2) {
  background: #f59e0b;
}

.mockup-dots span:nth-child(3) {
  background: #22c55e;
}

.mockup-url {
  font-size: 0.72rem;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
  margin: 0 auto;
}

.mockup-content {
  display: flex;
}

.mockup-sidebar {
  width: 48px;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
}

.sidebar-item {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item svg {
  width: 16px;
  height: 16px;
}

.sidebar-item.active {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.sidebar-item:hover {
  color: #94a3b8;
}

.mockup-main {
  flex: 1;
  padding: 16px;
}

.mockup-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mockup-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.mockup-badge-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #22c55e;
  font-weight: 600;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.m-card {
  padding: 10px 12px;
  border-radius: 10px;
}

.m-card.blue {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.m-card.indigo {
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.m-card.green {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.m-card-num {
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

.m-card-label {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.mockup-table {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.m-table-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr;
  padding: 7px 10px;
  font-size: 0.65rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}

.m-table-row:last-child {
  border-bottom: none;
}

.m-table-row.header {
  background: rgba(0, 0, 0, 0.2);
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.58rem;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.badge-ok {
  color: #22c55e;
  font-weight: 600;
}

.badge-proc {
  color: #f59e0b;
  font-weight: 600;
}

/* Float Cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.float-card svg {
  width: 14px;
  height: 14px;
}

.fc-1 {
  top: -16px;
  right: -20px;
  color: #4ade80;
  animation: float 6s ease-in-out infinite;
}

.fc-1 svg {
  fill: #4ade80;
}

.fc-2 {
  bottom: -14px;
  left: -20px;
  color: #60a5fa;
  animation: float 7s ease-in-out infinite reverse;
}

.fc-2 svg {
  fill: #60a5fa;
}

/* ========================
   FEATURES
======================== */
.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-large {
  grid-column: span 2;
}

.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
  cursor: default;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.3);
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feat-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.blue-bg {
  background: #dbeafe;
  color: #2563eb;
}

.green-bg {
  background: #dcfce7;
  color: #16a34a;
}

.purple-bg {
  background: #f3e8ff;
  color: #7c3aed;
}

.orange-bg {
  background: #ffedd5;
  color: #ea580c;
}

.indigo-bg {
  background: #e0e7ff;
  color: #4338ca;
}

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.feat-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* ========================
   HOW IT WORKS
======================== */
.how {
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
}

.how .section-tag {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.how .section-title {
  color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  position: relative;
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(79, 70, 229, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  right: -12px;
  top: 12px;
  font-size: 1.5rem;
  color: rgba(59, 130, 246, 0.4);
  z-index: 1;
}

/* ========================
   TECH
======================== */
.tech {
  background: var(--surface);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tech-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(59, 130, 246, 0.25);
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-icon svg {
  width: 20px;
  height: 20px;
}

.t-blue {
  background: #dbeafe;
  color: #2563eb;
}

.t-indigo {
  background: #e0e7ff;
  color: #4338ca;
}

.t-green {
  background: #dcfce7;
  color: #16a34a;
}

.t-orange {
  background: #ffedd5;
  color: #ea580c;
}

.t-purple {
  background: #f3e8ff;
  color: #7c3aed;
}

.tech-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.tech-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ========================
   PRICING
======================== */
/* ========================
   PRICING V2 (IMAGE MATCH)
======================== */
.pricing {
  position: relative;
  background: #f8fafc;
  background: radial-gradient(circle at 50% 50%, #ffffff, #f1f5f9);
  padding: 100px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing .section-title {
  color: var(--dark);
}

.pricing .section-sub {
  color: var(--muted);
}

.text-white { color: white !important; }
.fw-light { font-weight: 300; }
.italic { font-style: italic; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.price-card-v2 {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  min-height: 520px;
  position: relative;
}

.price-card-v2:hover {
  transform: translateY(-10px);
}

.price-header-v2 {
  text-align: center;
  margin-bottom: 30px;
}

.price-header-v2 h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.plan-tag {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.tag-gratis {
  background: #22c55e;
  color: white;
}

.plan-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.4;
}

.price-main {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
}

.promo-box {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}

.promo-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d97706;
  margin-bottom: 4px;
}

.promo-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d97706;
}

.price-features-v2 {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.price-features-v2 li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

.price-features-v2 li svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-starter {
  background: #22c55e;
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-business {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-enterprise {
  background: transparent;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.btn-starter:hover {
  background: #16a34a;
}

.btn-business:hover {
  background: #1d4ed8;
}

.btn-enterprise:hover {
  background: #f8fafc;
}

/* Business Card Specifics */
.card-business {
  padding-top: 20px; /* Space for the top border color */
  overflow: hidden;
}

.top-border-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #fbbf24;
}

.star-icon {
  color: #fbbf24;
  margin-right: 5px;
}

/* Software Integrations */
.software-integrations {
  margin-top: 80px;
  text-align: center;
  position: relative;
  z-index: 1;
  color: white;
}

/* ==========================================================================
   INTEGRATIONS SECTION - ADVANCED
   ========================================================================== */
/* ==========================================================================
   INTEGRATIONS SECTION - MINIMAL HUB
   ========================================================================== */
.integrations-section {
  padding: 120px 0;
  background-color: #0b1120;
  background: radial-gradient(circle at 50% 50%, #111a30, #0b1120);
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
}

.integrations-title {
  color: white !important;
}

.integrations-subtitle {
  color: rgba(255, 255, 255, 0.7) !important;
}

.hub-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 450px;
  margin: 0 auto;
}

/* Restored Header Styles */
.integrations-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.integrations-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.integrations-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* Curved Connection Lines */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  fill: none; /* Crucial for paths */
}

.curve-path {
  stroke: #3b82f6;
  stroke-width: 2.2;
  stroke-dasharray: 8 8;
  opacity: 0.7;
  fill: none;
  animation: move-dash 30s linear infinite;
}

@keyframes move-dash {
  to { stroke-dashoffset: -1000; }
}

/* Hub Center Node */
.hub-main-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--gradient-blue);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.4);
}

.hub-logo-inner {
  color: white;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -1px;
}

.hub-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--azure);
  opacity: 0;
  animation: hub-pulse 3s infinite;
}

@keyframes hub-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Satellites */
.satellite {
  position: absolute;
  width: 120px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  backdrop-filter: blur(10px);
  z-index: 5;
  transition: all 0.3s ease;
}

.satellite img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.6;
}

.satellite:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--azure);
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.satellite:hover img {
  filter: none;
  opacity: 1;
}

/* Positions for 800x400 SVG coords relative to 50% 50% hub */
/* (x-400)/800 + 50% = left, (y-200)/400 + 50% = top */
.l-siigo { top: calc(21.25% - 35px); left: calc(20% - 60px); }
.l-worldoffice { top: calc(78.75% - 35px); left: calc(20% - 60px); }
.l-alegra { top: calc(16.25% - 35px); left: calc(50% - 60px); }
.l-mekano { top: calc(21.25% - 35px); left: calc(80% - 60px); }
.l-helisa { top: calc(78.75% - 35px); left: calc(80% - 60px); }

@media (max-width: 992px) {
  .hub-wrapper { height: 600px; transform: scale(0.85); }
}

@media (max-width: 768px) {
  .integrations-section { min-height: auto; padding: 60px 0; }
  .hub-wrapper { height: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; transform: none; }
  .connection-lines { display: none; }
  .satellite { position: static; width: 160px; height: 80px; }
  .hub-main-node { order: -1; position: static; transform: none; margin-bottom: 20px; }
}

/* Text Gradient Utility (if not defined) */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .hub-center { display: none; }
}

@media (max-width: 768px) {
  .integrations-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* Pricing Footer */
.pricing-footer {
  margin-top: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.web-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.web-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ========================
   CTA
======================== */
.cta-section {
  position: relative;
  background: linear-gradient(180deg, #1a1c4a 0%, #0f172a 100%);
  overflow: hidden;
  padding: 120px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.glow-cta {
  width: 800px;
  height: 800px;
  background: rgba(79, 70, 229, 0.12);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 10s ease-in-out infinite;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 40px;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.cta-form input {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.9rem;
  color: white;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.cta-form input::placeholder {
  color: #475569;
}

.cta-form input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.07);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.cta-form button {
  grid-column: span 2;
  padding: 15px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
}

.cta-privacy {
  font-size: 0.78rem;
  color: #334155;
}

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--dark);
  padding: 60px 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #94a3b8;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #334155;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-large {
    grid-column: span 2;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .step-arrow {
    display: none;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .price-card-popular {
    transform: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feat-large {
    grid-column: span 1;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .cta-form button {
    grid-column: span 1;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-container {
    padding: 72px 20px;
  }
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   WHATSAPP FLOATING BTN
======================== */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: wa-entry 0.6s 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wa-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wa-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
  background: #20c45a;
}

/* Pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  background: rgba(37, 211, 102, 0.25);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes wa-entry {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Colapsar a solo ícono en móvil */
@media (max-width: 480px) {
  .wa-btn span {
    display: none;
  }

  .wa-btn {
    padding: 16px;
    border-radius: 50%;
  }
}