/**
 * Courseable Anger Management Assessment V3.0 CSS
 * Complete mobile-first redesign with pricing and registration
 * UPDATED: Read More button color fix with !important
 */

/* === FULL PAGE GRADIENT BACKGROUND === */
body.caa-v2-body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #E8F6F8 0%, #F0F4FF 100%) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === HIDE THEME ELEMENTS === */
.entry-title,
h1.entry-title,
.elementor-location-header,
.elementor-location-footer,
header.elementor,
footer.elementor {
  display: none !important;
}

.intercom-lightweight-app-launcher.intercom-launcher {
  display: none !important;
}

/* === MAIN CONTAINER === */
.caa-container {
  width: 100%;
  max-width: 414px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  padding-bottom: 80px;
}

/* === HEADER & PROGRESS === */
.caa-header {
  padding: 20px;
  position: relative;
}

.caa-progress-bar {
  width: calc(100% - 60px);
  height: 8px;
  background: rgba(76, 175, 182, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 50px;
}

.caa-progress {
  height: 100%;
  width: 0%;
  background: #4CAFB6;
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* === CLOSE BUTTON === */
.caa-close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #333;
  background: white;
  color: #333;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.caa-close-btn:hover {
  background: #333;
  color: white;
  transform: rotate(90deg);
}

/* === LOGO === */
.caa-logo {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 30px;
  display: none;
}

.caa-logo.show-logo {
  display: block;
}

.caa-logo img {
  max-width: 200px;
  height: auto;
}

/* === SCREEN CONTAINER === */
.caa-screen-container {
  flex: 1;
  padding: 0 20px 30px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* === TYPOGRAPHY === */
body.caa-v2-body h1,
body.caa-v2-body .caa-container h1 {
  font-size: 32px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 0 20px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

body.caa-v2-body h2,
body.caa-v2-body .caa-container h2,
body.caa-v2-body .caa-screen-container h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 0 20px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  font-family: 'Source Sans Pro', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body.caa-v2-body h3,
body.caa-v2-body .caa-container h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 0 15px !important;
}

.caa-subtitle {
  font-size: 16px;
  color: #2e2e2e;
  margin: 0 0 30px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.caa-disclaimer {
  font-size: 14px;
  color: #777;
  margin: 30px 0;
  text-align: center;
  line-height: 1.4;
}

/* === BUTTONS === */
body.caa-v2-body .caa-btn-primary {
  background: #4CAFB6 !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 40px) !important;
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: 374px !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
  z-index: 999 !important;
}

body.caa-v2-body .caa-btn-primary.caa-btn-static {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  left: auto !important;
  bottom: auto !important;
  z-index: auto !important;
}

body.caa-v2-body .caa-btn-primary:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  transform: translateX(-50%) !important;
}

body.caa-v2-body .caa-btn-primary:not(:disabled):hover {
  background: #3d9da4 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(76, 175, 182, 0.3) !important;
}

.caa-btn-arrow {
  margin-left: 10px;
  font-size: 18px;
  display: inline-block;
}

body.caa-v2-body .caa-btn-secondary {
  background: transparent !important;
  color: #333 !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 50px !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
}

body.caa-v2-body .caa-btn-secondary:hover {
  background: #f5f5f5 !important;
}

/* === PURPOSE BUTTONS === */
body.caa-v2-body .caa-btn-purpose {
  background-color: white !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 20px !important;
  color: #1C9DA0 !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
}

body.caa-v2-body .caa-btn-purpose:hover {
  background: rgba(76, 175, 182, 0.08) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(76, 175, 182, 0.3) !important;
}

/* === CHOICE BUTTONS === */
body.caa-v2-body .caa-btn-choice {
  background: white !important;
  color: #333 !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 50px !important;
  padding: 20px 32px !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
  text-align: center !important;
  min-height: 60px !important;
}

body.caa-v2-body .caa-btn-choice:hover {
  background: rgba(76, 175, 182, 0.08) !important;
  border-color: #4CAFB6 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(76, 175, 182, 0.2) !important;
}

/* === WELCOME SCREEN === */
.caa-welcome {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.caa-expert-card {
  background: rgba(76, 175, 182, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.caa-expert-header {
  font-size: 14px;
  color: #4CAFB6;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.caa-expert-badge {
  margin: 15px 0;
}

.caa-expert-badge img,
.caa-checkmark {
  width: 48px;
  height: 48px;
}

.caa-expert-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 15px 0 10px;
}

.caa-expert-credentials {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.caa-microcopy {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #666;
}

.caa-micro-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* === PSYCHOLOGY SCREEN === */
.caa-psychology {
  text-align: center;
}

.caa-institutions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
  align-items: center;
}

.caa-institution-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 90%;
  max-width: 350px;
}

.caa-institution-card img {
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
}

/* === PURPOSE & COURT GATE === */
.caa-purpose,
.caa-court-gate,
.caa-personal-growth {
  text-align: center;
}

.caa-button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

/* === QUESTIONS === */
.caa-question {
  text-align: center;
}

.caa-question-text {
  font-size: 18px;
  color: #333;
  margin: 30px 0;
  line-height: 1.5;
  font-weight: 500;
}

.caa-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0;
}

body.caa-v2-body button.caa-option {
  background: white !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

body.caa-v2-body button.caa-option:hover {
  transform: translateX(5px);
  border-color: #4CAFB6 !important;
  background: rgba(76, 175, 182, 0.08) !important;
  box-shadow: 0 4px 8px rgba(76, 175, 182, 0.15) !important;
}

body.caa-v2-body button.caa-option.selected {
  background: rgba(76, 175, 182, 0.08) !important;
  border-color: #4CAFB6 !important;
}

body.caa-v2-body .caa-option-value {
  background: #e5e7eb !important;
  color: #666 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 20px !important;
  font-weight: 600 !important;
}

body.caa-v2-body button.caa-option:hover .caa-option-value,
body.caa-v2-body button.caa-option.selected .caa-option-value {
  background: #4CAFB6 !important;
  color: white !important;
}

body.caa-v2-body .caa-option-label {
  color: #333 !important;
  font-size: 18px !important;
  flex: 1;
}

/* === INTERSTITIAL SCREEN === */
.caa-interstitial {
  text-align: center;
}

body.caa-v2-body .caa-highlight,
body.caa-v2-body .caa-interstitial .caa-highlight {
  color: #4CAFB6 !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  font-family: 'Source Sans Pro', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.caa-people-image {
  margin: 30px -20px;
}

.caa-people-image img,
.caa-people-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.caa-testimonials-wrapper {
  margin: 30px 0;
  position: relative;
}

.caa-testimonial-card {
  display: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.caa-testimonial-card.active {
  display: block;
}

.caa-testimonial-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
  font-style: italic;
}

.caa-testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.caa-testimonial-footer strong {
  color: #333;
  font-size: 14px;
}

.caa-stars {
  color: #ffc107;
  font-size: 14px;
}

.caa-testimonial-date {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

.caa-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.caa-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.caa-dot.active { 
  background: #4CAFB6; 
}

.caa-guarantee-text {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
  text-align: center;
}

/* === CALCULATING SCREEN === */
.caa-calculating {
  text-align: center;
}

.caa-calc-steps {
  margin: 40px 0;
}

.caa-calc-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #fff;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.caa-calc-step.active {
  border-color: #1C9DA0;
  background: rgba(28, 157, 160, 0.08);
  opacity: 1;
  animation: subtleBounce 2s ease-in-out;
}

.caa-calc-step.completed {
  opacity: 1;
  background: rgba(28, 157, 160, 0.05);
  border-color: #1C9DA0;
}

@keyframes subtleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-2px);
  }
}

