:root {
    /* Primary Colors */
    --json5-primary: #7c3aed;
    --json5-primary-dark: #6d28d9;
    --json5-primary-light: #ede9fe;
    --json5-primary-hover: #6d28d9;
    --json5-primary-shadow: rgb(124 58 237 / 25%);
    
    /* Semantic Colors */
    --json5-success: #10b981;
    --json5-warning: #f59e0b;
    --json5-danger: #ef4444;
    --json5-info: #3b82f6;
    --json5-accent: #a78bfa;
    
    /* Surface Colors */
    --json5-surface: #ffffff;
    --json5-surface-muted: #faf5ff;
    --json5-surface-elevated: #ffffff;
    --json5-background: #f9fafb;
    --json5-secondary-bg: #e5e7eb;
    
    /* Border Colors */
    --json5-border: #d1d5db;
    --json5-border-light: #f3f4f6;
    --json5-border-dark: #9ca3af;
    
    /* Text Colors */
    --json5-text-main: #111827;
    --json5-text-muted: #6b7280;
    --json5-text-light: #9ca3af;
    --json5-text-inverse: #ffffff;
    
    /* Shadow System */
    --json5-shadow-soft: 0 20px 45px rgba(17, 24, 39, 0.08);
    --json5-shadow-sm: 0 1px 2px rgb(17 24 39 / 0.08);
    --json5-shadow-md: 0 4px 12px rgb(17 24 39 / 0.08);
    --json5-shadow-lg: 0 12px 24px rgb(17 24 39 / 0.12);
    --json5-shadow-xl: 0 20px 25px rgb(17 24 39 / 0.1);
    
    /* Border Radius */
    --json5-radius-sm: 0.375rem;
    --json5-radius-md: 0.75rem;
    --json5-radius-lg: 1.5rem;
    --json5-radius-xl: 2rem;
    --json5-radius-full: 9999px;
    
    /* Spacing */
    --json5-spacing-xs: 0.25rem;
    --json5-spacing-sm: 0.5rem;
    --json5-spacing-md: 1rem;
    --json5-spacing-lg: 1.5rem;
    --json5-spacing-xl: 2rem;
    
    /* Legacy Variables */
    --primary-color: var(--json5-primary);
    --primary-color-light: var(--json5-primary-light);
    --surface-color: var(--json5-surface);
    --light-bg: var(--json5-background);
    --border-color: var(--json5-border);
    --text-primary: var(--json5-text-main);
    --text-secondary: var(--json5-text-muted);
    --secondary-color: var(--json5-text-muted);
    --success-color: var(--json5-success);
    --info-color: var(--json5-info);
    --warning-color: var(--json5-warning);
    --danger-color: var(--json5-danger);
    --dark-text: var(--json5-text-main);
    --border-radius: var(--json5-radius-lg);
    --shadow: var(--json5-shadow-md);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* related to and faqs component variables */
    --primary: var(--json5-primary);
    --primary-dark: var(--json5-primary-dark);
    --border: var(--json5-border);
    --surface: var(--json5-surface);
    --shadow-soft: var(--json5-shadow-soft);
    --surface-muted: var(--json5-surface-muted);
    --text-main: var(--json5-text-main);
    --text-muted: var(--json5-text-muted);
}

.json5-validator-wrapper {
    padding-bottom: 2rem;
}

.json5-intro-section {
    margin-bottom: 2rem;
}

.json5-main-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.json5-subtitle-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    max-width: 700px;
}

.json5-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-badge {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    color: var(--dark-text);
}

.json5-main-panel {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--json5-shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2rem;
}

.json5-input-card {
    padding: 0;
}

.json5-form-wrapper {
    max-width: 100%;
}

.info-status-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--dark-text);
}

.info-status-bar svg {
    flex-shrink: 0;
    color: var(--info-color);
}

.input-section {
    margin-bottom: 1.5rem;
}

.field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9375rem;
}

.label-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--info-color);
    color: white;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: help;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    line-height: 1;
}

.tooltip-btn:hover {
    background: var(--json5-primary-hover);
    transform: scale(1.1);
}

.tooltip-content {
    visibility: hidden;
    width: 296px;
    background-color: var(--dark-text);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 0.75rem;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -148px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: var(--json5-shadow-lg);
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-text) transparent transparent transparent;
}

.help-tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.editor-container {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    min-height: 400px;
    transition: var(--transition);
    width: 100%;
}

.editor-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.editor-container .editor {
    min-height: 400px;
    height: 100%;
    width: 100%;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.primary-action-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--json5-primary), var(--json5-primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--json5-shadow-md);
    min-height: 48px;
    min-width: 140px;
}

.primary-action-btn:hover {
    background: linear-gradient(135deg, var(--json5-primary-dark), var(--json5-primary));
    transform: translateY(-2px);
    box-shadow: var(--json5-shadow-lg);
}

.primary-action-btn:active {
    transform: translateY(0);
    box-shadow: var(--json5-shadow-md);
}

