/* Ventio marketing site styles - Enhanced Version */
:root {
  /* Nueva identidad cromática más profesional (indigo + violet) */
  --brand: #4f46e5;
  /* Indigo 600 */
  --brand-2: #7c3aed;
  /* Violet 600 */
  --accent: #10b981;
  /* Emerald 500 */
  --brand-ink: #3730a3;
  /* Indigo 800 */
  --ink: #0f172a;
  /* Slate 900 */
  --muted: #64748b;
  /* Slate 500 */
  --bg: #f6f7fb;
  /* suelto y luminoso */
  --card: #ffffff;
  --ring: rgba(79, 70, 229, .18);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px
}

/* Header con efecto glassmorphism mejorado */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(238, 242, 247, .8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .02)
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center
}

/* Botones con efectos mejorados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .3), transparent);
  opacity: 0;
  transition: opacity .25s
}

.btn:hover::before {
  opacity: 1
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .25)
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, .35)
}

.btn.ghost {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.btn.ghost:hover {
  box-shadow: 0 8px 20px rgba(2, 6, 23, .08);
  transform: translateY(-1px)
}

.btn[disabled] {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  filter: saturate(.8)
}

.btn.loading {
  pointer-events: none
}

.btn.loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  margin-left: 8px;
  animation: spin .7s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* Hero con animaciones de entrada */
.hero {
  position: relative;
  padding: 96px 0 64px;
  background: linear-gradient(180deg, #fafaff 0%, #ffffff 60%);
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 70%;
  background: radial-gradient(50% 50% at 20% 10%, rgba(79, 70, 229, .15) 0%, rgba(79, 70, 229, 0) 60%), radial-gradient(45% 45% at 90% 0%, rgba(124, 58, 237, .12) 0%, rgba(124, 58, 237, 0) 60%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-20px)
  }
}

.hero .grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center
}

.kicker {
  color: var(--brand-ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  animation: fadeInUp .6s ease-out
}

.h1 {
  font-size: 54px;
  line-height: 1.05;
  margin: 10px 0 14px;
  letter-spacing: -.01em;
  animation: fadeInUp .6s ease-out .1s both
}

.p {
  font-size: 18px;
  color: #334155;
  max-width: 52ch;
  animation: fadeInUp .6s ease-out .2s both
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Badges con efecto shimmer */
.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  animation: fadeInUp .6s ease-out .3s both
}

.badge {
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  color: #3730a3;
  border: 1px solid #c7d2fe;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  overflow: hidden
}

.badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite
}

@keyframes shimmer {
  to {
    transform: translateX(100%)
  }
}

.hero .cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  animation: fadeInUp .6s ease-out .4s both
}

/* Secciones con scroll reveal */
.section {
  padding: 72px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease-out, transform .8s ease-out
}

.section.visible {
  opacity: 1;
  transform: translateY(0)
}

/* Cards con efectos 3D sutiles */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(2, 6, 23, .05);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .05), rgba(124, 58, 237, .05));
  opacity: 0;
  transition: opacity .3s
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(2, 6, 23, .12);
  border-color: rgba(79, 70, 229, .2)
}

.card:hover::before {
  opacity: 1
}

.card h3 {
  margin: 8px 0;
  font-size: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.card p {
  color: #374151;
  margin: 10px 0 0;
  line-height: 1.6
}

/* Pricing con destacado mejorado */
.pricing {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)
}

.pricing .plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto
}

.plan {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, .1)
}

.plan.recommended {
  border: 2px solid var(--brand);
  box-shadow: 0 20px 60px rgba(79, 70, 229, .2);
  transform: scale(1.05)
}

.plan.recommended::after {
  content: "⭐ Recomendado";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(79, 70, 229, .3)
}

.price {
  font-size: 48px;
  font-weight: 800;
  margin: 12px 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.features {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  list-style: none;
  padding: 0
}

.features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5
}

.features .ok {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0
}

/* Footer mejorado */
.footer {
  padding: 40px 0;
  border-top: 1px solid #eef2f7;
  color: #64748b;
  font-size: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fafc)
}

.footer .grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap
}

.footer a {
  transition: color .2s
}

.footer a:hover {
  color: var(--brand)
}

