:root{
  --bg:#0b1020;
  --bg-2:#10192f;
  --card:#111a31cc;
  --text:#eef2ff;
  --muted:#a6b0cf;
  --line:rgba(255,255,255,.08);
  --primary:#7c5cff;
  --primary-2:#22d3ee;
  --shadow:0 24px 80px rgba(0,0,0,.35);
  --radius:24px;
  --radius-sm:16px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124,92,255,.24), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(34,211,238,.12), transparent 25%),
    linear-gradient(180deg, var(--bg), #070a13 80%);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.page{width:100%}

.topbar,
.hero,
.section,
.cta{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  margin-top:18px;
  position:sticky;
  top:18px;
  z-index:50;

  background:rgba(10,14,28,.55);
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  transition:background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.topbar.is-scrolled{
  background:rgba(10,14,28,.78);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 14px 40px rgba(0,0,0,.28);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .topbar{
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
  }
}

.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.04em}
.brand__mark{
  width:14px;height:14px;border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  box-shadow:0 0 18px rgba(124,92,255,.55);
}
.brand__text{
    /* text-transform:lowercase */
    text-transform:inherit;
}

.nav{display:flex;gap:20px;color:var(--muted)}
.nav a:hover{color:var(--text)}

.hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:center;
  min-height:calc(100vh - 110px);
  padding:40px 0 60px;
}

.eyebrow{
  display:inline-flex;
  gap:8px;
  color:#b9c4ea;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:16px;
}

h1,h2,h3{line-height:1.02;margin:0}
h1{font-size:clamp(3rem, 6vw, 5.8rem);max-width:10ch;letter-spacing:-.06em}
h2{font-size:clamp(2rem, 4vw, 3.2rem);letter-spacing:-.05em}
h3{font-size:1.1rem;letter-spacing:-.03em}

.hero__lead,
.section__head p,
.card p,
.step p,
.cta p,
.faq__content{
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.7;
}

.hero__lead{max-width:58ch;margin:22px 0 0}

.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  font-weight:700;
  border:1px solid transparent;
  transition:.25s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn--primary{
  background:linear-gradient(135deg,var(--primary),#5b8cff);
  color:white;
  box-shadow:0 14px 34px rgba(124,92,255,.28);
}
.btn--secondary,.btn--ghost{
  background:rgba(255,255,255,.03);
  border-color:var(--line);
}
.btn--secondary:hover,.btn--ghost:hover{background:rgba(255,255,255,.06)}

.trust{
  display:flex;flex-wrap:wrap;gap:10px;
  margin-top:24px;color:#cbd5ff99;font-size:.92rem
}

.hero__card{
  display:flex;
  justify-content:center;
}

.glass-card{
  width:min(100%, 430px);
  padding:18px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.glass-card__header{display:flex;gap:8px;margin-bottom:22px}
.dot{width:10px;height:10px;border-radius:999px;opacity:.9}
.dot--green{background:#22c55e}.dot--yellow{background:#f59e0b}.dot--red{background:#ef4444}

.metric{
  display:flex;
  align-items:end;
  justify-content:space-between;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.metric:last-of-type{border-bottom:none}
.metric__label{color:var(--muted);font-size:.95rem}
.metric strong{font-size:1.7rem;letter-spacing:-.04em}

.mini-chart{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:10px;
  align-items:end;
  height:120px;
  margin-top:18px;
  padding-top:10px;
}
.mini-chart__bar{
  border-radius:16px 16px 6px 6px;
  background:linear-gradient(180deg, rgba(34,211,238,.95), rgba(124,92,255,.9));
  box-shadow:0 10px 20px rgba(0,0,0,.18);
}

.section{
  padding:32px 0 18px;
}
.section__head{
  max-width:720px;
  margin-bottom:24px;
}
.section__head p{margin-top:12px}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.card,.step,.faq,.cta{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 10px 40px rgba(0,0,0,.16);
}

.card,.step{padding:24px}
.section--alt{padding-top:50px}
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.step__num{
  display:inline-flex;
  width:46px;height:46px;
  border-radius:14px;
  align-items:center;justify-content:center;
  margin-bottom:16px;
  background:rgba(124,92,255,.14);
  color:#d9d0ff;
  font-weight:800;
}

.faq{padding:10px}
.faq__item{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:none;
  color:var(--text);
  border:none;
  padding:18px 14px;
  font:inherit;
  cursor:pointer;
}
.faq__content{
  padding:0 14px 18px;
  margin-top:-6px;
}

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:28px;
  margin:56px auto 32px;
  background:linear-gradient(135deg, rgba(124,92,255,.18), rgba(34,211,238,.08));
}

@media (max-width: 920px){
  .hero,.grid-3,.steps{grid-template-columns:1fr}
  .hero{
    min-height:auto;
    padding-top:24px;
  }
  h1{max-width:12ch}
  .nav{display:none}
  .cta{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 560px){
  .topbar{
    position:sticky;
    top:0;
    width:min(var(--max), calc(100% - 16px));
    margin-top:8px;
    padding:14px 16px;
    border-radius:24px;
  }
  .hero,.section,.cta{width:min(var(--max), calc(100% - 24px))}
  h1{font-size:clamp(2.5rem, 14vw, 4rem)}
  .btn{width:100%}
  .hero__actions{width:100%}

   .toggle-switch {
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
  }
  .toggle-btn {
    padding: 14px !important;
  }
  .pricing-section { margin-top: 0; }
  
}

#beneficios {
  scroll-margin-top: 120px;
}

#como-funciona,
#faq,
#contacto {
  scroll-margin-top: 100px;
}

.references {
  padding: 32px 0 24px;
  margin-top: 80px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

.references a {
  color: var(--primary);
  text-decoration: none;
}

.references a:hover {
  text-decoration: underline;
}

.references .container {
  max-width: 720px;
  margin: 0 auto;
}


/* pricing landing */
.pricing-hero { min-height: auto; padding: 60px 0; }
.pricing-toggle { margin: 40px 0; }
.toggle-switch {
  display: flex;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 4px;
  max-width: 280px;
  margin: 0 auto;
}
.toggle-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.toggle-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}
.savings { font-size: .85em; opacity: .9; }

.pricing-section { padding: 80px 0; }
.pricing-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: .25s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(124,92,255,.1), rgba(34,211,238,.05));
  box-shadow: 0 20px 60px rgba(124,92,255,.2);
}
.popular-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  top: -20px;
  left: 120px;
  position:relative;
}
.pricing-header { margin-bottom: 16px; }
.pricing-price {
  text-align: center;
  margin-bottom: 24px;
}
.price-dollar {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.price-period { color: var(--muted); font-size: 1.1rem; }
.conversations { 
  font-size: .95rem; 
  color: var(--primary); 
  font-weight: 600; 
  margin-top: 8px;
}
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.features li {
  padding: 8px 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.features li:last-child { border-bottom: none; }
.pricing-cta { width: 100%; }

@media (max-width: 920px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-dollar { font-size: 2.8rem; }
}