.primary-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2), var(--json5-shadow-md);
}

.secondary-action-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--dark-text);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

.secondary-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--light-bg);
}

.results-panel {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.results-panel[style*="display: block"] {
    animation: slideIn 0.5s ease-out;
}

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

.results-header-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.results-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--dark-text);
}

.results-metrics {
    font-size: 0.875rem;
    color: var(--secondary-color);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-label {
    font-weight: 600;
}

.metric-value {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
}

.metric-value.success {
    background: var(--json5-primary-light);
    color: var(--json5-primary-dark);
}

.metric-value.error {
    background: #fee2e2;
    color: #dc2626;
}

.result-content-area {
    flex: 1;
    margin-bottom: 1.5rem;
    overflow-y: auto;
}

.output-display {
    padding: 1rem;
    border-radius: 8px;
    min-height: 200px;
}

.output-display.valid {
    background: var(--json5-primary-light);
    border: 2px solid var(--json5-success);
    color: var(--json5-primary-dark);
}

.output-display.invalid {
    background: #fee2e2;
    border: 2px solid var(--json5-danger);
    color: #991b1b;
}

.output-display.warning {
    background: #fef3c7;
    border: 2px solid var(--json5-warning);
    color: #92400e;
}

.output-message {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.output-message svg {
    width: 20px;
    height: 20px;
}

.error-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.error-item {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--json5-danger);
    box-shadow: var(--json5-shadow-sm);
}

.error-line {
    font-weight: 700;
    color: var(--json5-danger);
    margin-bottom: 0.25rem;
}

.error-message {
    color: var(--json5-text-main);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.results-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.action-buttons-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.utility-btn {
    flex: 1 1 auto;
    min-width: 120px;
    background: #f1f5f9;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #405063;
    border: 1px solid #dde3e7;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.utility-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.utility-btn.copied {
    background: var(--json5-success);
    border-color: var(--json5-success);
    color: #ffffff;
}

.utility-btn svg {
    width: 16px;
    height: 16px;
}

.share-section {
    background: rgba(241, 245, 249, 0.8);
    border-radius: var(--json5-radius-md);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.share-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease;
}

.share-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(17, 24, 39, 0.2);
    color: #ffffff;
}

.share-x-link { background: #111827; }
.share-fb-link { background: #1877f2; }
.share-li-link { background: #0a66c2; }
.share-rd-link { background: #ff4500; }
.share-tg-link { background: #229ed9; }
.share-wa-link { background: #25d366; color: #0f172a; }

.empty-state-wrapper {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--secondary-color);
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--border-color);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* JSON5 Knowledge Section */
.json5-knowledge-section {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.json5-article-content {
    background: var(--json5-surface);
    border: 1px solid var(--json5-border);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--json5-shadow-soft);
}

.json5-article-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--json5-text-main);
    margin-bottom: 0.75rem;
}

.json5-article-header p {
    color: var(--json5-text-muted);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.json5-validation-process {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--json5-surface-muted) 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid var(--json5-border);
}

.json5-validation-process h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--json5-text-main);
    text-align: center;
}

.process-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.process-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--json5-shadow-sm);
    border: 1px solid var(--json5-border);
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
}

.process-card:hover {
    box-shadow: var(--json5-shadow-md);
    transform: translateY(-2px);
}

.process-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--json5-primary-light);
    color: var(--json5-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon-box svg {
    width: 32px;
    height: 32px;
}

.process-text-content {
    flex: 1;
    min-width: 0;
}

.process-text-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--json5-text-main);
}

.process-text-content p {
    font-size: 0.9rem;
    color: var(--json5-text-muted);
    line-height: 1.6;
    margin: 0;
}

.json5-error-types {
    margin-top: 2rem;
}

.json5-error-types h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--json5-text-main);
}

.error-types-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.error-card {
    border: 1px solid var(--json5-border);
    border-radius: 12px;
    background: white;
    padding: 1.25rem;
    box-shadow: var(--json5-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.error-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.error-icon-wrapper.error-syntax {
    background: #fee2e2;
    color: #dc2626;
}

.error-icon-wrapper.error-comment {
    background: #fef3c7;
    color: #d97706;
}

.error-icon-wrapper.error-structure {
    background: #dbeafe;
    color: #2563eb;
}

.error-icon-wrapper.error-quote {
    background: #fce7f3;
    color: #db2777;
}

.error-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--json5-text-main);
}

.error-card p {
    margin: 0;
    color: var(--json5-text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.json5-scenarios-grid {
    margin-top: 2rem;
}

.json5-scenarios-grid h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--json5-text-main);
}

.scenario-item {
    border: 1px solid var(--json5-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--json5-shadow-sm);
    padding: 18px;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scenario-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--json5-primary-light);
    color: var(--json5-primary-dark);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.scenario-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--json5-text-main);
}

.scenario-item p {
    margin: 0;
    color: var(--json5-text-muted);
    line-height: 1.6;
}

.scenario-example-block {
    margin-top: 0.5rem;
}

