/**
 * A. Smith Speed Optimizer - Dark Theme Admin Styles
 * Inspired by modern dashboard aesthetics
 *
 * @package Asmith_Speed_Optimizer
 */

/* ============================================
   BASE & LAYOUT
   ============================================ */
.asmith-so-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px 40px;
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
	color: #e2e8f0;
}

.asmith-so-wrap *,
.asmith-so-wrap *::before,
.asmith-so-wrap *::after {
	box-sizing: border-box;
}

/* Override WP admin background for our pages */
.toplevel_page_asmith-so #wpcontent,
.speed-optimizer_page_asmith-so-settings #wpcontent {
	background: #0b0f19;
}

.toplevel_page_asmith-so #wpbody-content,
.speed-optimizer_page_asmith-so-settings #wpbody-content {
	padding-bottom: 40px;
}

/* Override WP admin sidebar highlight */
.toplevel_page_asmith-so .wp-menu-image::before,
.speed-optimizer_page_asmith-so-settings .wp-menu-image::before {
	color: #818cf8 !important;
}

/* ============================================
   HEADER
   ============================================ */
.asmith-so-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	margin-bottom: 24px;
}

.asmith-so-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.asmith-so-logo {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.asmith-so-logo .dashicons {
	color: #fff;
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.asmith-so-title {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	letter-spacing: -0.3px;
}

.asmith-so-title span {
	color: #818cf8;
}

.asmith-so-header-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.asmith-so-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
	text-decoration: none;
	line-height: 1;
}

.asmith-so-btn-primary {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.asmith-so-btn-primary:hover {
	box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5);
	transform: translateY(-1px);
	color: #fff;
}

.asmith-so-btn-secondary {
	background: rgba(255, 255, 255, 0.06);
	color: #cbd5e1;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.asmith-so-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.asmith-so-btn-pro {
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.asmith-so-btn-pro:hover {
	box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
	transform: translateY(-1px);
	color: #fff;
}

.asmith-so-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.asmith-so-btn-scanning .dashicons {
	animation: asmith-so-spin 1s linear infinite;
}

.asmith-so-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

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

/* ============================================
   SCORE HERO SECTION
   ============================================ */
.asmith-so-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.asmith-so-score-card {
	background: linear-gradient(135deg, #131828 0%, #1a1f35 100%);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 32px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.asmith-so-score-ring {
	position: relative;
	width: 130px;
	height: 130px;
	flex-shrink: 0;
}

.asmith-so-score-ring svg {
	transform: rotate(-90deg);
}

.asmith-so-score-ring-bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.06);
	stroke-width: 8;
}

.asmith-so-score-ring-fill {
	fill: none;
	stroke-width: 8;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s ease;
}

.asmith-so-score-ring-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.asmith-so-score-number {
	display: block;
	font-size: 36px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	letter-spacing: -1px;
}

.asmith-so-score-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #64748b;
	margin-top: 4px;
}

.asmith-so-score-info h2 {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 16px;
}

.asmith-so-score-stats {
	display: flex;
	gap: 20px;
	margin-bottom: 16px;
}

.asmith-so-stat-pill {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

.asmith-so-stat-pill--optimizations {
	background: rgba(34, 197, 94, 0.12);
	color: #4ade80;
}

.asmith-so-stat-pill--bloat {
	background: rgba(139, 92, 246, 0.12);
	color: #a78bfa;
}

.asmith-so-stat-pill .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.asmith-so-last-scan {
	font-size: 12px;
	color: #475569;
	margin-top: 8px;
}

/* Pro Upsell Card (right side of hero) */
.asmith-so-pro-card {
	background: linear-gradient(135deg, #1a1425 0%, #1f1535 50%, #251540 100%);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: 16px;
	padding: 32px;
	position: relative;
	overflow: hidden;
}

.asmith-so-pro-card::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
	border-radius: 50%;
}

.asmith-so-pro-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 16px;
}

.asmith-so-pro-card h3 {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
}

.asmith-so-pro-card p {
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 20px;
}

