/* WP AI Pilot custom styles */
:root { --brand: #4f46e5; }

.gradient-text {
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-bg { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%); }
.hero-glow { background: radial-gradient(60% 60% at 50% 0%, rgba(99,102,241,0.25) 0%, rgba(255,255,255,0) 70%); }

.fade-in { animation: fadeIn .4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.spinner { border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; width: 16px; height: 16px; animation: spin .6s linear infinite; display:inline-block; }
.spinner-dark { border-color: rgba(79,70,229,.25); border-top-color: #4f46e5; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { animation: slideIn .3s ease both; }
@keyframes slideIn { from { opacity:0; transform: translateX(20px);} to {opacity:1; transform:none;} }

.preview-frame { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.preview-frame :where(h1,h2,h3){ font-weight:800; line-height:1.15; margin: .6em 0 .3em; }
.preview-frame h1 { font-size: 2rem; }
.preview-frame h2 { font-size: 1.5rem; }
.preview-frame p { margin:.6em 0; line-height:1.7; color:#475569; }
.preview-frame ul { list-style: disc; padding-left: 1.4em; margin:.5em 0; }
.preview-frame section { padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
.preview-frame .button, .preview-frame a.button { display:inline-block; background:#4f46e5; color:#fff!important; padding:.6em 1.2em; border-radius:8px; text-decoration:none; font-weight:600; margin:.4em 0; }

.nav-link.active { background: #eef2ff; color: #4338ca; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
