
/* Academy Landing — Marketing Digital con IA
   Modern black/blue aesthetic with subtle motion
*/
:root{
  --aml-bg:#070A12;
  --aml-bg2:#0B1021;
  --aml-card: rgba(255,255,255,.06);
  --aml-border: rgba(255,255,255,.10);
  --aml-text: rgba(255,255,255,.92);
  --aml-muted: rgba(255,255,255,.70);
  --aml-blue: #2D6BFF;
  --aml-blue2:#7AA7FF;
  --aml-cyan:#69E3FF;
  --aml-shadow: 0 20px 60px rgba(0,0,0,.55);
  --aml-radius: 18px;
}

.aml{
  position:relative;
  color:var(--aml-text);
  background: radial-gradient(1200px 800px at 20% 0%, rgba(45,107,255,.25), transparent 55%),
              radial-gradient(1000px 700px at 80% 30%, rgba(105,227,255,.15), transparent 60%),
              linear-gradient(180deg, var(--aml-bg), var(--aml-bg2));
  overflow:hidden;
  padding: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.aml *{ box-sizing:border-box; }
.aml a{ color:inherit; text-decoration:none; }
.aml-container{
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 40px;
}

.aml-bg{ position:absolute; inset:0; pointer-events:none; }
.aml-grid{
  position:absolute; inset:-40px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 76px 76px;
  transform: perspective(900px) rotateX(55deg) translateY(-140px);
  opacity:.45;
  filter: blur(.0px);
}
.aml-glow{
  position:absolute;
  width: 760px; height: 760px;
  border-radius: 999px;
  filter: blur(40px);
  opacity:.60;
}
.aml-glow-a{ left:-220px; top:-320px; background: rgba(45,107,255,.35); }
.aml-glow-b{ right:-240px; top:120px; background: rgba(105,227,255,.18); }
.aml-noise{
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity:.25;
}

.aml-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.aml-topbar__inner{
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  height: 66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.aml-brand{ display:flex; align-items:center; gap:10px; }
.aml-brand__mark{
  width: 14px; height: 14px; border-radius: 6px;
  background: linear-gradient(135deg, var(--aml-blue), var(--aml-cyan));
  box-shadow: 0 0 0 4px rgba(45,107,255,.15);
}
.aml-brand__name{
  letter-spacing:.22em;
  font-weight: 700;
  font-size: 12px;
  opacity:.9;
}

.aml-actions{ display:flex; gap:10px; align-items:center; }

.aml-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: center;
}

.aml-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 700;
  letter-spacing:.22em;
  font-size: 12px;
  color: var(--aml-blue2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.aml-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 10px;
  text-transform: uppercase;
  text-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.aml-subtitle{
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-bottom: 12px;
}
.aml-tagline{
  margin: 0 0 20px;
  color: var(--aml-muted);
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.55;
}

.aml-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.aml-badge{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(255,255,255,.86);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

.aml-ctas{ display:flex; gap: 12px; flex-wrap: wrap; }

.aml-btn{
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--aml-text);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.aml-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
}
.aml-btn--lg{ padding: 14px 18px; font-size: 15px; border-radius: 16px; }
.aml-btn--full{ width:100%; }
.aml-btn--primary{
  border-color: rgba(45,107,255,.55);
  background: linear-gradient(135deg, rgba(45,107,255,.95), rgba(105,227,255,.55));
  box-shadow: 0 16px 55px rgba(45,107,255,.25);
}
.aml-btn--primary:hover{
  border-color: rgba(105,227,255,.70);
  box-shadow: 0 18px 65px rgba(45,107,255,.35);
}
.aml-btn--outline{
  background: transparent;
  border-color: rgba(122,167,255,.40);
}
.aml-btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.10);
  box-shadow: none;
}
.aml-btn__shine{
  position:absolute;
  inset:-2px;
  border-radius: 18px;
  background: radial-gradient(600px 180px at 0% 30%, rgba(255,255,255,.40), transparent 55%);
  opacity:.0;
  transition: opacity .2s ease;
  pointer-events:none;
}
.aml-btn--primary:hover .aml-btn__shine{ opacity:.25; }

.aml-trust{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 18px;
  margin-top: 18px;
  padding-top: 10px;
}
.aml-trust__item{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}
.aml-dot{
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--aml-cyan);
  box-shadow: 0 0 0 4px rgba(105,227,255,.12);
}

.aml-heroCard{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--aml-shadow);
  transform: translateZ(0);
}
.aml-heroCard__img{
  width:100%;
  height:auto;
  display:block;
  transform: scale(1.02);
}
.aml-heroCard__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.70));
}
.aml-heroCard__pill{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(45,107,255,.25);
  border: 1px solid rgba(122,167,255,.40);
}
.aml-heroCard__mini{
  margin-top: 10px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.5;
}

