/*
 * ════════════════════════════════════════════════════════════════
 * © 2026 CA Piyush Gupta Sir · capiyushgupta.com
 * All rights reserved. Unauthorized copying is prohibited.
 * tools-common.css — Shared styles for sticky CTA, registration
 * modal, feedback widget, and privacy footer.
 * ════════════════════════════════════════════════════════════════
 */

/* ─── Google Fonts (loaded once across all tool pages) ─── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ─── CSS Custom Properties for shared components ─── */
:root {
  --cpg-gold: #C5A059;
  --cpg-gold-light: #d4af6a;
  --cpg-gold-dark: #AA771C;
  --cpg-gold-text: #E5C453;
  --cpg-gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --cpg-navy: #020d1e;
  --cpg-navy-light: #0a1628;
  --cpg-white: #f8fafc;
  --cpg-muted: #94a3b8;
  --cpg-overlay: rgba(2, 13, 30, 0.85);
  --cpg-radius: 14px;
  --cpg-font: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
}

/* ─── STICKY CTA HEADER BAR ─── */
#cpg-sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #0b1526 0%, #152238 50%, #0b1526 100%);
  border-bottom: 1.5px solid rgba(197, 160, 89, 0.4);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--cpg-font);
  animation: cpg-slideDown 0.5s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  -webkit-user-select: none;
  user-select: none;
}

@keyframes cpg-slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#cpg-sticky-cta .cpg-cta-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#cpg-sticky-cta .cpg-cta-btn {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  border: none;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--cpg-font);
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
}

#cpg-sticky-cta .cpg-cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
}

/* Dropdown */
#cpg-cta-dropdown {
  display: none;
  position: fixed;
  top: 44px;
  right: 50%;
  transform: translateX(50%);
  background: var(--cpg-navy);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 12px;
  padding: 8px;
  z-index: 99998;
  min-width: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: cpg-fadeIn 0.2s ease;
}

#cpg-cta-dropdown.cpg-show { display: block; }

@keyframes cpg-fadeIn {
  from { opacity: 0; transform: translateX(50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(50%) translateY(0); }
}

#cpg-cta-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--cpg-white);
  text-decoration: none;
  font-family: var(--cpg-font);
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.2s;
}

#cpg-cta-dropdown a:hover {
  background: rgba(197, 160, 89, 0.1);
}

#cpg-cta-dropdown a .cpg-dd-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
}

#cpg-cta-dropdown a .cpg-dd-label {
  font-weight: 600;
}

#cpg-cta-dropdown a .cpg-dd-sub {
  font-size: 11.5px;
  color: var(--cpg-muted);
  font-weight: 400;
}

/* Push body content down for sticky header with generous spacing */
body.cpg-has-sticky {
  padding-top: 68px !important;
}

/* ─── REGISTRATION MODAL ─── */
#cpg-auth-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100000;
  background: var(--cpg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  animation: cpg-fadeIn 0.3s ease;
}

#cpg-auth-overlay.cpg-show {
  display: flex;
}

#cpg-auth-modal {
  background: linear-gradient(145deg, #0c1a30, #0a1628);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 440px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  font-family: var(--cpg-font);
  color: var(--cpg-white);
  animation: cpg-modalUp 0.4s ease;
}

@keyframes cpg-modalUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#cpg-auth-modal .cpg-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

#cpg-auth-modal .cpg-modal-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

#cpg-auth-modal .cpg-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--cpg-white);
  margin: 0 0 8px 0;
  font-family: 'Outfit', sans-serif;
}

#cpg-auth-modal .cpg-modal-subtitle {
  font-size: 14px;
  color: var(--cpg-muted);
  line-height: 1.5;
}

#cpg-auth-modal .cpg-form-group {
  margin-bottom: 18px;
}

#cpg-auth-modal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cpg-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

#cpg-auth-modal label .cpg-required {
  color: #ef4444;
}

#cpg-auth-modal input,
#cpg-auth-modal select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--cpg-white);
  font-size: 15px;
  font-family: var(--cpg-font);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  outline: none;
}

#cpg-auth-modal input:focus,
#cpg-auth-modal select:focus {
  border-color: var(--cpg-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

#cpg-auth-modal input::placeholder {
  color: #475569;
}

#cpg-auth-modal select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

#cpg-auth-modal select option {
  background: #0f172a;
  color: var(--cpg-white);
}

