/* ============================================================
   pricing.html — page-scoped styles.

   This page has common.css and styles.css commented out with no
   replacement, so it was rendering completely unstyled. The base
   theme (:root tokens, body reset) and every class that already
   existed somewhere in the codebase were migrated verbatim below:
   .eyebrow, .pricing-page, .pricing-intro, .pricing-grid, .price-card,
   .price, .price-note, .includes-title, .includes-list, and
   .get-started all came from oldstyles.css (this page's markup is
   built on that design system — CSS custom properties, Inter font —
   not the Assistant/oldcommon.css system used elsewhere on the site).
   .cloud-tags / .cloud-tag came from oldruckosplatform.css.

   .ai-option-grid, .ai-option, .ai-option-icon, #pricing-title,
   .price-badge, .price-card--featured, and .price-card--enterprise
   have no prior definition anywhere in the codebase (confirmed via
   search), so they're built fresh here using the same tokens and
   dark-card language as the rest of this file.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.05);
  --text: #f7f3f0;
  --muted: #b9b4b0;
  --accent: #4f9bd0;
  --accent-strong: #ff7a24;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--text);
  background: var(--bg);
}

.sections {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
  padding: 4rem 0;
}
/* Back-to-top button (rendered by the shared footer include on every
   page; common.css is commented out on this page, so it needs its
   own styling here or it renders as an unstyled native button). */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border: none;
  outline: none;
  border-radius: 50%;
  background: #0ea5e9;
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-weight: 700;
  line-height: 1;
  font-size: 18px;
}

#myBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(3, 105, 161, 0.35);
  background: #0284c7;
}

#myBtn:active,
#myBtn:focus {
  background: #0369a1;
  color: #e5e7eb;
  outline: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#myBtn i {
  display: none;
}

/* ------------------------------------------------------------
   Page shell + intro
   ------------------------------------------------------------ */
.pricing-page {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
}

.pricing-intro {
  max-width: 720px;
  margin-bottom: 46px;
}

.pricing-intro p:not(.eyebrow) {
  color: #c8d4cd;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Ruckos AI options (Local vs. Cloud)
   ------------------------------------------------------------ */
.ai-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ai-option {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
}

.ai-option h4 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.ai-option p {
  margin: 0;
  color: #c8d4cd;
  font-size: 0.98rem;
  line-height: 1.55;
}

.ai-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
}

.ai-option-icon--blue {
  background: var(--accent);
}

.ai-option-icon--orange {
  background: var(--accent-strong);
}

/* Cloud/tech tag pills */
.cloud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(79, 155, 208, 0.1);
  border: 1px solid rgba(79, 155, 208, 0.25);
  color: #b8b8b8;
  font-size: 0.9rem;
  font-weight: 600;
}

.cloud-tag i {
  color: #4f9bd0;
}

/* ------------------------------------------------------------
   Pricing tiers
   ------------------------------------------------------------ */
#pricing-title {
  margin: 64px 0 32px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  min-height: 520px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  display: flex;
  flex-direction: column;
}

.price-card h2 {
  margin: 0 0 34px;
  font-size: 1.2rem;
  font-weight: 400;
}

.price-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card--featured {
  border-color: rgba(79, 155, 208, 0.55);
  background: linear-gradient(180deg, rgba(79, 155, 208, 0.08), #050505 40%);
  box-shadow: 0 20px 50px rgba(79, 155, 208, 0.18);
}

.price-card--enterprise {
  border-color: rgba(255, 122, 36, 0.35);
}

.price {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
}

.price-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.includes-title {
  margin: 34px 0 14px;
  color: var(--text);
}

.includes-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  color: #c8d4cd;
  list-style: none;
  line-height: 1.45;
}

.includes-list li {
  position: relative;
  padding-left: 20px;
}

.includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.includes-list a {
  color: var(--accent);
  text-decoration: none;
}

.includes-list a:hover,
.includes-list a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid rgba(79, 155, 208, 0.5);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
}

.get-started:hover,
.get-started:focus-visible {
  color: #ffffff;
  background: var(--accent);
  outline: none;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 780px) {
  .pricing-page {
    width: min(100% - 36px, 1180px);
    padding-top: 52px;
  }

  .ai-option-grid {
    grid-template-columns: 1fr;
  }

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