.aml-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}
.aml-card{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: var(--aml-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 20px;
}
.aml-card--learn{
  background: linear-gradient(180deg, rgba(45,107,255,.22), rgba(255,255,255,.04));
}
.aml-h2{
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}
.aml-h2--center{ text-align:center; margin-top: 44px; margin-bottom: 14px; }

.aml-list{
  margin: 0 0 16px;
  padding-left: 18px;
  color: rgba(255,255,255,.84);
}
.aml-list li{
  margin: 10px 0;
  line-height: 1.5;
}
.aml-card--value .aml-h2{ margin-bottom: 14px; }
.aml-valueGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.aml-valueItem{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius: 16px;
  padding: 14px;
}
.aml-valueItem__title{
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.aml-valueItem__desc{
  color: rgba(255,255,255,.76);
  font-size: 13.5px;
  line-height: 1.5;
}

.aml-banner{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  border: 1px solid rgba(122,167,255,.22);
  background: radial-gradient(700px 220px at 20% 20%, rgba(45,107,255,.25), transparent 55%),
              rgba(0,0,0,.18);
  border-radius: 18px;
  padding: 14px;
  margin-top: 14px;
}
.aml-banner__text{ font-weight: 800; color: rgba(255,255,255,.86); }

.aml-faq{ margin-top: 18px; }
.aml-accordion{ display:flex; flex-direction:column; gap: 10px; margin-top: 12px; }
.aml-accItem{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 10px 12px;
}
.aml-accQ{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  font-weight: 800;
}
.aml-accQ::-webkit-details-marker{ display:none; }
.aml-accIcon{
  width: 10px; height: 10px;
  border-right: 2px solid rgba(255,255,255,.65);
  border-bottom: 2px solid rgba(255,255,255,.65);
  transform: rotate(45deg);
  transition: transform .18s ease;
  margin-right: 6px;
}
details[open] .aml-accIcon{ transform: rotate(225deg); }
.aml-accA{
  color: rgba(255,255,255,.78);
  margin-top: 10px;
  line-height: 1.6;
  font-size: 14px;
}

.aml-footer{
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.aml-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.aml-footer__meta{
  color: rgba(255,255,255,.60);
  font-size: 13px;
  margin-top: 6px;
}
.aml-link{
  color: rgba(255,255,255,.82);
  font-weight: 700;
  border-bottom: 1px dashed rgba(122,167,255,.30);
}
.aml-sep{ opacity:.45; margin: 0 8px; }

.aml-reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.aml-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Chatbot */
.aml-chat{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}
.aml-chat__fab{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,10,18,.70);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  letter-spacing: .02em;
  display:flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.aml-chat__fabDot{
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--aml-cyan);
  box-shadow: 0 0 0 4px rgba(105,227,255,.14), 0 0 18px rgba(105,227,255,.35);
}

.aml-chat__panel{
  width: min(360px, calc(100vw - 36px));
  margin-bottom: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,10,18,.82);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
  overflow:hidden;
  backdrop-filter: blur(14px);
}
.aml-chat__header{
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.aml-chat__title{ display:flex; align-items:center; gap: 10px; }
.aml-chat__avatar{
  width: 36px; height: 36px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,107,255,.95), rgba(105,227,255,.60));
  box-shadow: 0 0 0 4px rgba(45,107,255,.12);
}
.aml-chat__name{ font-weight: 900; }
.aml-chat__status{ color: rgba(255,255,255,.65); font-size: 12px; margin-top: 2px; }
.aml-chat__close{
  border: none;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 22px;
  cursor: pointer;
  padding: 0 6px;
}
.aml-chat__body{
  padding: 12px;
  max-height: 320px;
  overflow: auto;
}
.aml-chat__msg{
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  margin-bottom: 10px;
  line-height: 1.45;
  font-size: 13.5px;
  color: rgba(255,255,255,.86);
}
.aml-chat__msg--user{
  margin-left: 44px;
  background: rgba(45,107,255,.12);
  border-color: rgba(122,167,255,.18);
}
.aml-chat__msg--bot{
  margin-right: 44px;
}
.aml-chat__quick{ display:flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.aml-chip{
  border: 1px solid rgba(122,167,255,.30);
  background: rgba(45,107,255,.10);
  color: rgba(255,255,255,.88);
  padding: 7px 9px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  cursor:pointer;
}
.aml-chat__form{
  display:flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.aml-chat__input{
  flex:1;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
  outline:none;
}
.aml-chat__send{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(45,107,255,.55);
  background: rgba(45,107,255,.18);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  cursor:pointer;
}
.aml-chat__cta{
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Responsive */
@media (max-width: 940px){
  .aml-hero{ grid-template-columns: 1fr; }
  .aml-hero__right{ order: -1; }
  .aml-container{ padding-top: 86px; }
}
@media (max-width: 860px){
  .aml-split{ grid-template-columns: 1fr; }
  .aml-valueGrid{ grid-template-columns: 1fr; }
}