.caa-step-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #C0C0C0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.caa-calc-step.active .caa-step-icon,
.caa-calc-step.completed .caa-step-icon {
  background: #1C9DA0;
}

.caa-step-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.caa-calc-step span {
  font-size: 16px;
  color: #666;
  text-align: left;
  flex: 1;
}

.caa-calc-step.active span,
.caa-calc-step.completed span {
  color: #333;
  font-weight: 500;
}

.rotating {
  animation: spin 1.2s linear infinite;
}

@keyframes spin { 
  from { transform: rotate(0deg); } 
  to { transform: rotate(360deg); }
}

/* === LEAD CAPTURE === */
.caa-lead {
  text-align: center;
}

.caa-gifts-preview {
  background: rgba(76, 175, 182, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  margin: 30px 0;
}

.caa-gift-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  margin: 10px 0;
}

.caa-gift-icon {
  width: 40px;
  height: 40px;
}

.caa-gift-plus {
  font-size: 24px;
  font-weight: 700;
  color: #4CAFB6;
  margin: 10px 0;
}

.caa-price-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.caa-original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.caa-free-tag {
  color: #4CAFB6;
  font-weight: 600;
}

#caa-lead-form {
  margin: 30px 0;
}

#caa-lead-form label {
  display: block;
  text-align: left;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}

body.caa-v2-body #caa-lead-form input {
  width: 100% !important;
  padding: 16px 20px !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  margin-bottom: 20px !important;
  transition: border-color 0.3s ease !important;
  box-shadow: none !important;
}

body.caa-v2-body #caa-lead-form input:focus {
  outline: none !important;
  border-color: #4CAFB6 !important;
}

.caa-email-note {
  font-size: 13px;
  color: #666;
  margin-top: 15px;
}

/* === RESULTS SCREEN === */
.caa-results {
  text-align: center;
}

