/* ============================================
   Mesh Optimizer — Product-Specific Styles
   Extends ../../../assets/css/main.css
   ============================================ */

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav--scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: var(--border-color);
    padding: 0.6rem 0;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-brand svg {
    width: 32px;
    height: 32px;
}

.nav-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-cta {
    margin-left: 0.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        transition: right var(--transition-base);
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Problem Section --- */
.problem {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.problem-card .icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.problem-card h4 {
    margin-bottom: 0.75rem;
}

.problem-card p {
    margin: 0 auto;
    font-size: 0.95rem;
}

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

/* --- Solution / Data Flow --- */
.solution {
    position: relative;
}

.dataflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.dataflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 140px;
    padding: 1.5rem 1rem;
}

.dataflow-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--accent-glow);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: var(--accent);
}

.dataflow-step h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.dataflow-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 auto;
}

.dataflow-arrow {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0 -0.5rem;
    flex-shrink: 0;
    align-self: center;
    padding-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .dataflow {
        flex-direction: column;
        gap: 0;
    }

    .dataflow-arrow {
        transform: rotate(90deg);
        padding-bottom: 0;
        margin: -0.5rem 0;
    }
}

/* --- Results / Stats Section --- */
.results {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.stat-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

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

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-value { font-size: 2.25rem; }
}

/* --- How It Works --- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    counter-increment: step;
    position: relative;
}

.step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h4 {
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.9rem;
    margin: 0 auto;
}

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

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

/* --- Features Grid --- */
.features {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem 1.5rem;
}

.feature-card .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-card .feature-icon.green {
    background: var(--accent-green-glow);
    border-color: rgba(34, 197, 94, 0.2);
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feature-card .badge {
    margin-bottom: 1rem;
}

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

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

/* --- Open Source Section --- */
.open-source {
    text-align: center;
}

.open-source .card {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 3rem;
    border-color: rgba(34, 197, 94, 0.2);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.03) 0%, var(--bg-card) 100%);
}

.open-source .card p {
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* --- Pricing Section --- */
.pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.pricing-card {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.1);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.3rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    margin: 1rem 0 1.5rem;
}

.pricing-amount .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-amount .price .currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 2px;
}

.pricing-amount .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.pricing-amount .promo {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 600;
    margin-top: 0.3rem;
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: var(--accent-green-glow);
    border: 1px solid rgba(34, 197, 94, 0.3);
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- FAQ --- */
.faq {
    max-width: 700px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-install {
    max-width: 600px;
    margin: 2rem auto 0;
}

.code-block {
    position: relative;
    background: var(--bg-code);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.code-block code {
    background: none;
    padding: 0;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* --- Docs Page --- */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.doc-card {
    padding: 2rem;
}

.doc-card h4 {
    margin-bottom: 0.5rem;
}

.doc-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.doc-card .badge {
    margin-bottom: 1rem;
}

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

/* --- Download Page --- */
.install-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.install-card {
    padding: 2rem;
}

.install-card h4 {
    margin-bottom: 1rem;
}

.install-card .badge {
    margin-bottom: 1rem;
}

.requirements {
    margin-top: 4rem;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.req-card {
    padding: 2rem;
}

.req-card h4 {
    margin-bottom: 1rem;
}

.req-card ul {
    list-style: none;
    padding: 0;
}

.req-card li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 1.25rem;
    position: relative;
}

.req-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

@media (max-width: 768px) {
    .install-methods { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr; }
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.comparison-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table .check {
    color: var(--accent-green);
}

.comparison-table .dash {
    color: var(--text-muted);
}

/* --- Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }

/* --- Page Header (for inner pages) --- */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-header p {
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

/* --- Benchmarks Page --- */
.methodology {
    padding-top: 0;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.methodology-item h5 {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.methodology-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Callout boxes */
.callout {
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
}

.callout--warning {
    border-left-color: var(--accent-yellow);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.03) 0%, var(--bg-card) 100%);
}

.callout--info {
    border-left-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.03) 0%, var(--bg-card) 100%);
}

.callout p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* Hardware cards grid */
.hw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.hw-card {
    padding: 2rem;
}

.hw-card .badge {
    margin-bottom: 1rem;
}

.hw-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hw-specs {
    width: 100%;
    border-collapse: collapse;
}

.hw-specs td {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
}

.hw-specs td:first-child {
    color: var(--text-muted);
    width: 45%;
}

.hw-specs td:last-child {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.hw-total {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

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

/* Benchmark sections */
.benchmarks-section {
    padding: 5rem 0;
}

.benchmarks-section.alt-bg {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* Benchmark tables */
.bench-table-wrap {
    overflow-x: auto;
    margin-top: 2rem;
}

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

.bench-table th,
.bench-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.bench-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

.bench-table td {
    color: var(--text-secondary);
}

.bench-table td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.bench-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.03);
}

.bench-improvement {
    color: var(--accent-green) !important;
    font-weight: 700 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem !important;
}

.bench-good {
    color: var(--accent-green) !important;
    font-weight: 600 !important;
}

.bench-table.compact th,
.bench-table.compact td {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

.bench-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-style: italic;
    line-height: 1.5;
}

/* Split benchmarks (two cards side by side) */
.bench-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.bench-split .card {
    padding: 2rem;
}

.bench-split .card h4 {
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .bench-split { grid-template-columns: 1fr; }
}

/* Aggregate results grid */
.aggregate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

/* Feature list (bullet points in cards) */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.feature-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
}

.feature-list code {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Software environment grid */
.sw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sw-item h5 {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.sw-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Disclaimers */
.disclaimers {
    padding: 3rem 0 5rem;
}

.disclaimers .card {
    padding: 2.5rem;
}

.disclaimers h4 {
    margin-bottom: 1.5rem;
}

.disclaimer-list {
    list-style: none;
    padding: 0;
}

.disclaimer-list li {
    padding: 0.6rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-subtle);
}

.disclaimer-list li:last-child {
    border-bottom: none;
}

.disclaimer-list li strong {
    color: var(--text-secondary);
}

/* Test hardware section */
.test-hardware {
    padding: 5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