#cpg-auth-modal .cpg-mobile-wrapper {
  display: flex;
  gap: 8px;
}

#cpg-auth-modal .cpg-country-code {
  width: 72px;
  min-width: 72px;
  text-align: center;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: var(--cpg-gold-light);
  font-weight: 600;
  cursor: default;
}

#cpg-auth-modal .cpg-otp-notice {
  text-align: center;
  font-size: 12.5px;
  color: var(--cpg-muted);
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#cpg-auth-modal .cpg-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--cpg-gold-gradient);
  border: none;
  border-radius: 12px;
  color: var(--cpg-navy);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#cpg-auth-modal .cpg-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
}

#cpg-auth-modal .cpg-submit-btn:active {
  transform: translateY(0);
}

#cpg-auth-modal .cpg-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#cpg-auth-modal .cpg-privacy-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin-top: 16px;
  line-height: 1.5;
}

#cpg-auth-modal .cpg-error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

/* Success state */
#cpg-auth-modal .cpg-success-state {
  text-align: center;
  padding: 20px 0;
}

#cpg-auth-modal .cpg-success-icon {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
  animation: cpg-successBounce 0.6s ease;
}

@keyframes cpg-successBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

#cpg-auth-modal .cpg-success-text {
  font-size: 20px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 8px;
}

#cpg-auth-modal .cpg-success-sub {
  font-size: 14px;
  color: var(--cpg-muted);
}

/* ─── FEEDBACK WIDGET ─── */
#cpg-feedback-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  background: var(--cpg-navy);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: var(--cpg-gold-light);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--cpg-font);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

#cpg-feedback-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  border-color: var(--cpg-gold);
}

/* Feedback Modal */
#cpg-feedback-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100001;
  background: var(--cpg-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

#cpg-feedback-overlay.cpg-show { display: flex; }

#cpg-feedback-modal {
  background: linear-gradient(145deg, #0c1a30, #0a1628);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  font-family: var(--cpg-font);
  color: var(--cpg-white);
  animation: cpg-modalUp 0.4s ease;
}

#cpg-feedback-modal .cpg-fb-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  font-family: 'Outfit', sans-serif;
}

#cpg-feedback-modal .cpg-fb-type-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#cpg-feedback-modal .cpg-fb-type-btn {
  flex: 1;
  padding: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--cpg-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--cpg-font);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

#cpg-feedback-modal .cpg-fb-type-btn.active {
  border-color: var(--cpg-gold);
  color: var(--cpg-gold-light);
  background: rgba(197, 160, 89, 0.08);
}

#cpg-feedback-modal textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--cpg-white);
  font-size: 14px;
  font-family: var(--cpg-font);
  resize: vertical;
  min-height: 100px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 16px;
}

#cpg-feedback-modal textarea:focus {
  border-color: var(--cpg-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

#cpg-feedback-modal textarea::placeholder {
  color: #475569;
}

#cpg-feedback-modal .cpg-fb-submit {
  width: 100%;
  padding: 13px;
  background: var(--cpg-gold-gradient);
  border: none;
  border-radius: 10px;
  color: var(--cpg-navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
}

#cpg-feedback-modal .cpg-fb-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

#cpg-feedback-modal .cpg-fb-close {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--cpg-muted);
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--cpg-font);
  transition: color 0.2s;
}

#cpg-feedback-modal .cpg-fb-close:hover {
  color: var(--cpg-white);
}

/* ─── PRIVACY FOOTER ─── */
#cpg-privacy-footer {
  text-align: center;
  padding: 24px 16px;
  font-family: var(--cpg-font);
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
  -webkit-user-select: none;
  user-select: none;
}

#cpg-privacy-footer .cpg-pf-lock {
  color: var(--cpg-muted);
  margin-bottom: 4px;
}

#cpg-privacy-footer .cpg-pf-disclaimer {
  color: #475569;
}

/* ─── TOAST NOTIFICATION ─── */
#cpg-toast {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 100002;
  background: #10b981;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--cpg-font);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
  animation: cpg-toastIn 0.3s ease;
}

