/* ==========================================================================
   TRIGLAV EQinOX - AUDIT SPECIFIC STYLES (audyt.css)
   Green Coding: Wydzielone dla podstrony audytu, zachowuje paletę lato.css
   ========================================================================== */

.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* 1. SEKCJA WEJŚCIOWA */
.audit-hero { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.audit-hero__content { max-width: 700px; width: 100%; }
.audit-form { margin-top: 2.5rem; }
.audit-input-wrapper { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.audit-input-wrapper input { flex: 1; min-width: 250px; padding: 1.2rem; font-size: 1.1rem; border-radius: 8px; border: 2px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.5); color: #fff; outline: none; transition: var(--transition, all 0.3s ease); }
.audit-input-wrapper input:focus { border-color: var(--cyan-electric, #00F0FF); box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
.audit-input-wrapper button { padding: 1.2rem 2rem; font-size: 1.1rem; flex-shrink: 0; }
.audit-disclaimer { font-size: 0.85rem; color: var(--text-muted, #A0A5C0); }

/* 2. TERMINAL */
.audit-scanner { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.terminal-window { width: 100%; max-width: 800px; background: #08080C; border: 1px solid var(--border-color, rgba(138,43,226,0.3)); border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.terminal-header { background: #13131A; padding: 0.8rem 1.5rem; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }
.terminal-title { margin-left: 1rem; font-family: monospace; font-size: 0.85rem; color: #666; }
.terminal-body { padding: 2rem; font-family: 'Courier New', Courier, monospace; color: var(--cyan-electric, #00F0FF); min-height: 250px; font-size: 0.95rem; line-height: 1.8; }
.terminal-line { margin-bottom: 0.5rem; opacity: 0; animation: fadeIn 0.3s forwards; }
.terminal-line .prompt { color: var(--purple-violet, #8A2BE2); font-weight: bold; margin-right: 0.5rem; }
.progress-bar-container { height: 4px; background: rgba(255,255,255,0.05); width: 100%; }
.progress-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple-violet, #8A2BE2), var(--cyan-electric, #00F0FF)); transition: width 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* 3. DASHBOARD WYNIKÓW */
.audit-results { padding-bottom: 5rem; }
.results-header { text-align: center; margin-bottom: 4rem; }

.gauges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.gauge-card { background: var(--surface-card, #18132B); border: 1px solid var(--border-color, rgba(138,43,226,0.3)); border-radius: 12px; padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gauge-card h3 { font-size: 1rem; color: var(--text-muted, #A0A5C0); margin-top: 1rem; margin-bottom: 0; }

.gauge { position: relative; width: 120px; height: 120px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.gauge circle.bg { stroke: rgba(255,255,255,0.05); }
.gauge circle.val { 
  stroke: var(--cyan-electric, #00F0FF); 
  stroke-dasharray: 283; 
  stroke-dashoffset: 283; 
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1); 
}
.gauge.score-bad circle.val { stroke: #FF5F56; }
.gauge.score-avg circle.val { stroke: #FFBD2E; }
.gauge.score-good circle.val { stroke: #27C93F; }
.gauge-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.8rem; font-weight: 700; color: #fff; }

.data-card { background: var(--surface-card, #18132B); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.data-card--green { border-color: rgba(39, 201, 63, 0.3); background: linear-gradient(180deg, rgba(39,201,63,0.05) 0%, var(--surface-card, #18132B) 100%); }
.card-title { font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1rem; margin-bottom: 1rem; }
.metrics-list { list-style: none; margin: 0; padding: 0; }
.metrics-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px dashed rgba(255,255,255,0.05); }
.metrics-list li:last-child { border: none; }
.metric-label { color: var(--text-muted, #A0A5C0); font-size: 0.95rem; }
.metric-value { font-weight: 700; color: #fff; }
.small-info { font-size: 0.8rem; color: var(--text-muted, #A0A5C0); margin-top: 1rem; line-height: 1.5; }

/* 4. CTA I FORMULARZ */
.cta-direct { margin-top: 4rem; text-align: center; background: linear-gradient(90deg, rgba(138,43,226,0.1) 0%, rgba(0,240,255,0.1) 100%); padding: 4rem 2rem; border-radius: 12px; border: 1px solid var(--purple-violet, #8A2BE2); }
.cta-direct h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-direct p { max-width: 700px; margin: 0 auto 2rem auto; font-size: 1.1rem; color: var(--text-muted, #A0A5C0); }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.btn-massive { font-size: 1.3rem; padding: 1.2rem 2.5rem; }
.btn-massive .icon { margin-right: 10px; }

.optional-form { max-width: 800px; margin: 3rem auto 0 auto; background: rgba(0,0,0,0.3); padding: 2.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); animation: fadeIn 0.5s ease; }

@media (max-width: 768px) {
  .audit-input-wrapper { flex-direction: column; }
  .audit-input-wrapper button { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .btn-massive { width: 100%; }
}
