/* assets/css/ai-audit.css */

.ms-audit-page {
    background-color: #F8F9FA;
}

.ms-audit-form-container {
    max-width: 700px;
    margin: 40px auto 0;
}

.ms-audit-form .ms-input-group {
    display: flex;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.ms-audit-form .ms-input {
    flex-grow: 1;
    border: none;
    padding: 20px 25px;
    font-size: 16px;
    outline: none;
}

.ms-audit-form .ms-btn {
    border-radius: 0;
    padding: 0 35px;
    font-size: 16px;
    white-space: nowrap;
}

.ms-audit-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.ms-audit-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ms-audit-features svg {
    color: #25D366; /* Green check */
}

/* Loading State */
.ms-loading-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.ms-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #FFF3E5;
    border-top: 4px solid #FF8A00;
    border-radius: 50%;
    animation: ms-spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes ms-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#ms-loading-step {
    font-size: 20px;
    color: #111111;
    margin-bottom: 24px;
}

.ms-progress-bar-wrap {
    background: #F3F4F6;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.ms-progress-bar {
    background: linear-gradient(90deg, #FF8A00, #E66500);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

/* Report Header */
.ms-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    margin-bottom: 30px;
}

.ms-report-app-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ms-report-app-info img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ms-report-app-info h2 {
    font-size: 24px;
    margin: 0 0 5px;
}

.ms-report-app-info p {
    color: #6B7280;
    margin: 0;
}

.ms-report-metrics {
    display: flex;
    gap: 30px;
}

.ms-metric-box {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.ms-metric-box .ms-metric-label {
    font-size: 13px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.ms-metric-box strong {
    font-size: 24px;
    color: #111111;
}

.ms-metric-box.ms-highlight strong {
    color: #FF8A00;
}

/* Blurred Section */
.ms-report-premium-wrap {
    position: relative;
}

.ms-report-blurred {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.7;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.ms-score-blurred {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    opacity: 0.7;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.ms-report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.ms-revenue-estimate {
    font-size: 28px;
    font-weight: 800;
    color: #FF8A00;
    margin: 15px 0;
}

.ms-growth-tag, .ms-health-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    margin: 15px 0;
}
.ms-growth-tag { background: #E8F5E9; color: #2E7D32; }
.ms-health-tag { background: #FFF3E5; color: #FF8A00; }

.ms-ai-insights ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.ms-ai-insights li {
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ms-ai-insights li::before {
    content: '→';
    color: #FF8A00;
    font-weight: bold;
}
.ms-ai-insights li:last-child {
    border-bottom: none;
}

/* Unlock Overlay */
.ms-unlock-overlay {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 450px;
    z-index: 10;
}

.ms-unlock-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.ms-unlock-icon {
    width: 80px;
    height: 80px;
    background: #FFF3E5;
    color: #FF8A00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ms-unlock-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.ms-unlock-card p {
    color: #6B7280;
    margin-bottom: 24px;
    font-size: 15px;
}

.ms-input {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.ms-input:focus {
    border-color: #FF8A00;
}

/* Utilities */
.ms-hidden {
    display: none !important;
}

@media (max-width: 991px) {
    .ms-report-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .ms-report-app-info {
        flex-direction: column;
    }
    .ms-report-grid {
        grid-template-columns: 1fr;
    }
    .ms-audit-form .ms-input-group {
        flex-direction: column;
    }
    .ms-audit-form .ms-btn {
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
    }
}
