/* Daugherty Engine - Frontend Styles */
/* Copyright (c) 2026 Bryan Daugherty */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-card: #16161f;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    --accent-primary: #00f5a0;
    --accent-secondary: #00d9f5;
    --accent-gradient: linear-gradient(135deg, #00f5a0 0%, #00d9f5 100%);

    --success: #00f5a0;
    --warning: #f5a000;
    --error: #f55050;

    --border-color: #2a2a35;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 245, 160, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 160, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 245, 160, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 217, 245, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 245, 160, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Video Background Styles */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.6) 50%,
        rgba(10, 10, 15, 0.95) 100%
    );
    z-index: 0;
}

/* Section Video Background */
.section-video {
    position: relative;
    overflow: hidden;
}

.section-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.3;
}

.section-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.7) 0%,
        rgba(10, 10, 15, 0.85) 100%
    );
}

.section-video .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 245, 160, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(0, 245, 160, 0.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
    width: 100%;
}

.btn-verify {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    width: 100%;
    margin-top: 16px;
}

.btn-verify:hover {
    background: var(--accent-gradient);
    color: #000;
}

.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* Claims Grid */
.claims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.claim-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all 0.3s;
}

.claim-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.claim-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 160, 0.1);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.claim-icon svg {
    width: 24px;
    height: 24px;
}

.claim-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.claim-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 14px;
    color: var(--text-muted);
}

.claim-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.claim-params {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.param {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* Verify Panel */
.verify-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.verify-config,
.verify-results {
    padding: 32px;
}

.verify-config {
    border-right: 1px solid var(--border-color);
}

.verify-config h3,
.verify-results h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.config-group {
    margin-bottom: 20px;
}

.config-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.config-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--bg-tertiary);
    height: 6px;
    border-radius: 3px;
    outline: none;
}

.config-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
}

.config-group input[type="number"] {
    width: 100%;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
}

.config-group input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.range-value {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-primary);
}

.hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
}

.radio-option input:checked {
    border-color: var(--accent-primary);
    background: radial-gradient(var(--accent-primary) 40%, transparent 45%);
}

.results-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
    text-align: center;
}

