/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #0f0f0f;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-dim: #606060;
    --border: #1a1a1a;
    --accent: #ffffff;
}

body {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 300;
}

/* Main Content */
main {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

/* Upload Section */
.upload-section {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-file-upload {
    min-height: 280px;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;
    border: 2px dashed rgba(232, 232, 232, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0px 48px 35px -48px rgba(232, 232, 232, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-file-upload:hover {
    border-color: rgba(232, 232, 232, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    transform: translateY(-4px);
    box-shadow: 0px 56px 45px -48px rgba(232, 232, 232, 0.15);
}

.custom-file-upload.drag-over {
    border-color: rgba(232, 232, 232, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    transform: scale(1.02);
}

.custom-file-upload .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.custom-file-upload:hover .icon {
    transform: translateY(-4px);
}

.custom-file-upload .icon svg {
    height: 100px;
    width: 100px;
    fill: rgba(232, 232, 232, 0.8);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.custom-file-upload:hover .icon svg {
    fill: rgba(232, 232, 232, 0.95);
}

.custom-file-upload .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.custom-file-upload .text h2 {
    font-weight: 400;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: -0.01em;
}

.custom-file-upload .text p {
    font-weight: 300;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin: 0;
}

.custom-file-upload input {
    display: none;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-card {
    text-align: center;
    padding: 3rem 2rem;
}

.success-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.error-card {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Icons */
.success-icon,
.error-icon {
    font-size: 4em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Spinner */
.spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-success {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-success:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 20px;
    height: 20px;
}

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

/* Gecko ID Section */
.gecko-id-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gecko-id-section h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gecko-id-section .help-text {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.gecko-id-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.gecko-id-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.gecko-id-input::placeholder {
    color: var(--text-dim);
}

/* Format Selection */
.format-selection {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.format-selection h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.format-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.format-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.format-option:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(2px);
}

.format-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.format-option input[type="radio"]:checked {
    border-color: rgba(255, 255, 255, 0.8);
}

.format-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.format-label {
    flex: 1;
}

.format-label strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.format-label small {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Analysis Results */
#analysisResults {
    margin: 2rem 0;
    text-align: left;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card .label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 300;
}

.analysis-section {
    margin: 1.5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
}

.section-header:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.section-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-header h3 {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.section-count {
    color: var(--text-primary);
    font-weight: 500;
}

.section-severity {
    color: var(--text-dim);
}

.section-auto-fix {
    color: rgba(255, 255, 255, 0.6);
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.section-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.section-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0.5rem;
    opacity: 1;
}

.section-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

/* Common Attributes Section */
.common-attributes {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.common-suggestion {
    flex: 1 1 100%;
    margin-top: 0.5rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    line-height: 1.4;
}

/* Compact Issue List */
.compact-issue-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0 0.5rem;
}

.compact-issue {
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.015);
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.compact-issue:hover {
    background: rgba(255, 255, 255, 0.03);
    border-left-color: rgba(255, 255, 255, 0.15);
}

.issue-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.issue-location {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.issue-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.issue-suggestion {
    color: var(--text-dim);
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    margin-top: 0.4rem;
    background: rgba(255, 255, 255, 0.015);
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    line-height: 1.3;
}

.severity-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.severity-blocker {
    background: rgba(255, 80, 80, 0.2);
    color: rgba(255, 120, 120, 1);
    border: 1px solid rgba(255, 80, 80, 0.3);
}

.severity-major {
    background: rgba(255, 180, 80, 0.2);
    color: rgba(255, 200, 120, 1);
    border: 1px solid rgba(255, 180, 80, 0.3);
}

.severity-minor {
    background: rgba(255, 220, 80, 0.2);
    color: rgba(255, 230, 150, 1);
    border: 1px solid rgba(255, 220, 80, 0.3);
}

.severity-info {
    background: rgba(120, 180, 255, 0.2);
    color: rgba(160, 200, 255, 1);
    border: 1px solid rgba(120, 180, 255, 0.3);
}

.auto-fixable-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(100, 255, 150, 0.15);
    color: rgba(150, 255, 180, 1);
    border: 1px solid rgba(100, 255, 150, 0.25);
}

.incompatibility-location {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.incompatibility-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.875rem;
}

.incompatibility-suggestion {
    color: var(--text-dim);
    font-size: 0.8rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    line-height: 1.4;
}

/* Keyboard Shortcut Conflicts */
.shortcut-section {
    border: 1px solid rgba(255, 200, 100, 0.3);
    background: rgba(255, 200, 100, 0.03);
}

.shortcut-conflicts-info {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 200, 100, 0.05);
    border-left: 3px solid rgba(255, 200, 100, 0.4);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.shortcut-conflict {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.shortcut-conflict:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.conflict-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.conflict-shortcut {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.conflict-arrow {
    color: rgba(255, 200, 100, 0.8);
    font-size: 1.2rem;
}

.conflict-firefox {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: rgba(255, 180, 100, 1);
    background: rgba(255, 180, 100, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 180, 100, 0.3);
    font-weight: 500;
}

.conflict-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.shortcut-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shortcut-selector label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

.shortcut-dropdown {
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.5rem;
}

.shortcut-dropdown:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.shortcut-dropdown:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.shortcut-custom-input {
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.shortcut-custom-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.shortcut-custom-input::placeholder {
    color: var(--text-dim);
    font-style: italic;
}

/* Shortcut Safe/Available Info */
.shortcut-safe-info,
.shortcut-available-info {
    padding: 1rem;
    margin: 1rem 0;
    background: rgba(100, 255, 150, 0.03);
    border-left: 3px solid rgba(100, 255, 150, 0.3);
    border-radius: 4px;
}

.shortcut-safe-info h4,
.shortcut-available-info h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.shortcut-safe-info p,
.shortcut-available-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.safe-shortcuts-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
}

.safe-shortcuts-list li {
    display: inline-block;
}

.safe-shortcuts-list code {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: rgba(100, 255, 150, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(100, 255, 150, 0.2);
}

.available-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.available-shortcut {
    display: inline-block;
}

.available-shortcut code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.2s ease;
}

.available-shortcut code:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* Download Info */
.download-info {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Next Steps */
.next-steps {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.next-steps h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin: 0.75rem 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.next-steps code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Courier New", monospace;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Results Section - Less Centered */
.results-section .card {
    text-align: left;
}

.results-section .card h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Extension Info */
.extension-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-item strong {
    display: block;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item span {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 300;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    text-align: center;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

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

.version {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    .common-attributes {
        flex-direction: column;
        align-items: flex-start;
    }
    }

    .container {
        margin: 0;
    }

    main {
        padding: 1.5rem 1rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .extension-info {
        grid-template-columns: 1fr;
    }
    
    .format-options {
        flex-direction: column;
    }

    .custom-file-upload {
        min-height: 240px;
        max-width: 100%;
        padding: 2rem 1.5rem;
        gap: 20px;
    }

    .custom-file-upload .icon svg {
        height: 80px;
        width: 80px;
    }

    .custom-file-upload .text h2 {
        font-size: 1.25rem;
    }

    .custom-file-upload .text p {
        font-size: 0.9rem;
    }
    .incompatibility-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .custom-file-upload {
        min-height: 200px;
        padding: 1.5rem 1rem;
        gap: 16px;
    }

    .custom-file-upload .icon svg {
        height: 70px;
        width: 70px;
    }

    .custom-file-upload .text h2 {
        font-size: 1.1rem;
    }

    .custom-file-upload .text p {
        font-size: 0.85rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-meta {
        font-size: 0.75rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}