/* ============================================================
   Berise Inner Pages (pricing / cases) — reuses style.css tokens
   ============================================================ */

/* Inner pages use a sticky nav over their own content */
body.inner-page .nav {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-links a.active { color: var(--text); background: var(--surface-2); }

/* ── Page hero ───────────────────────────────────────────── */
.page-hero { padding: 88px 0 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 480px;
  background: radial-gradient(620px 300px at 50% 0%, rgba(255, 106, 43, 0.12), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-title { max-width: 760px; margin: 0 auto 16px; }
.page-hero .section-sub { margin: 0 auto; max-width: 620px; }

/* ── Pricing plans ───────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-bottom: 56px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.plan:hover { border-color: rgba(255, 106, 43, 0.35); transform: translateY(-3px); }
.plan.hot {
  border-color: rgba(255, 106, 43, 0.5);
  background: linear-gradient(180deg, rgba(255, 106, 43, 0.09), rgba(255, 106, 43, 0) 45%), var(--surface-2);
}
.plan .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.plan-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; min-height: 40px; }
.plan-price { font-family: var(--font-head); font-size: 42px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-period { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 26px; }
.plan ul li { color: var(--muted); font-size: 14px; display: flex; gap: 9px; line-height: 1.5; }
.plan ul li::before {
  content: "✓";
  color: var(--accent-1);
  font-weight: 700;
  flex: none;
}
.plan .btn { margin-top: auto; width: 100%; }

/* ── Comparison table ────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.tbl { width: 100%; border-collapse: collapse; min-width: 680px; }
.tbl th, .tbl td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.tbl th {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tbl td:first-child, .tbl th:first-child { text-align: left; color: var(--text); font-weight: 500; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .pro-col { background: rgba(255, 106, 43, 0.07); }
.tbl .yes { color: var(--accent-1); font-weight: 700; }
.tbl .na { color: var(--muted); }
.tbl .price-row td { font-family: var(--font-head); font-weight: 700; font-size: 17px; }

.pricing-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ── Blog-style case studies ─────────────────────────────── */
.case-tag {
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-1);
  background: rgba(255, 106, 43, 0.1);
  border: 1px solid rgba(255, 106, 43, 0.28);
  padding: 5px 13px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.blog-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-1);
  background: rgba(255, 106, 43, 0.1);
  border: 1px solid rgba(255, 106, 43, 0.28);
  padding: 5px 13px;
  border-radius: var(--pill);
  margin-bottom: 18px;
}

/* Featured (latest) card */
.blog-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
  transition: border-color 0.2s ease;
}
.blog-featured:hover { border-color: rgba(255, 106, 43, 0.4); }
.blog-featured img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-featured .bf-body {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured .case-tag { align-self: flex-start; margin-bottom: 16px; }
.blog-featured h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* Card grid */
.blog-section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 26px;
}
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { border-color: rgba(255, 106, 43, 0.4); transform: translateY(-3px); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card .bc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .case-tag { align-self: flex-start; margin-bottom: 12px; }
.blog-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.blog-excerpt { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.blog-card .blog-excerpt { font-size: 14px; margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.blog-card .blog-meta { margin-top: auto; }
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

.case-note { text-align: center; color: var(--muted); font-size: 13px; max-width: 560px; margin: 56px auto 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 968px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.hot { order: -1; grid-column: span 2; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .plans { grid-template-columns: 1fr; }
  .plan.hot { grid-column: span 1; }
  .blog-cards { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 0 40px; }
}