@keyframes cpg-toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── CODE PROTECTION ─── */
#cpg-sticky-cta, #cpg-auth-modal label, #cpg-auth-modal .cpg-modal-title,
#cpg-auth-modal .cpg-modal-subtitle, #cpg-feedback-btn, #cpg-feedback-modal .cpg-fb-title,
#cpg-privacy-footer {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ─── BREADCRUMB NAVIGATION ─── */
#cpg-breadcrumb {
  padding: 16px 0;
  font-family: var(--cpg-font);
  font-size: 13px;
  color: var(--cpg-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

#cpg-breadcrumb a {
  color: var(--cpg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

#cpg-breadcrumb a:hover {
  color: var(--cpg-white);
}

#cpg-breadcrumb .cpg-crumb-sep {
  color: var(--cpg-gold);
  font-size: 16px;
  line-height: 1;
}

#cpg-breadcrumb .cpg-current-page {
  color: var(--cpg-white);
  font-weight: 600;
}

/* ─── FRESHNESS SIGNAL ─── */
#cpg-freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: var(--cpg-gold-light);
  font-family: var(--cpg-font);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  #cpg-sticky-cta { font-size: 12px; height: 40px; }
  #cpg-sticky-cta .cpg-cta-text { font-size: 12px; }
  #cpg-sticky-cta .cpg-cta-btn { font-size: 11px; padding: 4px 12px; }
  body.cpg-has-sticky { padding-top: 40px !important; }
  #cpg-auth-modal { padding: 28px 22px; }
  #cpg-feedback-btn { padding: 10px 16px; font-size: 12px; bottom: 16px; right: 16px; }
  #cpg-cta-dropdown { min-width: 240px; }
}

/* ─── MAIN TOOL SECTION VISUAL PROMINENCE ─── */
main.card, .card.main-tool-card, .main-tool-card,
.editor-layout, .workspace, .converter-box, .tool-body, .controls-panel, .panel, .editor-container, .drop-zone-wrapper {
  border: 1.5px solid var(--card-border, rgba(197, 160, 89, 0.3)) !important;
  border-top: 4px solid var(--primary, var(--accent-primary, #C5A059)) !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 160, 89, 0.1) !important;
  margin-bottom: 36px !important;
  position: relative;
  z-index: 10;
}

/* ─── SECTION DIVIDER FOR SECONDARY INFORMATION ─── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 28px 0;
  color: var(--accent-primary, var(--cpg-gold-light, #d4af6a));
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
}

/* ─── SEO INTRO & LLM OPTIMIZATION (Below Tool) ─── */
.seo-intro {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(108, 99, 255, 0.3);
  border-radius: var(--cpg-radius, 14px);
  padding: 22px 26px;
  margin-bottom: 32px;
}

.seo-intro h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary, var(--cpg-gold-light, #6c63ff));
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-intro p {
  font-family: var(--cpg-font, inherit);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary, #94a3b8);
}

/* ─── RELATED TOOLS SECTION ─── */
.related-tools-section {
  margin-top: 36px;
  margin-bottom: 36px;
}

.related-tools-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary, var(--cpg-gold-light, #6c63ff));
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.related-tool-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card, rgba(10, 22, 40, 0.7));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.related-tool-card:hover {
  border-color: var(--accent-primary, #6c63ff);
  transform: translateY(-2px);
  background: rgba(108, 99, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.related-tool-card .tool-icon {
  font-size: 22px;
  line-height: 1;
}

.related-tool-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #f8fafc);
  margin-bottom: 4px;
}

.related-tool-card p {
  font-family: var(--cpg-font, inherit);
  font-size: 12px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.4;
}

/* ─── FAQ ACCORDION SECTION ─── */
.faq-section {
  margin-top: 36px;
  margin-bottom: 36px;
  background: var(--bg-card, rgba(10, 20, 36, 0.6));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--cpg-radius, 14px);
  padding: 24px 28px;
}

.faq-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-primary, var(--cpg-gold-light, #6c63ff));
  margin-bottom: 18px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--accent-primary, rgba(108, 99, 255, 0.4));
}

.faq-question {
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary, #f8fafc);
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '➕';
  font-size: 12px;
  color: var(--accent-primary, #6c63ff);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '➖';
}

.faq-answer {
  padding: 0 18px 16px 18px;
  font-family: var(--cpg-font, inherit);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #94a3b8);
}

/* ─── INTERACTIVE HELP SYSTEM & LAYMAN TUTORIAL MODAL ─── */
.cpg-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(170, 119, 28, 0.3) 100%);
  border: 1.5px solid var(--cpg-gold, #C5A059);
  color: #f8fafc;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--cpg-font);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.2);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.cpg-help-btn:hover, .cpg-help-btn:focus-visible {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.cpg-help-btn .cpg-help-icon {
  font-size: 15px;
  display: inline-block;
  animation: cpg-pulse 2s infinite ease-in-out;
}

@keyframes cpg-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Help Modal Overlay */
#cpg-help-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100005;
  background: rgba(2, 13, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#cpg-help-overlay.cpg-show {
  display: flex;
  opacity: 1;
}

/* Modal Box */
#cpg-help-modal {
  background: linear-gradient(145deg, #0c1a30 0%, #0a1628 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 160, 89, 0.15);
  font-family: var(--cpg-font);
  color: var(--cpg-white);
  overflow: hidden;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#cpg-help-overlay.cpg-show #cpg-help-modal {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.cpg-help-header {
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cpg-help-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpg-help-header-title h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--cpg-gold-text, #E5C453);
  margin: 0;
}

.cpg-help-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  outline: none;
}

.cpg-help-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* Language Switcher Bar */
.cpg-lang-bar {
  padding: 12px 24px;
  background: rgba(10, 20, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cpg-lang-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpg-lang-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}

.cpg-lang-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--cpg-font);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  outline: none;
}

.cpg-lang-tab.active {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.3);
}

