/* Landing AI Agent Computer – Powered by ASUS (namespace aac-*). Pagina scura a sé come
   workstation_ai.php. Un pulsante non si sottolinea MAI: lo si ribadisce qui sotto. */
:root {
  --aac-bg: #07070d; --aac-bg2: #0f0f1a; --aac-card: #14141f; --aac-line: #26263a;
  --aac-txt: #e9e9f2; --aac-mute: #a3a3b8; --aac-viola: #8b5cf6; --aac-ciano: #22d3ee;
  /* Fondo dei pulsanti: col bianco sopra #8b5cf6 dà 4,2:1, #7c3aed 5,7:1 (soglia 4,5:1).
     --aac-viola resta per il viola su fondo scuro, dove il più chiaro contrasta di più. */
  --aac-viola-btn: #7c3aed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.aac-body { margin: 0; background: var(--aac-bg); color: var(--aac-txt);
  font: 16px/1.6 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
a { color: var(--aac-ciano); }
a:hover { text-decoration: underline; }
.aac-btn, .aac-btn:hover, .aac-btn:focus { text-decoration: none; }
/* Solo per i lettori di schermo (titolo della sezione «Per chi è») */
.aac-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.aac-topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px; background: rgba(7,7,13,.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--aac-line); }
.aac-logo { color: var(--aac-txt); font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.aac-logo span { color: var(--aac-viola); }
.aac-topnav { display: flex; gap: 16px; align-items: center; }
.aac-topnav a:not(.aac-btn) { color: var(--aac-mute); text-decoration: none; }

.aac-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, var(--aac-viola-btn), #6d28d9); border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
.aac-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(139,92,246,.35); }
.aac-btn:focus-visible { outline: 2px solid var(--aac-ciano); outline-offset: 2px; }
.aac-btn-ghost { background: transparent; border-color: var(--aac-line); color: var(--aac-txt); }
.aac-btn-small { padding: 8px 14px; font-size: 14px; }

.aac-hero { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(139,92,246,.25), transparent 60%), var(--aac-bg); }
.aac-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aac-hero-inner { position: relative; text-align: center; max-width: 820px; padding: 48px 16px; }
.aac-badge-hero { display: block; margin: 0 auto 24px; width: 260px; height: 98px;
  background: url(../images/badges/asus_ai_agent_computer_w_v1.webp) no-repeat center / contain; }
.aac-title { font-size: clamp(40px, 7vw, 76px); line-height: 1.05; margin: 0 0 16px;
  background: linear-gradient(90deg, #fff, var(--aac-viola) 60%, var(--aac-ciano)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aac-lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--aac-mute); margin: 0 0 28px; }
.aac-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* Logo ufficiale «Powered by ASUS», versione per fondi scuri (ASUS, 07/10) */
.aac-powered { margin: 36px 0 0; line-height: 0; }
.aac-powered img { display: inline-block; width: 220px; max-width: 70%; height: auto; }

.aac-section { max-width: 1200px; margin: 0 auto; padding: 72px 16px; }
.aac-h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; text-align: center; }
.aac-sub { text-align: center; color: var(--aac-mute); max-width: 720px; margin: 0 auto 40px; }
.aac-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.aac-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.aac-pill, .aac-panel { background: var(--aac-bg2); border: 1px solid var(--aac-line); border-radius: 16px; padding: 28px; }
.aac-pill h3, .aac-panel h3 { margin: 0 0 8px; color: #fff; }
.aac-pill p, .aac-panel p { margin: 0; color: var(--aac-mute); }

.aac-fascia { margin-top: 56px; }
.aac-fascia-head { border-left: 3px solid var(--aac-viola); padding-left: 16px; margin-bottom: 20px; }
.aac-fascia-pro .aac-fascia-head { border-color: var(--aac-ciano); }
.aac-fascia-title { font-size: 28px; margin: 0; }
.aac-fascia-per { margin: 0; color: var(--aac-viola); font-weight: 600; }
.aac-fascia-testo { margin: 4px 0 0; color: var(--aac-mute); }
.aac-fascia-testo strong { color: var(--aac-txt); }
.aac-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.aac-card { display: flex; flex-direction: column; background: var(--aac-card); border: 1px solid var(--aac-line);
  border-radius: 16px; padding: 20px; transition: border-color .2s, transform .2s; }
.aac-card:hover { border-color: var(--aac-viola); transform: translateY(-2px); }
.aac-card-img { display: block; aspect-ratio: 1; background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.aac-card-img img, .aac-card-img picture { width: 100%; height: 100%; object-fit: contain; display: block; }
.aac-card-name { margin: 0 0 4px; font-size: 20px; }
.aac-card-name a { color: #fff; text-decoration: none; }
.aac-card-spec { margin: 0 0 12px; color: var(--aac-mute); font-size: 14px; }
.aac-price { margin: auto 0 4px; font-size: 22px; }
.aac-price del { color: var(--aac-mute); font-size: 16px; }
.aac-price small { color: var(--aac-mute); font-size: 13px; }
/* «+ IVA» che display_price() aggiunge per i rivenditori: come «IVA inclusa» */
.aac-price .dk-vat-tag { color: var(--aac-mute); font-size: 13px; font-weight: 400; }
.aac-card-tag { margin: 0 0 14px; font-size: 13px; color: var(--aac-ciano); }

.aac-chiusa { text-align: center; }
.aac-footer { border-top: 1px solid var(--aac-line); text-align: center; padding: 24px 16px; color: var(--aac-mute); font-size: 14px; }

/* Si nasconde solo se lo script c'è (classe aac-js messa in <head>): senza JavaScript, o se
   lo script non parte, la pagina resta tutta leggibile. */
.aac-js .aac-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.aac-js .aac-reveal.aac-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aac-js .aac-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 860px) {
  .aac-grid3, .aac-grid2 { grid-template-columns: 1fr; }
  .aac-topnav a:not(.aac-btn) { display: none; }
  .aac-section { padding: 48px 16px; }
  .aac-badge-hero { width: 200px; height: 76px; }
}
