.imta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    border-radius: 32px;
}

.imta-header {
    text-align: center;
    margin-bottom: 40px;
}

.imta-header h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #1e293b, #2c7da0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.imta-header p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

.imta-tool-wrapper {
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
    padding: 35px;
    margin-bottom: 40px;
}

.imta-url-input-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.imta-url-input {
    flex: 1;
    padding: 18px 22px;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafcff;
}

.imta-url-input:focus {
    outline: none;
    border-color: #2c7da0;
    box-shadow: 0 0 0 4px rgba(44, 125, 160, 0.1);
}

.imta-analyze-btn {
    background: linear-gradient(135deg, #2c7da0, #1f5e7a);
    color: white;
    border: none;
    padding: 0 32px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.imta-analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 125, 160, 0.3);
}

.imta-stats-preview {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.imta-stat-badge {
    background: #f1f5f9;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2c7da0;
}

.imta-loader {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 32px;
    margin-top: 30px;
}

.imta-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #2c7da0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.imta-progress {
    width: 300px;
    max-width: 80%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 20px auto 0;
    overflow: hidden;
}

.imta-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2c7da0, #60a5fa);
    animation: progress 1.5s ease-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.imta-results-section {
    background: white;
    border-radius: 32px;
    padding: 35px;
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.imta-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef2f6;
}

.imta-actions {
    display: flex;
    gap: 12px;
}

.imta-icon-btn {
    padding: 8px 18px;
    background: #f1f5f9;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.imta-icon-btn:hover {
    background: #e2e8f0;
}

.imta-score-card {
    background: linear-gradient(135deg, #f0f9ff, #e6f7f0);
    border-radius: 28px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #2c7da0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.score-message {
    font-size: 1rem;
    color: #0f172a;
    flex: 1;
}

.imta-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.imta-meta-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #eef2f6;
}

.imta-meta-card h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #0f172a;
}

.meta-content {
    background: white;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    word-break: break-word;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
}

.meta-status {
    font-size: 12px;
    padding: 4px 0;
}

.meta-status.success { color: #27ae60; }
.meta-status.warning { color: #f39c12; }
.meta-status.error { color: #e74c3c; }

.meta-detail {
    font-size: 11px;
    color: #64748b;
    margin-top: 8px;
}

.imta-section {
    margin-bottom: 30px;
}

.imta-section h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #0f172a;
}

.imta-headings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.heading-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 15px;
}

.heading-box h5 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #2c7da0;
}

.heading-list {
    list-style: none;
    padding: 0;
    font-size: 12px;
}

.heading-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eef2f6;
}

.imta-stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 15px 25px;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c7da0;
}

.stat-box label {
    font-size: 12px;
    color: #64748b;
}

.imta-images-list {
    max-height: 200px;
    overflow-y: auto;
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px;
}

.image-item {
    font-family: monospace;
    font-size: 11px;
    padding: 6px;
    border-bottom: 1px solid #e2e8f0;
    word-break: break-all;
}

.imta-recommendations {
    background: #f0f9ff;
    border-radius: 24px;
    padding: 24px;
    margin: 25px 0;
}

.recommendations-list {
    list-style: none;
    padding: 0;
}

.recommendations-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0f2fe;
}

.imta-raw-section {
    margin-top: 25px;
}

.raw-meta-content {
    background: #0f172a;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 16px;
    font-family: monospace;
    font-size: 11px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 200px;
    overflow-y: auto;
}

.imta-disclaimer {
    background: #fef9e3;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 12px;
    color: #92400e;
    margin-top: 25px;
}

.imta-features {
    margin-top: 50px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    background: white;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature span {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.feature h4 {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.feature p {
    font-size: 11px;
    color: #64748b;
}

.imta-small {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .imta-container {
        padding: 20px 15px;
    }
    .imta-header h1 {
        font-size: 1.8rem;
    }
    .imta-tool-wrapper {
        padding: 20px;
    }
    .imta-url-input-group {
        flex-direction: column;
    }
    .imta-analyze-btn {
        padding: 14px;
        justify-content: center;
    }
    .imta-meta-grid {
        grid-template-columns: 1fr;
    }
    .imta-headings-grid {
        grid-template-columns: 1fr;
    }
    .imta-stats-row {
        flex-direction: column;
    }
}