.asmith-so-pro-features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.asmith-so-pro-features li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	color: #cbd5e1;
	font-size: 13px;
}

.asmith-so-pro-features li::before {
	content: '\2713';
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(139, 92, 246, 0.2);
	color: #a78bfa;
	font-size: 10px;
	font-weight: bold;
	flex-shrink: 0;
}

.asmith-so-pro-dismiss {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	color: #475569;
	cursor: pointer;
	padding: 4px;
}

.asmith-so-pro-dismiss:hover {
	color: #94a3b8;
}

/* ============================================
   QUICK STATS ROW
   ============================================ */
.asmith-so-quick-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.asmith-so-quick-stat {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 20px;
}

.asmith-so-quick-stat-label {
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.asmith-so-quick-stat-value {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.5px;
}

.asmith-so-quick-stat-sub {
	font-size: 12px;
	color: #475569;
	margin-top: 4px;
}

/* ============================================
   SECTIONS
   ============================================ */
.asmith-so-section {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 24px;
}

.asmith-so-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.asmith-so-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.asmith-so-section-title .dashicons {
	color: #818cf8;
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.asmith-so-section-count {
	background: rgba(255, 255, 255, 0.06);
	color: #94a3b8;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
}

/* ============================================
   OPTIMIZATION TOGGLE CARDS
   ============================================ */
.asmith-so-optimization-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 14px;
}

.asmith-so-optimization-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 18px;
	transition: all 0.2s;
}

.asmith-so-optimization-card:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

.asmith-so-optimization-info h3 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.asmith-so-optimization-info p {
	margin: 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

/* ============================================
   DATABASE CLEANUP GRID
   ============================================ */
.asmith-so-db-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}

.asmith-so-db-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 16px;
	transition: all 0.2s;
}

.asmith-so-db-card:hover {
	background: rgba(255, 255, 255, 0.04);
}

