/* =========================================================
   ENVY · Página Apps & IA  (/apps-ia/)
   Prefijo ax- para no chocar con el resto de la web.
   ========================================================= */
:root { --ax-night: #0d0e0b; --ax-panel: #17181a; --ax-panel-2: #1f2023; --ax-stroke: rgba(255,255,255,.08); --ax-soft: rgba(244,243,238,.62); }

/* ---------- utilidades ---------- */
.ax-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.ax-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(217,252,103,.18), 0 0 18px var(--lime); animation: ax-ping 2.2s ease-in-out infinite; }
@keyframes ax-ping { 50% { box-shadow: 0 0 0 7px rgba(217,252,103,.05), 0 0 26px var(--lime); } }
.ax-src { display: block; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.ax-src a { text-decoration: underline; }
.ax-dark .ax-src { color: rgba(244,243,238,.45); }

/* ---------- 1. HERO ---------- */
.ax-hero { position: relative; overflow: hidden; background: var(--ax-night); color: #F4F3EE; padding: 76px 0 96px; isolation: isolate; }
.ax-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .7; }
.ax-grid { position: absolute; inset: -2px; z-index: -3; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  animation: ax-grid 22s linear infinite; }
@keyframes ax-grid { to { background-position: 56px 56px, 56px 56px; } }
.ax-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.ax-glow.g1 { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(217,252,103,.18); animation: ax-float 14s ease-in-out infinite; }
.ax-glow.g2 { width: 380px; height: 380px; left: -140px; bottom: -160px; background: rgba(120,140,255,.12); animation: ax-float 18s ease-in-out infinite reverse; }
@keyframes ax-float { 50% { transform: translate(-40px, 40px) scale(1.1); } }

.ax-hero-in { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: 56px; align-items: center; }
.ax-hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 22px; color: #fff; }
.ax-rot { color: var(--lime); position: relative; white-space: nowrap; }
.ax-rot::after { content: ""; display: inline-block; width: .08em; height: .82em; background: var(--lime); margin-left: .06em; vertical-align: -.06em; animation: ax-caret 1s steps(1) infinite; }
@keyframes ax-caret { 50% { opacity: 0; } }
.ax-hero .lead { color: var(--ax-soft); font-size: 18px; max-width: 540px; }
.ax-hero .lead strong { color: #fff; }
.ax-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 32px 0 30px; }
.ax-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.22); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: .2s ease; }
.ax-btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.ax-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--ax-soft); }
.ax-trust span { display: inline-flex; align-items: center; gap: 7px; }
.ax-trust span::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(217,252,103,.14); color: var(--lime); font-size: 10px; font-weight: 800; }

/* entrada del hero */
.ax-in > * { opacity: 0; transform: translateY(24px); animation: ax-up .9s cubic-bezier(.2,.8,.2,1) forwards; }
.ax-in > *:nth-child(1) { animation-delay: .05s; } .ax-in > *:nth-child(2) { animation-delay: .15s; }
.ax-in > *:nth-child(3) { animation-delay: .3s; }  .ax-in > *:nth-child(4) { animation-delay: .45s; }
.ax-in > *:nth-child(5) { animation-delay: .6s; }
@keyframes ax-up { to { opacity: 1; transform: none; } }

