.seo-analyzer-wrapper {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid #f0f4f8;
}

.seo-analyzer-header {
    text-align: center;
    margin-bottom: 35px;
}

.seo-analyzer-header h3 {
    margin-top: 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.seo-analyzer-header p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.seo-analyzer-form-wrapper {
    margin-bottom: 30px;
}

.seo-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.seo-inputs input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    min-width: 0;
}
.seo-inputs input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.seo-consent {
    margin-bottom: 20px;
    font-size: 13px;
    color: #64748b;
    text-align: left;
}

.seo-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
}

.seo-consent input[type="checkbox"] {
    margin-top: 2px;
}

.seo-consent a {
    color: #3b82f6;
    text-decoration: underline;
}

.seo-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
    width: 100%;
}

.seo-btn:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
    transform: translateY(-1px);
}

#seo-analyzer-loading {
    text-align: center;
    padding: 40px 0;
}
.seo-spinner {
    border: 4px solid rgba(0, 0, 0, 0.05);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-left-color: #3b82f6;
    animation: seo-spin 1s linear infinite;
    margin: 0 auto 20px auto;
}
@keyframes seo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seo-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.seo-score-card {
    text-align: center;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.seo-score-card h4 {
    margin: 15px 0 0 0;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}
.circle-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 3.8;
}
.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}
.percentage {
    fill: #1e293b;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: 800;
}
.stroke-red { stroke: #ef4444; }
.stroke-orange { stroke: #f59e0b; }
.stroke-green { stroke: #10b981; }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.metric-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.metric-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 5px;
    font-weight: 600;
}

.metric-value {
    font-size: 20px;
    font-weight: 700;
}

.status-badge {
    float: right;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
}

.status-good { background: #d1fae5; color: #065f46; }
.status-improve { background: #fef3c7; color: #92400e; }
.status-critical { background: #fee2e2; color: #991b1b; }
.status-info { background: #f1f5f9; color: #475569; }
.color-good { color: #10b981; }
.color-improve { color: #f59e0b; }
.color-critical { color: #ef4444; }

.seo-measures-section {
    margin-top: 30px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .seo-inputs {
        flex-direction: column;
    }
    .seo-scores-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* High-Visibility Flash Animation for Unlock Report Section */
.seo-lead-capture-wrapper.seo-flash-box {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #eff6ff 100%);
    border-radius: 16px;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45), 0 10px 25px -5px rgba(59, 130, 246, 0.15);
    animation: seo-box-pulse 2s infinite ease-in-out;
    overflow: hidden;
}

@keyframes seo-box-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5), 0 8px 20px rgba(59, 130, 246, 0.15);
        border-color: #3b82f6;
    }
    50% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0), 0 14px 28px rgba(59, 130, 246, 0.28);
        border-color: #2563eb;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), 0 8px 20px rgba(59, 130, 246, 0.15);
        border-color: #3b82f6;
    }
}

.seo-flash-tag {
    display: inline-block;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
    animation: seo-tag-flash 1.4s infinite ease-in-out;
}

@keyframes seo-tag-flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.06); }
}

.seo-flash-heading {
    animation: seo-flash-glow 1.5s infinite ease-in-out alternate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

@keyframes seo-flash-glow {
    0% {
        color: #1e3a8a;
        text-shadow: 0 0 2px rgba(59, 130, 246, 0.2);
    }
    50% {
        color: #2563eb;
        text-shadow: 0 0 12px rgba(59, 130, 246, 0.6), 0 0 20px rgba(37, 99, 235, 0.3);
    }
    100% {
        color: #dc2626;
        text-shadow: 0 0 14px rgba(239, 68, 68, 0.6), 0 0 22px rgba(220, 38, 38, 0.3);
    }
}

.seo-lock-icon {
    display: inline-block;
    animation: seo-lock-bounce 1.5s infinite ease-in-out;
}

@keyframes seo-lock-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) scale(1.15); }
}