/* ============================================================
   NEW SECTIONS — ROI Calculator, Tour, Reviews, Comparison Table
   v2026.05.15 — додано до головної сторінки
   ============================================================ */

/* ===== 1. ROI CALCULATOR ===== */
.roi-section { padding: 80px 24px 60px; }
.roi-wrapper {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
}
.roi-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
.roi-control label {
  display: block;
  font-size: 13px;
  color: #b5c0d1;
  margin-bottom: 10px;
}
.roi-control-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-control input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
}
.roi-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #5fa7ff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(95,167,255,.18);
}
.roi-control input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #5fa7ff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px rgba(95,167,255,.18);
}
.roi-control-value {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  min-width: 70px;
  text-align: right;
}
.roi-results {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin: 28px 0 8px;
}
.roi-result-card {
  padding: 18px 20px;
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
}
.roi-result-card.featured {
  background: rgba(95,167,255,.13);
  border-color: rgba(95,167,255,.32);
}
.roi-result-label {
  font-size: 11px;
  color: #8a93a3;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.roi-result-value {
  font-size: 26px;
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: .005em;
}
.roi-result-value.loss { color: #ff9d7a; }
.roi-result-value.payback { color: #5fa7ff; }
.roi-result-value.plan { color: #fff; }
.roi-result-hint {
  font-size: 11px;
  color: #8a93a3;
  margin-top: 6px;
  line-height: 1.4;
}
.roi-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .roi-wrapper { padding: 24px; border-radius: 22px; }
  .roi-controls { grid-template-columns: 1fr; gap: 18px; }
  .roi-results { grid-template-columns: 1fr; }
  .roi-result-value { font-size: 22px; }
}

/* ===== 2. PRODUCT TOUR ===== */
.tour-section { padding: 80px 24px 60px; }
.tour-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin: 28px 0 28px;
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.tour-tab {
  flex: 1;
  padding: 13px 8px;
  background: transparent;
  color: #b5c0d1;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: all .15s;
}
.tour-tab:hover { color: #fff; }
.tour-tab.is-active {
  background: #5fa7ff;
  color: #fff;
  box-shadow: 0 6px 20px rgba(95,167,255,.32);
}
.tour-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 320px;
  width: min(1080px, 100%);
  margin: 0 auto;
}
.tour-text-eyebrow {
  font-size: 11px;
  color: #5fa7ff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tour-text h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
  color: #fff;
  letter-spacing: .005em;
}
.tour-text p {
  margin: 0 0 18px;
  color: #b5c0d1;
  font-size: 15px;
  line-height: 1.65;
}
.tour-text ul {
  margin: 0;
  padding-left: 22px;
  color: #b5c0d1;
  font-size: 14px;
  line-height: 1.85;
}
.tour-saves {
  margin-top: 22px;
  padding: 14px 18px;
  background: rgba(95,167,255,.1);
  border-left: 3px solid #5fa7ff;
  border-radius: 0 10px 10px 0;
}
.tour-saves-label {
  font-size: 11px;
  color: #5fa7ff;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.tour-saves-value {
  font-size: 17px;
  color: #fff;
  font-weight: 500;
}
.tour-visual {
  background: #1a2230;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.tour-visual-header {
  font-size: 10px;
  color: #8a93a3;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-visual-dot {
  width: 8px;
  height: 8px;
  background: #88c97a;
  border-radius: 50%;
}
.tour-card {
  background: rgba(0,0,0,.3);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.tour-card-label {
  font-size: 10px;
  color: #8a93a3;
  margin-bottom: 4px;
  letter-spacing: .3px;
}
.tour-card-value {
  font-size: 13px;
  color: #fff;
}
.tour-card-meta { font-size: 11px; color: #8a93a3; margin-top: 3px; }
.tour-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 4px;
}
.tour-summary {
  background: rgba(95,167,255,.13);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tour-summary-label { font-size: 12px; color: #b5c0d1; }
.tour-summary-value { font-size: 15px; color: #fff; font-weight: 500; }
.tour-summary-value.profit { color: #88c97a; }
.tour-status-badge {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .3px;
}
.tour-status-badge.wip { background: rgba(136,201,122,.15); color: #88c97a; }
.tour-status-badge.wait { background: rgba(240,193,75,.15); color: #f0c14b; }
.tour-status-badge.recv { color: #88c97a; }
.tour-status-badge.tran { color: #f0c14b; }
.tour-card.alert {
  background: rgba(255,113,90,.1);
  border-left: 3px solid #ff715a;
  padding-left: 12px;
}
.tour-card.alert .tour-card-label { color: #ff9d7a; }
.tour-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.tour-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .tour-content { grid-template-columns: 1fr; gap: 24px; }
  .tour-tabs { flex-wrap: wrap; }
  .tour-tab { font-size: 12px; padding: 11px 6px; }
}

/* ===== 3. SOCIAL PROOF ===== */
.proof-section { padding: 80px 24px 60px; }
.proof-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: min(900px, 100%);
  margin: 28px auto 36px;
}
.proof-metric {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
}
.proof-metric-value {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: .005em;
}
.proof-metric-value small {
  font-size: 19px;
  color: #b5c0d1;
}
.proof-metric-label {
  font-size: 13px;
  color: #b5c0d1;
  margin-top: 6px;
}
.proof-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}
.proof-card {
  padding: 22px 24px;
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
}
.proof-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: #f0c14b;
  font-size: 15px;
}
.proof-quote {
  margin: 0 0 18px;
  color: #e8edf6;
  font-size: 15px;
  line-height: 1.65;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: .005em;
}
.proof-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.proof-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(95,167,255,.2);
  color: #5fa7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
}
.proof-author-name {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.proof-author-meta {
  font-size: 11px;
  color: #8a93a3;
  margin-top: 1px;
}

@media (max-width: 880px) {
  .proof-metrics { grid-template-columns: 1fr; gap: 12px; }
  .proof-metric-value { font-size: 30px; }
  .proof-reviews { grid-template-columns: 1fr; }
}

/* ===== 4. COMPARISON TABLE (replaces pricing cards) ===== */
.compare-section { padding: 80px 24px 60px; }
.compare-period-switch {
  display: flex;
  gap: 5px;
  margin: 22px auto 30px;
  padding: 5px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  width: fit-content;
}
.compare-period-btn {
  padding: 10px 22px;
  background: transparent;
  color: #b5c0d1;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: all .15s;
}
.compare-period-btn:hover { color: #fff; }
.compare-period-btn.is-active {
  background: #5fa7ff;
  color: #fff;
  box-shadow: 0 4px 14px rgba(95,167,255,.32);
}
.compare-period-saving {
  font-size: 11px;
  color: #88c97a;
  margin-left: 6px;
}
.compare-table-wrap {
  overflow-x: auto;
  width: min(1080px, 100%);
  margin: 0 auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}
.compare-table thead th {
  text-align: center;
  padding: 16px 10px;
  font-weight: 400;
  color: #b5c0d1;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.compare-table thead th:first-child {
  text-align: left;
  color: #8a93a3;
}
.compare-plan-name {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
.compare-plan-price {
  font-size: 22px;
  color: #fff;
  margin-top: 5px;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: .005em;
}
.compare-plan-period {
  font-size: 11px;
  color: #8a93a3;
  margin-top: 2px;
}
.compare-table .featured-col {
  background: rgba(95,167,255,.06);
  border-radius: 10px 10px 0 0;
  position: relative;
}
.compare-featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  background: #5fa7ff;
  color: #fff;
  font-size: 10px;
  border-radius: 100px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.compare-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.compare-table tbody td {
  padding: 12px 10px;
  text-align: center;
  color: #b5c0d1;
}
.compare-table tbody td:first-child {
  text-align: left;
  color: #b5c0d1;
}
.compare-table tbody td.featured-col-cell {
  background: rgba(95,167,255,.04);
}
.compare-check { color: #88c97a; font-weight: 500; }
.compare-cross { color: #5a5f6a; }
.compare-table tfoot td {
  padding: 18px 6px;
  text-align: center;
}
.compare-table tfoot .featured-col-cell {
  background: rgba(95,167,255,.04);
  border-radius: 0 0 10px 10px;
}
.compare-action-btn {
  display: inline-block;
  padding: 9px 14px;
  background: transparent;
  color: #e8edf6;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: all .15s;
  font-family: inherit;
}
.compare-action-btn:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
}
.compare-action-btn.is-primary {
  background: #5fa7ff;
  border-color: #5fa7ff;
  color: #fff;
}
.compare-action-btn.is-primary:hover {
  background: #4d96f0;
  border-color: #4d96f0;
}

@media (max-width: 720px) {
  .compare-section { padding: 60px 12px 40px; }
}