/* ---------- Dashboard simulado ---------- */
.ax-stage { position: relative; perspective: 1400px; opacity: 0; animation: ax-up 1.1s cubic-bezier(.2,.8,.2,1) .35s forwards; }
.ax-dash { position: relative; background: var(--ax-panel); border: 1px solid var(--ax-stroke); border-radius: 20px; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(217,252,103,.06), inset 0 1px 0 rgba(255,255,255,.05);
  transform: rotateY(-11deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .25s ease-out; font-size: 12px; color: #e9e8e2; overflow: hidden; }
.ax-dash-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--ax-stroke); background: rgba(255,255,255,.02); }
.ax-dash-top i { width: 9px; height: 9px; border-radius: 50%; background: #3a3b3e; }
.ax-dash-top i:nth-child(1) { background: #ff6159; } .ax-dash-top i:nth-child(2) { background: #ffbd2e; } .ax-dash-top i:nth-child(3) { background: #28c941; }
.ax-dash-top b { margin-left: 10px; font-weight: 600; font-size: 11.5px; color: var(--ax-soft); letter-spacing: .02em; }
.ax-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--lime); }
.ax-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ax-blink 1.4s ease-in-out infinite; }
@keyframes ax-blink { 50% { opacity: .25; } }
.ax-dash-body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 14px; }
.ax-card { background: var(--ax-panel-2); border: 1px solid var(--ax-stroke); border-radius: 12px; padding: 11px 12px; position: relative; overflow: hidden; }
.ax-card small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,243,238,.5); font-weight: 600; }
.ax-kpi b { display: block; font-size: 19px; font-weight: 800; color: #fff; margin-top: 4px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ax-kpi em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--lime); }
.ax-kpi.flash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(217,252,103,.16), transparent); animation: ax-sweep .9s ease; }
@keyframes ax-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.ax-chart { grid-column: span 2; height: 128px; }
.ax-chart svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 92px; }
.ax-chart .ln { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(217,252,103,.55)); }
.ax-chart .ar { fill: url(#axArea); opacity: 0; transition: opacity .8s ease .9s; }
.ax-chart.draw .ln { animation: v-draw 1.6s cubic-bezier(.65,0,.35,1) forwards; }
.ax-chart.draw .ar { opacity: 1; }
.ax-chart .pt { fill: var(--lime); opacity: 0; transition: opacity .3s ease 1.5s; }
.ax-chart.draw .pt { opacity: 1; animation: ax-ping-dot 1.8s ease-in-out 1.6s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ax-ping-dot { 50% { transform: scale(1.8); } }
@keyframes v-draw { to { stroke-dashoffset: 0; } }
.ax-bars { display: flex; align-items: flex-end; gap: 5px; height: 72px; margin-top: 10px; }
.ax-bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(244,243,238,.18); height: 30%; transition: height .9s cubic-bezier(.3,1.2,.4,1), background .4s ease; }
.ax-bars span.hi { background: var(--lime); }
.ax-bars span.lo { background: #ff6b5e; }
.ax-agent { grid-column: span 3; min-height: 132px; }
.ax-agent-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.ax-agent-head .ax-orb { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 0deg, var(--lime), #8be0ff, #c8a6ff, var(--lime)); animation: ax-spin 4s linear infinite; box-shadow: 0 0 16px rgba(217,252,103,.45); }
@keyframes ax-spin { to { transform: rotate(360deg); } }
.ax-agent-head b { font-size: 12px; color: #fff; }
.ax-agent-head small { margin-left: auto; text-transform: none; letter-spacing: 0; }
.ax-msgs { display: flex; flex-direction: column; gap: 6px; min-height: 76px; }
.ax-msg { max-width: 88%; padding: 7px 10px; border-radius: 10px; font-size: 11.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: ax-up .45s ease forwards; }
.ax-msg.u { align-self: flex-end; background: #2b2c30; color: #e9e8e2; border-bottom-right-radius: 3px; }
.ax-msg.a { align-self: flex-start; background: rgba(217,252,103,.12); border: 1px solid rgba(217,252,103,.28); color: #f3ffd0; border-bottom-left-radius: 3px; }
.ax-msg.a b { color: var(--lime); }
.ax-typing { display: inline-flex; gap: 3px; }
.ax-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); animation: ax-dot 1s ease-in-out infinite; }
.ax-typing i:nth-child(2) { animation-delay: .15s; } .ax-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ax-dot { 40% { transform: translateY(-4px); opacity: .4; } }

.ax-toasts { position: absolute; right: -18px; bottom: -26px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; z-index: 3; }
.ax-toast { display: flex; align-items: center; gap: 9px; background: #fff; color: #161616; border-radius: 12px; padding: 9px 13px 9px 10px; font-size: 12px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.4); animation: ax-toast-in .5s cubic-bezier(.2,1.3,.4,1) forwards; }
.ax-toast.out { animation: ax-toast-out .4s ease forwards; }
.ax-toast i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--lime); font-style: normal; font-size: 13px; }
@keyframes ax-toast-in { from { opacity: 0; transform: translateX(30px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ax-toast-out { to { opacity: 0; transform: translateY(-10px) scale(.95); } }

/* ---------- 2. Banda marquee ---------- */
.ax-band { background: var(--lime); color: #161616; transform: rotate(-2deg) scale(1.03); margin: -26px 0 0; position: relative; z-index: 2; padding: 18px 0; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.ax-band-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.ax-band span { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ax-band span::after { content: ""; width: 22px; height: 22px; flex: 0 0 22px; background: #161616;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 350 350'%3E%3Cpath d='M280 0v182c0 15.46-12.53 28-27.99 28h-35.01c-3.87 0-7 3.13-7 7v35c0 15.46-12.54 28-28 28h-14c-15.46 0-28-12.54-28-28v-35c0-3.87-3.13-7-7-7h-35c-15.46 0-28-12.54-28-28V0H0v203c0 3.87 3.13 7 7 7h35c15.47 0 28 12.54 28 28v35c0 3.87 3.13 7 7 7h35c15.46 0 28 12.54 28 28v35c0 3.87 3.13 7 7 7h56c3.87 0 7-3.13 7-7v-35c0-15.46 12.54-28 28-28h35c3.87 0 7-3.13 7-7v-35c0-15.46 12.53-28 27.99-28h35.01c3.87 0 7-3.13 7-7V0h-70Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 350 350'%3E%3Cpath d='M280 0v182c0 15.46-12.53 28-27.99 28h-35.01c-3.87 0-7 3.13-7 7v35c0 15.46-12.54 28-28 28h-14c-15.46 0-28-12.54-28-28v-35c0-3.87-3.13-7-7-7h-35c-15.46 0-28-12.54-28-28V0H0v203c0 3.87 3.13 7 7 7h35c15.47 0 28 12.54 28 28v35c0 3.87 3.13 7 7 7h35c15.46 0 28 12.54 28 28v35c0 3.87 3.13 7 7 7h56c3.87 0 7-3.13 7-7v-35c0-15.46 12.54-28 28-28h35c3.87 0 7-3.13 7-7v-35c0-15.46 12.53-28 27.99-28h35.01c3.87 0 7-3.13 7-7V0h-70Z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- 3. Dolor ---------- */
.ax-pain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ax-pain article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease; }
.ax-pain article:hover { transform: translateY(-6px) rotate(-.6deg); border-color: #ff6b5e; }
.ax-pain article:hover .ax-ico { animation: ax-shake .5s ease; }
@keyframes ax-shake { 20%,60% { transform: rotate(-9deg); } 40%,80% { transform: rotate(9deg); } }
.ax-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #ffe9e6; color: #d6402f; margin-bottom: 16px; }
.ax-ico svg { width: 22px; height: 22px; }
.ax-pain h3 { font-size: 17px; margin-bottom: 8px; }
.ax-pain p { font-size: 14px; color: var(--muted); line-height: 1.6; }
[data-theme="dark"] .ax-ico { background: rgba(255,107,94,.14); color: #ff8a7f; }

.ax-opp { margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; background: var(--dark); color: #F4F3EE; border-radius: var(--radius-lg); padding: 44px 52px; position: relative; overflow: hidden; }
.ax-opp::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(217,252,103,.18), transparent 70%); }
.ax-ring { position: relative; width: 170px; height: 170px; }
.ax-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ax-ring circle { fill: none; stroke-width: 12; }
.ax-ring .bg { stroke: rgba(255,255,255,.1); }
.ax-ring .fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 2s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 8px rgba(217,252,103,.5)); }
.ax-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.ax-opp h3 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.2; color: #fff; }
.ax-opp h3 em { font-style: normal; color: var(--lime); }
.ax-opp p { color: rgba(244,243,238,.7); margin-top: 12px; font-size: 15px; max-width: 620px; }

/* ---------- 4. IA integrada ---------- */
.ax-dark { background: var(--ax-night); color: #F4F3EE; position: relative; overflow: hidden; }
.ax-dark .h2 { color: #fff; }
.ax-dark .lead { color: var(--ax-soft); }
.ax-dark .badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #F4F3EE; }
.ax-ai { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 60px; align-items: start; }
.ax-ai-sticky { position: sticky; top: 110px; }
.ax-ai-sticky .h2 { margin: 18px 0 16px; }
.ax-flow { margin-top: 34px; background: rgba(255,255,255,.03); border: 1px solid var(--ax-stroke); border-radius: 20px; padding: 18px; }
.ax-flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.ax-flow .wire { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 2; stroke-dasharray: 5 6; }
.ax-flow .wire-on { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(217,252,103,.7)); }
.ax-flow .node rect { fill: #1d1e21; stroke: rgba(255,255,255,.12); stroke-width: 1.2; transition: fill .35s ease, stroke .35s ease; }
.ax-flow .node text { fill: #e9e8e2; font-family: var(--font); font-size: 12px; font-weight: 600; }
.ax-flow .node .emo { font-size: 16px; }
.ax-flow .node.on rect { fill: #262d13; stroke: var(--lime); }
.ax-flow .spark { fill: var(--lime); filter: drop-shadow(0 0 8px var(--lime)); }
.ax-flow-cap { margin-top: 10px; font-size: 12.5px; color: var(--ax-soft); text-align: center; min-height: 1.5em; transition: opacity .3s ease; }

.ax-caps { display: grid; gap: 14px; }
.ax-cap { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 22px; border-radius: 18px; border: 1px solid var(--ax-stroke); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); position: relative; overflow: hidden; transition: border-color .3s ease, transform .3s ease; }
.ax-cap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 0) var(--my, 0), rgba(217,252,103,.10), transparent 40%); opacity: 0; transition: opacity .3s; }
.ax-cap:hover { border-color: rgba(217,252,103,.4); transform: translateX(4px); }
.ax-cap:hover::before { opacity: 1; }
.ax-cap .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: rgba(217,252,103,.1); color: var(--lime); border: 1px solid rgba(217,252,103,.2); }
.ax-cap .ic svg { width: 26px; height: 26px; }
.ax-cap h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.ax-cap h3 small { display: inline-block; margin-left: 8px; vertical-align: 2px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.ax-cap p { color: var(--ax-soft); font-size: 14.5px; line-height: 1.6; }
/* iconos con vida */
.ax-cap .spin { animation: ax-spin 9s linear infinite; transform-origin: 12px 12px; }
.ax-cap .pulse { animation: ax-pulse 2s ease-in-out infinite; transform-origin: 12px 12px; }
.ax-cap .scan { animation: ax-scan 2.4s ease-in-out infinite; }
@keyframes ax-pulse { 50% { transform: scale(1.18); opacity: .6; } }
@keyframes ax-scan { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }

/* ---------- 5. Soluciones (tabs) ---------- */
.ax-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 34px; position: relative; }
.ax-tabs button { position: relative; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: .25s ease; overflow: hidden; }
.ax-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.ax-tabs button.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.ax-tabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lime); transform-origin: left; animation: ax-prog var(--ax-dur, 7s) linear forwards; }
.ax-tabs.manual button.on::after { animation: none; transform: scaleX(1); }
@keyframes ax-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ax-tabs button i { font-style: normal; }
.ax-panels { position: relative; }
.ax-panel { display: none; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 46px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px; box-shadow: var(--shadow); }
.ax-panel.on { display: grid; animation: ax-panel-in .55s cubic-bezier(.2,.8,.2,1); }
@keyframes ax-panel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ax-panel h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin-bottom: 14px; }
.ax-panel > div > p { color: var(--muted); font-size: 15.5px; }
.ax-list { margin: 20px 0 22px; display: grid; gap: 10px; }
.ax-list li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.5; }
.ax-list li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ax-panel.on .ax-list li { opacity: 0; animation: ax-up .5s ease forwards; }
.ax-panel.on .ax-list li:nth-child(1) { animation-delay: .1s; } .ax-panel.on .ax-list li:nth-child(2) { animation-delay: .18s; }
.ax-panel.on .ax-list li:nth-child(3) { animation-delay: .26s; } .ax-panel.on .ax-list li:nth-child(4) { animation-delay: .34s; }
.ax-panel.on .ax-list li:nth-child(5) { animation-delay: .42s; }
.ax-ia { display: flex; gap: 12px; align-items: flex-start; background: var(--dark); color: #F4F3EE; border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.ax-ia b { color: var(--lime); white-space: nowrap; }

/* maquetas dentro de cada pestaña */
.ax-mock { background: var(--ax-night); border-radius: 20px; padding: 18px; color: #e9e8e2; font-size: 12.5px; min-height: 320px; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.ax-mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; color: #fff; font-size: 13px; }
.ax-mock-h span { font-size: 10.5px; color: var(--lime); letter-spacing: .1em; text-transform: uppercase; }
.ax-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; background: var(--ax-panel-2); margin-bottom: 7px; opacity: 0; }
.on .ax-row { animation: ax-up .5s ease forwards; }
.on .ax-row:nth-child(2) { animation-delay: .15s; } .on .ax-row:nth-child(3) { animation-delay: .3s; } .on .ax-row:nth-child(4) { animation-delay: .45s; } .on .ax-row:nth-child(5) { animation-delay: .6s; } .on .ax-row:nth-child(6) { animation-delay: .75s; }
.ax-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #161616; }
.ax-row small { display: block; color: rgba(244,243,238,.5); font-size: 11px; }
.ax-pill { font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(217,252,103,.15); color: var(--lime); white-space: nowrap; }
.ax-pill.warn { background: rgba(255,189,46,.15); color: #ffcf5c; }
.ax-pill.bad { background: rgba(255,107,94,.16); color: #ff8a7f; }
.ax-ai-note { margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(217,252,103,.4); color: #f3ffd0; display: flex; gap: 9px; align-items: center; opacity: 0; }
.on .ax-ai-note { animation: ax-up .5s ease 1.2s forwards; }
.ax-ai-note .ax-orb { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--lime), #8be0ff, #c8a6ff, var(--lime)); animation: ax-spin 4s linear infinite; }

/* stock */
.ax-stock { display: grid; gap: 12px; }
.ax-stock-i { display: grid; grid-template-columns: 110px 1fr 46px; gap: 12px; align-items: center; }
.ax-meter { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.ax-meter b { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--lime); transition: width 1.4s cubic-bezier(.2,.8,.2,1), background .4s ease; }
.ax-meter b.lo { background: #ff6b5e; }
.ax-route { margin-top: 14px; background: var(--ax-panel-2); border-radius: 14px; padding: 10px; }
.ax-route svg { width: 100%; height: 110px; display: block; }
.ax-route .road { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.ax-route .done { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.ax-route .stop { fill: #1d1e21; stroke: rgba(255,255,255,.4); stroke-width: 2; }
.ax-route .stop.ok { fill: var(--lime); stroke: var(--lime); }
.ax-route .truck { font-size: 18px; }

/* CRM funnel */
.ax-funnel { display: grid; gap: 8px; }
.ax-funnel div { height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 700; color: #161616; background: var(--lime); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); white-space: nowrap; overflow: hidden; }
.ax-funnel div:nth-child(2) { background: #c9ec5a; } .ax-funnel div:nth-child(3) { background: #b4d84a; } .ax-funnel div:nth-child(4) { background: #9cc23d; }
.ax-lead { margin-top: 14px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--ax-panel-2); border-radius: 12px; }
.ax-score { margin-left: auto; font-weight: 800; color: var(--lime); font-size: 18px; }

/* dashboard mini */
.ax-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ax-mini .ax-card { min-height: 80px; }
.ax-donut { width: 84px; height: 84px; margin: 6px auto 0; }
.ax-donut circle { fill: none; stroke-width: 9; }
.ax-ask { grid-column: span 2; display: flex; gap: 10px; align-items: center; background: #fff; color: #161616; border-radius: 12px; padding: 11px 14px; font-weight: 600; }
.ax-ask .cur { width: 2px; height: 16px; background: #161616; animation: ax-caret 1s steps(1) infinite; }

/* automatizaciones */
.ax-auto { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; gap: 4px; margin-top: 10px; }
.ax-auto .n { background: var(--ax-panel-2); border: 1px solid var(--ax-stroke); border-radius: 14px; padding: 14px 8px; text-align: center; font-weight: 600; font-size: 11.5px; }
.ax-auto .n i { display: block; font-style: normal; font-size: 22px; margin-bottom: 5px; }
.ax-auto .n.ai { border-color: rgba(217,252,103,.5); background: rgba(217,252,103,.08); }
.ax-auto .w { height: 2px; background: rgba(255,255,255,.15); position: relative; overflow: visible; }
.ax-auto .w::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: ax-run 1.6s linear infinite; }
.ax-auto .w.d2::after { animation-delay: .8s; }
@keyframes ax-run { from { left: -4px; } to { left: calc(100% - 4px); } }
.ax-counter { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ax-counter div { background: var(--ax-panel-2); border-radius: 12px; padding: 12px; }
.ax-counter b { display: block; font-size: 22px; font-weight: 800; color: var(--lime); font-variant-numeric: tabular-nums; }

/* app móvil */
.ax-phone { width: 196px; height: 340px; margin: 0 auto; border-radius: 34px; border: 7px solid #2a2b2e; background: #f6f5f0; position: relative; overflow: hidden; color: #161616; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.ax-phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 64px; height: 16px; border-radius: 10px; background: #2a2b2e; transform: translateX(-50%); z-index: 2; }
.ax-phone .scr { padding: 34px 12px 12px; }
.ax-phone h5 { font-size: 13px; margin-bottom: 8px; }
.ax-phone .tile { background: #fff; border-radius: 12px; padding: 9px 10px; margin-bottom: 7px; font-size: 11px; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; justify-content: space-between; align-items: center; opacity: 0; }
.on .ax-phone .tile { animation: ax-up .45s ease forwards; }
.on .ax-phone .tile:nth-child(3) { animation-delay: .15s; } .on .ax-phone .tile:nth-child(4) { animation-delay: .3s; } .on .ax-phone .tile:nth-child(5) { animation-delay: .45s; }
.ax-phone .tile b { font-size: 11.5px; }
.ax-phone .fab { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 8px 18px rgba(150,190,40,.5); animation: ax-pulse 2.2s ease-in-out infinite; }

/* ---------- 6. Antes / Después ---------- */
.ax-ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); user-select: none; }
.ax-ba-side { padding: 44px 46px; min-height: 380px; }
.ax-ba-before { background: #efe9dd; color: #3a3328; }
.ax-ba-after { position: absolute; inset: 0; background: var(--ax-night); color: #F4F3EE; clip-path: inset(0 0 0 var(--cut, 50%)); }
.ax-ba-side h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; font-weight: 800; }
.ax-ba-before h3 { color: #b0482f; }
.ax-ba-after h3 { color: var(--lime); }
.ax-ba-grid { display: grid; gap: 4px; }
.ax-ba-before > h3, .ax-ba-before > .ax-ba-grid { width: 42%; }
.ax-ba-after > h3, .ax-ba-after > .ax-ba-grid { width: 42%; margin-left: 58%; }
.ax-ba-side li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; padding: 8px 0; border-bottom: 1px dashed rgba(0,0,0,.12); }
.ax-ba-after li { border-color: rgba(255,255,255,.1); }
.ax-ba-before li::before { content: "✕"; color: #c4553b; font-weight: 800; }
.ax-ba-after li::before { content: "✓"; color: var(--lime); font-weight: 800; }
.ax-ba-mess { position: absolute; pointer-events: none; font-size: 26px; opacity: .55; }
.ax-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px; background: var(--lime); transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 18px rgba(217,252,103,.8); }
.ax-ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--lime); color: #161616; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.ax-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ax-ba-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 7. Calculadora ---------- */
.ax-calc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ax-calc-in { background: var(--card); padding: 40px 42px; }
.ax-calc-out { background: var(--ax-night); color: #F4F3EE; padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ax-calc-out::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(217,252,103,.22), transparent 70%); }
.ax-field { margin-bottom: 24px; }
.ax-field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.ax-field label output { font-weight: 800; background: var(--lime); color: #161616; padding: 1px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.ax-field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--lime) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; }
.ax-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lime); cursor: grab; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: transform .15s ease; }
.ax-field input[type=range]::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.ax-field input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lime); cursor: grab; }
.ax-res small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,243,238,.55); font-weight: 700; }
.ax-res .big { display: block; font-size: clamp(42px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.04em; color: var(--lime); line-height: 1.05; margin: 6px 0 18px; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(217,252,103,.3); }
.ax-res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.ax-res-row div { background: rgba(255,255,255,.05); border: 1px solid var(--ax-stroke); border-radius: 14px; padding: 14px; }
.ax-res-row b { display: block; font-size: 24px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ax-res-row span { font-size: 12.5px; color: rgba(244,243,238,.6); }
.ax-calc-out p { font-size: 12px; color: rgba(244,243,238,.5); margin-top: 14px; position: relative; }
.ax-calc-out .btn { align-self: flex-start; position: relative; }

/* ---------- 8. Proceso ---------- */
.ax-steps { position: relative; max-width: 820px; margin: 0 auto; padding-left: 0; }
.ax-steps::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.ax-steps-line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--lime); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(217,252,103,.8); }
.ax-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 18px 0; }
.ax-step-n { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: var(--card); border: 2px solid var(--line); color: var(--muted); position: relative; z-index: 1; transition: .5s ease; }
.ax-step.lit .ax-step-n { background: var(--lime); border-color: var(--lime); color: #161616; box-shadow: 0 10px 26px rgba(190,225,70,.5); transform: rotate(-6deg); }
.ax-step h3 { font-size: 20px; margin: 4px 0 6px; }
.ax-step p { color: var(--muted); font-size: 15px; max-width: 600px; }
.ax-step .tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--bg-alt); border-radius: 8px; padding: 4px 10px; color: var(--ink-soft); }

/* ---------- 9. Plan IA360 ---------- */
.ax-bono { position: relative; border-radius: var(--radius-lg); padding: 2px; overflow: hidden; }
.ax-bono::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 60%, var(--lime) 75%, transparent 90%); animation: ax-spin 6s linear infinite; }
.ax-bono-in { position: relative; background: var(--ax-night); color: #F4F3EE; border-radius: calc(var(--radius-lg) - 2px); padding: 44px 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.ax-bono-big { font-size: clamp(46px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; color: var(--lime); line-height: 1; }
.ax-bono-big small { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,243,238,.6); margin-top: 8px; font-weight: 700; }
.ax-bono h3 { font-size: clamp(20px, 2.4vw, 26px); color: #fff; margin-bottom: 10px; }
.ax-bono p { color: rgba(244,243,238,.72); font-size: 14.5px; line-height: 1.65; }
.ax-bono .ax-src { color: rgba(244,243,238,.45); }

/* ---------- 10. Por qué Envy ---------- */
.ax-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ax-why article { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s ease; }
.ax-why article:hover { transform: translateY(-6px); }
.ax-why article::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.ax-why article:hover::after { transform: scaleX(1); }
.ax-why b { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #161616; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(140deg, #ecffa8 0%, var(--lime) 55%, #b9e23a 100%);
  box-shadow: 0 10px 22px rgba(190,225,70,.38), inset 0 1px 0 rgba(255,255,255,.6);
  transform: rotate(-6deg); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.ax-why article:hover b { transform: rotate(0deg) scale(1.08); }
.ax-why h3 { font-size: 17px; margin-bottom: 8px; }
.ax-why p { font-size: 14px; color: var(--muted); }

/* ---------- 11. FAQ ---------- */
.ax-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.ax-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .25s ease, box-shadow .25s ease; }
.ax-faq details[open] { border-color: var(--ink); box-shadow: var(--shadow); }
.ax-faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; font-size: 20px; font-weight: 600; transition: transform .3s ease; }
.ax-faq details[open] summary::after { transform: rotate(45deg); }
.ax-faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; animation: ax-up .4s ease; }

/* ---------- 12. CTA final ---------- */
.ax-final { position: relative; overflow: hidden; background: var(--ax-night); color: #F4F3EE; border-radius: var(--radius-lg); padding: 80px 48px; text-align: center; isolation: isolate; }
.ax-final .ax-net { opacity: .55; }
.ax-final h2 { font-size: clamp(34px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.035em; color: #fff; max-width: 880px; margin: 18px auto 18px; }
.ax-final h2 em { font-style: normal; color: var(--lime); }
.ax-final p { color: var(--ax-soft); max-width: 560px; margin: 0 auto 30px; font-size: 16.5px; }
.ax-final .ax-hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .ax-hero-in, .ax-ai, .ax-panel, .ax-calc { grid-template-columns: minmax(0,1fr); }
  .ax-ai-sticky { position: static; }
  .ax-dash { transform: none; }
  .ax-toasts { right: 8px; }
  .ax-pain, .ax-why { grid-template-columns: 1fr 1fr; }
  .ax-bono-in { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .ax-hero { padding: 44px 0 76px; }
  .ax-hero .lead { font-size: 16px; }
  .ax-dash-body { grid-template-columns: 1fr 1fr; }
  .ax-kpi:nth-child(3) { display: none; }
  .ax-chart, .ax-agent { grid-column: span 2; }
  .ax-pain, .ax-why, .ax-res-row { grid-template-columns: 1fr; }
  .ax-ba-after { position: static; clip-path: none; }
  .ax-ba-before > h3, .ax-ba-before > .ax-ba-grid, .ax-ba-after > h3, .ax-ba-after > .ax-ba-grid { width: auto; margin-left: 0; }
  .ax-ba-handle, .ax-ba input, .ax-ba-hint, .ax-ba-mess { display: none; }
  .ax-ba-side { min-height: 0; }
  .ax-opp { grid-template-columns: 1fr; padding: 32px 26px; justify-items: start; }
  .ax-panel, .ax-calc-in, .ax-calc-out, .ax-bono-in { padding: 28px 22px; }
  .ax-ba-side { padding: 30px 24px; }
  .ax-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .ax-tabs::-webkit-scrollbar { display: none; }
  .ax-tabs button { flex: 0 0 auto; }
  .ax-final { padding: 56px 24px; }
  .ax-stock-i { grid-template-columns: 86px 1fr 40px; }
}

/* ---------- sin movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  .ax-hero *, .ax-band-track, .ax-grid, .ax-glow, .ax-bono::before { animation: none !important; }
  .ax-in > *, .ax-stage { opacity: 1 !important; transform: none !important; }
  .ax-chart .ln { stroke-dashoffset: 0; }
}

/* ---------- Galería "Lo que construimos" ---------- */
.ax-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.ax-gal figure { margin: 0; border-radius: 22px; overflow: hidden; background: #0f1012; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 50px rgba(0,0,0,.28); position: relative; transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .3s ease; opacity: 0; transform: translateY(40px) rotateX(8deg); }
.ax-gal figure.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.ax-gal figure:nth-child(2).in { transition-delay: .1s; } .ax-gal figure:nth-child(3).in { transition-delay: .2s; }
.ax-gal figure:nth-child(5).in { transition-delay: .1s; } .ax-gal figure:nth-child(6).in { transition-delay: .2s; }
.ax-gal img { display: block; width: 100%; height: auto; }
.ax-gal figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(217,252,103,.14), transparent 45%); opacity: 0; transition: opacity .3s ease; }
.ax-gal figure:hover { box-shadow: 0 34px 70px rgba(0,0,0,.4), 0 0 0 1px rgba(217,252,103,.35); }
.ax-gal figure:hover::after { opacity: 1; }
@media (max-width: 1020px) { .ax-gal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ax-gal { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ax-gal figure { opacity: 1; transform: none; } }

/* evita scroll lateral por elementos inclinados (no rompe el sticky) */
html, body { overflow-x: clip; }


/* =========================================================
   MODO OSCURO de la landing: azul marino muy oscuro
   (solo afecta a esta página; el modo claro queda igual)
   ========================================================= */
[data-theme="dark"] {
  --bg: #050b1c; --bg-alt: #081229; --card: #0b1634; --line: #18264a; --dark: #0a1531; --dark-2: #0e1b3d;
  --muted: #9aa6c4; --faint: #6b7796; --ink-soft: #d3daf0;
  --ax-night: #030919; --ax-panel: #0a1430; --ax-panel-2: #0f1c3e; --ax-stroke: rgba(140,170,255,.12);
  --shadow: 0 6px 26px rgba(0,4,20,.55); --shadow-hover: 0 18px 46px rgba(0,4,20,.7);
}
[data-theme="dark"] .nav { background: rgba(5,11,28,.86); border-bottom-color: rgba(30,48,92,.6); }
[data-theme="dark"] .nav-mobile { background: #050b1c; }
[data-theme="dark"] .ax-glow.g2 { background: rgba(70,110,255,.22); }
[data-theme="dark"] .ax-grid { background-image: linear-gradient(rgba(120,160,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,.07) 1px, transparent 1px); }
[data-theme="dark"] .ax-dash { box-shadow: 0 40px 90px rgba(0,4,20,.7), 0 0 0 1px rgba(120,160,255,.1), inset 0 1px 0 rgba(255,255,255,.05); }
[data-theme="dark"] .ax-ba-before { background: #111d3b; color: #d6dcf0; }
[data-theme="dark"] .ax-ba-before li { border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .ax-ba-before h3 { color: #ff8a7f; }
[data-theme="dark"] .ax-ba { border-color: var(--line); }
[data-theme="dark"] .ax-step .tag { background: var(--card); color: var(--ink-soft); }
[data-theme="dark"] .ax-step-n { background: var(--card); border-color: var(--line); }
[data-theme="dark"] .ax-ask { background: #e9eefc; }
[data-theme="dark"] .ax-why b { color: #0a1531; }
[data-theme="dark"] .ax-faq details[open] { border-color: #2c3f72; }
[data-theme="dark"] .ax-tabs button.on { background: #14275a; border-color: #14275a; }
[data-theme="dark"] .ax-ia { background: #0e1b3d; }
[data-theme="dark"] .ax-opp { background: #0a1531; }
[data-theme="dark"] .ax-final, [data-theme="dark"] .ax-dark { background: var(--ax-night); }
[data-theme="dark"] .cookies-bar { background: #0a1531; border-color: #18264a; }
