:root{--surface: #ffffff;--surface-muted: #f4f6fb;--border: #e3e8f2;--text-main: #1c2333;--text-muted: #5f6b85;--primary: #4f46ef;--primary-dark: #312e81;--accent: #36cfc9;--shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);--gradient: linear-gradient(135deg, #4f46ef 0%, #7c3aed 100%);--primary-color: #4f46ef;--primary-color-light: #e5ebfb;--primary-hover: #312e81;--success-color: #10b981;--warning-color: #f59e0b;--danger-color: #ef4444;--light-bg: #f8fafc;--surface-color: #ffffff;--border-color: #e3e8f2;--text-primary: #1c2333;--text-secondary: #5f6b85;--primary-shadow: rgb(79 70 239 / 25%);--shadow-sm: 0 1px 2px rgb(15 23 42 / 0.08);--shadow-md: 0 4px 12px rgb(15 23 42 / 0.08);--shadow-lg: 0 12px 24px rgb(15 23 42 / 0.12);--radius-sm: 0.375rem;--radius-md: 0.75rem;--radius-lg: 1.5rem;--max-width-reading: 720px;}
.hero-subtitle{max-width: 840px;}
.analyzer-page{padding: 2rem 0;color: var(--text-main);}
.analyzer-main{background: var(--surface-color);border-radius: var(--radius-lg);box-shadow: var(--shadow-lg);padding: clamp(1.5rem, 3vw, 2.5rem);border: 1px solid rgba(148, 163, 184, 0.25);}
.analyzer-card{padding: 0rem 2rem;height: 100%;}
.analyzer-form{display: flex;flex-direction: column;gap: 1.5rem;}
.input-group{display: flex;flex-direction: column;gap: 0.75rem;}
.input-label{display: flex;align-items: center;justify-content: space-between;font-weight: 700;color: var(--text-primary);font-size: 1rem;}
.label-title{display: inline-flex;align-items: center;gap: 0.5rem;}
.label-helper{font-size: 0.85rem;color: var(--text-secondary);}
.audio-input{width: 100%;padding: 1rem 1.15rem;border: 2px solid var(--border-color);border-radius: 0.75rem;font-size: 1rem;color: var(--text-primary);transition: all 0.2s ease;background: var(--surface-color);box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.04);}
.audio-input:focus{outline: none;border-color: var(--primary-color);}
.audio-input:hover{border-color: var(--primary-color);}
.form-actions{display: flex;flex-wrap: wrap;gap: 0.75rem;align-items: center;}
.analyze-btn{flex: 1 1 200px;background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);color: #ffffff;border: none;padding: 1rem 2rem;border-radius: 0.5rem;font-size: 1rem;font-weight: 700;cursor: pointer;transition: transform 0.18s ease, box-shadow 0.18s ease;position: relative;overflow: hidden;}
.analyze-btn:hover{transform: translateY(-2px);box-shadow: 0 12px 20px rgb(37 99 235 / 0.25);}
.analyze-btn:active{transform: translateY(0);}
.analyze-btn.loading, .analyze-btn:disabled{cursor: wait;opacity: 0.9;}
.ghost-btn{background: transparent;border: 2px solid var(--border-color);color: var(--text-secondary);border-radius: 0.9rem;padding: 0.9rem 1.5rem;font-size: 1rem;font-weight: 600;transition: all 0.2s ease;display: inline-flex;align-items: center;gap: 0.5rem;}
.ghost-btn:hover{border-color: var(--primary-color);color: var(--primary-color);box-shadow: var(--shadow-sm);}
.status-bar{border-radius: var(--radius-sm);padding: 0.85rem 1rem;font-size: 0.95rem;line-height: 1.4;display: flex;gap: 0.5rem;align-items: flex-start;}
.status-bar svg{flex-shrink: 0;}
.status-info{background: var(--primary-color-light);color: var(--primary-color);border-left: 4px solid var(--primary-color);}
.status-warning{background: #fff7ed;color: #9a3412;border-left: 4px solid #ea580c;}
.results-container{border-radius: var(--radius-md);padding: 2rem;border: 1px solid var(--border-color);position: relative;}
.results-header{display: flex;align-items: center;justify-content: space-between;gap: 1rem;margin-bottom: 1.5rem;}
.results-title{font-size: 1.5rem;font-weight: 700;color: var(--text-primary);margin: 0;}
.results-beta{font-size: 0.85rem;font-weight: 600;color: var(--primary-color);background: rgb(37 99 235 / 0.1);padding: 0.35rem 0.7rem;border-radius: 9999px;}
.visualization-area{background: #0f172a;border-radius: 1.15rem;padding: 1.75rem;margin-bottom: 2rem;text-align: center;border: 1px solid rgb(37 99 235 / 0.2);box-shadow: var(--shadow-sm);}
.canvas-container{position: relative;margin-bottom: 1.5rem;}
#frequencyCanvas, #waveformCanvas{width: 100%;height: 200px;border: 1px solid #334155;border-radius: 0.5rem;background: #000;}
.canvas-label{color: #ffffff;font-size: 1.1rem;font-weight: 600;margin-bottom: 0.75rem;display: block;}
.audio-metrics{display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 1rem;margin-top: 1.5rem;}
.metric-card{background: var(--surface-color);border-radius: 1rem;padding: 1.25rem 1rem;text-align: center;border: 1px solid var(--border-color);transition: transform 0.2s ease, box-shadow 0.2s ease;box-shadow: var(--shadow-sm);}
.metric-label{font-size: 0.75rem;font-weight: 600;color: var(--text-secondary);letter-spacing: 0.05em;text-transform: uppercase;}
.metric-value{font-size: clamp(1.75rem, 2.5vw, 2rem);font-weight: 700;color: var(--primary-color);margin: 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.frequency-bands{display: grid;grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));gap: 1rem;margin-top: 2rem;}
.band-card{background: var(--surface-color);border-radius: 1rem;padding: 1.25rem 1rem;text-align: center;border: 1px solid var(--border-color);transition: transform 0.2s ease, box-shadow 0.2s ease;box-shadow: var(--shadow-sm);}
.band-label{font-size: 0.75rem;font-weight: 600;color: var(--text-secondary);letter-spacing: 0.05em;text-transform: uppercase;}
.band-value{font-size: clamp(1.5rem, 2.5vw, 1.75rem);font-weight: 700;color: var(--primary-color);margin: 0.5rem 0;}
.band-range{font-size: 0.85rem;color: var(--text-secondary);margin-bottom: 0.75rem;}
.peak-indicator{height: 8px;background: linear-gradient(to right, #10b981, #f59e0b, #ef4444);border-radius: 4px;margin-top: 0.5rem;position: relative;overflow: hidden;}
.peak-marker{position: absolute;width: 2px;height: 100%;background: #000;border-radius: 1px;transition: left 0.3s ease;}
.helper-panel{background: var(--surface-color);border-radius: 1rem;border: 1px solid var(--border-color);padding: 1.75rem;box-shadow: var(--shadow-sm);}
.helper-title{font-size: 1.2rem;font-weight: 700;color: var(--text-primary);margin-bottom: 1rem;}
.helper-list{list-style: none;padding: 0;margin: 0;display: grid;gap: 0.8rem;}
.helper-list li{position: relative;padding-left: 1.75rem;color: var(--text-secondary);font-size: 0.95rem;}
.helper-list li::before{content: '✔';position: absolute;left: 0;top: 0;color: var(--success-color);font-weight: 700;}
.share-buttons{display: grid;grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));gap: 10px;}
.share-btn{border: none;border-radius: 14px;padding: 12px 16px;font-weight: 600;display: inline-flex;align-items: center;justify-content: center;gap: 8px;color: #fff;cursor: pointer;transition: transform 0.2s ease, box-shadow 0.2s ease;box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);font-size: 14px;}
.share-btn:hover{transform: translateY(-2px);box-shadow: 0 14px 24px rgba(15, 23, 42, 0.18);}
.share-x{background: #111827;}
.share-facebook{background: #1877f2;}
.share-linkedin{background: #0a66c2;}
.share-reddit{background: #ff4500;}
.share-telegram{background: #229ed9;}
.share-whatsapp{background: #25d366;color: #0f172a;}
.copy-btn{display: inline-flex;align-items: center;justify-content: center;gap: 0.5rem;padding: 0.85rem 1.25rem;border-radius: 14px;border: 1px solid var(--border);background: var(--surface-muted);color: var(--text-main);font-weight: 600;cursor: pointer;transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;font-size: 0.95rem;}
.copy-btn:hover{background: rgba(79, 70, 239, 0.08);border-color: var(--primary);transform: translateY(-1px);}
.copy-btn[data-state="copied"]{background: rgba(34, 197, 94, 0.12);border-color: rgba(34, 197, 94, 0.4);color: #059669;}
.action-buttons{display: flex;gap: 1rem;justify-content: center;flex-wrap: wrap;margin-top: 2rem;}
.action-btn{padding: 0.85rem 1.6rem;border-radius: 0.9rem;font-weight: 600;cursor: pointer;transition: all 0.2s ease;border: 2px solid transparent;display: inline-flex;align-items: center;gap: 0.5rem;}
.tooltip{position: relative;display: inline-flex;}
.tooltip .tooltip-trigger{display: inline-flex;align-items: center;justify-content: center;width: 1.75rem;height: 1.75rem;border-radius: 9999px;background: rgba(15, 23, 42, 0.08);color: var(--text-primary);font-weight: 700;}
.tooltip .tooltiptext{visibility: hidden;width: 220px;background-color: var(--text-primary);color: white;text-align: left;border-radius: var(--radius-sm);padding: 0.75rem;position: absolute;z-index: 10;bottom: 135%;left: 50%;transform: translateX(-50%);opacity: 0;transition: opacity 0.2s ease;font-size: 0.875rem;line-height: 1.4;}
.tooltip:hover .tooltiptext, .tooltip:focus-within .tooltiptext{visibility: visible;opacity: 1;}
.sr-only{position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0, 0, 0, 0);white-space: nowrap;border: 0;}
.analyze-btn:focus, .ghost-btn:focus, .action-btn:focus, .audio-input:focus{outline: 2px solid rgb(37 99 235 / 0.6);outline-offset: 3px;}
.loading::after{content: '';position: absolute;top: 50%;left: 50%;width: 20px;height: 20px;margin: -10px 0 0 -10px;border: 3px solid rgba(255, 255, 255, 0.6);border-top: 3px solid #ffffff;border-radius: 9999px;animation: spin 1s linear infinite;}
@keyframes spin {0% { transform: rotate(0deg);} 100% { transform: rotate(360deg);};}
.success-animation{animation: successPulse 0.6s ease-in-out;}
@keyframes successPulse {0% { transform: scale(1);} 50% { transform: scale(1.02);} 100% { transform: scale(1);};}
.feature-item, .faq-item, .use-case{padding: 1.25rem;background: #ffffff;border-radius: 1rem;border: 1px solid #e2e8f0;transition: transform 0.2s ease, box-shadow 0.2s ease;box-shadow: var(--shadow-sm);}
.feature-item{padding: 2.75rem;}
.faq-item{box-shadow: none;}
.feature-item h4, .faq-item h4, .use-case h4{color: var(--primary-color);font-weight: 700;}
.faq-container, .use-cases{background: #f8fafc;border-radius: 1rem;padding: 1.75rem;border: 1px solid #e2e8f0;}
.seo-section{padding: 2rem 0;}
.step-list{counter-reset: steps;list-style: none;padding: 0;margin: 0 0 1.5rem;display: grid;gap: 1rem;}
.step-list li{counter-increment: steps;position: relative;padding-left: 2.5rem;color: var(--text-secondary);font-size: 1rem;}
.step-list li::before{content: counter(steps);position: absolute;left: 0;top: 0;width: 2rem;height: 2rem;border-radius: 9999px;background: var(--primary-color);color: #ffffff;display: flex;align-items: center;justify-content: center;font-weight: 700;}
@media (max-width: 991px) {.analyzer-main { padding: 1.5rem;} .analyzer-card { padding: 1.5rem;};}
@media (max-width: 768px) {.analyzer-page { padding: 2.5rem 0 3rem;} .analyzer-meta { gap: 0.5rem;} .analyzer-main { border-radius: 1.25rem;} .results-header { flex-direction: column;align-items: flex-start;} .form-actions { flex-direction: column;align-items: stretch;} .ghost-btn { width: 100%;justify-content: center;} .helper-panel { padding: 1.5rem;};}
@media (max-width: 576px) {.audio-metrics, .frequency-bands { grid-template-columns: 1fr;} .action-btn { width: 100%;justify-content: center;};}
.education-block.panel{margin-top: 50px;background: var(--surface);border: 1px solid var(--border);border-radius: 20px;box-shadow: var(--shadow-soft);padding: 32px;}
.education-block h2{font-size: 30px;font-weight: 700;margin-bottom: 16px;color: var(--text-main);}
.education-block p{font-size: 16px;color: var(--text-muted);line-height: 1.7;margin-bottom: 16px;}
.infographic-row{display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 16px;margin-top: 24px;}
.infographic-card{border: 1px solid var(--border);border-radius: 16px;padding: 20px;background: var(--surface-muted);}
.infographic-icon{width: 48px;height: 48px;border-radius: 12px;background: var(--gradient);color: #fff;display: inline-flex;align-items: center;justify-content: center;font-weight: 700;font-size: 20px;margin-bottom: 12px;}
.infographic-card h5{margin-bottom: 8px;font-size: 16px;font-weight: 700;color: var(--text-main);}
.infographic-card p{font-size: 14px;color: var(--text-muted);line-height: 1.6;margin: 0;}
.infographic-flow{margin-top: 30px;padding: 24px;border-radius: 18px;border: 1px dashed var(--border);background: var(--surface);display: grid;grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));gap: 18px;}
.flow-step{display: flex;flex-direction: column;gap: 8px;}
.flow-step strong{font-size: 15px;color: var(--text-main);font-weight: 700;}
.flow-step p{font-size: 14px;color: var(--text-muted);line-height: 1.6;margin: 0;}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration: 0.01ms !important;animation-iteration-count: 1 !important;transition-duration: 0.01ms !important;scroll-behavior: auto !important;}}
@media (max-width: 768px) {.share-buttons { grid-template-columns: repeat(2, 1fr);} .infographic-row { grid-template-columns: 1fr;} .copy-btn { width: calc(100% - 1rem);};}
.analyzer-main .author-meta{display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;gap: 1rem;padding: 0 0 1.25rem;margin: 0 0 1.5rem;border-bottom: 1px solid var(--border-color);font-size: 0.875rem;color: var(--text-muted);}
.analyzer-main .meta-author a{color: var(--primary);text-decoration: none;font-weight: 600;}
.analyzer-main .meta-author a:hover{text-decoration: underline;}
@media (max-width:768px){.analyzer-main .author-meta{flex-direction: column;align-items: flex-start;gap: 0.5rem;}}