
:root {
    --bg-dark: #ffffff;        
    --bg-card: #f8f9fa;        
    --bg-card-hover: #f0f1f3;  
    --accent: #2563eb;         
    --accent-hover: #1d4ed8;   
    --accent-light: rgba(37, 99, 235, 0.06); 
    --accent-border: rgba(37, 99, 235, 0.2);
    --status-high: #059669;    
    --status-high-bg: rgba(5, 150, 105, 0.08);
    --status-high-border: rgba(5, 150, 105, 0.2);
    --status-mid: #d97706;     
    --status-mid-bg: rgba(217, 119, 6, 0.08);
    --status-mid-border: rgba(217, 119, 6, 0.2);
    --status-low: #dc2626;     
    --status-low-bg: rgba(220, 38, 38, 0.08);
    --status-low-border: rgba(220, 38, 38, 0.2);
    --status-neutral: #6b7280; 
    --status-neutral-bg: rgba(107, 114, 128, 0.08);
    --status-neutral-border: rgba(107, 114, 128, 0.2);
    --text-primary: #111827;   
    --text-secondary: #4b5563; 
    --text-muted: #9ca3af;     
    --border: #e5e7eb;         
    --border-hover: #d1d5db;   
    --star-gold: #eab308;      
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.011em;
}
.bg-matrix {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
}
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
header, nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    z-index: 10;
    background: transparent;
}
.logo-hub {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}
.logo-hub:hover {
    opacity: 0.9;
}
.logo-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.logo-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}
.users-badge {
    font-size: 11px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.users-badge svg {
    color: var(--text-muted);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 12px 4px 6px;
    border-radius: var(--radius-md);
}
.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}
.username {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}
.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    transition: color 0.15s;
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid var(--border);
}
.logout-btn:hover {
    color: var(--status-low);
}
.btn-action {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid var(--border);
    outline: none;
}
.btn-glass {
    background: var(--bg-card);
    color: var(--text-primary);
}
.btn-glass:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}
.btn-green {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-green:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}
.btn-nav {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-nav svg {
    color: var(--text-muted);
}
.btn-nav:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}
.btn-nav.active-nav {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border);
}
.btn-nav.active-nav svg {
    color: var(--accent);
}
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}
.hero-deck {
    text-align: center;
    padding: 60px 0;
}
.headline {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.gradient-span {
    color: var(--accent);
    font-weight: 700;
}
.sub-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.65;
}
.action-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.action-row .btn-action {
    padding: 12px 24px;
    font-size: 15px;
}
.video-showcase-container {
    max-width: 800px;
    margin: 0 auto 80px;
    width: 100%;
}
.video-glass-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.video-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #1a1a2e;
    border: 1px solid var(--border);
}
.embedded-showcase {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hologram-section {
    margin: 40px auto 80px;
    width: 100%;
}
.hologram-section-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.hologram-section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.5;
}
.holo-card-wrapper {
    width: 100%;
}
.hologram-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: border-color 0.25s, box-shadow 0.25s;
    position: relative;
}
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.report-meta-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-muted);
}
.report-id {
    font-size: 11px;
    font-family: monospace;
    color: var(--accent);
    font-weight: 600;
}
.report-layout {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 540px) {
    .report-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.report-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}
