.dseo-audit { max-width: 800px; margin: 20px auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

/* Header */
.dseo-audit-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.dseo-audit-header h1 { margin: 0; font-size: 24px; font-weight: 600; }
.dseo-audit-header .dashicons { font-size: 28px; width: 28px; height: 28px; color: #7e5cef; }

/* Pre-run card */
.dseo-audit-intro { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 40px; text-align: center; }
.dseo-audit-intro p { font-size: 15px; color: #555; max-width: 500px; margin: 0 auto 24px; line-height: 1.6; }
.dseo-audit-intro .dseo-run-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: linear-gradient(135deg, #7e5cef, #5b3dc7); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.dseo-audit-intro .dseo-run-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(126,92,239,0.4); }

/* Loading */
.dseo-audit-loading { display: none; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 40px; text-align: center; }
.dseo-loading-bar { width: 100%; max-width: 400px; height: 8px; background: #e8e8e8; border-radius: 4px; margin: 20px auto; overflow: hidden; }
.dseo-loading-fill { height: 100%; background: linear-gradient(90deg, #7e5cef, #9171f5); border-radius: 4px; width: 0%; transition: width 0.5s ease; }
.dseo-loading-pct { font-size: 24px; font-weight: 700; color: #7e5cef; }
.dseo-loading-steps { text-align: left; max-width: 350px; margin: 20px auto 0; }
.dseo-loading-step { font-size: 13px; padding: 4px 0; color: #888; transition: color 0.3s; }
.dseo-loading-step.active { color: #1d2327; font-weight: 500; }
.dseo-loading-step.done { color: #00a32a; }
.dseo-loading-step::before { content: '○ '; }
.dseo-loading-step.active::before { content: '→ '; }
.dseo-loading-step.done::before { content: '✓ '; }

/* Results */
.dseo-audit-results { display: none; }

/* Gauge */
.dseo-gauge { text-align: center; margin: 20px 0 30px; }
.dseo-gauge-circle { width: 160px; height: 160px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-direction: column; border: 8px solid #e8e8e8; position: relative; }
.dseo-gauge-num { font-size: 42px; font-weight: 800; line-height: 1; }
.dseo-gauge-label { font-size: 13px; color: #666; margin-top: 2px; }
.dseo-gauge-msg { font-size: 15px; margin-top: 12px; font-weight: 500; }

/* Category card */
.dseo-cat { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.dseo-cat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dseo-cat-title { font-size: 14px; font-weight: 700; color: #1d2327; }
.dseo-cat-score { font-size: 14px; font-weight: 700; }
.dseo-cat-bar { width: 100%; height: 6px; background: #e8e8e8; border-radius: 3px; margin-bottom: 14px; }
.dseo-cat-bar-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }

/* Check items */
.dseo-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.dseo-check { font-size: 13px; padding: 3px 0; }
.dseo-check-pass { color: #00a32a; }
.dseo-check-pass::before { content: '✓ '; font-weight: 700; }
.dseo-check-fail { color: #d63638; }
.dseo-check-fail::before { content: '✗ '; font-weight: 700; }

/* Page stats */
.dseo-page-stats { display: flex; flex-direction: column; gap: 8px; }
.dseo-page-stat { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.dseo-page-stat-label { width: 160px; color: #555; }
.dseo-page-stat-bar { flex: 1; height: 6px; background: #e8e8e8; border-radius: 3px; }
.dseo-page-stat-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.dseo-page-stat-num { width: 80px; text-align: right; font-weight: 600; }

/* CTA */
.dseo-cta { background: linear-gradient(135deg, #f8f6ff, #ede8ff); border: 1px solid #ddd4ff; border-radius: 8px; padding: 24px; text-align: center; margin-top: 20px; }
.dseo-cta h3 { margin: 0 0 8px; font-size: 16px; color: #1d2327; }
.dseo-cta p { margin: 0 0 16px; font-size: 13px; color: #555; }
.dseo-cta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px; background: linear-gradient(135deg, #7e5cef, #5b3dc7); color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.dseo-cta-btn:hover { color: #fff; opacity: 0.9; }

.dseo-cta-success { background: linear-gradient(135deg, #eef7f0, #d4edda); border-color: #b8dabc; }
@keyframes dseo-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
