/* ========== Results Split Layout ========== */

.results-screen {
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

@media (min-width: 1025px) {
  .results-screen {
    flex-direction: row;
    height: calc(100vh - 72px);
  }
}

.results-left {
  flex: 1.1;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  background: #ffffff;
  overflow-y: auto;
}

.results-right {
  flex: 0.9;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  background: linear-gradient(180deg, #d6eef8 0%, #e3f2fa 15%, #eaf5fb 30%, #f0f7fc 45%, #f5f9fd 60%, #fafcfe 80%, #ffffff 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  overflow-y: auto;
}

/* ========== Left Pane — Results Header ========== */

.results-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

.results-badge {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.results-label {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--color-text-secondary);
}

/* ========== Tier Hero ========== */

.tier-hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tier-heading {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-normal);
  line-height: 1.2;
  color: var(--color-text);
}

.tier-description {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========== Archetype Card ========== */

.archetype-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.archetype-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.archetype-icon.operator  { background: rgba(98, 155, 146, 0.12); }
.archetype-icon.optimizer { background: rgba(61, 122, 111, 0.12); }
.archetype-icon.architect { background: rgba(98, 155, 146, 0.15); }
.archetype-icon.visionary { background: rgba(106, 90, 205, 0.10); }

.archetype-info { flex: 1; }

.archetype-name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  margin-bottom: 2px;
  color: var(--color-text);
}

.archetype-tagline {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}

/* ========== Scores Grid ========== */

.scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.score-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.score-bar-track {
  width: 100%;
  height: 6px;
  background: var(--color-progress-bg);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: var(--color-teal);
  border-radius: 3px;
  transition: width 0.8s ease-out;
}

.score-label {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  font-weight: var(--fw-medium);
}

.score-value {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-teal);
}

/* ========== Feature Cards ========== */

.results-section { }

.results-section-title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-weight: var(--fw-semibold);
}

.feature-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
}

.feature-card-title {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  margin-bottom: 2px;
  color: var(--color-text);
}

.feature-card-text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ========== Right Pane — Booking ========== */

.booking-hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-heading {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-normal);
  line-height: 1.25;
  color: var(--color-text);
}

.booking-subtext {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.results-cta-btn {
  display: flex;
  width: 100%;
  text-decoration: none;
  justify-content: center;
}

/* Self-serve fallback (shown when lead used a free/consumer email domain) */
.booking-calendar--self-serve {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--color-teal);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  padding: var(--space-md) var(--space-2xl);
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 48px;
}

.booking-cta:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.booking-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
}

/* ========== Booking Steps ========== */

.booking-steps-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.booking-steps-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
}

.booking-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-content { flex: 1; }

.step-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: 2px;
}

.step-text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ========== Booking Calendar ========== */

.booking-calendar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hubspot-meetings-iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  display: block;
  border-radius: var(--border-radius);
}

/* ========== Testimonial ========== */

.booking-testimonial {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-xl);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.testimonial-author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* ========== Responsive — Tablet ========== */

@media (max-width: 1024px) {
  .results-left,
  .results-right {
    padding: 32px;
  }
  .results-right {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8fbfd;
  }
  .results-cta-btn {
    width: auto;
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .results-left,
  .results-right {
    padding: 24px;
  }
  .scores-grid {
    grid-template-columns: 1fr;
  }
  .archetype-card {
    padding: var(--space-md) var(--space-lg);
  }
  .booking-heading {
    font-size: var(--fs-xl);
  }
  .results-cta-btn {
    width: 100%;
  }
}