.report-score-num {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.report-score-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.trust-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
    display: inline-block;
    border: 1px solid transparent;
}
.badge-status.status-credible, .trust-badge.credible-badge {
    background: var(--status-high-bg);
    color: var(--status-high);
    border-color: var(--status-high-border);
}
.badge-status.status-low, .trust-badge.low-badge {
    background: var(--status-low-bg);
    color: var(--status-low);
    border-color: var(--status-low-border);
}
.badge-status.status-neutral, .trust-badge.neutral-badge {
    background: var(--status-mid-bg);
    color: var(--status-mid);
    border-color: var(--status-mid-border);
}
.report-details-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.report-metric-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.report-metric-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.report-metric-title {
    font-weight: 500;
    color: var(--text-primary);
}
.report-metric-value {
    color: var(--text-secondary);
}
.report-progress-bg {
    height: 6px;
    background: var(--bg-dark);
    border-radius: 3px;
    overflow: hidden;
}
.report-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s ease, background-color 0.3s;
}
.summary-block {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 10px;
}
.db-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 968px) {
    .db-grid {
        grid-template-columns: 1fr;
    }
}
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
@media (max-width: 480px) {
    .input-group {
        flex-direction: column;
    }
}
.text-input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.text-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}
.primary-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.15s;
    white-space: nowrap;
}
.primary-btn:hover {
    background: var(--accent-hover);
}
@media (max-width: 480px) {
    .primary-btn {
        padding: 12px;
    }
}
.result-panel {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.result-layout {
    display: flex;
    align-items: center;
    gap: 24px;
}
@media (max-width: 480px) {
    .result-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
.radial-progress-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg-dark);
    border-radius: 50%;
    border: 1px solid var(--border);
}
.radial-svg {
    transform: rotate(-90deg);
    width: 100px;
    height: 100px;
}
.progress-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 6;
}
.progress-bar {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 402;
    stroke-dashoffset: 402;
    transition: stroke-dashoffset 0.8s ease-out, stroke 0.3s;
}
.progress-score-text {
    position: absolute;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}
.result-details {
    flex: 1;
}
.badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.explanation-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}
.loading-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    gap: 12px;
}
.pulse-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.history-table {
    width: 100%;
}
.history-table th {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}
.history-table td {
    padding: 16px 8px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.history-table tr:last-child td {
    border-bottom: none;
}
.score-tag {
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
    border: 1px solid transparent;
}
.score-tag.score-high {
    background: var(--status-high-bg);
    color: var(--status-high);
    border-color: var(--status-high-border);
}
.score-tag.score-low {
    background: var(--status-low-bg);
    color: var(--status-low);
    border-color: var(--status-low-border);
}
.step-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.accordion-row {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.15s;
}
.accordion-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.accordion-trigger-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 13px;
}
.step-index {
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}
.chevron-icon {
    width: 6px;
    height: 6px;
    border-bottom: 1.5px solid var(--text-muted);
    border-right: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 0.2s;
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    padding: 0 18px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}
.accordion-row.active {
    border-color: var(--accent-border);
}
.accordion-row.active .step-index {
    border-color: var(--accent);
    color: var(--accent);
}
.accordion-row.active .chevron-icon {
    transform: rotate(-135deg);
    border-color: var(--text-primary);
}
.accordion-row.active .accordion-body {
    max-height: 150px;
    padding-bottom: 14px;
}
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #1a1a2e;
    aspect-ratio: 16/9;
}
.extension-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 860px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}
.rating-select {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #3f3f46;
    transition: color 0.15s;
}
.star-btn:hover {
    color: var(--star-gold);
}
.star-btn.active {
    color: var(--star-gold);
}
.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}
.textarea-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    resize: none;
    height: 100px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.textarea-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}
.reviews-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 6px;
}
.review-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.reviewer-details {
    display: flex;
    flex-direction: column;
}
.reviewer-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}
.review-date {
    font-size: 11px;
    color: var(--text-muted);
}
.rating-stars {
    display: flex;
    gap: 1px;
}
.star-icon {
    font-size: 12px;
    color: #27272a;
}
.star-icon.filled {
    color: var(--star-gold);
}
.review-comment {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.empty-feed {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 13px;
}
.primary-btn.full-w {
    width: 100%;
}
.history-thumbnail-link {
    position: relative;
    display: block;
    width: 100px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s;
}
.history-thumbnail-link:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}
.history-thumbnail-link:hover .overlay-play {
    opacity: 1;
}
.overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.overlay-play svg {
    fill: var(--text-primary);
}
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.legal-page h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}
.legal-page .legal-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.legal-page h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.legal-page p, .legal-page li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-page ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.legal-page li {
    margin-bottom: 6px;
}
.legal-page a {
    color: var(--accent);
    text-decoration: none;
}
.legal-page a:hover {
    text-decoration: underline;
}
.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: color 0.15s;
}
.legal-back-link:hover {
    color: var(--accent);
}
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    margin-top: auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-copy {
    color: var(--text-muted);
    font-size: 12px;
}