/* AISTA landing, premium layer: it uses the EXPERT landing's layer (/expert/pornire-premium.css, same .np parts)
   and adds here what only AISTA has: its gold app windows, the Automate cards and the road from statistics to the robot. */

/* the hero title: "Statistici și Probabilități" in bold burgundy (Paul's choice), no gold shimmer here */
.np h1.h1-aista em { font-weight: 700 !important; color: #C94B58; background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #C94B58; animation: none; }

/* the Optimizer and Walk-forward examples as app windows in AISTA's gold; a light scans the optimizer map */
.np .np-fa { display: flex; flex-direction: column; margin: 0; }
.np .np-fa::before { background: conic-gradient(from var(--npA), rgba(224,190,115,.08), rgba(243,217,160,.95), rgba(184,138,66,.75), rgba(224,190,115,.35), rgba(224,190,115,.08) 75%) !important; }
.np .np-fa .ds { flex: 1; padding: 18px 22px 16px !important; }
.np .np-fa .cod-cap { margin-bottom: 14px; }
.np .np-fa .harta { position: relative; overflow: hidden; border-radius: 8px; }
.np .np-fa .harta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -35%; width: 35%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(243,217,160,.22), transparent); animation: npScan 4.8s ease-in-out infinite; }
.np .np-fa .harta i.v4 { animation: npBest 2.2s ease-in-out infinite; }
@keyframes npScan { 0% { left: -35%; } 60%, 100% { left: 110%; } }
@keyframes npBest { 0%, 100% { box-shadow: 0 0 8px rgba(46,204,113,.45); } 50% { box-shadow: 0 0 22px rgba(46,204,113,.95), 0 0 0 1px rgba(110,231,170,.6); } }
.np .rand.inv { align-items: center; }
.np .np-fa .ds { display: flex; flex-direction: column; }
/* the Optimizer window a little smaller, same proportions */
.np #verificari .np-fa { max-width: 340px; width: 100%; justify-self: center; align-self: center; }
.np #verificari .np-fa .leg { display: none; }
.np #verificari .np-fa .cod-cap { padding-bottom: 8px; margin-bottom: 10px; }
.np #verificari .np-fa .harta-det { flex-wrap: nowrap; white-space: nowrap; gap: 8px; margin-top: 10px; padding: 7px 11px; font-size: 12px; }
.np #verificari .np-fa .harta-det em { display: none; }
.np #verificari .np-fa .harta-det span:last-child { margin-left: auto; }
/* the map: (almost) square, clickable versions; the chosen one with a gold ring, the best one dark green and glowing */
.np .np-fa #harta { gap: 4px; }
.np .np-fa #harta i { aspect-ratio: 1.05 !important; border-radius: 5px; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; outline: none; }
.np .np-fa #harta i:hover, .np .np-fa #harta i:focus-visible { transform: scale(1.18); position: relative; z-index: 2; filter: brightness(1.25); box-shadow: 0 6px 16px rgba(0,0,0,.6); }
.np .np-fa #harta i.on { box-shadow: 0 0 0 2px #0B0B0C, 0 0 0 4px #E0BE73 !important; position: relative; z-index: 2; }
.np .np-fa #harta i.v4 { background: radial-gradient(circle at 40% 35%, #1FA866, #0B6B3F 70%) !important; }
.np .np-fa .leg span:last-child i { background: #0B6B3F !important; box-shadow: 0 0 8px rgba(46,204,113,.7); }
.np .np-fa .harta-det { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); font-size: 13px; color: #D2CCC2; }
.np .np-fa .harta-det b { color: #F2EEE6; }
.np .np-fa .harta-det span.b { color: #34D399; font-weight: 700; } .np .np-fa .harta-det span.m { color: #E0BE73; font-weight: 700; } .np .np-fa .harta-det span.r { color: #F87171; font-weight: 700; }
.np .np-fa .harta-det em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A847A; }
.np .np-fa .wf { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.np .np-fa .wf { gap: 7px; }
.np .np-fa .wfr > div { height: 21px; }
.np .np-fa .leg { margin-top: 10px; }
.np .np-fa .nota { margin-top: 6px; }
.np .np-fa .cod-cap { padding-bottom: 10px; margin-bottom: 12px; }
.np .np-fa .ds { padding: 14px 20px 12px !important; }
.np .np-fa .wf .out.bun { background: linear-gradient(90deg, rgba(52,211,153,.55), rgba(52,211,153,.85)); }

/* AISTA Automate: glass cards, the best one with the turning gold border */
.np .carduri-a .ca { position: relative; background: linear-gradient(180deg, #1b1a1c, #141315); border-color: rgba(255,255,255,.08); transition: transform .3s, box-shadow .3s, border-color .3s; }
.np .carduri-a .ca:hover { transform: translateY(-4px); border-color: rgba(224,190,115,.4); box-shadow: 0 26px 50px -26px rgba(0,0,0,.85), 0 0 36px -16px rgba(224,190,115,.35); }
.np .carduri-a .ca.top { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 50px -20px rgba(224,190,115,.35); }
.np .carduri-a .ca.top::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--npA), rgba(224,190,115,.08), rgba(243,217,160,.95), rgba(184,138,66,.75), rgba(224,190,115,.35), rgba(224,190,115,.08) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: npRot 9s linear infinite; }
.np .carduri-a .ca-cap b { color: #F3D9A0; }

/* from statistics to the robot: three steps, AISTA (gold) -> one click -> SITIS EXPERT (ruby), with flowing arrows */
.np .np-drum { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: stretch; margin-top: 46px; }
.np .np-drum .dp { position: relative; overflow: hidden; border-radius: 18px; padding: 26px 24px 24px; border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(120% 120% at 0% 0%, rgba(224,190,115,.06), transparent 55%), linear-gradient(180deg, #1b1a1c, #141315); transition: transform .3s, border-color .3s, box-shadow .3s; }
.np .np-drum .dp:hover { transform: translateY(-4px); border-color: rgba(224,190,115,.4); box-shadow: 0 26px 50px -26px rgba(0,0,0,.85), 0 0 36px -16px rgba(224,190,115,.35); }
.np .np-drum .dp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #E0BE73, #F3D9A0, #E0BE73, transparent); background-size: 200% 100%; animation: npFlux 6s linear infinite; }
.np .np-drum .dp.rubin::before { background: linear-gradient(90deg, transparent, #C9566A, #E8A0A6, #C9566A, transparent); background-size: 200% 100%; }
.np .np-drum .dp-nr { position: absolute; top: 18px; right: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #F3D9A0;
  border: 1px solid rgba(224,190,115,.55); background: radial-gradient(circle at 35% 30%, #2a2418, #141210); box-shadow: 0 0 16px rgba(224,190,115,.2); }
.np .np-drum .dp > b { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E0BE73; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(224,190,115,.4); background: rgba(224,190,115,.08); }
.np .np-drum .dp.rubin > b { color: #E8A0A6; border-color: rgba(166,52,61,.6); background: rgba(166,52,61,.14); }
.np .np-drum .dp h3 { margin: 16px 0 8px; font-size: 19px; }
.np .np-drum .dp p { color: var(--w-2); font-size: 14.5px; line-height: 1.6; }
.np .np-drum .dp-sag { position: relative; display: flex; align-items: center; justify-content: center; }
.np .np-drum .dp-sag i { position: relative; width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(224,190,115,.15), #E0BE73, rgba(201,86,106,.9)); background-size: 200% 100%; animation: npFlux 2.4s linear infinite; }
.np .np-drum .dp-sag i::after { content: ""; position: absolute; right: -2px; top: -5px; width: 10px; height: 10px; border-top: 2px solid #E8A0A6; border-right: 2px solid #E8A0A6; transform: rotate(45deg); }

/* questions: each one a card, the open one with a gold edge */
.np .faq { display: flex; flex-direction: column; gap: 10px; }
.np .faq details { border: 1px solid rgba(255,255,255,.08) !important; border-radius: 14px; padding: 0 24px; background: linear-gradient(180deg, #1a191b, #141315); transition: border-color .25s, box-shadow .25s; }
.np .faq details:hover { border-color: rgba(224,190,115,.35) !important; }
.np .faq details[open] { border-color: rgba(224,190,115,.5) !important; background: linear-gradient(180deg, rgba(224,190,115,.06), #141315 70%); box-shadow: 0 18px 40px -26px rgba(0,0,0,.9); }
.np .faq details summary { padding: 19px 0; }
.np .faq details summary::after { color: #E0BE73 !important; }
.np .faq details p { padding: 0 0 20px; }

@media (max-width: 900px) {
  .np .np-drum { grid-template-columns: 1fr; }
  .np .np-drum .dp-sag { height: 44px; }
  .np .np-drum .dp-sag i { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .np .np-fa .harta::after, .np .np-fa .harta i.v4, .np .np-drum .dp::before, .np .np-drum .dp-sag i, .np .carduri-a .ca.top::before { animation: none !important; } }