.example-label-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--json5-text-muted);
    margin-bottom: 0.5rem;
}

.scenario-code {
    background: var(--json5-surface-muted);
    border-radius: 10px;
    padding: 12px;
    
    font-size: 0.9rem;
    color: var(--json5-text-main);
    border: 1px solid var(--json5-border);
    white-space: pre-wrap;
    overflow-x: auto;
    margin: 0;
}

.scenario-result {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--json5-surface-muted);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--json5-text-muted);
}

.json5-quick-guide-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--json5-surface-muted) 0%, #ffffff 100%);
    border-radius: 14px;
    border: 1px solid var(--json5-border);
}

.quick-guide-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.quick-guide-header svg {
    color: var(--json5-primary);
}

.quick-guide-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--json5-text-main);
}

.quick-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quick-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--json5-border);
}

.step-number-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--json5-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-description {
    color: var(--json5-text-main);
    font-size: 0.9375rem;
}

.quick-tip-box {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--json5-primary);
    font-size: 0.9rem;
    color: var(--json5-text-muted);
}

.json5-usecase-panel {
    margin-top: 2rem;
}

.json5-usecase-panel h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--json5-text-main);
}

.usecase-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.usecase-card {
    border: 1px solid var(--json5-border);
    border-radius: 12px;
    background: white;
    padding: 1.25rem;
    box-shadow: var(--json5-shadow-sm);
    text-align: center;
}

.usecase-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.usecase-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--json5-text-main);
}

.usecase-card p {
    margin: 0;
    color: var(--json5-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.json5-features-comparison {
    margin-top: 2rem;
}

.json5-features-comparison h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--json5-text-main);
}

.features-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(296px, 1fr));
    gap: 1.25rem;
}

.feature-item {
    border: 1px solid var(--json5-border);
    border-radius: 12px;
    background: white;
    padding: 1.25rem;
    box-shadow: var(--json5-shadow-sm);
}

.feature-header-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-header-section svg {
    color: var(--json5-primary);
    flex-shrink: 0;
}

.feature-item.feature-positive .feature-header-section svg {
    color: var(--json5-success);
}

.feature-item.feature-neutral .feature-header-section svg {
    color: var(--json5-warning);
}

.feature-header-section h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--json5-text-main);
}

.feature-item p {
    margin: 0;
    color: var(--json5-text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.json5-best-practices {
    margin-top: 2rem;
}

.json5-best-practices h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--json5-text-main);
}

.practices-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.practice-card {
    border: 1px solid var(--json5-border);
    border-radius: 12px;
    background: white;
    padding: 1.25rem;
    box-shadow: var(--json5-shadow-sm);
    display: flex;
    gap: 1rem;
}

.practice-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.practice-card.practice-good .practice-icon-badge {
    background: var(--json5-primary-light);
    color: var(--json5-success);
}

.practice-card.practice-bad .practice-icon-badge {
    background: #fee2e2;
    color: var(--json5-danger);
}

.practice-text-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--json5-text-main);
}

.practice-text-content p {
    margin: 0;
    color: var(--json5-text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.related-tools-inline {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--json5-surface-muted);
    border-radius: 12px;
    border: 1px solid var(--json5-border);
}

.related-tools-inline h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--json5-text-main);
}

.related-tools-inline p {
    margin: 0;
    color: var(--json5-text-muted);
    line-height: 1.7;
}

.related-tools-inline a {
    color: var(--json5-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.related-tools-inline a:hover {
    border-bottom-color: var(--json5-primary);
}

.json5-how-tool-works,
.json5-accuracy,
.json5-team-card {
    margin-top: 2rem;
}

.json5-how-tool-works h3,
.json5-accuracy h3,
.json5-team-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--json5-text-main);
    margin-bottom: 0.4rem;
}

.json5-how-tool-works p,
.json5-accuracy ul,
.json5-team-card p {
    color: var(--json5-text-muted);
    line-height: 1.65;
    margin: 0;
}

.json5-accuracy ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.json5-accuracy li + li {
    margin-top: 0.35rem;
}

.trust-note {
    margin-top: 0.5rem;
    color: var(--json5-text-muted);
    font-weight: 600;
}

.json5-team-card a {
    color: var(--json5-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.json5-team-card a:hover {
    border-bottom-color: var(--json5-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .json5-main-panel {
        padding: 1rem;
    }
    
    .process-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .process-icon-box {
        width: 48px;
        height: 48px;
    }
    
    .process-icon-box svg {
        width: 28px;
        height: 28px;
    }
    
    .process-text-content h4 {
        font-size: 1rem;
    }
    
    .process-text-content p {
        font-size: 0.875rem;
    }
    
    .error-types-layout,
    .usecase-grid-layout,
    .features-grid-layout,
    .practices-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .json5-scenarios-grid {
        margin-top: 1.5rem;
    }
    
    .scenario-item {
        margin-bottom: 1rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .primary-action-btn,
    .secondary-action-btn {
        width: 100%;
    }
}

