:root {
  --price-section-bg: #f5f7fb;
}

.price-page-body {
  background: var(--price-section-bg);
}

/* Hero */
.price-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f8fc 0%, #f6faff 58%, #ffffff 100%);
  padding: 64px 0 72px;
  min-height: 360px;
}
.price-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -160px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.42) 0%, rgba(191, 219, 254, 0) 72%);
  pointer-events: none;
}
.price-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 107, 255, 0.12) 0%, rgba(43, 107, 255, 0) 70%);
  pointer-events: none;
}
.price-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 300px;
}
.price-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.price-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px 0 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(43, 107, 255, 0.1);
  border: 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.price-hero-tag-icon {
  color: #f59e0b;
  flex-shrink: 0;
}
.price-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #111827;
}
.price-hero-highlight {
  color: var(--primary);
}
.price-hero p {
  margin: 0 0 30px;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.85;
  color: #475569;
}
.price-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-primary,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(43, 107, 255, 0.28);
}
.btn-hero-primary:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
  box-shadow: 0 14px 30px rgba(43, 107, 255, 0.34);
}
.btn-hero-ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid #bfd3ff;
  backdrop-filter: none;
}
.btn-hero-ghost:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}
.price-hero-illustration {
  position: absolute;
  z-index: 1;
  right: max(0px, calc(50% - 620px));
  top: 50%;
  transform: translateY(-50%);
  height: min(360px, 80vw);
  width: auto;
  max-width: min(580px, 56vw);
  display: block;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Pricing cards */
.price-page {
  padding: 56px 0 72px;
  background: var(--price-section-bg);
}
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.plan-card.featured {
  border: 1px solid var(--primary);
  box-shadow: 0 14px 36px rgba(43, 107, 255, 0.14);
  background: #fff;
}
.plan-badge {
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(43, 107, 255, 0.24);
}
.plan-head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.plan-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}
.plan-price {
  margin: 24px 0 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.plan-price .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price .unit {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 500;
}
.plan-divider {
  height: 1px;
  margin: 22px 0 20px;
  background: #edf1f7;
}
.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.plan-btn {
  width: 100%;
  height: 48px;
  margin-top: 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}
.plan-card .btn-outline {
  border: 1px solid #bfd3ff;
  color: var(--primary);
  background: #fff;
}
.plan-card .btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}
.plan-card.featured .btn-primary {
  box-shadow: 0 10px 22px rgba(43, 107, 255, 0.24);
}

.plan-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.plan-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.plan-trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  display: grid;
  place-items: center;
}
.plan-trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}
.plan-trust-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
}

/* Compare table */
.compare-wrap h2 {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  color: #111827;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.compare-table th,
.compare-table td {
  padding: 15px 16px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.compare-table th {
  background: #f8fafc;
  font-size: 15px;
  color: #111827;
}
.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  color: #334155;
  font-weight: 600;
}
.compare-table .section-row td {
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
  color: #1e40af;
  font-weight: 700;
  text-align: left;
}
.compare-price {
  color: var(--primary);
  font-weight: 700;
}
.compare-table .ok {
  color: #16a34a;
  font-weight: 700;
}
.compare-table .no {
  color: #ef4444;
  font-weight: 700;
}
.compare-note {
  margin: 18px 0 0;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .price-hero {
    display: flex;
    flex-direction: column;
    padding: 48px 0 56px;
    min-height: 0;
  }
  .price-hero-inner {
    order: 1;
    min-height: 0;
    justify-content: center;
    text-align: center;
  }
  .price-hero-copy {
    max-width: none;
    margin: 0 auto;
  }
  .price-hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .price-hero-actions {
    justify-content: center;
  }
  .price-hero-illustration {
    order: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: block;
    height: auto;
    width: min(420px, 92vw);
    max-width: 420px;
    margin: 28px auto 0;
  }
  .plan-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .plan-trust {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 960px) {
  .plan-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
