/*
 * CursosIA.ai · Rediseño exclusivo de la sección de planes
 * Conserva la tipografía, la paleta y el resto de la home.
 */
body.home .pricing-redesign{
  width:100%;
  max-width:none;
  padding:82px 0 90px;
  background:linear-gradient(180deg,#f5f8ff 0%,#fff 100%);
  border-top:1px solid #edf2ff;
}
body.home .pricing-redesign .pricing-intro{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:34px;
  margin-bottom:43px;
}
body.home .pricing-redesign .pricing-intro-copy{max-width:720px}
body.home .pricing-redesign .pricing-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#315df7;
  background:#eaf0ff;
  padding:8px 13px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.07em;
  font-weight:850;
  margin-bottom:15px;
}
body.home .pricing-redesign .pricing-kicker .icon{width:16px;height:16px}
body.home .pricing-redesign h2{
  font-size:clamp(29px,3.1vw,45px);
  font-weight:900;
  line-height:1.12;
  letter-spacing:-1.5px;
  color:#091944;
  margin:0 0 15px;
}
body.home .pricing-redesign h2 span{color:#3d45dd}
body.home .pricing-redesign .pricing-intro-copy>p{
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.6;
  color:#65718b;
  margin:0;
  max-width:560px;
}
body.home .pricing-redesign .pricing-control{
  display:flex;
  flex-direction:column;
  gap:9px;
  align-items:flex-end;
  flex-shrink:0;
}
body.home .pricing-redesign .pricing-control-label{font-weight:750;color:#65718b;font-size:12px}
body.home .pricing-redesign .billing{
  display:flex;
  align-items:center;
  gap:5px;
  padding:6px;
  border-radius:100px;
  background:#e8effa;
}
body.home .pricing-redesign .billing button{
  font-size:13px;
  font-weight:800;
  padding:11px 18px;
  min-height:42px;
  color:#61708b;
  border:0;
  border-radius:99px;
  transition:background .2s,color .2s;
}
body.home .pricing-redesign .billing button.active{
  background:#fff;
  color:#102251;
  box-shadow:0 3px 11px rgba(23,62,141,.10);
}
body.home .pricing-redesign .billing small{
  font-size:11px;
  white-space:nowrap;
  padding:7px 10px;
  color:#174e28;
  background:#b7f976;
  border-radius:999px;
  font-weight:900;
}
body.home .pricing-redesign .price-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
body.home .pricing-redesign .price-card,
body.home .pricing-redesign .price-card.popular{
  min-height:490px;
  padding:33px 31px 29px;
  border:1px solid #e6edf8;
  border-radius:24px;
  background:#fff;
  box-shadow:0 15px 42px rgba(29,60,111,.055);
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
body.home .pricing-redesign .price-card.popular{
  background:linear-gradient(157deg,#132964 0%,#122151 65%,#0a1a46 100%);
  border:2px solid #315df7;
  padding-top:65px;
  margin:-12px 0;
  box-shadow:0 25px 55px rgba(38,78,213,.23),0 0 0 5px rgba(49,93,247,.045);
}
body.home .pricing-redesign .popular-label{
  position:absolute;
  inset:0 0 auto;
  height:37px;
  padding:8px 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  letter-spacing:.10em;
  background:#315df7;
  color:#fff;
  font-weight:900;
  border-radius:0;
}
body.home .pricing-redesign .popular-label .icon{width:14px;height:14px}
body.home .pricing-redesign .plan-heading{min-height:160px}
body.home .pricing-redesign .plan-icon{
  display:grid;
  place-items:center;
  height:47px;
  width:47px;
  background:#eaf0ff;
  color:#315df7;
  border-radius:15px;
  margin-bottom:17px;
}
body.home .pricing-redesign .plan-icon .icon{width:23px;height:23px}
body.home .pricing-redesign .price-pro .plan-icon{background:rgba(183,249,118,.14);color:#b7f976}
body.home .pricing-redesign .price-business .plan-icon{background:#e4f9ec;color:#14ad6f}
body.home .pricing-redesign .plan-subtitle{
  color:#74819e;
  font-size:12px;
  font-weight:750;
}
body.home .pricing-redesign .plan-heading h3{
  font-size:27px;
  font-weight:900;
  color:#0b1d4d;
  margin:3px 0 9px;
  line-height:1.2;
  letter-spacing:-.6px;
}
body.home .pricing-redesign .plan-heading p{
  font-size:14px;
  line-height:1.55;
  color:#66738c;
  margin:0;
  max-width:330px;
}
body.home .pricing-redesign .plan-name-accent{font-size:16px;color:#b7f976;vertical-align:3px}
body.home .pricing-redesign .plan-price{
  min-height:82px;
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  margin:15px 0 6px;
}
body.home .pricing-redesign .plan-price .price-number{
  color:#0a1940;
  font-size:clamp(38px,3.5vw,51px);
  font-weight:900;
  line-height:1.15;
  letter-spacing:-1.8px;
}
body.home .pricing-redesign .plan-price>span{
  color:#75819a;
  font-size:13px;
  line-height:1.4;
  font-weight:550;
}
body.home .pricing-redesign .plan-price .plan-from{
  font-size:12px;
  font-weight:800;
  margin-right:1px;
  color:#315df7;
}
body.home .pricing-redesign .plan-rule{height:1px;background:#e9eef8;margin:1px 0 22px}
body.home .pricing-redesign .plan-list-heading{
  font-size:12px;
  color:#1d2f59;
  font-weight:850;
  margin:0 0 16px;
  line-height:1.4;
}
body.home .pricing-redesign .plan-features{
  list-style:none;
  padding:0;
  margin:0 0 25px;
  display:grid;
  align-content:start;
  gap:16px;
  flex:1;
}
body.home .pricing-redesign .plan-features li{
  padding-left:29px;
  position:relative;
  font-size:14px;
  color:#5b6883;
  line-height:1.4;
}
body.home .pricing-redesign .plan-features li::before{
  content:"✓";
  position:absolute;
  top:0;
  left:0;
  border-radius:100%;
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  font-size:12px;
  font-weight:900;
  background:#e5faee;
  color:#0aa960;
}
body.home .pricing-redesign .plan-cta,
body.home .pricing-redesign .price-card .btn{
  margin-top:auto;
  width:100%;
  min-height:51px;
  padding:13px 18px;
  border-radius:12px;
  font-size:14px;
  font-weight:850;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
body.home .pricing-redesign .price-basic .plan-cta,
body.home .pricing-redesign .price-business .plan-cta{
  background:#fff;
  border:1.5px solid #c6d7fa;
  color:#18387e;
}
body.home .pricing-redesign .price-pro .plan-cta{
  background:#b7f976;
  border:1px solid #b7f976;
  color:#102043;
  box-shadow:0 7px 20px rgba(183,249,118,.13);
}
body.home .pricing-redesign .price-card .btn .icon{width:17px;height:17px}
body.home .pricing-redesign .price-pro .plan-subtitle,
body.home .pricing-redesign .price-pro .plan-heading p{color:#bdcbea}
body.home .pricing-redesign .price-pro .plan-heading h3,
body.home .pricing-redesign .price-pro .price-number,
body.home .pricing-redesign .price-pro .plan-list-heading{color:#fff}
body.home .pricing-redesign .price-pro .plan-price>span{color:#c0cdef}
body.home .pricing-redesign .price-pro .plan-rule{background:rgba(255,255,255,.18)}
body.home .pricing-redesign .price-pro .plan-features li{color:#e1e8fc}
body.home .pricing-redesign .price-pro .plan-features li::before{background:rgba(183,249,118,.16);color:#b7f976}
body.home .pricing-redesign .pricing-disclaimer{
  margin:31px 0 0;
  color:#8190a9;
  font-size:12px;
  line-height:1.5;
  text-align:center;
}
/* El resto de la home conserva su diseño en modo noche. */
body.dark.home .pricing-redesign{background:linear-gradient(180deg,#142543,#101e38);border-color:#263959}
body.dark.home .pricing-redesign h2{color:#f6f8ff}
body.dark.home .pricing-redesign .pricing-intro-copy>p,
body.dark.home .pricing-redesign .pricing-control-label{color:#b6c4df}
body.dark.home .pricing-redesign .price-basic,
body.dark.home .pricing-redesign .price-business{background:#192a4a;border-color:#334a6b}
body.dark.home .pricing-redesign .price-basic .plan-heading h3,
body.dark.home .pricing-redesign .price-business .plan-heading h3,
body.dark.home .pricing-redesign .price-basic .price-number,
body.dark.home .pricing-redesign .price-business .price-number,
body.dark.home .pricing-redesign .price-basic .plan-list-heading,
body.dark.home .pricing-redesign .price-business .plan-list-heading{color:#fff}
body.dark.home .pricing-redesign .price-basic .plan-heading p,
body.dark.home .pricing-redesign .price-business .plan-heading p,
body.dark.home .pricing-redesign .price-basic .plan-features li,
body.dark.home .pricing-redesign .price-business .plan-features li{color:#c8d4eb}
body.dark.home .pricing-redesign .price-basic .plan-cta,
body.dark.home .pricing-redesign .price-business .plan-cta{background:#21385b;color:#fff;border-color:#4d6695}
body.dark.home .pricing-redesign .plan-rule{background:#3d4c67}

@media(max-width:1100px){
 body.home .pricing-redesign{padding:62px 0 72px}
 body.home .pricing-redesign .price-grid{gap:15px}
 body.home .pricing-redesign .price-card,
 body.home .pricing-redesign .price-card.popular{padding:23px 20px 22px;min-height:490px}
 body.home .pricing-redesign .price-card.popular{padding-top:57px}
 body.home .pricing-redesign .plan-heading{min-height:173px}
 body.home .pricing-redesign .plan-heading p{font-size:13px}
 body.home .pricing-redesign .plan-features li{font-size:12px;line-height:1.45}
 body.home .pricing-redesign .plan-features{gap:13px}
 body.home .pricing-redesign .price-card .btn{font-size:12px;min-height:46px;padding:11px}
 body.home .pricing-redesign .plan-price .price-number{font-size:38px}
 body.home .pricing-redesign .billing button{font-size:12px;padding:9px 12px;min-height:39px}
}
@media(max-width:830px){
 body.home .pricing-redesign .pricing-intro{align-items:flex-start;flex-direction:column;gap:22px;margin-bottom:37px}
 body.home .pricing-redesign .pricing-control{align-items:flex-start}
 body.home .pricing-redesign .price-grid{grid-template-columns:1fr;gap:22px;max-width:560px;margin:0 auto}
 body.home .pricing-redesign .price-card,
 body.home .pricing-redesign .price-card.popular{min-height:0;margin:0;padding:29px 26px 27px}
 body.home .pricing-redesign .price-card.popular{padding-top:64px;order:0}
 body.home .pricing-redesign .plan-heading{min-height:0}
 body.home .pricing-redesign .plan-price{min-height:0;margin:22px 0 18px}
 body.home .pricing-redesign .plan-rule{margin-bottom:19px}
 body.home .pricing-redesign .plan-features{gap:14px;margin-bottom:30px}
 body.home .pricing-redesign .plan-features li{font-size:14px}
 body.home .pricing-redesign .plan-price .price-number{font-size:43px}
 body.home .pricing-redesign .price-card .btn{font-size:14px;min-height:50px}
}
@media(max-width:480px){
 body.home .pricing-redesign{padding:49px 0 60px}
 body.home .pricing-redesign h2{font-size:31px;letter-spacing:-1px}
 body.home .pricing-redesign .pricing-intro{margin-bottom:29px}
 body.home .pricing-redesign .billing{max-width:100%;gap:3px;padding:4px}
 body.home .pricing-redesign .billing button{font-size:12px;padding:8px 13px}
 body.home .pricing-redesign .billing small{font-size:10px;padding:6px 8px}
 body.home .pricing-redesign .price-card,
 body.home .pricing-redesign .price-card.popular{padding:25px 21px}
 body.home .pricing-redesign .price-card.popular{padding-top:62px}
 body.home .pricing-redesign .plan-price .price-number{font-size:43px}
}