.caa-score-wrapper {
  text-align: center;
}

body.caa-v2-body .caa-score-display {
  background: transparent;
  border-radius: 20px;
  padding: 0px;
  margin: 30px 0;
  box-shadow: none;
}

.caa-emoji {
  font-size: 60px;
  margin-bottom: 20px;
}

.caa-score {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin: 15px 0;
}

.caa-band {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 10px;
}

.caa-band.low {
  background: #28a745;
  color: white;
}

.caa-band.elevated {
  background: #4CAFB6;
  color: white;
}

.caa-band.high {
  background: #dc3545;
  color: white;
}

body.caa-v2-body .caa-description {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #1e1d1d !important;
  margin: 30px 0 !important;
  text-align: left !important;
  background: white !important;
  padding: 30px !important;
  border-radius: 20px !important;
  font-weight: 500 !important;
}

.caa-disclaimer-text {
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin: 20px 0;
  text-align: center;
}

.caa-cbt-note {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
  text-align: center;
}

/* === FINDING COURSE SCREEN === */
.caa-finding-course {
  text-align: center;
  padding: 40px 0;
}

.caa-loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 40px 0;
}

.caa-loading-dots span {
  width: 12px;
  height: 12px;
  background: #4CAFB6;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}

.caa-loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.caa-loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.caa-cbt-graphic {
  margin: 40px 0;
}

.caa-cbt-graphic img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.caa-cbt-info {
  background: rgba(76, 175, 182, 0.05);
  border-radius: 16px;
  padding: 25px;
  margin: 30px 0;
}

.caa-cbt-info h3 {
  color: #4CAFB6;
  margin-bottom: 10px;
}

.caa-cbt-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* === PRICING CARDS === */
.caa-recommendation {
  padding-bottom: 40px;
}

.caa-pricing-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  margin: 20px 0;
  transition: all 0.3s ease;
  animation: slideIn 0.4s ease;
}

.caa-pricing-card.recommended {
  border-color: #4CAFB6;
  box-shadow: 0 4px 20px rgba(76, 175, 182, 0.2);
  position: relative;
}

.caa-pricing-card.recommended::before {
  content: '? Recommended for You';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #4CAFB6;
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.caa-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.caa-card-header h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 0 12px 0 !important;
}

.caa-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.caa-badge {
  background: #1a1a2e;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.caa-badge:nth-child(2) {
  background: #7b2cbf;
}

.caa-price-section {
  text-align: center;
  margin: 20px 0;
}

.caa-original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 20px;
  margin-right: 8px;
}

.caa-price {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.caa-description-box {
  background: rgba(76, 175, 182, 0.05);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.caa-description-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 16px 0;
}

.caa-ideal-for {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 14px;
  color: #666;
}

.caa-icons {
  font-size: 24px;
}

.caa-what-you-get {
  margin-top: 16px;
}

.caa-what-you-get strong {
  display: block;
  margin-bottom: 12px;
  color: #333;
  font-size: 15px;
}

.caa-include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0;
  font-size: 14px;
  color: #555;
}

.caa-include-item .caa-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.caa-cta-section {
  text-align: center;
  margin: 24px 0;
}

.caa-trial-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
}

.caa-trial-text strong {
  color: #4CAFB6;
}

.caa-button-group-horizontal {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.caa-try-btn,
.caa-buy-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
}

.caa-try-btn {
  background: #4CAFB6;
  color: white;
}

.caa-try-btn:hover {
  background: #3d9da4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 182, 0.3);
color:white !important;
}

.caa-buy-btn {
  background: #1a1a2e;
  color: white;
}

.caa-buy-btn:hover {
  background: #2a2a3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

.caa-guarantee-small {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

/* === READ MORE BUTTON - UPDATED WITH !IMPORTANT === */
.caa-read-more-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: #4CAFB6 !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px;
  text-align: center;
  margin-top: 16px;
  transition: color 0.3s ease;
}

.caa-read-more-btn:hover {
  color: #3d9da4 !important;
  text-decoration: none !important;
background: transparent !important;
}

.caa-read-more-btn:focus {
  outline: 3px solid rgba(76, 175, 182, 0.5) !important;
  outline-offset: 2px;
  color: #4CAFB6 !important;
}

.caa-read-more-btn:active {
  color: #3d9da4 !important;
}

.caa-more-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.caa-more-details.expanded {
  max-height: 1000px;
  margin-top: 16px;
}

.caa-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caa-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.caa-benefits-list .caa-check {
  color: #4CAFB6;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.caa-guarantee {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
  text-align: center;
}

/* === REGISTRATION SCREEN === */
.caa-registration {
  text-align: center;
  padding-bottom: 40px;
}

.caa-trial-benefits {
  background: rgba(76, 175, 182, 0.05);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
}

.caa-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-align: left;
  font-size: 15px;
  color: #333;
}

