/*--------------------------------------------------------------
# Price Page
--------------------------------------------------------------*/
body.price-page {
  background: #fff;
  color: #1b2559;
}

.price-page .main {
  padding-top: 72px;
}

.price-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.price-section {
  padding: 96px 0;
}

/* Hero */
.price-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}

.price-hero-head {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.price-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #5831fb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.price-hero-title {
  margin: 0 0 16px;
  color: #1b2559;
  font-family: var(--heading-font);
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.price-hero-desc {
  margin: 0;
  color: #707eae;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  line-height: 1.7;
  word-break: keep-all;
}

/* Plans */
.price-plans {
  padding-top: 48px;
  padding-bottom: 80px;
  background: #fff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 20px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eef1f6;
  box-shadow: 0 8px 24px rgba(27, 37, 89, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: #e4e9f2;
  box-shadow: 0 16px 40px rgba(27, 37, 89, 0.08);
}

.price-card--featured {
  border: 2px solid #5831fb;
  box-shadow: 0 12px 32px rgba(88, 49, 251, 0.12);
}

.price-card--featured:hover {
  box-shadow: 0 20px 48px rgba(88, 49, 251, 0.16);
}

.price-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: #5831fb;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.price-card-head {
  text-align: center;
  margin-bottom: 20px;
}

.price-plan-name {
  margin: 0 0 14px;
  color: #707eae;
  font-size: 0.9375rem;
  font-weight: 700;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
  color: #1b2559;
}

.price-amount-unit {
  color: #707eae;
  font-size: 0.875rem;
  font-weight: 600;
}

.price-amount-value {
  font-family: var(--heading-font);
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-amount-value--text {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.price-amount-currency {
  color: #707eae;
  font-size: 0.875rem;
  font-weight: 600;
}

.price-plan-desc {
  margin: 0;
  color: #707eae;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.55;
}

.price-divider {
  height: 1px;
  margin: 0 0 18px;
  background: #f0f2f5;
}

.price-features {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4e5968;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}

.price-features li + li {
  margin-top: 10px;
}

.price-features li i {
  flex-shrink: 0;
  margin-top: 2px;
  color: #5831fb;
  font-size: 0.875rem;
}

.price-features li.is-strong {
  color: #1b2559;
  font-weight: 700;
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.price-btn:active {
  transform: scale(0.98);
}

.price-btn--basic {
  background: #f4f7fe;
  color: #1b2559;
}

.price-btn--basic:hover {
  background: #ede9fe;
  color: #4318ff;
}

.price-btn--primary {
  background: #5831fb;
  color: #fff;
  box-shadow: 0 8px 24px rgba(88, 49, 251, 0.22);
}

.price-btn--primary:hover {
  background: #4318ff;
  color: #fff;
}

/* Enterprise */
.price-card--enterprise {
  background: #1b2559;
  border-color: #1b2559;
}

.price-card--enterprise:hover {
  border-color: #2a3568;
}

.price-card--enterprise .price-plan-name,
.price-card--enterprise .price-amount,
.price-card--enterprise .price-amount-unit,
.price-card--enterprise .price-amount-currency,
.price-card--enterprise .price-plan-desc,
.price-card--enterprise .price-features li {
  color: rgba(255, 255, 255, 0.88);
}

.price-card--enterprise .price-features li i {
  color: #a78bfa;
}

.price-card--enterprise .price-divider {
  background: rgba(255, 255, 255, 0.12);
}

.price-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.price-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Terminals */
.price-terminals {
  padding: 0 0 40px;
  background: #fff;
}

.price-terminals-title {
  margin: 0 0 16px;
  color: #1b2559;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-terminal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fafbfd;
  border: 1px solid #eef1f6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.price-terminal-card:hover {
  border-color: #e4e9f2;
  box-shadow: 0 8px 20px rgba(27, 37, 89, 0.05);
}

.price-terminal-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.price-terminal-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  min-width: 0;
}

.price-terminal-name {
  margin: 0;
  color: #1b2559;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.price-terminal-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0;
  white-space: nowrap;
}

.price-terminal-price-unit {
  color: #707eae;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-terminal-price-value {
  color: #1b2559;
  font-family: var(--heading-font);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-terminal-price-suffix {
  color: #707eae;
  font-size: 0.75rem;
  font-weight: 500;
}

.price-terminal-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.price-terminal-tag--linked {
  background: #ede9fe;
  color: #5831fb;
}

.price-terminal-tag--unlinked {
  background: #f0f2f5;
  color: #707eae;
}

.price-terminal-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-terminal-details li {
  color: #707eae;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  word-break: keep-all;
}

.price-terminal-details li strong {
  margin-right: 4px;
  color: #4e5968;
  font-weight: 600;
}

/* Note */
.price-note {
  padding: 0 0 96px;
  background: #fff;
}

.price-note-box {
  padding: 28px 32px;
  border-radius: 20px;
  background: #fafbfd;
  border: 1px solid #eef1f6;
}

.price-note-box h3 {
  margin: 0 0 16px;
  color: #1b2559;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-note-list li {
  color: #707eae;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;
}

.price-note-list li strong {
  color: #1b2559;
  font-weight: 600;
}

/* CTA */
.price-cta {
  padding: 96px 0 120px;
  background: #fafbfd;
}

.price-cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.price-cta-title {
  margin: 0 0 14px;
  color: #1b2559;
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.price-cta-desc {
  margin: 0 0 28px;
  color: #707eae;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}

.price-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.price-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background: #5831fb;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(88, 49, 251, 0.2);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.price-cta-btn:hover {
  background: #4318ff;
  color: #fff;
}

.price-cta-btn--ghost {
  background: #fff;
  color: #5831fb;
  border: 1px solid #d9dce8;
  box-shadow: none;
}

.price-cta-btn--ghost:hover {
  background: #f4f7fe;
  color: #4318ff;
  border-color: #5831fb;
}

.price-cta-btn:active {
  transform: scale(0.98);
}

/* Reveal */
.price-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.price-section.is-visible .price-reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .price-card--featured {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .price-page .main {
    padding-top: 64px;
  }

  .price-section {
    padding: 72px 0;
  }

  .price-hero {
    padding: 56px 0 32px;
  }

  .price-plans {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .price-container {
    padding: 0 16px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-note-list {
    grid-template-columns: 1fr;
  }

  .price-note-box {
    padding: 24px 20px;
  }

  .price-terminal-grid {
    grid-template-columns: 1fr;
  }

  .price-terminal-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .price-cta {
    padding: 72px 0 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .price-card {
    transition: none;
  }

  .price-card:hover {
    transform: none;
  }
}
