/* =====================================================================
   ForumCrafts — FC Growth Pack v1.0.0
   Self-contained styles: waitlist page, custom-work page, and the
   product-page notify bar. Deliberately does not depend on app.css
   internals — only on the site's palette and type stack.
   ===================================================================== */

.fcg-main {
  --fcg-blue: #004CFF;
  --fcg-ink: #0A1121;
  --fcg-body: #48566F;
  --fcg-mut: #5A6678;
  --fcg-line: #E4E9F2;
  --fcg-bg: #F7F9FC;
  --fcg-green: #0E9F6E;
  --fcg-ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fcg-fh: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--fcg-ff);
  color: var(--fcg-body);
  background: var(--fcg-bg);
  padding: 56px 0 96px;
  -webkit-font-smoothing: antialiased;
}

.fcg-main *,
.fcg-main *::before,
.fcg-main *::after { box-sizing: border-box; }

.fcg-main .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------- layout */
.fcg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px;
  align-items: start;
  padding: 8px 0 24px;
}

@media (max-width: 960px) {
  .fcg-hero { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------- copy */
.fcg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fcg-blue);
  background: #EBF1FF;
  border: 1px solid #D5E1FF;
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 22px;
}

.fcg-main h1 {
  font-family: var(--fcg-fh);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--fcg-ink);
  margin: 0 0 20px;
  font-weight: 700;
}

.fcg-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fcg-mut);
  margin: 0 0 28px;
  max-width: 56ch;
}

.fcg-points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.fcg-points li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fcg-mut);
}

.fcg-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fcg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.fcg-points strong { color: var(--fcg-ink); font-weight: 600; }

.fcg-count {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--fcg-mut);
  margin: 0;
  background: #fff;
  border: 1px solid var(--fcg-line);
  border-radius: 999px;
  padding: 8px 16px;
}
.fcg-count strong { color: var(--fcg-ink); }
.fcg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fcg-green);
  box-shadow: 0 0 0 4px rgba(14,159,110,.14);
}

/* --------------------------------------------------------------- card */
.fcg-card {
  background: #fff;
  border: 1px solid var(--fcg-line);
  border-radius: 16px;
  padding: 30px 30px 26px;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 24px -12px rgba(11,18,32,.14);
  position: sticky;
  top: 24px;
}

@media (max-width: 960px) {
  .fcg-card { position: static; padding: 24px 20px 22px; }
}

.fcg-card-h {
  font-family: var(--fcg-fh);
  font-size: 21px;
  letter-spacing: -.015em;
  color: var(--fcg-ink);
  margin: 0 0 6px;
  font-weight: 700;
}

.fcg-card-sub {
  font-size: 14px;
  color: var(--fcg-mut);
  margin: 0 0 20px;
}

/* --------------------------------------------------------------- form */
.fcg-form { display: grid; gap: 12px; }

.fcg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 620px) { .fcg-row { grid-template-columns: 1fr; } }

.fcg-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fcg-ink);
  letter-spacing: .005em;
  margin-top: 2px;
}

.fcg-input {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--fcg-ink);
  background: #fff;
  border: 1px solid #D8DFEB;
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}

.fcg-input::placeholder { color: #9AA5B8; }

.fcg-input:focus {
  outline: none;
  border-color: var(--fcg-blue);
  box-shadow: 0 0 0 3px rgba(0,76,255,.14);
}

select.fcg-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6678' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.fcg-textarea { resize: vertical; min-height: 132px; line-height: 1.55; }

/* honeypot — off-screen but reachable by bots */
.fcg-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fcg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, box-shadow .15s, transform .06s;
}

.fcg-btn-primary {
  background: var(--fcg-blue);
  color: #fff;
  margin-top: 6px;
  box-shadow: 0 1px 2px rgba(0,76,255,.28), 0 10px 20px -10px rgba(0,76,255,.5);
}
.fcg-btn-primary:hover { background: #0040DB; }
.fcg-btn-primary:active { transform: translateY(1px); }
.fcg-btn-primary[disabled] { opacity: .62; cursor: progress; transform: none; }

.fcg-btn-ghost {
  background: #fff;
  color: var(--fcg-blue);
  border-color: #D5E1FF;
  margin-top: 18px;
}
.fcg-btn-ghost:hover { background: #F5F8FF; }

.fcg-fine {
  font-size: 12.5px;
  line-height: 1.5;
  color: #6E7A8F;
  margin: 4px 0 0;
}

.fcg-error {
  background: #FDECEA;
  border: 1px solid #F5C7C1;
  color: #A32E20;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}

/* ------------------------------------------------------------- success */
.fcg-success { text-align: center; padding: 12px 0 6px; }
.fcg-success h2 {
  font-family: var(--fcg-fh);
  font-size: 22px;
  color: var(--fcg-ink);
  margin: 14px 0 8px;
  font-weight: 700;
}
.fcg-success p { font-size: 15px; line-height: 1.6; color: var(--fcg-mut); margin: 0; }
.fcg-success-ico {
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: #E7F7F0;
  color: var(--fcg-green);
  font-size: 28px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid #C6ECDC;
}

/* --------------------------------------------------------------- steps */
.fcg-steps { display: grid; gap: 18px; margin: 0 0 26px; }
.fcg-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.fcg-step-n {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #EBF1FF;
  color: var(--fcg-blue);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid #D5E1FF;
}
.fcg-step strong {
  display: block;
  font-size: 15px;
  color: var(--fcg-ink);
  font-weight: 600;
  margin-bottom: 3px;
}
.fcg-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fcg-mut); }

.fcg-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fcg-mut);
  background: #fff;
  border: 1px solid var(--fcg-line);
  border-left: 3px solid var(--fcg-blue);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 0;
}
.fcg-note strong { color: var(--fcg-ink); }

