/* ============================================
   PRICING PAGE — design tokens aligned with
   the main style.css system (Inter / #4285f4 /
   #f1f3f4 / #202124 / #34a853 / #dadce0)
   ============================================ */

/* ---- Shared additions ---- */
.nav-link-active {
  color: #4285f4;
  font-weight: 600;
}

.btn-dark {
  display: inline-block;
  background-color: #202124;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
  font-family: "Inter", sans-serif;
}
.btn-dark:hover {
  opacity: 0.88;
}

/* ============================================
   HERO
   ============================================ */
.pr-hero {
  background-color: #f1f3f4;
  padding: 72px 24px 56px;
  text-align: center;
}

.pr-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow pill */
.pr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dadce0;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 13px;
  color: #5f6368;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pr-eyebrow-dots {
  display: inline-flex;
  gap: 4px;
}

.pr-eyebrow-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* Title */
.pr-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #202124;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.pr-hero-subtitle {
  font-size: 17px;
  color: #5f6368;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 36px;
}

/* Billing toggle */
.pr-toggle {
  display: inline-flex;
  align-items: center;
  background: #e2e5e9;
  border-radius: 9999px;
  padding: 4px;
  gap: 2px;
}

.pr-toggle-btn {
  border: none;
  background: transparent;
  padding: 9px 22px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #5f6368;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
  font-family: "Inter", sans-serif;
}

.pr-toggle-btn.is-active {
  background: #ffffff;
  color: #202124;
  box-shadow: 0 1px 3px rgba(32, 33, 36, 0.12);
}

.pr-save-badge {
  background: #e8f0fe;
  color: #185abc;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}

/* ============================================
   PLAN CARDS
   ============================================ */
.pr-cards-section {
  /* Blend the gray card area into the white compare section instead of
     switching colors abruptly in the empty space below the cards. */
  background: linear-gradient(
    to bottom,
    #f1f3f4 0%,
    #f1f3f4 calc(100% - 80px),
    #ffffff 100%
  );
  padding: 0 24px 80px;
}

.pr-cards-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

@media (max-width: 900px) {
  .pr-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Individual card */
.pr-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 16px;
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.pr-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Featured card */
.pr-card-featured {
  border: 2px solid #4285f4;
  box-shadow: 0 8px 28px rgba(66, 133, 244, 0.16);
  transform: translateY(-8px);
}

@media (max-width: 900px) {
  .pr-card-featured {
    transform: none;
  }
}

.pr-featured-banner {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #4285f4;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(66, 133, 244, 0.35);
}

/* Card head */
.pr-card-head {
  margin-bottom: 0;
}

.pr-plan-tag {
  display: inline-block;
  background: #f1f3f4;
  color: #5f6368;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.pr-plan-tag-blue {
  background: #e8f0fe;
  color: #185abc;
}

.pr-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #202124;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.pr-plan-name-blue {
  color: #4285f4;
}

.pr-plan-desc {
  color: #5f6368;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 20px;
  min-height: 40px;
}

.pr-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0;
}

.pr-amount {
  font-size: 42px;
  font-weight: 800;
  color: #202124;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pr-period {
  font-size: 14px;
  color: #5f6368;
  font-weight: 500;
}

/* Divider */
.pr-divider {
  border: none;
  border-top: 1px solid #f1f3f4;
  margin: 20px 0;
}

/* Feature list */
.pr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pr-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #202124;
  line-height: 1.4;
}

.pr-feature-dim {
  color: #9aa0a6;
}

.pr-check-icon,
.pr-x-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pr-check-icon {
  background: #e6f4ea;
  border: 1.5px solid #34a853;
}

.pr-check-icon svg,
.pr-x-icon svg {
  width: 10px;
  height: 10px;
}

/* Guarantee strip */
.pr-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px auto 0;
  font-size: 13px;
  color: #5f6368;
  background: #e8f0fe;
  padding: 10px 20px;
  border-radius: 9999px;
  max-width: fit-content;
}

/* ============================================
   COMPARE TABLE
   ============================================ */
.pr-compare {
  /* Keep the table area white, then blend into the gray FAQ section
     through the bottom padding rather than creating a hard boundary. */
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff calc(100% - 80px),
    #f1f3f4 100%
  );
  border: none;
  padding: 80px 24px;
}

.pr-compare-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pr-table-wrap {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .pr-table-wrap {
    overflow-x: auto;
  }
}

.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 580px;
}

.pr-th {
  text-align: center;
  padding: 16px 20px;
  background: #f8f9fa;
  color: #5f6368;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #dadce0;
  text-transform: uppercase;
}

.pr-th-feature {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: #202124;
  width: 36%;
}