/* Marketing banner con animación */
.marketing-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #0ea5e9 0%, #22c55e 55%, #16a34a 100%);
  color: #fff;
  border-radius: 18px;
  padding: 24px 30px;
  margin: 18px 0;
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.3);
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden
}

.marketing-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  transform: translateX(-100%);
  animation: shimmer 4s infinite 1s
}

.marketing-banner .brand {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform .3s
}

.marketing-banner .brand:hover {
  transform: scale(1.05) rotate(-2deg)
}

.marketing-banner .center {
  flex: 1;
  text-align: center;
  min-width: 220px
}

.marketing-banner .center h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

.marketing-banner .right {
  text-align: right;
  min-width: 220px
}

.marketing-banner .right .title {
  font-weight: 800;
  font-size: 22px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2)
}

.marketing-banner .right .subtitle {
  opacity: .95;
  font-size: 14px
}

/* Forms */
.form {
  max-width: 720px;
  margin: 0 auto
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink)
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  outline: none;
  transition: all .2s;
  font-family: inherit;
  font-size: 15px
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring)
}

.field textarea {
  min-height: 140px;
  resize: vertical
}

.alert {
  display: none;
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  animation: slideDown .3s ease-out
}

.alert.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Trust logos con pulse */
.trust {
  padding: 32px 0 0
}

.trust .row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  opacity: .7
}

.trust .logo {
  height: 32px;
  width: 130px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  border: 1px solid #e2e8f0;
  animation: pulse 3s ease-in-out infinite
}

.trust .logo:nth-child(2) {
  animation-delay: .2s
}

.trust .logo:nth-child(3) {
  animation-delay: .4s
}

.trust .logo:nth-child(4) {
  animation-delay: .6s
}

.trust .logo:nth-child(5) {
  animation-delay: .8s
}

@keyframes pulse {

  0%,
  100% {
    opacity: .7
  }

  50% {
    opacity: .9
  }
}

/* Testimonios mejorados */
.testimonials {
  padding: 72px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%)
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.quote {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
  transition: all .3s;
  position: relative;
  font-style: italic;
  color: #334155;
  line-height: 1.7
}

.quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 60px;
  color: var(--brand);
  opacity: .15;
  font-family: Georgia, serif
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, .1);
  border-color: rgba(79, 70, 229, .3)
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: #334155;
  font-size: 14px;
  font-style: normal;
  font-weight: 600
}

.avatar {
  height: 40px;
  width: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 12px rgba(79, 70, 229, .3)
}

/* Compliance strip */
.compliance {
  padding: 20px 0;
  color: #475569;
  background: linear-gradient(90deg, rgba(79, 70, 229, .03), rgba(124, 58, 237, .03))
}

.compliance .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #c7d2fe;
  background: #eef2ff;
  color: #3730a3;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  transition: all .2s
}

.chip:hover {
  background: #e0e7ff;
  transform: scale(1.05)
}

/* Screenshots carousel mejorado */
.screenshots {
  padding: 72px 0
}

.screenshots h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 48px rgba(2, 6, 23, .1)
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1)
}

.carousel-slide {
  min-width: 100%;
  user-select: none
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto
}

.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none
}

.carousel-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: all .2s
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, .5);
  transform: scale(1.1)
}

.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all .2s
}

.carousel-dot:hover {
  background: #94a3b8
}

.carousel-dot[aria-current="true"],
.carousel-dot.active {
  background: var(--brand);
  width: 28px
}

/* Responsive mejorado */
@media (max-width: 920px) {
  .hero {
    padding: 64px 0 40px
  }

  .hero .grid {
    grid-template-columns: 1fr
  }

  .h1 {
    font-size: 42px
  }

  .cards {
    grid-template-columns: 1fr 1fr
  }

  .pricing .plans {
    grid-template-columns: 1fr
  }

  .quotes {
    grid-template-columns: 1fr
  }

  .plan.recommended {
    transform: scale(1)
  }
}

@media (max-width: 600px) {
  .h1 {
    font-size: 32px
  }

  .cards {
    grid-template-columns: 1fr
  }

  .quotes {
    grid-template-columns: 1fr
  }

  .marketing-banner {
    flex-direction: column;
    text-align: center
  }

  .marketing-banner .right {
    text-align: center
  }

  .pricing .plans {
    gap: 16px
  }
}