/* ==========================================================================
   StayMitra Technologies - Pricing Page Stylesheet (css/pricing.css)
   ========================================================================== */

/* ==========================================================================
   Pricing Packages Section
   ========================================================================== */

.packages-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.tab-nav {
  display: inline-flex;
  background: #eef2fa;
  padding: 6px;
  border-radius: var(--radius-full);
  gap: 6px;
}

.tab-btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #4b5874;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(23, 50, 173, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  border: 1.5px solid rgba(23, 50, 173, 0.15);
  box-shadow: 0 10px 30px rgba(10, 25, 90, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: #0066f5;
  box-shadow: 0 18px 45px rgba(0, 102, 245, 0.14);
  transform: scale(1.02);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(10, 25, 90, 0.12);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.recommended-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0066f5;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 102, 245, 0.4);
}

.plan-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 6px;
}

.plan-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: baseline;
}

.plan-price span.currency {
  font-size: 30px;
  margin-right: 2px;
}

.plan-includes-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.plan-features-list li svg {
  width: 18px;
  height: 18px;
  color: #0066f5;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-best-for {
  font-size: 13.5px;
  color: var(--text-muted);
  background: #f7f9fd;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
}

.plan-best-for strong {
  color: var(--text-title);
}

.btn-plan {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-align: center;
  background: #f0f4fd;
  color: var(--primary);
  transition: all 0.3s ease;
}

.btn-plan:hover,
.pricing-card.featured .btn-plan {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(23, 50, 173, 0.3);
}

.pricing-card.featured .btn-plan:hover {
  background: var(--primary-dark);
}



/* ==========================================================================
   Interactive Project Cost Calculator
   ========================================================================== */
.cost-calculator-card {
  margin-top: 60px;
  background: linear-gradient(145deg, #07134f 0%, #0d227d 55%, #1435a8 100%);
  border-radius: 28px;
  padding: 50px 45px;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(7, 19, 79, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.cost-calculator-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 102, 245, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #93c5fd;
  margin-bottom: 16px;
}

.calc-badge svg {
  color: #38bdf8;
}

.calc-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}

.calc-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.calc-step-group {
  margin-bottom: 26px;
}

.calc-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.calc-group-label .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #0066f5;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.calc-radio-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calc-radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-radio-pill .pill-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.calc-radio-pill .pill-text strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
}

.calc-radio-pill .pill-text small {
  display: block;
  font-size: 11.5px;
  color: #93c5fd;
  margin-top: 2px;
}

.calc-radio-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.calc-radio-pill.active {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.calc-radio-pill.active .pill-text strong {
  color: #091763;
}

.calc-radio-pill.active .pill-text small {
  color: #0066f5;
  font-weight: 700;
}

/* Addons Chips Grid */
.calc-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.calc-addon-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calc-addon-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-addon-chip .addon-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.calc-addon-chip .addon-label {
  flex: 1;
  font-size: 12.5px;
  color: #e2e8f0;
  font-weight: 500;
}

.calc-addon-chip .addon-badge {
  font-size: 11px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.18);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.calc-addon-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.calc-addon-chip.active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.calc-addon-chip.active .addon-label {
  color: #ffffff;
  font-weight: 600;
}

/* Summary Column (Right) */
.calc-summary-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 10, 40, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 96px;
}

.calc-summary-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.summary-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0066f5;
  text-transform: uppercase;
}

.calc-price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 8px 0 10px;
  color: #091763;
}

.calc-currency {
  font-size: 28px;
  font-weight: 700;
  color: #0066f5;
  margin-right: 4px;
}

.calc-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: #091763;
}

.calc-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.calc-discount-badge svg {
  color: #059669;
}

.calc-summary-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.summary-item .s-label {
  color: #64748b;
  font-weight: 500;
}

.summary-item .s-val {
  color: #0f172a;
  font-weight: 700;
}

.summary-features-box {
  background: #f8faff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  margin-top: 6px;
}

.summary-features-box .s-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0066f5;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-features-list li {
  font-size: 12px;
  color: #334155;
  font-weight: 500;
  line-height: 1.4;
}

.calc-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-calc-wa {
  width: 100%;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
  text-align: center;
}

.btn-calc-wa:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.btn-calc-consult {
  width: 100%;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1732ad;
  background: #f0f4fd;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-calc-consult:hover {
  background: #e2ecfd;
  color: #0f2177;
  transform: translateY(-1px);
}

.calc-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  text-align: center;
}

.calc-guarantee-note svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Responsive Cost Calculator Rules */
@media (max-width: 1024px) {
  .cost-calculator-card {
    padding: 36px 28px;
  }
  .calc-body-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .calc-summary-card {
    position: static;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cost-calculator-card {
    padding: 26px 16px;
    border-radius: 20px;
    margin-top: 40px;
  }
  .calc-title {
    font-size: 23px;
  }
  .calc-subtitle {
    font-size: 13px;
  }
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  .calc-addons-grid {
    grid-template-columns: 1fr;
  }
  .calc-summary-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .calc-amount {
    font-size: 36px;
  }
}

