/* ==========================================================================
   HostCraft Unified Editorial Design System
   Matches Home Index.php: Off-White Foundation (#f7f7f5) + Dark (#111111) Sections
   ========================================================================== */

/* Page Hero: Warm Light Foundation (#f7f7f5) with Crisp Typography */
.content-page-hero,
.price-page-hero {
  padding: clamp(64px, 7.5vw, 104px) 0 clamp(44px, 5vw, 68px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.content-page-inner,
.price-page-hero-inner {
  max-width: 840px;
}

.price-page-hero-inner {
  margin: 0 auto;
  text-align: center;
}

.content-page-eyebrow,
.price-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.content-page-eyebrow::before,
.price-page-eyebrow::before {
  content: "■";
  font-size: 8px;
}

.content-page-title,
.price-page-title {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.content-page-lead,
.price-page-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  color: #555550;
  max-width: 660px;
}

.price-page-subtitle {
  margin: 0 auto 28px;
}

/* Currency Switcher Pill */
.currency-pill-wrap {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.curr-toggle-btn {
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border-radius: 9999px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .18s var(--ease);
}

.curr-toggle-btn.active {
  background: var(--ink);
  color: #ffffff;
}

/* ==========================================================================
   02 — PRICING SECTION: Clean Surface Foundation with Featured Dark Card
   ========================================================================== */
.pricing-stage-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.primary-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
}

@media (max-width: 992px) {
  .primary-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Plan Card: Clean Editorial Light Card */
.plan-col {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.plan-col:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

/* Featured Center Card: Inverted Dark Card with Protected Mascot */
.plan-col.featured-white {
  background: #111111;
  color: #ffffff;
  border: 2px solid #111111;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
  z-index: 10;
}

/* CSS-Protected GOAT Mascot Illustration (Disabled click/download) */
.goat-mascot-perch {
  position: absolute;
  top: -84px;
  right: 14px;
  width: 116px;
  height: 116px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 15;
  background-image: url("../assets/img/GOAT.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
  .goat-mascot-perch {
    width: 86px;
    height: 86px;
    top: -64px;
    right: 10px;
  }
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.plan-col.featured-white .plan-badge {
  color: var(--accent);
}

.plan-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.plan-col.featured-white .plan-name {
  color: #ffffff;
}

.plan-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666661;
  min-height: 40px;
  margin-bottom: 22px;
}

.plan-col.featured-white .plan-desc {
  color: #a8a8a4;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-price-num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}

.plan-col.featured-white .plan-price-num {
  color: #ffffff;
}

.plan-price-period {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.plan-col.featured-white .plan-price-period {
  color: #8c8c88;
}

.plan-price-subtext {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8c8c88;
  margin-bottom: 22px;
}

.plan-col.featured-white .plan-price-subtext {
  color: #777773;
}

.plan-btn-wrap {
  margin-bottom: 26px;
}

.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .2s var(--ease);
  cursor: pointer;
}

.plan-btn-dark {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.plan-btn-dark:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.plan-btn-accent {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
}

.plan-btn-accent:hover {
  background: #e65200;
  border-color: #e65200;
  transform: translateY(-1px);
}

.plan-features-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-col.featured-white .plan-features-label {
  color: #777773;
  border-top-color: #242424;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #444440;
}

.plan-col.featured-white .plan-feature-item {
  color: #dcdcd8;
}

.plan-feature-item .icon-check {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Secondary Tier Banners */
.secondary-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .secondary-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.secondary-tier-banner {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sec-tier-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.sec-tier-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.sec-tier-desc {
  font-size: 13px;
  color: #666661;
  line-height: 1.5;
}

.sec-tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.sec-tier-price {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
}

/* Hardware & Transit Logos Strip */
.customer-logos-strip {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.logos-strip-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.logos-strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
}

.logos-strip-row span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #444440;
}

/* Side-by-Side Auditable Comparison Table (Dark Section like index.php #compare) */
.side-compare-section {
  padding: clamp(72px, 8vw, 108px) 0;
  background: var(--dark);
  color: #ffffff;
}

.side-compare-header {
  margin-bottom: 44px;
  text-align: left;
}

.side-compare-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.side-compare-eyebrow::before {
  content: "■";
  font-size: 8px;
}

.side-compare-title {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.045em;
  color: #ffffff;
  margin-bottom: 12px;
}

.side-compare-lead {
  font-size: 15px;
  color: #9c9c98;
  max-width: 620px;
}

.side-compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #282828;
  background: #141414;
}

.side-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 820px;
}

.side-table th,
.side-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #202020;
  border-right: 1px solid #202020;
  vertical-align: middle;
}

.side-table th:last-child,
.side-table td:last-child {
  border-right: none;
}

.side-table thead th {
  background: #1c1c1c;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

.side-table thead th:first-child {
  text-align: left;
}

.side-table thead th.col-featured {
  background: #242424;
  color: var(--accent);
}

.side-table tbody tr:hover {
  background: #1a1a1a;
}

.side-table .tbl-section-row {
  background: #0f0f0f;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 11px 20px;
}

.side-table td.col-center {
  text-align: center;
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 600;
}

.side-table td.col-center.highlight {
  color: var(--accent);
  font-weight: 700;
  background: rgba(255, 90, 0, 0.04);
}

.side-table .check-yes {
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.side-table .dash-no {
  color: #555550;
}

/* Accordion FAQ Section (Light Section like index.php) */
.price-faq-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.faq-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(36px, 6vw, 84px);
}

@media (max-width: 900px) {
  .faq-split-layout {
    grid-template-columns: 1fr;
  }
}

.faq-split-left {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.faq-split-title {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 16px;
}

.faq-split-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666661;
  margin-bottom: 24px;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-accordion-item {
  border-bottom: 1px solid var(--border);
}

.faq-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: left;
  cursor: pointer;
  transition: color .18s var(--ease);
}

.faq-accordion-btn:hover {
  color: var(--accent);
}

.faq-accordion-chevron {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: transform .22s var(--ease);
}

.faq-accordion-item.open .faq-accordion-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .26s cubic-bezier(0, 1, 0, 1);
  font-size: 14px;
  line-height: 1.65;
  color: #555550;
}

.faq-accordion-item.open .faq-accordion-body {
  max-height: 500px;
  padding-bottom: 20px;
}

/* ==========================================================================
   03 — ARTICLE & DOCUMENTATION PAGES STYLES
   ========================================================================== */
.content-body-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.article-container {
  max-width: 820px;
  margin: 0 auto;
}

.article-container h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.article-container h2:first-of-type {
  margin-top: 0;
}

.article-container h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-container p {
  font-size: 15px;
  line-height: 1.7;
  color: #4f4f4b;
  margin-bottom: 20px;
}

.article-container ul, .article-container ol {
  margin: 0 0 24px 24px;
  color: #4f4f4b;
  font-size: 14.5px;
  line-height: 1.7;
}

.article-container li {
  margin-bottom: 8px;
}

.article-container strong {
  color: var(--ink);
}

.article-container code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: #f0f0ed;
  color: var(--accent);
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.callout-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  margin: 32px 0;
  border-radius: 2px;
}

.callout-box p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.content-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.content-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 2px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.content-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.content-card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.content-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.content-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #666661;
  margin: 0;
}
