/* ============================================
   MELISSA AI – RESULTS PAGE
   Qualified: Green/Gold Premium
   Not Qualified: Neutral / Soft
   ============================================ */

/* ==========================================
   HERO SECTION
   ========================================== */

.results-hero {
  text-align: center;
  padding: 16px 0 32px;
}

.results-hero__icon {
  font-size: 52px;
  margin-bottom: 16px;
  animation: iconBounce 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes iconBounce {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1);   opacity: 1; }
}

.results-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.results-hero__subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* Green highlights */
.highlight-green {
  color: #22c55e;
}

/* ==========================================
   METRICS GRID (Big Numbers)
   ========================================== */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

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

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
}

/* Savings Card – Green */
.metric-card--savings {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.06);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.08);
}

.metric-card--savings:hover {
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2);
}

/* ROI Card – Gold */
.metric-card--roi {
  border-color: rgba(186, 139, 2, 0.3);
  background: rgba(186, 139, 2, 0.06);
  box-shadow: 0 4px 20px rgba(186, 139, 2, 0.08);
}

.metric-card--roi:hover {
  box-shadow: 0 8px 30px rgba(186, 139, 2, 0.2);
}

/* Payback Card – Green subtle */
.metric-card--payback {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.04);
}

.metric-card--payback:hover {
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.15);
}

.metric-card__label {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-card__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #22c55e;
}

.metric-card--roi .metric-card__value {
  color: var(--gold);
}

.metric-card__sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

/* ==========================================
   RESULTS TABLE
   ========================================== */

.results-table-wrapper {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.results-table-wrapper--green {
  border-color: rgba(34, 197, 94, 0.2);
}

.results-table-header {
  padding: 18px 22px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.results-table-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
}

.results-table-badge--red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.results-table-badge--green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.results-table-badge--neutral {
  background: rgba(186, 139, 2, 0.12);
  color: var(--gold);
  border: 1px solid rgba(186, 139, 2, 0.2);
}

.results-table-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* Table Rows */
.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.results-table tr:last-child {
  border-bottom: none;
}

.results-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rt-row--total {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.rt-label {
  padding: 14px 22px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.rt-label--bold {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.rt-value {
  padding: 14px 22px 14px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-align: right;
  white-space: nowrap;
}

/* Feature-Zeile als visueller Trenner */
.rt-row--feature {
  background: rgba(34, 197, 94, 0.04);
  border-top: 1px solid rgba(34, 197, 94, 0.15) !important;
}

.rt-label--feature {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5) !important;
  padding-top: 16px !important;
}


/* Color Variants */
.rt-value--red        { color: #ef4444; }
.rt-value--red-bold   { color: #ef4444; font-size: 18px; font-weight: 800; }
.rt-value--green      { color: #22c55e; }
.rt-value--green-bold { color: #22c55e; font-size: 18px; font-weight: 800; }
.rt-value--neutral-bold { color: var(--gold); font-size: 17px; font-weight: 700; }

/* ==========================================
   TRUST BADGES
   ========================================== */

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.trust-badge {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 99px;
}

/* ==========================================
   CTA BLOCK (Qualified)
   ========================================== */

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 18px;
  text-align: center;
  margin-bottom: 10px;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.cta-block__text {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cta-block__text strong {
  color: #22c55e;
}

.btn-booking {
  display: inline-block;
  background: #22c55e;
  color: #0a0a0a;
  text-decoration: none;
  padding: 16px 42px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

/* Shimmer */
.btn-booking::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn-booking:hover::before { left: 100%; }

.btn-booking:hover {
  background: #16a34a;
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.5);
  color: #ffffff;
  text-decoration: none;
}

.btn-booking:active {
  transform: translateY(-2px);
}

.cta-block__hint {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

/* ==========================================
   SOFT MESSAGE (Not Qualified)
   ========================================== */

.soft-message {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.soft-message p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.soft-message p strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   FEEDBACK FORM (Not Qualified)
   ========================================== */

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.feedback-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: block;
}

.feedback-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  resize: vertical;
  min-height: 110px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feedback-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.feedback-textarea:focus {
  border-color: var(--gold);
  background: rgba(186, 139, 2, 0.05);
  box-shadow: 0 0 0 3px rgba(186, 139, 2, 0.12);
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-feedback {
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 10px;
  padding: 13px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(186, 139, 2, 0.25);
}

.btn-feedback:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(186, 139, 2, 0.4);
}

/* ==========================================
   BACK NAVIGATION
   ========================================== */

.results-nav {
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.btn-back {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.btn-back:hover {
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(-4px);
  text-decoration: none;
}

/* ==========================================
   RESPONSIVE – TABLET (max-width: 768px)
   ========================================== */

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .metric-card__value  { font-size: 22px; }
  .metric-card         { padding: 16px 10px 14px; }

  .rt-label            { padding: 12px 16px; font-size: 13px; }
  .rt-value            { padding: 12px 16px 12px 0; font-size: 14px; }
  .rt-value--red-bold,
  .rt-value--green-bold { font-size: 15px; }

  .btn-booking         { width: 100%; text-align: center; padding: 15px; }
  .btn-feedback        { width: 100%; padding: 13px; }

  .results-hero__title { font-size: 21px; }
}

/* ==========================================
   RESPONSIVE – IPHONE 16e (max-width: 430px)
   ========================================== */

@media (max-width: 430px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .metric-card--savings,
  .metric-card--payback {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    text-align: left;
  }

  .metric-card--roi {
    padding: 20px 18px;
  }

  .metric-card__value  { font-size: 28px; }

  .results-hero__title { font-size: 18px; }
  .results-hero__subtitle { font-size: 13px; }

  .rt-label  { padding: 11px 14px; font-size: 12px; }
  .rt-value  { padding: 11px 14px 11px 0; font-size: 13px; }

  .cta-block { padding: 24px 18px; }
  .btn-booking { font-size: 14px; padding: 14px; }

  .trust-badges { gap: 8px; }
  .trust-badge  { font-size: 11px; padding: 5px 12px; }

  .results-table-header { padding: 14px 16px 12px; }
  .results-table-title  { font-size: 14px; }
}