.asmith-so-db-card-icon {
	width: 40px;
	height: 40px;
	background: rgba(99, 102, 241, 0.1);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.asmith-so-db-card-icon .dashicons {
	color: #818cf8;
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.asmith-so-db-card-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.asmith-so-db-card-label {
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
}

.asmith-so-db-card-count {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.asmith-so-db-card .asmith-so-btn {
	padding: 6px 14px;
	font-size: 12px;
	flex-shrink: 0;
}

/* ============================================
   RECOMMENDATION CARDS
   ============================================ */
.asmith-so-rec-card {
	display: flex;
	gap: 16px;
	padding: 16px;
	margin-bottom: 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: background 0.2s;
}

.asmith-so-rec-card:hover {
	background: rgba(255, 255, 255, 0.04);
}

.asmith-so-rec--high { border-left: 3px solid #ef4444; }
.asmith-so-rec--medium { border-left: 3px solid #f59e0b; }
.asmith-so-rec--low { border-left: 3px solid #64748b; }

.asmith-so-rec-priority {
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	height: fit-content;
	background: rgba(255, 255, 255, 0.04);
	color: #94a3b8;
}

.asmith-so-rec-content strong {
	color: #fff;
	font-size: 14px;
}

.asmith-so-rec-content p {
	color: #94a3b8;
	font-size: 13px;
	margin: 4px 0 0;
	line-height: 1.5;
}

/* ============================================
   PRO LOCKED FEATURES (inline upsells)
   ============================================ */
.asmith-so-pro-locked {
	position: relative;
	background: rgba(139, 92, 246, 0.04);
	border: 1px dashed rgba(139, 92, 246, 0.2);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	margin-bottom: 14px;
}

.asmith-so-pro-locked h4 {
	color: #c4b5fd;
	font-size: 15px;
	margin: 0 0 6px;
}

.asmith-so-pro-locked p {
	color: #7c6faa;
	font-size: 13px;
	margin: 0 0 14px;
}

/* ============================================
   PRO TAB PLACEHOLDERS
   ============================================ */
.asmith-so-pro-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-bottom: 24px;
}

.asmith-so-pro-tab-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 24px;
	background: rgba(139, 92, 246, 0.04);
	border: 1px dashed rgba(139, 92, 246, 0.15);
	border-radius: 12px;
	color: #7c6faa;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	transition: all 0.2s;
}

.asmith-so-pro-tab-placeholder:hover {
	background: rgba(139, 92, 246, 0.08);
	border-color: rgba(139, 92, 246, 0.3);
}

.asmith-so-pro-tab-placeholder .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #8b5cf6;
	opacity: 0.5;
}

.asmith-so-pro-tab-badge {
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #fff;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */
.asmith-so-settings-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.asmith-so-setting-row {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.asmith-so-setting-row:last-child {
	border-bottom: none;
}

.asmith-so-setting-label {
	flex: 0 0 240px;
}

.asmith-so-setting-label label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 4px;
}

.asmith-so-setting-desc {
	display: block;
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

.asmith-so-setting-input {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
}

.asmith-so-wrap input[type="text"],
.asmith-so-wrap input[type="email"],
.asmith-so-wrap select {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #e2e8f0;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	min-width: 280px;
	transition: all 0.2s;
}

.asmith-so-wrap input[type="text"]:focus,
.asmith-so-wrap input[type="email"]:focus,
.asmith-so-wrap select:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
	outline: none;
	background: rgba(255, 255, 255, 0.06);
}

.asmith-so-wrap select option {
	background: #1a1f35;
	color: #e2e8f0;
}

.asmith-so-setting-actions {
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	margin-top: 4px;
}

.asmith-so-inline-status {
	font-size: 13px;
	color: #4ade80;
}

/* Toggle Switch */
.asmith-so-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	user-select: none;
}

.asmith-so-toggle input {
	display: none;
}

.asmith-so-toggle-slider {
	position: relative;
	width: 44px;
	height: 24px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	transition: background 0.2s;
	flex-shrink: 0;
}

.asmith-so-toggle-slider::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	background: #64748b;
	border-radius: 50%;
	transition: all 0.2s;
}

.asmith-so-toggle input:checked + .asmith-so-toggle-slider {
	background: rgba(99, 102, 241, 0.3);
}

.asmith-so-toggle input:checked + .asmith-so-toggle-slider::after {
	left: 23px;
	background: #818cf8;
}

.asmith-so-toggle-text {
	font-size: 13px;
	color: #94a3b8;
}

/* Pro upsell on settings page */
.asmith-so-settings-pro-upsell {
	text-align: center;
	padding: 20px 0;
}

.asmith-so-settings-pro-upsell h3 {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin: 12px 0 20px;
}

.asmith-so-pro-settings-preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 24px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.asmith-so-pro-setting-locked {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: rgba(139, 92, 246, 0.06);
	border: 1px dashed rgba(139, 92, 246, 0.15);
	border-radius: 8px;
	color: #7c6faa;
	font-size: 13px;
}

.asmith-so-pro-setting-locked .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #8b5cf6;
	opacity: 0.5;
}

/* Hide WP default submit button */
.asmith-so-wrap .submit {
	display: none;
}

.asmith-so-wrap .form-table {
	display: none;
}

.asmith-so-wrap hr {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================
   FIRST-RUN SCANNING EXPERIENCE
   ============================================ */
.asmith-so-firstrun {
	max-width: 560px;
	margin: 60px auto 0;
	text-align: center;
}

/* Logo */
.asmith-so-firstrun-header {
	margin-bottom: 48px;
}

.asmith-so-firstrun-logo {
	position: relative;
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.asmith-so-firstrun-logo .dashicons {
	color: #fff;
	font-size: 32px;
	width: 32px;
	height: 32px;
	z-index: 1;
	position: relative;
}

.asmith-so-firstrun-logo-ring {
	position: absolute;
	inset: 0;
	border-radius: 20px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	animation: asmith-so-pulse 2s ease-in-out infinite;
}

@keyframes asmith-so-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.08); opacity: 0.85; }
}

.asmith-so-firstrun-header h1 {
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	margin: 0;
	letter-spacing: -0.5px;
}

.asmith-so-firstrun-header h1 span {
	color: #818cf8;
}