.caa-check-icon {
  color: #4CAFB6;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.caa-registration-form {
  max-width: 500px;
  margin: 30px auto;
  text-align: left;
}

.caa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.caa-form-field {
  margin-bottom: 20px;
}

.caa-form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.caa-form-field label .required {
  color: #d32f2f;
}

body.caa-v2-body .caa-form-field input[type="text"],
body.caa-v2-body .caa-form-field input[type="email"],
body.caa-v2-body .caa-form-field input[type="password"] {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  transition: border-color 0.3s ease !important;
  background: white !important;
}

body.caa-v2-body .caa-form-field input:focus {
  outline: none !important;
  border-color: #4CAFB6 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 182, 0.1) !important;
}

.caa-form-field small {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: 13px;
}

.caa-progress-note {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 16px;
  margin: 24px 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  color: #333;
}

.caa-info-icon {
  font-size: 20px;
  flex-shrink: 0;
}

body.caa-v2-body .caa-submit-registration {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  left: auto !important;
  bottom: auto !important;
  margin-top: 24px !important;
}

body.caa-v2-body .caa-submit-registration:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.caa-form-field .g-recaptcha {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

body.caa-v2-body #caa-reg-errors {
  background: #ffebee;
  border-left: 4px solid #d32f2f;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #c62828;
  font-size: 14px;
  text-align: left;
}

/* === ERROR & SUCCESS MESSAGES === */
.caa-error {
  color: #dc3545;
  font-size: 14px;
  margin-top: 10px;
  padding: 10px;
  background: #fef2f2;
  border-radius: 8px;
}

.caa-success {
  color: #28a745;
  font-size: 14px;
  margin-top: 10px;
  padding: 10px;
  background: #f0fdf4;
  border-radius: 8px;
}

/* === ANIMATIONS === */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.caa-pricing-card:nth-child(1) {
  animation-delay: 0.1s;
}

.caa-pricing-card:nth-child(2) {
  animation-delay: 0.2s;
}

.caa-pricing-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* === ACCESSIBILITY === */
.caa-try-btn:focus,
.caa-buy-btn:focus,
body.caa-v2-body .caa-submit-registration:focus {
  outline: 3px solid rgba(76, 175, 182, 0.5);
  outline-offset: 2px;
}

body.caa-v2-body .caa-form-field input:focus {
  outline: 3px solid rgba(76, 175, 182, 0.3) !important;
  outline-offset: 2px !important;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (min-width: 768px) {
  .caa-container {
    max-width: 600px;
  }
  
  .caa-institutions {
    flex-direction: column;
  }
  
  .caa-institution-card {
    width: 100%;
  }
  
  .caa-close-btn {
    top: 30px;
    right: 30px;
  }
  
  body.caa-v2-body .caa-btn-primary {
    max-width: 560px !important;
  }
}

@media (max-width: 600px) {
  .caa-pricing-card {
    padding: 20px 16px;
  }
  
  .caa-card-header h3 {
    font-size: 20px !important;
  }
  
  .caa-price {
    font-size: 40px;
  }
  
  .caa-button-group-horizontal {
    flex-direction: column;
    gap: 12px;
  }
  
  .caa-try-btn,
  .caa-buy-btn {
    width: 100%;
  }
  
  .caa-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .caa-description-box {
    padding: 16px;
  }
  
  .caa-trial-benefits {
    padding: 16px;
  }
  
  .caa-benefit-item {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .caa-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .caa-badge {
    font-size: 11px;
    padding: 5px 14px;
  }
  
  .caa-pricing-card.recommended::before {
    font-size: 12px;
    padding: 3px 12px;
  }
  
  body.caa-v2-body .caa-btn-choice {
    padding: 18px 24px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 380px) {
  .caa-benefit-item {
    font-size: 13px;
  }
}

/* === PRINT STYLES === */
@media print {
  .caa-pricing-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .caa-try-btn,
  .caa-buy-btn,
  .caa-read-more-btn {
    display: none;
  }
}



/* === SVG ICON STYLES === */
.caa-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}

.caa-ideal-icon {
  width: 24px;
  height: 24px;
  margin: 0 6px;
  display: inline-block;
  vertical-align: middle;
  color: #16083A;
  fill: currentColor;
}

.caa-include-item .caa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.caa-ideal-for .caa-icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

/* Ensure the SVG paths inherit the color */
.caa-ideal-icon svg,
.caa-ideal-icon path {
  fill: #16083A;
}

/* Add proper spacing for the ideal for section */
.caa-ideal-for {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 14px;
  color: #666;
}

.caa-ideal-for > span:first-child {
  flex-shrink: 0;
  font-weight: 500;
}