
:root {
  --bg: #0f0518;
  --bg2: #1a0b2e;
  --bg3: #2d1b4e;
  --accent: #8B5CF6;
  --accent2: #F9B600;
  --accent3: #30C070;
  --white: #F0F4FF;
  --muted: #9CA3AF;
  --border: rgba(255,255,255,0.07);
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 { color: var(--white) !important; }

html { scroll-behavior: smooth; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 120px 48px 80px;
  position: relative; overflow: hidden;
  background: var(--bg);
}

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

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow1 {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.hero-glow2 {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,182,0,0.1) 0%, transparent 70%);
  bottom: -50px; left: 10%;
  animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-30px, 30px); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(20px,-20px); }
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
  display: block !important; /* override style.css grid */
  width: 100% !important;
  margin: 0 !important;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 13px; color: var(--accent);
  font-weight: 500; margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}

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

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(139,92,246,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(139,92,246,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--white);
  animation: fadeUp .6s .1s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 18px; color: var(--muted);
  font-weight: 300; line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp .6s .2s ease both;
}

.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform .2s, opacity .2s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }

.btn-locked {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: auto !important;
  position: relative;
}

.btn-locked:hover::after, .btn-locked:active::after {
  content: attr(title);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b; /* Amber */
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid #fbbf24;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  z-index: 1000;
}


.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 400;
  padding: 14px 24px; border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: var(--card); color: #fff; }

.hero-stats {
  display: flex; gap: 40px; justify-content: space-between; align-items: flex-start;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border);
  animation: fadeUp .6s .4s ease both;
}
@media (min-width: 1025px) {
  .mobile-stats, .mobile-action { display: none !important; }
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--white); line-height: 1;
  margin-bottom: 4px;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 400; }

.hero-visual {
  position: relative;
  width: 50%; z-index: 1;
  animation: fadeLeft .8s .4s ease both;
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.dashboard-mock {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  position: relative;
}

.dashboard-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── SECTIONS COMMONS ── */
.custom-section { padding: 100px 48px; background: var(--bg); color: var(--white); }

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--white);
}

.section-sub {
  font-size: 18px; color: var(--muted);
  font-weight: 300; max-width: 560px; line-height: 1.7;
  margin-bottom: 56px;
}

/* ── VERTICALES ── */
.verticals { background: var(--bg2); }

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--border);
}

.vertical-card {
  background: var(--bg);
  padding: 44px 40px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  overflow: hidden;
}
.vertical-card:hover { background: var(--bg3); }

.vc-number {
  font-family: var(--font-display);
  font-size: 80px; font-weight: 800;
  color: rgba(255,255,255,0.04);
  position: absolute; top: 16px; right: 24px;
  line-height: 1; user-select: none;
  pointer-events: none;
}

.vc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.vc-icon-1 { background: rgba(139,92,246,0.1); color: var(--accent); }
.vc-icon-2 { background: rgba(249,182,0,0.1); color: var(--accent2); }
.vc-icon-3 { background: rgba(48,192,112,0.1); color: var(--accent3); }
.vc-icon-4 { background: rgba(250,200,0,0.1); color: #FAC800; }

.vc-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.vc-desc { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }

.vc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-tag {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.vc-accent-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.vertical-card:hover .vc-accent-bar { transform: scaleX(1); }
.bar-1 { background: var(--accent); }
.bar-2 { background: var(--accent2); }
.bar-3 { background: var(--accent3); }
.bar-4 { background: #FAC800; }

/* ── PROBLEMA ── */
.problems { background: var(--bg); }

.problems-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}

.problem-list { display: flex; flex-direction: column; gap: 4px; }

.problem-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left .2s;
}
.problem-item:hover { padding-left: 8px; }

.pi-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,107,53,0.1); color: var(--accent3);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-top: 2px;
}

.pi-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 4px; color: var(--white);
}
.pi-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

.solution-visual {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: sticky; top: 100px;
}

.sv-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: 20px;
}

.sol-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.sol-item:last-child { border-bottom: none; }

.sol-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(139,92,246,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 12px; color: var(--accent);
}

.sol-text { font-size: 14px; line-height: 1.5; color: var(--white); }
.sol-text strong { color: var(--white); display: block; font-size: 14px; }
.sol-text span { color: var(--muted); font-size: 13px; }

/* ── FEATURES ── */
.features-section { background: var(--bg2); padding: 100px 48px; }

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: background .2s, border-color .2s, transform .2s;
  cursor: default;
}
.feature-card:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.fc-icon {
  font-size: 28px; margin-bottom: 16px; display: block;
}

.fc-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.01em; color: var(--white);
}
.fc-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── PROCESS ── */
.process { background: var(--bg); padding: 100px 48px; }

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 14%;  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3), #FAC800);
  opacity: 0.3;
}

.step-item { padding: 0 20px; text-align: center; }

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; color: var(--white);
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  transition: border-color .2s, background .2s;
}
.step-item:hover .step-num { border-color: var(--accent); background: rgba(139,92,246,0.08); }

.step-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px; color: var(--white);
}
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg2); padding: 100px 48px; }

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

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.testi-stars { font-size: 14px; margin-bottom: 16px; color: #FAC800; }

.testi-quote {
  font-size: 15px; line-height: 1.7;
  color: rgba(240,244,255,0.85);
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 300;
}

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  flex-shrink: 0; color: #fff;
}
.av1 { background: rgba(139,92,246,0.15); color: var(--accent); }
.av2 { background: rgba(249,182,0,0.15); color: var(--accent2); }
.av3 { background: rgba(48,192,112,0.15); color: var(--accent3); }

.testi-name { font-size: 14px; font-weight: 500; color: var(--white); }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── MARCA BLANCA ── */
.marca-blanca-section {
  background: var(--bg2);
  padding: 100px 48px;
}
.marca-blanca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── CTA FINAL ── */
.cta-section {
  background: var(--bg);
  text-align: center;
  padding: 120px 48px;
  position: relative; overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  position: relative; z-index: 1; color: var(--white);
}

.cta-sub {
  font-size: 18px; color: var(--muted);
  margin-bottom: 40px; font-weight: 300;
  position: relative; z-index: 1;
}

.cta-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  position: relative; z-index: 1;
}

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: 10px;
  border: 1px solid rgba(48,192,112,0.3);
  cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-whatsapp:hover {
  background: rgba(48,192,112,0.08);
  border-color: rgba(48,192,112,0.5);
  color: var(--white);
}

.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .desktop-stats, .desktop-action { display: none !important; }
  .mobile-stats { display: flex; width: 100%; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--border); }
  .mobile-action { display: flex; justify-content: center; width: 100%; margin: 12px 0 0 0; }
  
  .hero { padding: 72px 24px 32px; flex-direction: column; align-items: flex-start; }
  .hero-content { display: contents; }
  .hero-badge { order: 1; margin-bottom: 12px; }
  .hero-title { order: 2; font-size: 36px; margin-bottom: 16px; width: 100%; }
  .hero-visual { order: 3; width: 100%; margin: 0 0 24px 0; }
  .hero-sub { order: 4; font-size: 16px; margin-bottom: 24px; width: 100%; }
  .hero-actions { order: 5; flex-wrap: wrap; width: 100%; margin-bottom: 24px; }
  .hero-stats { order: 6; flex-wrap: wrap; width: 100%; }
  .custom-section { padding: 72px 28px; }
  .marca-blanca-section { padding: 72px 28px; }
  .verticals-grid { grid-template-columns: 1fr; }
  .problems-split { grid-template-columns: 1fr; gap: 40px; }
  .marca-blanca-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-title { font-size: 38px; }
}

