/* Quick LLM VRAM Checker Styles */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.breadcrumb-nav .container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-list li a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
    color: #212529;
}

.breadcrumb-list li[aria-current="page"] {
    color: #212529;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #adb5bd;
    font-size: 0.7rem;
}

/* Calculator Header */
.calculator-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 1rem 2rem;
    text-align: center;
}

.calculator-header .container {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    position: relative;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #212529;
    border-radius: 2px;
}

.calculator-description {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.estimation-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
    border-left: 4px solid #2196f3;
}

.estimation-note i {
    color: #1976d2;
    margin-top: 0.15rem;
}

.estimation-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #1565c0;
}

.estimation-note a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: underline;
}

/* Calculator Section */
.calculator-section {
    padding: 2rem 0 4rem;
    background: #f8f9fa;
}

.calculator-section>.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Calculator Form Wrapper */
.calculator-form-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: clamp(1rem, 3vw, 2rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.calculator-form {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.5rem;
}

/* On medium screens, stack to single column */
@media (max-width: 900px) {
    .calculator-form {
        grid-template-columns: 1fr;
    }
}

/* Real-time Indicator */
.realtime-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #28a745;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
}

.realtime-indicator i {
    color: #28a745;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #6c757d;
    font-size: 0.9rem;
}

.form-hint {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Combobox */
.combobox-wrapper {
    position: relative;
    width: 100%;
}

.combobox-input {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fefefe;
    width: 100%;
    box-sizing: border-box;
}

.combobox-input:focus {
    outline: none;
    border-color: #212529;
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

.combobox-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.combobox-wrapper.open .combobox-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.combobox-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #212529;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.combobox-wrapper.open .combobox-dropdown {
    display: block;
}

.combobox-wrapper.open .combobox-input {
    border-radius: 8px 8px 0 0;
}

.combobox-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
}

.combobox-option:last-child {
    border-bottom: none;
}

.combobox-option:hover,
.combobox-option.highlighted {
    background-color: #f8f9fa;
}

.combobox-option.selected {
    background-color: #e9ecef;
    font-weight: 600;
}

.combobox-option.no-results {
    color: #6c757d;
    font-style: italic;
    cursor: default;
}


/* GPU Filter Wrapper - ID Specific Styling */
.gpu-filter-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
    flex-wrap: nowrap;
}

/* Custom Select Styling - Match Combobox */
.gpu-filter-wrapper select {
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fefefe;
    cursor: pointer;
    height: auto;
    min-height: 48px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.gpu-filter-wrapper select:focus {
    outline: none;
    border-color: #212529;
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

/* Family Filter Dropdown - Fixed small width */
#gpu-family-filter {
    flex: 0 0 120px;
    min-width: 120px;
}

/* Main GPU Dropdown - Takes remaining space */
#gpu-select {
    flex: 1 1 auto;
    min-width: 150px;
}

/* GPU Count Input Wrapper */
.gpu-count-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.gpu-count-wrapper label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

/* Count Input - High Specificity */
input#gpu-count {
    width: 60px !important;
    max-width: 60px !important;
    min-width: 60px !important;
    flex: 0 0 60px !important;
    padding: 0.75rem 0.25rem;
    text-align: center;
    font-weight: 700;
    height: 48px;
    box-sizing: border-box;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fefefe;
}

input#gpu-count:focus {
    outline: none;
    border-color: #212529;
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

/* Responsive Layout - When grid stacks (matches 900px breakpoint) */
@media (max-width: 900px) {
    .gpu-filter-wrapper {
        flex-wrap: wrap;
    }

    #gpu-family-filter {
        flex: 0 0 120px;
    }

    #gpu-select {
        flex: 1 1 auto;
        min-width: 150px;
    }
}

/* Responsive Layout - Mobile */
@media (max-width: 480px) {
    .gpu-filter-wrapper {
        gap: 0.5rem;
    }

    #gpu-family-filter {
        flex: 1 1 100%;
        width: 100%;
    }

    #gpu-select {
        flex: 1 1 calc(100% - 90px);
        min-width: 0;
    }

    .gpu-count-wrapper {
        flex: 0 0 auto;
    }

    input#gpu-count {
        width: 55px !important;
        max-width: 55px !important;
        min-width: 55px !important;
        flex: 0 0 55px !important;
    }
}

/* Context Slider */
.context-value {
    margin-left: auto;
    font-weight: 700;
    color: #212529;
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #212529 0%, #6c757d 100%);
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #212529;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #212529;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6c757d;
    padding: 0.25rem 12px 0;
    margin-top: 0.25rem;
}

/* Context slider - full width on its own row */
.form-group:has(#context-slider) {
    grid-column: 1 / -1;
}

/* Checkbox */
.checkbox-group {
    grid-column: 1 / -1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.checkbox-label:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #212529;
}

.checkbox-label span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label span i {
    color: #6c757d;
}

/* Noscript Warning */
.noscript-warning {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.noscript-warning i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
    display: block;
}

.noscript-warning h3 {
    color: #721c24;
    margin: 0 0 0.5rem 0;
}

.noscript-warning p {
    color: #721c24;
    margin: 0;
}

