/* =====================================================
   ALG STUDIO — BUSINESS SUCCESS CENTER (Chat Consultation)
   ===================================================== */

.alg-offer-step { display: none; animation: offerFadeIn 0.4s ease; }
.alg-offer-step.active { display: block; }
@keyframes offerFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Step indicator */
.alg-step-indicator { display: inline-flex; align-items: center; gap: 8px; background: rgba(18,41,173,0.06); border: 1px solid rgba(18,41,173,0.12); border-radius: 100px; padding: 8px 20px; font-size: 13px; font-weight: 700; color: #1229ad; margin-bottom: 20px; font-family: 'Inter', sans-serif; }
.alg-step-indicator .alg-step-dot { width: 8px; height: 8px; border-radius: 50%; background: #1229ad; }

/* Back */
.alg-offer-back { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #e0e0e6; color: #555; font-size: 14px; cursor: pointer; padding: 10px 20px; border-radius: 10px; transition: all 0.2s; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 24px; }
.alg-offer-back:hover { color: #1229ad; border-color: #1229ad; transform: translateX(-2px); }

/* ═══════ CHALLENGE CARDS ═══════ */
.alg-challenge-card { position: relative; background: #fff; border: 2px solid #e8e8ee; border-radius: 18px; padding: 36px 24px 32px; cursor: pointer; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); text-align: center; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.alg-challenge-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 18px 18px 0 0; opacity: 0; transition: opacity 0.3s; background: #1229ad; pointer-events: none; }
.alg-challenge-card::after { content: 'Start Assessment \2192'; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(6px); font-size: 12px; font-weight: 700; color: #1229ad; opacity: 0; transition: all 0.3s; white-space: nowrap; font-family: 'Inter', sans-serif; pointer-events: none; }
.alg-challenge-card:hover { border-color: #1229ad; transform: translateY(-6px); box-shadow: 0 20px 50px rgba(18,41,173,0.12); }
.alg-challenge-card:hover::before { opacity: 1; }
.alg-challenge-card:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.alg-challenge-icon { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; transition: all 0.3s; }
.alg-challenge-card:hover .alg-challenge-icon { transform: scale(1.08); }
.alg-challenge-icon svg { width: 36px; height: 36px; }
.alg-challenge-name { font-size: 17px; font-weight: 800; color: #111; letter-spacing: -0.02em; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.alg-challenge-desc { font-size: 14px; color: #888; line-height: 1.5; font-family: 'Inter', sans-serif; }

/* ═══════ CHAT CONTAINER ═══════ */
.alg-chat-container {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #e8e8ee;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 70vh;
  min-height: 500px;
  max-height: 680px;
}
.alg-chat-container.keyboard-open {
  max-height: 55vh;
}

/* Chat header */
.alg-chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f4;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  flex-shrink: 0;
}
.alg-chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8ecff 0%, #d4dbff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.alg-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.alg-chat-avatar svg {
  width: 28px;
  height: 28px;
  color: #1229ad;
}
.alg-chat-header-info { flex: 1; }
.alg-chat-header-info h3 { font-size: 16px; font-weight: 800; color: #1a1a2e; margin: 0; font-family: 'Inter', sans-serif; }
.alg-chat-status { font-size: 12px; color: #888; font-family: 'Inter', sans-serif; display: flex; align-items: center; gap: 6px; }
.alg-chat-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }

/* Progress */
.alg-chat-progress { text-align: right; flex-shrink: 0; }
.alg-chat-progress span { font-size: 11px; font-weight: 700; color: #1229ad; font-family: 'Inter', sans-serif; display: block; margin-bottom: 4px; }
.alg-chat-progress-bar { width: 80px; height: 4px; background: #e8e8ee; border-radius: 4px; overflow: hidden; }
.alg-chat-progress-fill { height: 100%; background: #1229ad; border-radius: 4px; transition: width 0.4s cubic-bezier(0.22,1,0.36,1); }

/* Chat messages */
.alg-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}
.alg-chat-messages::-webkit-scrollbar { width: 4px; }
.alg-chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Message bubbles */
.alg-msg { display: flex; gap: 10px; max-width: 85%; animation: msgSlideIn 0.3s cubic-bezier(0.22,1,0.36,1); }
.alg-msg.ai { align-self: flex-start; }
.alg-msg.user { align-self: flex-end; flex-direction: row-reverse; }
@keyframes msgSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.alg-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
}
.alg-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.alg-msg-avatar svg {
  width: 18px;
  height: 18px;
}
.alg-msg.ai .alg-msg-avatar { background: linear-gradient(135deg, #e8ecff 0%, #d4dbff 100%); }
.alg-msg.user .alg-msg-avatar { background: #1229ad; color: #fff; }

.alg-msg-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}
.alg-msg.ai .alg-msg-bubble { background: #f4f5f7; color: #333; border-bottom-left-radius: 6px; }
.alg-msg.user .alg-msg-bubble { background: #1229ad; color: #fff; border-bottom-right-radius: 6px; }

/* Typing indicator */
.alg-typing { display: flex; gap: 4px; padding: 14px 18px; }
.alg-typing-dot { width: 8px; height: 8px; border-radius: 50%; background: #bbb; animation: typingBounce 1.2s ease-in-out infinite; }
.alg-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.alg-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

.alg-typing-with-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  background: #f4f5f7;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  animation: msgSlideIn 0.3s cubic-bezier(0.22,1,0.36,1);
}
.alg-typing-with-name-label {
  font-size: 12px;
  color: #888;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.alg-typing-with-name-dots {
  display: flex;
  gap: 5px;
}
.alg-typing-with-name-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbb;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.alg-typing-with-name-dots span:nth-child(2) { animation-delay: 0.15s; }
.alg-typing-with-name-dots span:nth-child(3) { animation-delay: 0.3s; }

.alg-typewriter-cursor::after {
  content: '|';
  animation: algCursorBlink 0.8s step-end infinite;
  color: #1229ad;
  font-weight: 400;
  margin-left: 1px;
}
@keyframes algCursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Quick replies */
.alg-chat-quick-replies {
  padding: 8px 24px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #f0f0f4;
}
.alg-chat-quick-replies:empty { display: none; }

.alg-quick-reply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid #e0e0e6;
  border-radius: 100px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.alg-quick-reply:hover { border-color: #1229ad; color: #1229ad; background: rgba(18,41,173,0.03); transform: translateY(-1px); }
.alg-quick-reply:active { transform: scale(0.97); }

/* Chat input */
.alg-chat-input-area {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #f0f0f4;
  background: #fafafa;
  flex-shrink: 0;
}
.alg-chat-input-area input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid #e0e0e6;
  border-radius: 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}
.alg-chat-input-area input:focus { border-color: #1229ad; }
.alg-chat-input-area input::placeholder { color: #bbb; }
.alg-chat-input-area button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: #1229ad;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.alg-chat-input-area button:hover { background: #0f2393; transform: scale(1.05); }
.alg-chat-input-area button:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* ═══════ PRESCRIPTION ═══════ */
.alg-prescription { max-width: 800px; margin: 0 auto; }

/* Score section */
.alg-score-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px;
  background: #fff;
  border: 2px solid #e8e8ee;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.alg-score-section h2 { font-size: 24px; font-weight: 900; color: #1a1a2e; margin: 0 0 8px; font-family: 'Inter', sans-serif; letter-spacing: -0.02em; }
.alg-score-message { font-size: 15px; color: #666; line-height: 1.6; max-width: 560px; margin: 0 auto 32px; font-family: 'Inter', sans-serif; }

/* Score circle */
.alg-score-circle-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.alg-score-circle {
  position: relative;
  width: 160px;
  height: 160px;
}
.alg-score-circle svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.alg-score-circle-bg { fill: none; stroke: #e8e8ee; stroke-width: 10; }
.alg-score-circle-fill { fill: none; stroke: #1229ad; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.5s cubic-bezier(0.22,1,0.36,1); }
.alg-score-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.alg-score-number { font-size: 42px; font-weight: 900; color: #1a1a2e; font-family: 'Inter', sans-serif; line-height: 1; letter-spacing: -0.03em; }
.alg-score-label { font-size: 12px; color: #888; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* Score bars */
.alg-score-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 560px; margin: 0 auto; }
.alg-score-bar { text-align: center; }
.alg-score-bar-label { font-size: 11px; color: #888; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.alg-score-bar-track { width: 100%; height: 6px; background: #e8e8ee; border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.alg-score-bar-fill { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.22,1,0.36,1); }
.alg-score-bar-value { font-size: 13px; font-weight: 800; color: #1a1a2e; font-family: 'Inter', sans-serif; }

/* Recommendation section */
.alg-recommendation {
  padding: 32px;
  background: #fff;
  border: 2px solid #e8e8ee;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.alg-recommendation-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f4; }
.alg-recommendation-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #e8ecff 0%, #d4dbff 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alg-recommendation-icon svg { width: 28px; height: 28px; }
.alg-recommendation-info h3 { font-size: 20px; font-weight: 800; color: #1a1a2e; margin: 0; font-family: 'Inter', sans-serif; }
.alg-recommendation-info p { font-size: 14px; color: #888; margin: 4px 0 0; font-family: 'Inter', sans-serif; }

/* Service list */
.alg-service-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.alg-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #f8f9fb;
  border: 1.5px solid #e8e8ee;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  touch-action: manipulation;
}
.alg-service-item:hover { border-color: #1229ad; background: rgba(18,41,173,0.02); }
.alg-service-item.selected { border-color: #1229ad; background: rgba(18,41,173,0.04); }
.alg-service-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #d0d0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.alg-service-item.selected .alg-service-check { background: #1229ad; border-color: #1229ad; }
.alg-service-check svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity 0.2s; }
.alg-service-item.selected .alg-service-check svg { opacity: 1; }
.alg-service-info { flex: 1; }
.alg-service-name { font-size: 14px; font-weight: 700; color: #1a1a2e; font-family: 'Inter', sans-serif; }
.alg-service-desc { font-size: 12px; color: #888; font-family: 'Inter', sans-serif; margin-top: 2px; }
.alg-service-price { font-size: 14px; font-weight: 800; color: #1229ad; font-family: 'Inter', sans-serif; flex-shrink: 0; }

/* Outcomes */
.alg-outcomes {
  padding: 32px;
  background: #fff;
  border: 2px solid #e8e8ee;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.alg-outcomes h3 { font-size: 18px; font-weight: 800; color: #1a1a2e; margin: 0 0 20px; font-family: 'Inter', sans-serif; }
.alg-outcome-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f4f4f7; }
.alg-outcome-item:last-child { border-bottom: none; }
.alg-outcome-icon { width: 28px; height: 28px; border-radius: 8px; background: rgba(34,197,94,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alg-outcome-icon svg { width: 14px; height: 14px; color: #22c55e; }
.alg-outcome-text { font-size: 14px; color: #555; font-family: 'Inter', sans-serif; }

/* Add-ons */
.alg-addons {
  padding: 32px;
  background: #fff;
  border: 2px dashed #e0e0e6;
  border-radius: 24px;
  margin-bottom: 24px;
}
.alg-addons h3 { font-size: 18px; font-weight: 800; color: #1a1a2e; margin: 0 0 6px; font-family: 'Inter', sans-serif; }
.alg-addons > p { font-size: 13px; color: #888; margin: 0 0 20px; font-family: 'Inter', sans-serif; }

/* Checkout */
.alg-checkout {
  padding: 32px;
  background: linear-gradient(135deg, #1229ad 0%, #1a35c0 100%);
  border-radius: 24px;
  text-align: center;
  color: #fff;
}
.alg-checkout-total-label { font-size: 13px; font-weight: 600; opacity: 0.7; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; }
.alg-checkout-total-usd { font-size: 42px; font-weight: 900; font-family: 'Inter', sans-serif; letter-spacing: -0.03em; line-height: 1.2; }
.alg-checkout-total-ngn { font-size: 14px; opacity: 0.6; font-family: 'Inter', sans-serif; margin-bottom: 24px; }
.alg-checkout-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.alg-checkout-ctas a, .alg-checkout-ctas button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.alg-btn-whatsapp { background: #25D366; color: #fff; }
.alg-btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,0.3); }
.alg-btn-call { background: #fff; color: #1229ad; }
.alg-btn-call:hover { background: #f0f4ff; transform: translateY(-1px); }
.alg-btn-custom { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.alg-btn-custom:hover { background: rgba(255,255,255,0.25); }

/* Loading */
.alg-loading { text-align: center; padding: 60px 20px; color: #999; font-size: 14px; font-family: 'Inter', sans-serif; }
.alg-loading::before { content: ''; display: inline-block; width: 24px; height: 24px; border: 3px solid #e0e0e6; border-top-color: #1229ad; border-radius: 50%; animation: algSpin 0.7s linear infinite; margin-right: 10px; vertical-align: middle; }
@keyframes algSpin { to { transform: rotate(360deg); } }

.alg-how-item-title { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.alg-how-item-desc { font-size: 14px; color: #666; line-height: 1.6; font-family: 'Inter', sans-serif; }

/* ═══════ HOW IT WORKS ICONS ═══════ */
.alg-how-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alg-how-icon svg { width: 24px; height: 24px; }
.alg-how-icon.blue { background: rgba(18,41,173,0.08); color: #1229ad; }
.alg-how-icon.green { background: rgba(34,197,94,0.08); color: #22c55e; }
.alg-how-icon.purple { background: rgba(168,85,247,0.08); color: #a855f7; }
.alg-how-icon.amber { background: rgba(245,158,11,0.08); color: #f59e0b; }

/* ═══════ TRUST STATS ═══════ */
.alg-trust-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.alg-trust-item { text-align: center; }
.alg-trust-number { font-size: 36px; font-weight: 900; line-height: 1.1; }
.alg-trust-label { font-size: 13px; color: #888; margin-top: 4px; }
.alg-trust-item.blue .alg-trust-number { color: #1229ad; }
.alg-trust-item.green .alg-trust-number { color: #22c55e; }
.alg-trust-item.purple .alg-trust-number { color: #a855f7; }
.alg-trust-item.amber .alg-trust-number { color: #f59e0b; }

/* ═══════ HERO / SECTION TYPOGRAPHY ═══════ */
.alg-section-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #1229ad;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.alg-section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}
.alg-section-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}
.alg-faq-text {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 991px) {
  .alg-chat-container { height: min(70vh, 600px); min-height: 420px; max-height: none; }
  .alg-chat-header { padding: 16px 18px; }
  .alg-chat-avatar { width: 40px; height: 40px; }
  .alg-chat-header-info h3 { font-size: 14px; }
  .alg-chat-messages { padding: 18px; gap: 12px; }
  .alg-msg-bubble { padding: 12px 14px; font-size: 13px; }
  .alg-typing-with-name { padding: 12px 14px; }
  .alg-chat-input-area { padding: 12px 16px; }
  .alg-chat-input-area input { padding: 12px 14px; font-size: 13px; }
  .alg-chat-input-area button { width: 44px; height: 44px; }

  .alg-score-section { padding: 28px; }
  .alg-score-bars { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .alg-score-circle { width: 140px; height: 140px; }
  .alg-score-circle svg { width: 140px; height: 140px; }
  .alg-score-number { font-size: 38px; }

  .alg-recommendation, .alg-outcomes, .alg-addons, .alg-checkout { padding: 24px; }
  .alg-checkout-total-usd { font-size: 36px; }
  .alg-checkout-ctas { flex-direction: column; }
  .alg-checkout-ctas a, .alg-checkout-ctas button { width: 100%; justify-content: center; }

  .app-faq-wrap { padding-left: 20px !important; }
  .app-faq-area .row { flex-direction: column; }
  .app-faq-area .col-lg-4, .app-faq-area .col-lg-8 { width: 100%; max-width: 100%; }

  .alg-trust-grid { gap: 32px; }
  .alg-trust-number { font-size: 28px; }

  .alg-how-item-title { font-size: 15px; }
  .alg-how-item-desc { font-size: 13px; }

  .alg-challenge-card { padding: 28px 20px 24px; min-height: 180px; }
  .alg-challenge-icon { width: 56px; height: 56px; margin-bottom: 14px; }
  .alg-challenge-icon svg { width: 28px; height: 28px; }
  .alg-challenge-name { font-size: 15px; }
  .alg-challenge-desc { font-size: 13px; }
}

@media (max-width: 767px) {
  .alg-chat-container { height: auto; max-height: 85vh; min-height: 0; border-radius: 16px; }
  .alg-chat-header { padding: 16px 18px; }
  .alg-chat-avatar { width: 40px; height: 40px; }
  .alg-chat-header-info h3 { font-size: 14px; }
  .alg-chat-messages { padding: 16px; gap: 12px; }
  .alg-msg-bubble { padding: 12px 14px; font-size: 13px; }
  .alg-typing-with-name { padding: 12px 14px; }
  .alg-chat-input-area { padding: 12px 16px; }
  .alg-chat-input-area input { padding: 12px 14px; font-size: 13px; }
  .alg-chat-input-area button { width: 44px; height: 44px; }

  .alg-challenge-card { padding: 24px 16px 20px; min-height: 160px; border-radius: 14px; }
  .alg-challenge-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 12px; }
  .alg-challenge-icon svg { width: 24px; height: 24px; }
  .alg-challenge-name { font-size: 14px; margin-bottom: 6px; }
  .alg-challenge-desc { font-size: 12px; }
  .alg-challenge-card::after { font-size: 11px; bottom: 8px; }

  .alg-score-bars { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .alg-score-circle { width: 130px; height: 130px; }
  .alg-score-circle svg { width: 130px; height: 130px; }
  .alg-score-number { font-size: 34px; }

  .alg-recommendation, .alg-outcomes, .alg-addons, .alg-checkout, .alg-score-section { padding: 24px; border-radius: 18px; }
  .alg-checkout-total-usd { font-size: 34px; }
  .alg-checkout-ctas { flex-direction: column; }
  .alg-checkout-ctas a, .alg-checkout-ctas button { width: 100%; justify-content: center; }

  .alg-trust-grid { gap: 24px; }
  .alg-trust-number { font-size: 24px; }
  .alg-trust-label { font-size: 12px; }
}
