/* =================================
   PRICING PAGE
================================= */

/* =========================
   PRICING TABLES
========================= */

.pricing-table {
  width: 100%;
  max-width: 1000px;
  margin: 25px auto 50px;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid red;
}

.pricing-table th {
  background:white;
  color: black;
  padding: 16px 14px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 3px solid red;
}

.pricing-table td {
  padding: 15px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
}

.pricing-table tbody tr:nth-child(even) {
  background: #f8f8f8;
}

.pricing-table tbody tr:hover {
  background: #fff3f3;
}

.pricing-table td:first-child {
  font-weight: 700;
}

.pricing-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 700;
}

.pricing-section-title {
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.pricing-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: red;
  margin: 12px auto 0;
  border-radius: 20px;
}


/* Mobile */
@media (max-width: 768px) {

  .pricing-table {
    font-size: 0.9rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 10px;
  }

}

/* =========================
   PAYMENT SECTION
========================= */

.payment-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.payment-section ul {
  width: fit-content;
  margin: 15px auto 30px;
  padding-left: 25px;
  text-align: left;
  list-style-position: outside;
}

.payment-section li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* =========================
   APP COST ESTIMATOR
========================= */

.app-estimator {
  max-width: 800px;
  margin: 70px auto;
  padding: 45px 35px;

  background: white;

  border: 2px solid #eee;
  border-top: 6px solid red;

  border-radius: 18px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);

  text-align: left;
}


.estimator-header {
  text-align: center;
  margin-bottom: 35px;
}


.estimator-header h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}


.estimator-header h2::after {
  content: "";
  display: block;

  width: 70px;
  height: 4px;

  background: red;

  margin: 14px auto 0;

  border-radius: 20px;
}


.estimator-header p {
  max-width: 650px;
  margin: 18px auto 0;

  color: #555;

  line-height: 1.6;
}


.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}


.estimator-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.estimator-field label {
  font-weight: 700;
  color: #222;
}


.estimator-field select {
  width: 100%;

  padding: 14px 12px;

  background: #fff;

  border: 1px solid #ccc;

  border-radius: 8px;

  font-size: 1rem;

  cursor: pointer;
}


.estimator-field select:focus {
  outline: none;

  border-color: red;

  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.08);
}


.estimator-button {
  margin-top: 10px;

  padding: 15px 25px;

  background: red;
  color: white;

  border: none;

  border-radius: 10px;

  font-size: 1rem;
  font-weight: bold;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.estimator-button:hover {
  background: darkred;
  transform: translateY(-2px);
}


.estimate-result {
  margin-top: 35px;

  padding: 30px;

  background: #f8f8f8;

  border: 2px solid red;

  border-radius: 14px;

  text-align: center;
}


.estimate-label {
  margin-bottom: 5px;

  color: #555;

  font-size: 0.85rem;

  font-weight: bold;

  letter-spacing: 1.5px;
}


.estimate-result h3 {
  margin: 10px 0 15px;

  color: red;

  font-size: 2.4rem;
}


.estimate-result p {
  max-width: 600px;

  margin-left: auto;
  margin-right: auto;

  color: #444;
}


/* Mobile */
@media (max-width: 768px) {

  .app-estimator {
    margin: 40px 15px;

    padding: 30px 20px;
  }


  .estimator-header h2 {
    font-size: 1.7rem;
  }


  .estimate-result h3 {
    font-size: 2rem;
  }

}

.historical-pricing {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}

.historical-pricing h2 {
  margin-bottom: 20px;
}

.historical-chart img {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 30px auto 20px;
  display: block;
}

.historical-note {
  max-width: 850px;
  margin: 20px auto 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.then-now-image {
  width: 60%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* =================================
   PRICING PAGE MEDIA
================================= */

/* Main historical cost chart */
.historical-chart img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 30px auto 20px;
}


/* THEN VS NOW IMAGE */
.historical-chart .then-now-image {
  width: 55%;
  max-width: 550px;
  height: auto;
  display: block;
  margin: 30px auto;
}


/* REAL PROJECT EXAMPLE VIDEOS */
.faq-item .portfolio-video {
  width: 100%;
  max-width: 320px;
  height: 340px;
  display: block;
  margin: 25px auto;
  object-fit: contain;
  background: white;
  border-radius: 14px;
}

.real-app-costs {
  margin-top: 70px;
}