/* ai_learning.css - AI Learning Page Refined Styles */

.theme-ai {
  --accent-color: #d97706; /* Amber 600 */
  --bg-light: #fffbeb; /* Amber 50 */
  --border-light: #fde68a; /* Amber 200 */
  --text-dark: #92400e; /* Amber 800 */
  --text-mute: #78350f; /* Amber 900 */
  --accent-glow: rgba(217, 119, 6, 0.2);
  --box-shadow: 0 10px 30px rgba(217, 119, 6, 0.1);
  overflow-x: clip;
}

/* --- Sticky Sidebar Fix --- */
.sidebar {
    position: sticky !important;
    top: calc(var(--nav-height) + 2rem) !important;
    height: fit-content !important;
    /* transform breaks position: sticky, so we disable it for the sidebar */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- Hero Section --- */
.hero-image-placeholder {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  padding: 4rem 2rem !important;
  text-align: center;
  border-radius: 24px !important;
  margin-bottom: 3rem !important;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-light);
}

.hero-image-placeholder i {
  font-size: 5rem !important;
  color: var(--accent-color) !important;
  opacity: 0.9 !important;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* --- Content Elements --- */
.info-box {
  background: var(--bg-light) !important;
  border-left: 5px solid var(--accent-color) !important;
  padding: 2rem !important;
  margin: 3rem 0 !important;
  border-radius: 0 16px 16px 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.info-box h3 {
  margin-top: 0 !important;
  color: var(--text-dark) !important;
  font-weight: 700 !important;
}

.info-box ul {
  list-style: none !important;
  padding-left: 0 !important;
}

.info-box li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.info-box li::before {
  content: "\f19d"; /* Graduation Cap */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* --- Breadcrumb --- */
.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

/* --- AI Bridge Section (Premium) --- */
.ai-bridge-section {
  margin-top: 5rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fef3c7 100%);
  border-radius: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.ai-bridge-section::before {
  content: "\f0eb"; /* Bulb */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 8rem;
  color: rgba(217, 119, 6, 0.05);
}

.ai-bridge-section h3 {
  margin-top: 0;
  color: var(--text-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.ai-bridge-section p {
  font-size: 1rem;
  color: var(--text-mute);
  line-height: 1.8;
}

.prompt-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px dashed var(--accent-color);
  margin: 2.5rem 0;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.prompt-card:hover {
  transform: translateY(-5px);
}

.prompt-label {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--accent-color);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.prompt-content {
  font-family: inherit;
  font-size: 1.05rem;
  color: #1e293b;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.copy-btn.copied {
  background: #10b981 !important;
  color: #fff !important;
  border-color: #10b981 !important;
}

.ai-launch-pad {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3rem;
}

.launch-btn {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.launch-btn.chatgpt { background: #10a37f; }
.launch-btn.gemini { background: #4285f4; }
.launch-btn.claude { background: #d97757; }

.launch-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  filter: brightness(1.1);
}

/* --- Content Navigation --- */
.content-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero-image-placeholder {
    padding: 3rem 1rem !important;
  }
  .ai-bridge-section {
    padding: 2rem 1.5rem;
  }
  .prompt-card {
    padding: 1.5rem;
  }
  .launch-btn {
    min-width: 100%;
  }
}