/* Modal Body */
.cpg-help-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 1.6;
}

/* Overview Box */
.cpg-help-overview {
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cpg-help-overview-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Steps List */
.cpg-help-steps-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cpg-help-steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cpg-help-step-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.cpg-help-step-card:hover {
  border-color: rgba(197, 160, 89, 0.3);
}

.cpg-help-step-num {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13.5px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cpg-help-step-content {
  flex: 1;
}

.cpg-help-step-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.cpg-help-step-text {
  font-size: 13.5px;
  color: #94a3b8;
}

/* Real Example Box */
.cpg-help-example {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 16px;
}

.cpg-help-example-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpg-help-example-text {
  font-size: 13.5px;
  color: #cbd5e1;
}

/* Pro Tips List */
.cpg-help-tips {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 16px;
}

.cpg-help-tips-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpg-help-tips-list {
  padding-left: 20px;
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.cpg-help-tips-list li {
  margin-bottom: 6px;
}

.cpg-help-tips-list li:last-child {
  margin-bottom: 0;
}

/* Footer Action */
.cpg-help-footer {
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
}

.cpg-help-action-btn {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}

.cpg-help-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  #cpg-help-modal {
    max-height: 94vh;
    border-radius: 16px;
  }
  .cpg-help-header {
    padding: 16px;
  }
  .cpg-help-header-title h3 {
    font-size: 16px;
  }
  .cpg-lang-bar {
    padding: 10px 16px;
  }
  .cpg-help-body {
    padding: 16px;
    gap: 16px;
  }
  .cpg-help-step-card {
    padding: 12px;
    gap: 10px;
  }
  .cpg-help-step-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

/* ─── INTERACTIVE STEP-BY-STEP GUIDED SPOTLIGHT TOUR ─── */

/* Backdrop Overlay */
#cpg-tour-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100010;
  background: rgba(2, 13, 30, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

#cpg-tour-backdrop.cpg-show {
  display: block;
}

/* Active Highlighted Element Pulsing Ring */
.cpg-tour-target-highlight {
  position: relative !important;
  z-index: 100012 !important;
  box-shadow: 0 0 0 4px #C5A059, 0 0 25px rgba(197, 160, 89, 0.7) !important;
  border-radius: 12px !important;
  animation: cpg-tour-pulse 1.8s infinite ease-in-out !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

@keyframes cpg-tour-pulse {
  0%, 100% { box-shadow: 0 0 0 4px #C5A059, 0 0 25px rgba(197, 160, 89, 0.7); }
  50% { box-shadow: 0 0 0 7px #FCF6BA, 0 0 40px rgba(252, 246, 186, 0.9); }
}

.cpg-tour-target-highlight-helper {
  position: absolute !important;
  z-index: 100011 !important;
  box-shadow: 0 0 0 4px #C5A059, 0 0 25px rgba(197, 160, 89, 0.7) !important;
  border-radius: 12px !important;
  animation: cpg-tour-pulse 1.8s infinite ease-in-out !important;
  pointer-events: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
  transition: opacity 0.3s ease !important;
}


/* Floating Tour Popover Card */
#cpg-tour-popover {
  display: none;
  position: fixed;
  z-index: 100020;
  background: linear-gradient(145deg, #0c1a30 0%, #0a1628 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  border-radius: 16px;
  width: 360px;
  max-width: 92vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(197, 160, 89, 0.2);
  font-family: var(--cpg-font);
  color: var(--cpg-white);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, top 0.3s ease, left 0.3s ease;
}

#cpg-tour-popover.cpg-show {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Tour Header */
.cpg-tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cpg-tour-badge {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.cpg-tour-lang-switch {
  display: flex;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 20px;
  padding: 2px;
  gap: 2px;
}

.cpg-tour-lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--cpg-font);
  transition: all 0.2s;
}

.cpg-tour-lang-btn.active {
  background: #C5A059;
  color: #020d1e;
}

/* Tour Content */
.cpg-tour-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cpg-gold-text, #E5C453);
  line-height: 1.3;
}

.cpg-tour-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbd5e1;
}

/* Tour Progress Dots */
.cpg-tour-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 0;
}

.cpg-tour-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.cpg-tour-dot.active {
  background: #C5A059;
  width: 18px;
  border-radius: 10px;
}

/* Tour Footer Controls */
.cpg-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.cpg-tour-exit-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  transition: color 0.2s;
}