.pr-th-highlight {
  background: #e8f0fe;
  color: #185abc;
}

/* Group rows */
.pr-group-row td {
  padding: 0;
}

.pr-group-label {
  padding: 10px 20px 6px !important;
  font-size: 11px;
  font-weight: 700;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f8f9fa;
  border-top: 1px solid #dadce0;
  border-bottom: 1px solid #e8eaed;
}

/* Data cells */
.pr-td {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f3f4;
  color: #202124;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}

.pr-td-label {
  text-align: left;
  color: #5f6368;
  font-weight: 500;
}

.pr-td-highlight {
  background: #f0f5ff;
  color: #185abc;
  font-weight: 600;
}

.pr-check-cell {
  color: #5f6368;
}

.pr-table tbody tr:last-child .pr-td {
  border-bottom: none;
}

/* Mini badge */
.pr-mini-badge {
  background: #4285f4;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 9999px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}

/* Table footer */
.pr-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pr-table-note {
  font-size: 14px;
  color: #5f6368;
}

.pr-contact-btn {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

/* ============================================
   FAQ — + / × accordion (matches Image 2)
   ============================================ */
.pr-faq {
  background: #f1f3f4;
  padding: 80px 24px;
}

.pr-faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Accordion wrapper */
.pr-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* Each item card */
.pr-acc-item {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.pr-acc-item.is-open {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

/* Trigger button */
.pr-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #202124;
  text-align: left;
  line-height: 1.4;
  transition: background 0.12s;
}

.pr-acc-trigger:hover {
  background: #fafafa;
}

/* Icon: shows + by default, − when open */
.pr-acc-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #4285f4;
  color: #4285f4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.15s;
}

.pr-acc-trigger:hover .pr-acc-icon {
  background: #e8f0fe;
}

.pr-icon-plus,
.pr-icon-minus {
  position: absolute;
  transition:
    opacity 0.15s,
    transform 0.15s;
}

/* Default: show + hide − */
.pr-icon-plus {
  opacity: 1;
  transform: scale(1);
}
.pr-icon-minus {
  opacity: 0;
  transform: scale(0.6);
}

/* Open: hide + show − */
.pr-acc-item.is-open .pr-icon-plus {
  opacity: 0;
  transform: scale(0.6);
}
.pr-acc-item.is-open .pr-icon-minus {
  opacity: 1;
  transform: scale(1);
}

.pr-acc-item.is-open .pr-acc-icon {
  background: #4285f4;
  color: #ffffff;
}

/* Answer body */
.pr-acc-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.pr-acc-item.is-open .pr-acc-body {
  max-height: 300px;
}

.pr-acc-body p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 14px;
  color: #5f6368;
  line-height: 1.7;
  border-top: 1px solid #f1f3f4;
  padding-top: 16px;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 560px) {
  .pr-hero {
    padding: 56px 16px 40px;
  }

  .pr-cards-section {
    padding: 0 16px 64px;
  }

  .pr-compare,
  .pr-faq {
    padding: 64px 16px;
  }

  .pr-table-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pr-contact-btn {
    width: 100%;
  }

  .pr-guarantee {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding: 14px 20px;
    border-radius: 12px;
  }
}

/* ============================================
   PRICING FAQ — MATCH HOMEPAGE FAQ DESIGN
   ============================================ */
.pr-faq {
  background-color: #f1f3f4;
  padding: 80px 16px;
}

.pr-faq-inner {
  max-width: 768px;
  margin: 0 auto;
}

.pr-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
}

.pr-acc-item {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  user-select: none;
  overflow: visible;
  transition: box-shadow 0.15s;
}

.pr-acc-item.is-open {
  box-shadow: none;
}

.pr-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  color: #202124;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  line-height: normal;
  transition: none;
}

.pr-acc-trigger:hover {
  background: none;
}

.pr-acc-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 0;
  color: #4285f4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s;
  background: transparent;
}

.pr-acc-trigger:hover .pr-acc-icon,
.pr-acc-item.is-open .pr-acc-icon {
  background: transparent;
}

.pr-icon-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.pr-icon-minus {
  display: none;
}

.pr-acc-item.is-open .pr-icon-plus {
  opacity: 1;
  transform: rotate(180deg);
}

.pr-acc-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.pr-acc-item.is-open .pr-acc-body {
  max-height: 300px;
}

.pr-acc-body p {
  padding: 0;
  margin: 12px 0 0;
  font-size: 15px;
  color: #5f6368;
  line-height: 1.65;
  border-top: 0;
}

@media (max-width: 560px) {
  .pr-faq {
    padding: 64px 16px;
  }
}