.asmith-so-firstrun-subtitle {
	color: #64748b;
	font-size: 14px;
	margin: 4px 0 0;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 500;
}

/* Steps */
.asmith-so-firstrun-steps {
	text-align: left;
	margin-bottom: 32px;
}

.asmith-so-firstrun-step {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
	border-radius: 10px;
	margin-bottom: 6px;
	opacity: 0.3;
	transition: all 0.4s ease;
}

.asmith-so-firstrun-step.asmith-so-step--active {
	opacity: 1;
	background: rgba(255, 255, 255, 0.03);
}

.asmith-so-firstrun-step.asmith-so-step--done {
	opacity: 0.7;
}

/* Step icon */
.asmith-so-step-icon {
	position: relative;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.asmith-so-step-spinner {
	display: none;
	position: absolute;
	inset: 0;
	border: 2.5px solid rgba(129, 140, 248, 0.2);
	border-top-color: #818cf8;
	border-radius: 50%;
	animation: asmith-so-step-spin 0.7s linear infinite;
}

.asmith-so-step--active .asmith-so-step-spinner {
	display: block;
}

.asmith-so-step-check {
	display: none;
	position: absolute;
	inset: 0;
	font-size: 18px;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	color: #4ade80;
}

.asmith-so-step--done .asmith-so-step-check {
	display: block;
	animation: asmith-so-checkPop 0.3s ease;
}

@keyframes asmith-so-step-spin {
	100% { transform: rotate(360deg); }
}

@keyframes asmith-so-checkPop {
	0% { transform: scale(0); }
	60% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

/* Step content */
.asmith-so-step-title {
	font-size: 14px;
	font-weight: 600;
	color: #e2e8f0;
}

.asmith-so-step--active .asmith-so-step-title {
	color: #fff;
}

.asmith-so-step-detail {
	font-size: 12px;
	color: #475569;
	margin-top: 2px;
}

.asmith-so-step--done .asmith-so-step-detail {
	color: #4ade80;
}

/* Progress bar */
.asmith-so-firstrun-progress {
	height: 4px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 12px;
}

.asmith-so-firstrun-progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
	border-radius: 2px;
	transition: width 0.6s ease;
}

.asmith-so-firstrun-progress-text {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 32px;
}

/* Score reveal */
.asmith-so-firstrun-result {
	animation: asmith-so-fadeUp 0.6s ease;
}

@keyframes asmith-so-fadeUp {
	0% { opacity: 0; transform: translateY(20px); }
	100% { opacity: 1; transform: translateY(0); }
}

.asmith-so-firstrun-score-reveal {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid #64748b;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	transition: border-color 0.5s, box-shadow 0.5s;
}

.asmith-so-firstrun-score-num {
	font-size: 42px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	letter-spacing: -1px;
}

.asmith-so-firstrun-score-grade {
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.asmith-so-firstrun-result h2 {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
}

.asmith-so-firstrun-result p {
	color: #94a3b8;
	font-size: 15px;
	margin: 0 0 28px;
	line-height: 1.5;
}

.asmith-so-firstrun-result .asmith-so-btn {
	padding: 14px 28px;
	font-size: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
	.asmith-so-quick-stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 960px) {
	.asmith-so-hero {
		grid-template-columns: 1fr;
	}

	.asmith-so-quick-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.asmith-so-pro-tabs {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 782px) {
	.asmith-so-header {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}

	.asmith-so-score-card {
		flex-direction: column;
		text-align: center;
	}

	.asmith-so-score-stats {
		justify-content: center;
		flex-wrap: wrap;
	}

	.asmith-so-optimization-grid {
		grid-template-columns: 1fr;
	}

	.asmith-so-db-grid {
		grid-template-columns: 1fr;
	}

	.asmith-so-quick-stats {
		grid-template-columns: 1fr;
	}

	.asmith-so-pro-tabs {
		grid-template-columns: 1fr;
	}

	.asmith-so-setting-row {
		flex-direction: column;
		gap: 8px;
	}

	.asmith-so-setting-label {
		flex: none;
	}
}
