/* Pricing page styles — owns /pricing visual layout only */

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-link-active { color: var(--teal); }

/* Hero */
.pricing-hero {
  padding: 80px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.pricing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.pricing-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* Cards section */
.pricing-cards-section {
  padding: 64px 0 80px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Card base */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s;
}
.pricing-card:hover {
  border-color: rgba(0, 201, 167, 0.3);
}
.pricing-card-featured {
  border-color: var(--teal);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(0,201,167,0.04) 100%);
  transform: scale(1.02);
  box-shadow: 0 0 0 1px var(--teal), 0 20px 60px rgba(0, 201, 167, 0.1);
}
.pricing-card-enterprise {
  background: var(--surface2);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #040d1a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
}

/* Card header */
.tier-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.tier-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Price block */
.card-price-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 28px;
}
.price-per-vessel {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-unit {
  font-size: 14px;
  color: var(--text-muted);
}

/* Vessel selector */
.vessel-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.selector-label {
  font-size: 13px;
  color: var(--text-muted);
}
.selector-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
}
.selector-btn {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 18px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.15s;
  padding: 0;
}
.selector-btn:hover { background: var(--teal-dim); }
.vessel-count {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  min-width: 24px;
  text-align: center;
}

/* Monthly total */
.monthly-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.total-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.total-amount {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
}

/* Enterprise price */
.enterprise-price-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.enterprise-price-label {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dim);
}
.enterprise-price-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature list */
.card-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-features li {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.feat-check {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-plus {
  color: var(--teal);
}

/* CTA buttons */
.cta-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  line-height: 1.4;
}
.cta-btn:hover { opacity: 0.88; }
.cta-btn:active { transform: scale(0.98); }
.cta-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cta-primary {
  background: var(--teal);
  color: #040d1a;
}
.cta-secondary {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}

/* FAQ */
.pricing-faq {
  border-top: 1px solid var(--border);
  padding: 72px 0 100px;
}
.pricing-faq-inner {
  max-width: 900px;
}
.faq-heading {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.45;
}
.faq-a {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── ROI Calculator ── */
.roi-section {
  padding: 0 0 48px;
}
.roi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}
.roi-header {
  text-align: center;
  margin-bottom: 36px;
}
.roi-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.roi-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}
.roi-calc {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.roi-field {}
.roi-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.roi-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
}
.roi-value-display {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  min-width: 80px;
  text-align: right;
}
.roi-results {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.roi-result-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.roi-result-label {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}
.roi-result-value {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.roi-result-savings {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.roi-savings-amount {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
}
.roi-result-positive {
  padding-top: 4px;
}
.roi-positive-amount {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ok);
}

/* ── Savings badge ── */
.savings-badge {
  position: absolute;
  top: -13px;
  right: -1px;
  background: rgba(0, 201, 167, 0.12);
  color: var(--teal);
  border: 1px solid rgba(0, 201, 167, 0.3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

/* ── Trust signals ── */
.trust-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
}
.trust-item {
  font-size: 13px;
  color: var(--text-muted);
}
.trust-sep {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Social proof ── */
.social-proof {
  margin-top: 28px;
  text-align: center;
}
.social-proof-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 20px;
}
.proof-avatars {
  display: flex;
  gap: -4px;
}
.proof-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
}
.proof-text {
  font-size: 13px;
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
}
.proof-count {
  font-weight: 600;
  color: var(--text);
}

/* ── ROI Comparison Table ── */
.roi-compare-section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.roi-compare-header {
  text-align: center;
  margin-bottom: 36px;
}
.roi-compare-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.roi-compare-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.roi-compare-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.roi-compare-head {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  gap: 16px;
}
.rc-col-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}
.rc-col-head:last-child {
  color: var(--teal);
  text-align: right;
}
.roi-compare-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  align-items: center;
  gap: 16px;
}
.roi-compare-row:last-child { border-bottom: none; }
.rc-item {
  font-size: 14px;
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
}
.rc-val {
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}
.rc-val-old {
  color: var(--text-muted);
  text-decoration: line-through;
}
.rc-val-new {
  color: var(--teal);
  text-align: right;
}
.roi-compare-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  font-family: 'DM Sans', sans-serif;
}

/* ── Trial CTA Banner (non-trial users) ── */
.trial-cta-banner {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,201,167,0.07) 100%);
  border: 1.5px solid rgba(0,201,167,0.25);
  border-radius: 20px;
  padding: 48px 52px;
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
}
.trial-cta-left { flex: 1; }
.trial-cta-tag {
  display: inline-block;
  background: rgba(0,201,167,0.15);
  border: 1px solid rgba(0,201,167,0.3);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.trial-cta-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.trial-cta-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 480px;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}
.trial-primary-btn {
  display: inline-block;
  background: var(--teal);
  color: #040d1a;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.trial-primary-btn:hover { opacity: 0.88; }
.trial-primary-btn:active { transform: scale(0.98); }
.trial-secondary-btn {
  display: inline-block;
  background: transparent;
  color: var(--text-dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.trial-secondary-btn:hover { border-color: var(--text-muted); color: var(--text); }
.trial-cta-right { flex-shrink: 0; }
.trial-stat {
  text-align: center;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 12px;
}
.trial-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
}
.trial-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
  margin-top: 8px;
}

/* Mobile */
@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .pricing-card-featured {
    transform: none;
  }
  /* Stack badges vertically: "MOST POPULAR" centered on top, savings badge flows inline below tier name */
  .featured-badge {
    top: -14px;
    z-index: 2;
  }
  .savings-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
  .pricing-inner {
    padding: 0 16px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .roi-card {
    padding: 32px 24px;
  }
  .roi-results {
    padding: 18px;
  }
  .roi-compare-head,
  .roi-compare-row {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px 16px;
    gap: 8px;
  }
  .rc-item {
    font-size: 12px;
  }
  .rc-val {
    font-size: 12px;
  }
  .rc-val-new {
    text-align: right;
  }
  .trial-cta-banner {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
    text-align: center;
  }
  .trial-cta-right {
    width: 100%;
  }
  .trial-stat {
    width: 100%;
  }
  .pricing-hero {
    padding: 48px 0 32px;
  }
  .pricing-headline {
    font-size: 28px;
  }
  .trust-signals {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
  }
  .social-proof-inner {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .roi-compare-head,
  .roi-compare-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .rc-val {
    font-size: 13px;
  }
  .rc-val-new {
    text-align: left;
  }
  .rc-col-head:last-child {
    text-align: left;
  }
  .trial-cta-banner {
    padding: 24px 16px;
  }
  .trial-cta-headline {
    font-size: 24px;
  }
}