/* Results Container */
.results-wrapper {
    margin-top: 2rem;
}

.results-container {
    background: #ffffff;
    border-radius: 12px;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.results-container h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.results-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.4;
}

.results-placeholder p {
    margin: 0;
    font-size: 1rem;
}

/* Summary Stats */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.stat-item.stat-good {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #b1dfbb;
}

.stat-item.stat-tight {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffd93d;
}

.stat-item.stat-bad {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #f1b0b7;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #212529;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #495057;
    margin-top: 0.25rem;
}

/* Configuration Table */
.table-wrapper {
    overflow-x: auto;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

.config-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.config-table th,
.config-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.config-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    position: sticky;
    top: 0;
}

.config-table tbody tr:hover {
    background: #f8f9fa;
}

.config-table tbody tr.status-good {
    border-left: 3px solid #28a745;
}

.config-table tbody tr.status-tight {
    border-left: 3px solid #ffc107;
}

.config-table tbody tr.status-bad {
    border-left: 3px solid #dc3545;
    opacity: 0.7;
}

.bpw-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    background: #e9ecef;
    border-radius: 4px;
    color: #6c757d;
    margin-left: 0.5rem;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.status-good {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-tight {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-bad {
    background: #f8d7da;
    color: #721c24;
}

.config-table td.positive {
    color: #28a745;
    font-weight: 600;
}

.config-table td.negative {
    color: #dc3545;
    font-weight: 600;
}

/* Table Note */
.table-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.table-note i {
    color: #6c757d;
    margin-top: 0.1rem;
}

/* Mobile Responsive - General Styles */
@media (max-width: 768px) {
    .calculator-form {
        grid-template-columns: 1fr;
    }

    .summary-stats {
        grid-template-columns: 1fr;
    }

    .config-table {
        font-size: 0.8rem;
    }

    .config-table th,
    .config-table td {
        padding: 0.5rem 0.35rem;
    }
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 1.5rem;
    }
}

/* ==================== SEO CONTENT SECTIONS ==================== */

/* Info Section Base Styles */
.info-section {
    padding: 4rem 1rem;
    background: #fff;
}

.info-section:nth-child(even) {
    background: #f8f9fa;
}

.info-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-section h2 i {
    color: #6c757d;
}

.section-intro {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Formula Box */
.formula-box {
    background: linear-gradient(135deg, #212529, #343a40);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.formula-main {
    font-size: 1.25rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
}

.formula-sub {
    font-size: 0.9rem;
    color: #adb5bd;
    font-family: 'Courier New', monospace;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.info-section:nth-child(even) .info-card {
    background: #fff;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #212529, #495057);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    color: #fff;
    font-size: 1.25rem;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mini Formula */
.mini-formula {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #212529;
    margin-bottom: 1rem;
    border-left: 3px solid #212529;
}

/* Example Table in Cards */
.example-table {
    overflow-x: auto;
}

.example-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.example-table th,
.example-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.example-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.example-table tr.highlight {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

/* Cache List */
.cache-list,
.overhead-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.cache-list li,
.overhead-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #495057;
}

.cache-list li:last-child,
.overhead-list li:last-child {
    border-bottom: none;
}

.overhead-note {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Architecture Section */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.arch-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.arch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.arch-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.arch-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #6c757d;
    color: #fff;
}

.arch-badge.arch-mla {
    background: #007bff;
}

.arch-badge.arch-moe {
    background: #dc3545;
}

.arch-badge.arch-hybrid {
    background: #6f42c1;
}

.arch-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.arch-models {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.arch-card>p {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.arch-formula {
    background: #f8f9fa;
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #495057;
}

.arch-note {
    background: #fff3cd;
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arch-note i {
    color: #856404;
}

/* Speed Section */
.speed-explanation {
    margin-bottom: 2rem;
}

.speed-explanation>p {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.speed-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.speed-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.speed-table th,
.speed-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.speed-table th {
    background: #212529;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.speed-table td {
    font-size: 0.95rem;
    color: #212529;
}

.speed-table tbody tr:hover {
    background: #f8f9fa;
}

.speed-table tbody tr:last-child td {
    border-bottom: none;
}

.speed-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.speed-note i {
    color: #1976d2;
    margin-top: 0.1rem;
}

.speed-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #1565c0;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #212529;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: #6c757d;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: #f8f9fa;
}

.faq-item p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Related Tools Section */
.related-tools-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #212529, #343a40);
}

.related-tools-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.related-tools-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.tool-card i {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.75rem;
    display: block;
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Responsive for SEO Sections */
@media (max-width: 768px) {
    .info-section {
        padding: 3rem 1rem;
    }

    .info-section h2 {
        font-size: 1.5rem;
    }

    .formula-box {
        padding: 1rem 1.25rem;
    }

    .formula-main {
        font-size: 1rem;
    }

    .architecture-grid {
        grid-template-columns: 1fr;
    }

    .speed-table th,
    .speed-table td {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
    }

    .faq-section {
        padding: 3rem 1rem;
    }

    .related-tools-section {
        padding: 3rem 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .info-cards {
        grid-template-columns: 1fr;
    }

    .arch-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}