.cpg-tour-exit-btn:hover {
  color: #ef4444;
}

.cpg-tour-nav-btns {
  display: flex;
  gap: 6px;
}

.cpg-tour-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--cpg-font);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.cpg-tour-btn-prev {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cpg-tour-btn-prev:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.cpg-tour-btn-prev:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cpg-tour-btn-next {
  background: linear-gradient(135deg, #C5A059 0%, #AA771C 100%);
  color: #020d1e;
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.3);
}

.cpg-tour-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.45);
}

/* Mobile Popover Overlay Positioning */
@media (max-width: 600px) {
  #cpg-tour-popover {
    position: fixed !important;
    bottom: 20px !important;
    top: auto !important;
    left: 4vw !important;
    right: 4vw !important;
    width: 92vw !important;
    margin: 0 auto;
  }
}

/* ─── WORDPRESS THEME WRAPPER OVERRIDES ─── */
/* Force Astra theme container background to match our dark navy gradient */
html, body, #page, .site, .site-content, .ast-container,
.entry-content, .site-main, #main, .content-area {
  background: linear-gradient(135deg, #020d1e 0%, #0a1628 50%, #020d1e 100%) !important;
  background-color: #020d1e !important;
  color: #f8fafc !important;
}

/* Hide Astra theme default title, headers, breadcrumbs or extra margins */
.entry-title, .post-title, .entry-header, .ast-archive-description, .page-title, .ast-breadcrumbs {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Force clean styling on tool cards to prevent theme overrides (like Astra) from adding underlines or dark text colors */
.tools-grid .tool-card,
.tools-grid a.tool-card,
a.tool-card {
  text-decoration: none !important;
}

.tools-grid .tool-card *,
.tools-grid a.tool-card *,
a.tool-card * {
  text-decoration: none !important;
}

.tools-grid .tool-card .tool-title,
.tools-grid a.tool-card .tool-title,
.tool-card .tool-title,
.tool-title {
  color: var(--text-main, #f8fafc) !important;
  text-decoration: none !important;
}

/* Force colors on hover, focus, active, visited states */
.tools-grid .tool-card:hover .tool-title,
.tools-grid a.tool-card:hover .tool-title,
.tools-grid .tool-card:focus .tool-title,
.tools-grid a.tool-card:focus .tool-title,
.tools-grid .tool-card:active .tool-title,
.tools-grid a.tool-card:active .tool-title,
.tools-grid .tool-card:visited .tool-title,
.tools-grid a.tool-card:visited .tool-title,
a.tool-card:hover .tool-title,
a.tool-card:focus .tool-title,
a.tool-card:active .tool-title,
a.tool-card:visited .tool-title {
  color: var(--text-main, #f8fafc) !important;
  text-decoration: none !important;
}

/* Force page headers (h1) to use the premium brand gold gradient */
h1, .container header h1, header h1 {
  background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: block !important;
  width: fit-content !important;
  margin: 0 auto 0.75rem auto !important;
}

/* ─── ASTRA / WORDPRESS INPUT & SELECT COLOR AND HEIGHT OVERRIDES ─── */
/* Force height, background color, and borders for all input/select elements inside tool cards */
.main-tool-card select,
.main-tool-card input[type="text"],
.main-tool-card input[type="number"],
.main-tool-card input[type="tel"],
.main-tool-card input[type="email"],
.main-tool-card input[type="date"],
.card select,
.card input[type="text"],
.card input[type="number"],
.card input[type="tel"],
.card input[type="email"],
.card input[type="date"],
select.select-box,
select.select-rate,
input.input-box,
input.number-input {
  height: auto !important;
  background-color: var(--input-bg, rgba(15, 23, 42, 0.85)) !important;
  color: var(--text-main, #f8fafc) !important;
  border: 2px solid var(--input-border, #334155) !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
  font-family: inherit !important;
}

/* Maintain dark background for dropdown option text */
select option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

/* Allow transparent background for prefix-styled fields like GST input */
.main-tool-card .gst-input,
.card .gst-input,
input.gst-input {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ensure padding-left is preserved for inputs with prefix symbols */
.gst-input {
  padding-left: 2.2rem !important;
}
.number-input {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

/* ─── INTERACTIVE TOUR STACKING CONTEXT WORKAROUND ─── */
/* Disable z-index contexts on parent containers during the tour so children can layer above the backdrop */
.cpg-tour-parent {
  z-index: auto !important;
}

/* ─── PERSONAL BRANDING CREATOR SIGNATURE WIDGET ─── */
.cpg-creator-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 32px auto;
  padding: 14px 20px;
  background: rgba(10, 22, 40, 0.45);
  border: 1.5px solid rgba(197, 160, 89, 0.2);
  border-radius: 16px;
  max-width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cpg-creator-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #C5A059;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
  flex-shrink: 0;
}

.cpg-creator-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.cpg-creator-name {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.3px;
}

.cpg-creator-tagline {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cpg-creator-socials {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cpg-creator-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: #C5A059;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cpg-creator-socials a:hover {
  background: #C5A059;
  color: #020d1e;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(197, 160, 89, 0.4);
}

.cpg-creator-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Mobile responsive styling */
@media (max-width: 768px) {
  .cpg-creator-signature {
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .cpg-creator-signature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
    gap: 14px;
  }
  .cpg-creator-details {
    align-items: center;
    width: 100%;
  }
  .cpg-creator-tagline {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .cpg-creator-socials {
    justify-content: center;
    margin-top: 2px;
  }
}

/* Light mode overrides for Creator Signature */
[data-theme="light"] .cpg-creator-signature,
body.light-mode .cpg-creator-signature {
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .cpg-creator-name,
body.light-mode .cpg-creator-name {
  color: #0f172a;
}

[data-theme="light"] .cpg-creator-tagline,
body.light-mode .cpg-creator-tagline {
  color: #475569;
}

[data-theme="light"] .cpg-creator-socials a,
body.light-mode .cpg-creator-socials a {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ─── 11. TOOL-TO-COURSE FUNNEL BRIDGE COMPONENT ─── */
.tool-course-bridge {
  margin: 40px auto 24px auto;
  max-width: 900px;
  background: linear-gradient(135deg, rgba(8, 21, 50, 0.95) 0%, rgba(4, 12, 30, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 16px;
  padding: 28px 32px;
  color: #F0EDE6;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  font-family: 'Outfit', sans-serif;
  position: relative;
  overflow: hidden;
}

.tool-course-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #AA771C 0%, #E5C453 50%, #AA771C 100%);
}

.tool-course-bridge h2 {
  font-size: 20px;
  font-weight: 700;
  color: #E5C453;
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-course-bridge p {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 14px 0;
}

.tool-course-bridge p strong {
  color: #ffffff;
}

.tool-course-bridge a {
  color: #E5C453;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.tool-course-bridge a:hover {
  color: #ffffff;
}

.tool-course-bridge .tool-bridge-entry {
  background: rgba(197, 160, 89, 0.08);
  border-left: 3px solid #E5C453;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .tool-course-bridge {
    padding: 20px 18px;
    margin: 30px 12px 20px 12px;
  }
  .tool-course-bridge h2 {
    font-size: 18px;
  }
  .tool-course-bridge p {
    font-size: 14px;
  }
}




