/* AI Boosts Specific Styles */

.prompt-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.prompt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--stanford-red) 0%, var(--stanford-coral) 100%);
}

.prompt-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stanford-red);
  margin-bottom: 1.5rem;
}

.prompt-container {
  position: relative;
  margin-bottom: 1rem;
}

.prompt-text {
  background: #f8f9fa;
  border-left: 4px solid var(--stanford-teal);
  padding: 1.5rem;
  padding-right: 1.5rem;
  border-radius: 8px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
  white-space: pre-wrap;
  color: var(--text-dark);
}

.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--stanford-teal);
  color: var(--stanford-teal);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 32px;
  height: 32px;
  z-index: 10;
}

.copy-btn:hover {
  background: var(--stanford-teal);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(1, 124, 146, 0.3);
}

.copy-btn.copied {
  background: var(--stanford-purple);
  border-color: var(--stanford-purple);
  color: white;
}

.copy-btn i {
  font-size: 1rem;
}

.copy-btn .copy-text {
  display: none;
}

.ai-services-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.ai-services-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.ai-services {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ai-service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
  gap: 0.35rem;
}

.ai-service-btn:hover {
  transform: translateY(-3px);
}

.ai-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1.5px solid #e0e0e0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  padding: 6px;
}

.ai-service-btn:hover .ai-service-icon {
  border-color: var(--stanford-teal);
  box-shadow: 0 5px 18px rgba(1, 124, 146, 0.25);
  transform: scale(1.05);
}

.ai-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ai-service-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.how-it-works,
.how-ai-helps,
.danger {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.how-it-works .icon {
  color: var(--stanford-teal);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.how-ai-helps .icon {
  color: var(--stanford-purple);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.danger .icon {
  color: #dc3545;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.how-it-works strong {
  color: var(--stanford-teal);
  font-weight: 600;
}

.how-ai-helps strong {
  color: var(--stanford-purple);
  font-weight: 600;
}

.danger {
  color: #dc3545;
  margin-top: 1rem;
}

.danger strong {
  font-weight: 600;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stanford-teal);
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
}

.external-link:hover {
  text-decoration: underline;
}

.intro-text {
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(222, 79, 56, 0.1);
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* AI App Button Styling */
.ai-app-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.ai-app-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.05) 0%, rgba(1, 124, 146, 0.05) 100%);
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ai-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(1, 124, 146, 0.2);
  border-color: var(--stanford-teal);
  background: linear-gradient(135deg, rgba(222, 79, 56, 0.08) 0%, rgba(1, 124, 146, 0.08) 100%);
}

.ai-app-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--stanford-red) 0%, var(--stanford-coral) 50%, var(--stanford-teal) 100%);
  box-shadow: 0 4px 12px rgba(1, 124, 146, 0.25);
  font-size: 1.75rem;
  color: white;
  transition: all 0.2s ease;
}

.ai-app-btn:hover .ai-app-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(1, 124, 146, 0.35);
}

.ai-app-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.ai-app-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

.ai-app-url {
  font-size: 0.875rem;
  color: var(--stanford-teal);
  font-family: 'Monaco', 'Courier New', monospace;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .ai-services {
    gap: 0.75rem;
  }

  .ai-service-icon {
    width: 40px;
    height: 40px;
  }

  .ai-service-label {
    font-size: 0.7rem;
  }
}
