/* ============================================================
   ai-teacher.php — გატანილი inline სტილები, ბლოკი 1/1 (დავალება 14)
   ⚠️ `<link>` ზუსტად `<style>`-ის ადგილას დგას — კასკადი უცვლელია.
   ============================================================ */
.ai-page{padding:120px 0 80px;min-height:80vh}
.ai-page .container{max-width:900px;margin:0 auto;padding:0 24px}
.ai-header{text-align:center;margin-bottom:60px}
.ai-header h1{font-size:36px;font-weight:800;margin-bottom:16px;color:#0f172a}
.ai-header p{font-size:17px;color:#64748b;max-width:600px;margin:0 auto}
.ai-hero{display:flex;align-items:center;gap:48px;margin-bottom:64px;padding:40px;background:#fff;border-radius:24px;border:1px solid #e2e8f0;box-shadow:0 4px 20px rgba(0,0,0,0.05)}
.ai-avatar{position:relative;flex-shrink:0}
.ai-avatar img{width:180px;height:180px;border-radius:50%;object-fit:cover;border:4px solid #8b5cf6}
.ai-avatar::before{content:'';position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(139,92,246,0.3);animation:pulse-ring 2s infinite}
.ai-info h2{font-size:28px;font-weight:800;margin-bottom:8px;color:#1e293b}
.ai-info .badge{display:inline-block;padding:6px 14px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:16px}
.ai-info p{font-size:15px;color:#475569;line-height:1.8;margin-bottom:20px}
.ai-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-radius:14px;font-weight:700;text-decoration:none;transition:all 0.3s}
.ai-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(37,99,235,0.3)}
.ai-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:64px}
.ai-feature{padding:28px;background:#fff;border-radius:20px;border:1px solid #e2e8f0;transition:all 0.3s}
.ai-feature:hover{border-color:#8b5cf6;transform:translateY(-4px);box-shadow:0 8px 24px rgba(139,92,246,0.1)}
.ai-feature-icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,rgba(139,92,246,0.1),rgba(99,102,241,0.1));display:flex;align-items:center;justify-content:center;font-size:28px;margin-bottom:16px}
.ai-feature h3{font-size:17px;font-weight:700;color:#1e293b;margin-bottom:8px}
.ai-feature p{font-size:14px;color:#64748b;line-height:1.7}
.ai-how{background:#f8fafc;border-radius:24px;padding:48px;margin-bottom:64px}
.ai-how h2{font-size:24px;font-weight:800;text-align:center;margin-bottom:36px;color:#1e293b}
.ai-steps{display:flex;flex-direction:column;gap:24px}
.ai-step{display:flex;gap:20px;align-items:flex-start}
.ai-step-num{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;flex-shrink:0}
.ai-step-content h4{font-size:16px;font-weight:700;color:#1e293b;margin-bottom:4px}
.ai-step-content p{font-size:14px;color:#64748b}
.ai-cta{text-align:center;padding:48px;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:24px;color:#fff}
.ai-cta h2{font-size:24px;font-weight:800;margin-bottom:12px}
.ai-cta p{font-size:15px;opacity:0.9;margin-bottom:24px}
.ai-cta a{display:inline-flex;align-items:center;gap:8px;padding:16px 32px;background:#fff;color:#7c3aed;border-radius:14px;font-weight:700;text-decoration:none;transition:all 0.3s}
.ai-cta a:hover{transform:scale(1.05)}

/* Dark mode */
[data-theme="dark"] .ai-header h1{color:#fff}
[data-theme="dark"] .ai-header p{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .ai-hero{background:rgba(255,255,255,0.05);border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .ai-info h2{color:#fff}
[data-theme="dark"] .ai-info p{color:rgba(255,255,255,0.6)}
[data-theme="dark"] .ai-feature{background:rgba(255,255,255,0.05);border-color:rgba(255,255,255,0.08)}
[data-theme="dark"] .ai-feature h3{color:#fff}
[data-theme="dark"] .ai-feature p{color:rgba(255,255,255,0.5)}
[data-theme="dark"] .ai-how{background:rgba(255,255,255,0.03)}
[data-theme="dark"] .ai-how h2{color:#fff}
[data-theme="dark"] .ai-step-content h4{color:#fff}
[data-theme="dark"] .ai-step-content p{color:rgba(255,255,255,0.5)}

@keyframes pulse-ring{0%{transform:scale(1);opacity:1}100%{transform:scale(1.2);opacity:0}}
@media(max-width:768px){.ai-hero{flex-direction:column;text-align:center}.ai-avatar img{width:140px;height:140px}.ai-header h1{font-size:28px}}