/* ------------------------------------------------------------ section */
.fcg-section {
  margin-top: 72px;
  padding-top: 52px;
  border-top: 1px solid var(--fcg-line);
}
.fcg-h2 {
  font-family: var(--fcg-fh);
  font-size: 26px;
  letter-spacing: -.018em;
  color: var(--fcg-ink);
  margin: 0 0 8px;
  font-weight: 700;
}
.fcg-sub { font-size: 15.5px; color: var(--fcg-mut); margin: 0 0 28px; }

.fcg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1080px) { .fcg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .fcg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .fcg-grid { grid-template-columns: 1fr; } }

.fcg-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--fcg-line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.fcg-tile:hover {
  border-color: #C8D6F5;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 14px 26px -16px rgba(11,18,32,.22);
  transform: translateY(-2px);
}
.fcg-tile-plat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fcg-blue);
  background: #EBF1FF;
  border-radius: 6px;
  padding: 4px 8px;
  align-self: flex-start;
}
.fcg-tile-name {
  font-size: 15px;
  line-height: 1.4;
  color: var(--fcg-ink);
  font-weight: 600;
  flex: 1;
}
.fcg-tile-price { font-size: 14px; font-weight: 600; color: var(--fcg-ink); }

/* =====================================================================
   Product-page notify bar (injected by fc-growth.js on /resources/*)
   ===================================================================== */
.fcg-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(120%);
  width: min(680px, calc(100% - 32px));
  background: #0A1121;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 4px rgba(11,18,32,.2), 0 24px 48px -16px rgba(11,18,32,.5);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 9000;
  font-family: var(--fcg-ff);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .2s;
  opacity: 0;
}
.fcg-bar.is-in { transform: translateX(-50%) translateY(0); opacity: 1; }
.fcg-bar-ico { font-size: 20px; line-height: 1; flex: none; }
.fcg-bar-txt { flex: 1; font-size: 14px; line-height: 1.45; color: #D7DEEA; min-width: 0; }
.fcg-bar-txt strong { color: #fff; font-weight: 600; }
.fcg-bar-cta {
  flex: none;
  background: #004CFF;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 9px;
  white-space: nowrap;
}
.fcg-bar-cta:hover { background: #0040DB; }
.fcg-bar-x {
  flex: none;
  background: none;
  border: 0;
  color: #8A96AA;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 2px;
}
.fcg-bar-x:hover { color: #fff; }

@media (max-width: 560px) {
  .fcg-bar { flex-wrap: wrap; padding: 14px; }
  .fcg-bar-txt { flex-basis: 100%; order: 2; }
  .fcg-bar-cta { order: 3; flex: 1; text-align: center; }
  .fcg-bar-x { order: 1; }
}

/* =====================================================================
   COMPAT: repair pass for the pre-existing upgrade bundle (upgrade.js)
   ---------------------------------------------------------------------
   The parked upgrade.js injects review cards with hard-coded DARK theme
   colours (#15152a background, #e8e8f0 text) as inline styles. The live
   site is light, so those cards would render as dark blocks. Inline
   styles can only be beaten by !important from a stylesheet, hence the
   heavy-handed rules below. Delete this block the day upgrade.js is
   rewritten to use theme variables.
   ===================================================================== */
.fc-review-item {
  background: #fff !important;
  border: 1px solid #E4E9F2 !important;
  border-radius: 12px !important;
  color: #48566F !important;
}
.fc-review-item .fc-review-text {
  color: #48566F !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.fc-review-item .fc-review-meta {
  color: #6E7A8F !important;
  font-size: 12.5px !important;
}
.fc-review-item .fc-review-meta strong { color: #0A1121 !important; }
.fc-review-item .fc-review-star { color: #D8DFEB !important; }
.fc-review-item .fc-review-star.active { color: #E8A200 !important; }

/* injector-added bits inherit the site's own type stack */
.fc-reviews-section,
.fc-bookmark-btn,
.fc-compare-bar,
.fc-live-results {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
