/* Interview Angle Formatting */
.interview-angle-card {
  background-color: #f0f7ff;
  border-left: 4px solid #1e3a8a;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #334155;
  font-size: 0.95em;
}

.interview-angle-card strong {
  color: #1e3a8a;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}

/* Email Template Styling */
.email-template {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #64748b;
  padding: 1.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  line-height: 1.5;
  margin: 1.5rem 0;
  position: relative;
}

/* Fix hidden checkboxes from Docsify Vue Theme */
.markdown-section input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  cursor: pointer !important;
  width: 1.1em !important;
  height: 1.1em !important;
  margin-right: 0.5em !important;
  vertical-align: middle !important;
}

/* Roleplay Script Styling */
.roleplay-script {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dialogue-row {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.dialogue-row:last-child {
  margin-bottom: 0;
}

.speaker-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  margin-right: 12px;
  font-size: 0.8em;
  flex-shrink: 0;
}

.speaker-se .speaker-avatar {
  background: #1e3a8a;
}

.speaker-prospect .speaker-avatar,
.speaker-buyer .speaker-avatar,
.speaker-customer .speaker-avatar {
  background: #ef4444;
}

.speaker-ae .speaker-avatar {
  background: #10b981;
}

.speaker-message {
  background: white;
  padding: 10px 14px;
  border-radius: 0 8px 8px 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.95em;
  color: #334155;
  max-width: 85%;
}

.speaker-prospect .speaker-message,
.speaker-buyer .speaker-message,
.speaker-customer .speaker-message {
  border-radius: 8px 8px 8px 0;
  background: #fef2f2;
  border-color: #fecaca;
}

.speaker-message strong {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}

.dialogue-action {
  text-align: center;
  font-style: italic;
  color: #64748b;
  font-size: 0.85em;
  margin: 1rem 0;
}

/* Deal Autopsy Styling */
.autopsy-quiz {
  background: #fff;
  border: 2px solid #1e3a8a;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.autopsy-quiz h3 {
  color: #1e3a8a;
  margin-top: 0;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.quiz-question {
  margin-bottom: 1rem;
}

.quiz-question label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #334155;
}

.quiz-options {
  display: flex;
  gap: 1rem;
}

.quiz-btn {
  padding: 8px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s;
}

.quiz-btn:hover {
  background: #e2e8f0;
}

.quiz-btn.selected {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
}

.autopsy-result {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 4px;
  display: none;
}

.autopsy-result h4 {
  margin-top: 0;
  color: #16a34a;
}

.autopsy-result-bad {
  background: #fef2f2;
  border-left-color: #ef4444;
}

.autopsy-result-bad h4 {
  color: #ef4444;
}

/* Flashcard Styling */
.objection-flashcard {
  perspective: 1000px;
  width: 100%;
  max-width: 600px;
  height: 250px;
  margin: 2rem auto;
  cursor: pointer;
}

.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.objection-flashcard.flipped .flashcard-inner {
  transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  box-sizing: border-box;
}

.flashcard-front {
  background-color: #fef2f2;
  border: 2px solid #ef4444;
  color: #7f1d1d;
}

.flashcard-front::before {
  content: '🎯 Objection (Click to flip)';
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.75em;
  color: #ef4444;
  text-transform: uppercase;
  font-weight: bold;
}

.flashcard-back {
  background-color: #f0fdf4;
  border: 2px solid #16a34a;
  color: #14532d;
  transform: rotateY(180deg);
}

.flashcard-back::before {
  content: '🛡️ Deflection';
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.75em;
  color: #16a34a;
  text-transform: uppercase;
  font-weight: bold;
}

/* Landing Page Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.08), 0 4px 8px rgba(30, 58, 138, 0.04);
  border-color: #cbd5e1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* CTA Button Wrapper */
.cta-wrapper {
  text-align: center;
  margin: 4rem 0 2rem;
}

.cta-button {
  display: inline-block;
  background: #1e3a8a;
  color: white !important;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
  text-decoration: none !important;
  color: white !important;
}

/* Coverpage / Custom Landing Specific overrides */
.markdown-section .cover-main {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px !important;
  padding: 60px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.markdown-section h1.cover-title {
  font-size: 3.8rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #1e3a8a !important;
  letter-spacing: -1.5px !important;
  margin-bottom: 24px !important;
  text-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
  border-bottom: none !important;
}

@media (max-width: 768px) {
  .markdown-section h1.cover-title {
    font-size: 3.5rem !important;
    letter-spacing: -1.5px !important;
  }
}

.cover-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cover-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-primary {
  background: #1e3a8a;
  color: white !important;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
  background: white;
  color: #1e3a8a !important;
  border: 2px solid #1e3a8a;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #f8fafc;
}

/* Trust Metrics styling */
.trust-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
  flex-wrap: wrap;
}

.trust-metrics .divider {
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .trust-metrics {
    flex-direction: column;
    gap: 10px;
  }

  .trust-metrics .divider {
    display: none;
  }
}

/* Landing Page specific component overrides */
.search-mockup {
  max-width: 600px;
  margin: 2rem auto;
  position: relative;
}

.search-mockup input {
  width: 100%;
  padding: 1.25rem 2rem 1.25rem 3rem;
  font-size: 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-mockup input:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-mockup::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.5;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.quick-link-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, transform 0.2s;
}

.quick-link-btn:hover {
  background: #f0f7ff;
  border-color: #1e3a8a;
  color: #1e3a8a;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Core Competencies Skill Pills */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 3rem 0;
}

.skill-pill {
  background-color: #f4f6fc;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: #1e3a8a;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: default;
}

.skill-pill:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* Status Pill */
.status-pill {
  display: inline-block;
  background: #f0f7ff;
  color: #1e3a8a;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #bfdbfe;
}

.status-pill a {
  color: #1e3a8a;
  text-decoration: none;
  margin-left: 4px;
}

/* Typewriter text styling & blinking cursor */
.typewriter-text {
  color: #1e3a8a;
}

.typewriter-text::after {
  content: '|';
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Playbook table specific styling */
.landing-table-wrapper table {
  border: none !important;
  box-shadow: none !important;
  width: 100%;
  margin-bottom: 3rem;
}

.landing-table-wrapper table tr,
.landing-table-wrapper table th,
.landing-table-wrapper table td {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.landing-table-wrapper table th {
  border-bottom: 2px solid #e2e8f0 !important;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 1.5rem 1rem 0.5rem 0.25rem !important;
}

.landing-table-wrapper table tr:nth-child(odd),
.landing-table-wrapper table tr:nth-child(even) {
  background-color: transparent !important;
}

.landing-table-wrapper table td {
  padding: 1.5rem 1rem 1.5rem 0.25rem !important;
  vertical-align: top;
  line-height: 1.6;
}

.landing-table-wrapper table td:first-child {
  font-weight: 700;
  color: #cbd5e1;
  font-size: 1.25rem;
  width: 5%;
}

.landing-table-wrapper table td:nth-child(2) {
  width: 25%;
}

.landing-table-wrapper table td a {
  text-decoration: none !important;
  color: #1e293b;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.25rem;
}

.landing-table-wrapper table td a:hover {
  color: #1e3a8a;
}

.landing-table-wrapper table td strong {
  color: #1e3a8a;
  font-weight: 700;
}