.results-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.results-content {
    min-height: 300px;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.result-badge {
    padding: 6px 16px;
    background: rgba(0, 245, 160, 0.2);
    color: var(--success);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.result-badge.error {
    background: rgba(245, 80, 80, 0.2);
    color: var(--error);
}

.result-time {
    font-size: 13px;
    color: var(--text-muted);
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-metric {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--border-radius-sm);
}

.result-metric-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.result-metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.result-raw {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.result-raw h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.result-raw pre {
    background: var(--bg-primary);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    max-height: 200px;
}

/* Proofs Grid */
.proofs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.proof-card-info {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.05) 0%, rgba(0, 217, 245, 0.05) 100%);
    border-color: rgba(0, 245, 160, 0.2);
}

.proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.proof-type {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.proof-date {
    font-size: 13px;
    color: var(--text-muted);
}

.proof-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.proof-details {
    margin-bottom: 24px;
}

.proof-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.proof-row:last-child {
    border-bottom: none;
}

.proof-label {
    font-size: 13px;
    color: var(--text-muted);
}

.proof-value {
    font-size: 14px;
    color: var(--text-primary);
}

.proof-value.mono {
    font-family: var(--font-mono);
    font-size: 12px;
}

.proof-link {
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.proof-link:hover {
    text-decoration: underline;
}

.external-icon {
    width: 14px;
    height: 14px;
}

.proof-benefits {
    list-style: none;
    margin-top: 20px;
}

.proof-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.proof-benefits svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.proof-ascii {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.proof-ascii h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.proof-ascii pre {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.4;
    color: var(--accent-primary);
}

/* API Section */
.api-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.api-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
}

.api-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.api-card > p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 12px;
}

.method {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.method.get {
    background: rgba(0, 217, 245, 0.2);
    color: var(--accent-secondary);
}

.method.post {
    background: rgba(0, 245, 160, 0.2);
    color: var(--accent-primary);
}

.endpoint code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.code-block {
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-header span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copy-btn {
    padding: 4px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.code-block pre {
    padding: 16px;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.api-footer {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-name {
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-patents {
    margin-top: 8px;
    font-size: 11px !important;
    color: var(--accent-primary);
    opacity: 0.8;
}

.footer-publication {
    margin-top: 4px;
    font-size: 11px !important;
    color: var(--text-muted);
    font-style: italic;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 12px !important;
}

/* Patent Section */
.footer-patents-section {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-patents-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.patent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: rgba(0, 245, 160, 0.05);
    border: 1px solid rgba(0, 245, 160, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.patent-item:hover {
    background: rgba(0, 245, 160, 0.1);
    border-color: rgba(0, 245, 160, 0.4);
}

.patent-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.patent-number {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .patents-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
}

.key-display {
    margin-bottom: 20px;
}

.key-display label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.key-display code {
    display: block;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    word-break: break-all;
}

.key-display code.secret {
    color: var(--warning);
}

.warning {
    padding: 12px;
    background: rgba(245, 160, 0, 0.1);
    border: 1px solid rgba(245, 160, 0, 0.3);
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    color: var(--warning);
}

/* 4-Column Proofs Grid */
.proofs-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.proofs-grid-4 .proof-card {
    padding: 24px;
}

.proofs-grid-4 .proof-title {
    font-size: 16px;
    margin-bottom: 16px;
}

.proofs-grid-4 .proof-row {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.proofs-grid-4 .proof-value {
    font-size: 13px;
}

/* Small button */
.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Industry Comparison Section - Laboratory Style */
.industry-comparison {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.industry-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.lab-header {
    text-align: center;
    margin-bottom: 32px;
}

.lab-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 160, 0.1);
    border: 1px solid rgba(0, 245, 160, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.lab-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lab-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.comparison-icon {
    font-size: 18px;
    margin-right: 8px;
    color: var(--accent-secondary);
}

.comparison-context {
    background: var(--bg-primary);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    border-left: 3px solid var(--accent-primary);
}

.formula {
    font-family: var(--font-mono);
    color: var(--accent-secondary);
    font-size: 12px;
}

.citation {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    margin-top: 8px;
}

/* Metrics Summary */
.metrics-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.metric-box {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.metric-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 245, 160, 0.1);
}

.metric-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.metric-big-value {
    font-size: 36px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.metric-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.industry-comparison h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-card {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    padding: 24px;
}

.comparison-header {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 8px;
    text-align: left;
    font-size: 13px;
}

.comparison-table th {
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td {
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tr.highlight td {
    color: var(--text-primary);
    background: rgba(0, 245, 160, 0.1);
}

.comparison-table tr.highlight td:first-child {
    border-radius: 4px 0 0 4px;
}

.comparison-table tr.highlight td:last-child {
    border-radius: 0 4px 4px 0;
}

.comparison-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Proof Info Section */
.proof-info-section {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.05) 0%, rgba(0, 217, 245, 0.05) 100%);
    border: 1px solid rgba(0, 245, 160, 0.2);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.proof-info-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.proof-info-section > p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
}

.proof-benefits-horizontal {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap;
}

.proof-benefits-horizontal li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.proof-benefits-horizontal svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

/* Social share button styles */
.result-actions .btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

/* Hero Banner */
.hero-banner-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 245, 160, 0.25),
        0 0 100px rgba(0, 245, 160, 0.15),
        inset 0 0 0 1px rgba(0, 245, 160, 0.2);
    border: 1px solid rgba(0, 245, 160, 0.4);
    animation: bannerReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.hero-banner-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.5), rgba(0, 217, 245, 0.5), rgba(0, 245, 160, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.hero-banner-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 245, 160, 0.1),
        transparent
    );
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: brightness(1) contrast(1);
}

.hero-banner-container:hover .hero-banner-image {
    transform: scale(1.03);
    filter: brightness(1.05) contrast(1.02);
}

@keyframes bannerReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.hero-text-content {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Hero Announcement */
.hero-announcement {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 8px;
    background: rgba(0, 245, 160, 0.1);
    border: 1px solid rgba(0, 245, 160, 0.3);
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    transition: all 0.3s ease;
}

.hero-announcement:hover {
    background: rgba(0, 245, 160, 0.15);
    border-color: rgba(0, 245, 160, 0.5);
    transform: translateY(-2px);
}

.announcement-badge {
    padding: 4px 10px;
    background: var(--accent-gradient);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 245, 160, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 245, 160, 0);
    }
}

.highlight-alt {
    background: linear-gradient(135deg, #00d9f5 0%, #00f5a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Staggered animation for hero stats */
.hero-stats .stat {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-stats .stat:nth-child(1) { animation-delay: 0.5s; }
.hero-stats .stat:nth-child(2) { animation-delay: 0.6s; }
.hero-stats .stat:nth-child(3) { animation-delay: 0.7s; }
.hero-stats .stat:nth-child(4) { animation-delay: 0.8s; }

.stat {
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat:hover .stat-value {
    text-shadow: 0 0 20px rgba(0, 245, 160, 0.5);
}

/* Hero title animation */
.hero-title {
    animation: heroTitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Hero subtitle animation */
.hero-subtitle {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* Hero actions staggered animation */
.hero-actions .btn:nth-child(1) {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero-actions .btn:nth-child(2) {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Floating animation for accents */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glow animation for highlights */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 245, 160, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 245, 160, 0.6), 0 0 30px rgba(0, 217, 245, 0.4);
    }
}

.highlight {
    animation: glow 3s ease-in-out infinite;
}

/* Video Showcase */
.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 245, 160, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-info {
    padding: 24px;
}

.video-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 217, 245, 0.15);
    border: 1px solid rgba(0, 217, 245, 0.3);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: 12px;
}

.video-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.video-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-tag {
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

/* Smooth section fade-ins */
.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Improved button hover states */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Card hover glow effect */
.claim-card::before,
.video-card::before,
.proof-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 245, 160, 0.06),
        transparent 40%
    );
}

.claim-card:hover::before,
.video-card:hover::before,
.proof-card:hover::before {
    opacity: 1;
}

.claim-card,
.video-card,
.proof-card {
    position: relative;
}

/* Responsive */
@media (max-width: 1200px) {
    .proofs-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .verify-panel {
        grid-template-columns: 1fr;
    }

    .verify-config {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .proofs-grid,
    .api-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .video-showcase-grid {
        grid-template-columns: 1fr;
    }

    .metrics-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }

    .header-status {
        display: none;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 16px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }

    .nav-link {
        font-size: 13px;
    }

    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
    }

    .hero-banner-container {
        margin: 0 auto 24px;
        border-radius: 12px;
    }

    .hero-announcement {
        font-size: 12px;
        padding: 6px 16px 6px 6px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 48px);
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 8px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-actions {
        flex-direction: column;
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        padding: 0 16px;
    }

    .section-subtitle {
        font-size: 14px;
        padding: 0 16px;
        margin-bottom: 40px;
    }

    .container {
        padding: 0 16px;
    }

    /* Claims grid */
    .claims-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .claim-card {
        padding: 24px;
    }

    .claim-title {
        font-size: 18px;
    }

    .metric-value {
        font-size: 28px;
    }

    /* Verify panel */
    .verify-panel {
        border-radius: 12px;
    }

    .verify-config,
    .verify-results {
        padding: 24px 20px;
    }

    .result-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-metric {
        padding: 14px;
    }

    .result-metric-value {
        font-size: 20px;
    }

    /* API grid */
    .api-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .api-card {
        padding: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* Proofs */
    .proofs-grid-4 {
        grid-template-columns: 1fr;
    }

    .proof-card {
        padding: 24px;
    }

    .proof-benefits-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .result-actions {
        flex-wrap: wrap;
    }

    /* Industry comparison */
    .industry-comparison {
        padding: 20px 16px;
        overflow: hidden;
    }

    .lab-header h3 {
        font-size: 18px;
    }

    .lab-badge {
        font-size: 9px;
        padding: 4px 12px;
    }

    .comparison-grid {
        gap: 20px;
    }

    .comparison-card {
        padding: 16px;
        overflow-x: auto;
    }

    .comparison-header {
        font-size: 14px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .comparison-context {
        font-size: 11px;
        padding: 10px 12px;
    }

    .metrics-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .metric-box {
        padding: 14px 10px;
    }

    .metric-title {
        font-size: 9px;
    }

    .metric-big-value {
        font-size: 24px;
    }

    .metric-desc {
        font-size: 10px;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
        font-size: 11px;
        min-width: 60px;
    }

    .comparison-table tr.highlight td {
        position: relative;
        z-index: 1;
    }

    .comparison-note {
        font-size: 10px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        margin: 16px;
    }

    .modal-header,
    .modal-body {
        padding: 16px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .header-content {
        padding: 10px 12px;
    }

    .logo-name {
        font-size: 14px;
    }

    .logo-subtitle {
        font-size: 9px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero {
        padding: 90px 12px 40px;
    }

    .hero-title {
        font-size: clamp(24px, 10vw, 36px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 0 12px;
    }

    .claim-card {
        padding: 20px;
    }

    .metric-value {
        font-size: 24px;
    }

    .verify-config,
    .verify-results {
        padding: 20px 16px;
    }

    .verify-config h3,
    .verify-results h3 {
        font-size: 16px;
    }

    .metrics-summary {
        grid-template-columns: 1fr;
    }

    .metric-big-value {
        font-size: 24px;
    }

    .video-info {
        padding: 16px;
    }

    .video-info h3 {
        font-size: 16px;
    }

    .video-info p {
        font-size: 13px;
    }

    .proof-card {
        padding: 20px;
    }

    .proof-title {
        font-size: 16px;
    }

    .code-block pre {
        padding: 12px;
        font-size: 10px;
    }

    .proof-ascii pre {
        font-size: 8px;
        padding: 16px;
    }

    /* Extra small comparison table */
    .industry-comparison {
        padding: 16px 12px;
    }

    .comparison-card {
        padding: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px 4px;
        font-size: 10px;
        min-width: 50px;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 80px;
    }
}
