/* ===== Pricing Page ===== */

/* Hero */
.pricing-hero {
  padding-top: 130px;
  padding-bottom: 50px;
  background: linear-gradient(135deg, #f0faf2 0%, #e4f5e8 50%, #f8fdf9 100%);
  text-align: center;
}

.pricing-hero-inner {
  max-width: 620px;
}

.pricing-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2fb147;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #212529;
}

.pricing-hero p {
  font-size: 1.05rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Product Tab Nav */
.product-tab-nav {
  background: #fff;
  border-bottom: 2px solid #e9ecef;
  position: sticky;
  top: 68px;
  z-index: 50;
}

.product-tab-inner {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 40px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  text-align: left;
}

.product-tab:hover .tab-name {
  color: #2fb147;
}

.product-tab.active {
  border-bottom-color: #2fb147;
}

.tab-for {
  font-size: 0.72rem;
  font-weight: 500;
  color: #868e96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.tab-name {
  font-size: 1rem;
  font-weight: 700;
  color: #495057;
  transition: color 0.2s ease;
}

.product-tab.active .tab-name {
  color: #212529;
}

/* CM Plans */
.cm-plans-section {
  background: #f8fdf9;
}

.cm-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.cm-intro-tag {
  display: inline-block;
  background: rgba(47, 177, 71, 0.1);
  color: #1a7a30;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.cm-intro-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #212529;
  margin-bottom: 14px;
}

.cm-intro-desc {
  font-size: 1rem;
  color: #495057;
  line-height: 1.7;
}

.cm-card-wrap {
  max-width: 480px;
  margin: 0 auto 64px;
}

.cm-enterprise-card {
  border-color: #2fb147;
  box-shadow: 0 16px 50px rgba(47, 177, 71, 0.12);
}

.cm-product-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2fb147;
  margin-bottom: 6px;
}

.cm-features li {
  font-size: 0.93rem !important;
}

/* CM Value Grid */
.cm-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
}

.cm-value-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

.cm-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(47, 177, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cm-value-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 8px;
}

.cm-value-card p {
  font-size: 0.85rem;
  color: #495057;
  line-height: 1.55;
}

/* CTA row */
.cta-buttons-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Get started section */
.get-started-section {
  background: linear-gradient(135deg, rgb(4, 42, 12), rgb(15, 80, 30));
}

.get-started-inner {
  text-align: center;
}

.get-started-inner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.get-started-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* Plans Grid */
.plans-section {
  background: #fff;
  padding-top: 30px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
}

.plan-card {
  background: #fff;
  border: 1.5px solid #e9ecef;
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.plan-card.featured {
  border-color: #2fb147;
  box-shadow: 0 8px 30px rgba(47, 177, 71, 0.12);
}

.plan-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #2fb147;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.plan-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #212529;
}

.plan-desc {
  font-size: 0.88rem;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}

.plan-currency {
  font-size: 1.3rem;
  font-weight: 600;
  color: #212529;
  margin-top: 6px;
}

.plan-amount {
  font-size: 3.2rem;
  font-weight: 700;
  color: #212529;
  line-height: 1;
}

.plan-amount.custom-price {
  font-size: 2.4rem;
}

.plan-period {
  font-size: 0.9rem;
  color: #868e96;
  align-self: flex-end;
  margin-bottom: 6px;
}

.plan-billing {
  font-size: 0.82rem;
  color: #868e96;
  margin-bottom: 24px;
}

.btn-outline-green {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: #2fb147;
  border: 1.5px solid #2fb147;
  padding: 0.75em 1.4em;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-green:hover {
  background: #2fb147;
  color: #fff;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

.plan-features {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f1f3f5;
}

.plan-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: #495057;
  line-height: 1.4;
}

.plan-features li.included::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(47, 177, 71, 0.1);
  color: #2fb147;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-features li.excluded {
  color: #adb5bd;
}

.plan-features li.excluded::before {
  content: '\2715';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #ced4da;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Commission Section */
.commission-section {
  background: #f8fdf9;
}

.section-desc {
  font-size: 1.05rem;
  color: #495057;
  line-height: 1.7;
  text-align: center;
  max-width: 650px;
  margin: -30px auto 40px;
}

.commission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.commission-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s ease;
}

.commission-card:hover {
  transform: translateY(-3px);
}

.commission-card.highlight {
  border-color: #2fb147;
  box-shadow: 0 8px 25px rgba(47, 177, 71, 0.1);
}

.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f3f5;
}

.cc-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
}

.cc-rate {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2fb147;
}

.cc-example p {
  font-size: 0.85rem;
  color: #868e96;
  margin-bottom: 14px;
}

.cc-calc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.cc-calc span {
  font-size: 0.88rem;
  color: #495057;
}

.cc-calc strong {
  font-size: 0.95rem;
  color: #212529;
}

.cc-green {
  color: #2fb147 !important;
}

/* Comparison Table */
.comparison-section {
  background: #fff;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #e9ecef;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
  text-align: center;
  border-bottom: 1px solid #f1f3f5;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #212529;
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #212529;
  font-size: 0.9rem;
}

.comparison-table td {
  color: #495057;
}

.highlight-col {
  background: rgba(47, 177, 71, 0.03);
}

.comparison-table th.highlight-col {
  background: rgba(47, 177, 71, 0.08);
  color: #2fb147;
}

.check {
  color: #2fb147;
  font-size: 1.1rem;
  font-weight: 700;
}

.cross {
  color: #ced4da;
  font-size: 1.1rem;
}

/* FAQ */
.faq-section {
  background: #f8f9fa;
}

.faq-grid {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #212529;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-arrow {
  font-size: 0.75rem;
  color: #868e96;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .plans-grid,
  .commission-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .plan-card.featured {
    order: -1;
  }

  .cm-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tab {
    padding: 14px 20px 12px;
  }
}

@media (max-width: 500px) {
  .cm-value-grid {
    grid-template-columns: 1fr;
  }

  .product-tab-inner {
    padding: 0 12px;
  }
}

@media (max-width: 500px) {
  .pricing-hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .billing-toggle {
    padding: 6px 14px;
    gap: 8px;
  }
}
