/* Forge Night (round 6): night-pricing.css. Night-only rules, each scoped under html[data-look="night"]. */

/* ================================================================ shared pieces of the pricing page */

/* small labels above headings: violet glass pill instead of the muddy deep tint */
html[data-look="night"] main .tag { background: rgba(143, 99, 246, .16); color: var(--n-violet-text); }

/* the faint grid behind the top of the page, turned light violet and kept as a whisper (as on the Solutions pages).
   The night page colour is painted over it for now, so a soft violet light at the top of the page stands in for it. */
html[data-look="night"] .sol-glare__wrap img { filter: invert(1) hue-rotate(180deg); }
html[data-look="night"] .sol-glare--30 img { opacity: .14; }
html[data-look="night"] .pr-hero { position: relative; }
html[data-look="night"] .pr-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 78% at 50% 0%, rgba(143, 99, 246, .11), rgba(143, 99, 246, 0) 72%);
}

/* violet squares drawn behind several panels: kept as a faint texture, not bright patches */
html[data-look="night"] .pr-squares { opacity: .05; }
html[data-look="night"] .pr-expert__sq { opacity: .07; }
html[data-look="night"] .plans__squares { opacity: .05; }
html[data-look="night"] .plans__ai-squares { opacity: .4; }
html[data-look="night"] .reviews__squares { opacity: .1; }

/* ================================================================ billing switch */
/* the halo that hides the cards scrolling under the sticky switch takes the page colour */
html[data-look="night"] .plans__switch {
  background: var(--n-bg-2);
  box-shadow: 0 0 0 1px var(--n-line-2), 0 0 14px 20px var(--n-bg);
}
/* phones: the switch is a full-width band under the menu, with hairlines above and below instead of the halo */
@media (max-width: 479px) {
  html[data-look="night"] .plans__switch { box-shadow: 0 1px 0 var(--n-line), 0 -1px 0 var(--n-line); }
}
html[data-look="night"] .plans__tab { color: var(--n-muted); }
html[data-look="night"] .plans__tab:hover { color: var(--n-ink); }
html[data-look="night"] .plans__tab.is-active {
  background: var(--n-surface-2); color: var(--n-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 6px rgba(0, 0, 0, .35);
}
/* "Get 2 Months Free!" and "10X Value": violet pills */
html[data-look="night"] .plans__badge { background: rgba(143, 99, 246, .16); color: var(--n-violet-text); }
html[data-look="night"] .plans__badge--free { background: rgba(143, 99, 246, .22); }

/* ================================================================ Human path: panel, Pro and Growth cards */
html[data-look="night"] .plans__human { background: var(--n-bg-2); box-shadow: 0 0 0 1px var(--n-line); }
/* a hairline frame instead of the soft day shadow (the "Your path" mark replaces it when that path is picked) */
html[data-look="night"] .plans__card { background: var(--n-surface); box-shadow: 0 0 0 1px var(--n-line-2); }
html[data-look="night"] .plans__icon path,
html[data-look="night"] .plans__list-head svg path { stroke: var(--n-violet-text); }
@media (max-width: 479px) {
  html[data-look="night"] .plans__name { color: var(--n-violet-text); }
}
html[data-look="night"] .plans__list-head .plans__brand { color: var(--n-violet-text); }
html[data-look="night"] .plans__more { color: var(--n-muted); }
/* the zigzag under the price: as quiet as it is on the white card */
html[data-look="night"] .plans__divider img { opacity: .32; }
/* the tick before each feature, redrawn in the light violet */
html[data-look="night"] .plans__check {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23B7A4FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M13.335 4 6 11.333 2.668 8'/%3E%3C/svg%3E");
}
/* the Warmforge wordmark in the warm-up line (a picture): light letters, orange mark kept; the brightness step
   brings the orange back to its day strength after the turn */
html[data-look="night"] .plans__logo { filter: invert(1) hue-rotate(180deg) brightness(1.25); }

/* info icons: a visible keyboard ring, and tooltips raised on the dark page */
html[data-look="night"] .plans__tip-btn:focus-visible { outline-color: var(--n-violet-text); }
html[data-look="night"] .plans__tip-box {
  background: var(--n-surface-3); color: var(--n-ink);
  box-shadow: 0 0 0 1px var(--n-line-2), 0 18px 40px -12px rgba(0, 0, 0, .75);
}
html[data-look="night"] .plans__tip-box::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='6' viewBox='0 0 16 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6H14L8.70711 0.707107C8.31658 0.316583 7.68342 0.316583 7.29289 0.707107L2 6Z' fill='%23282A39'/%3E%3C/svg%3E");
}

/* ================================================================ credit calculator under the plans */
html[data-look="night"] .plans__calc { background: var(--n-surface); box-shadow: 0 0 0 1px var(--n-line-2); }
html[data-look="night"] .plans__total { background: var(--n-surface-2); }
html[data-look="night"] .plans__total-rule { background: var(--n-line-2); }
html[data-look="night"] :is(.plans__values dt, .plans__lines dt, .plans__total-per) { color: var(--n-muted); }

/* range sliders (calculator and Agent Frank card): a light track, a light thumb with a violet edge */
html[data-look="night"] .plans__range::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .12); }
html[data-look="night"] .plans__range::-webkit-slider-thumb { background: #f4f4fa; border-color: var(--n-violet-2); }
html[data-look="night"] .plans__range::-moz-range-track { background: rgba(255, 255, 255, .12); }
html[data-look="night"] .plans__range::-moz-range-progress { background: var(--n-violet-2); }
html[data-look="night"] .plans__range::-moz-range-thumb { background: #f4f4fa; border-color: var(--n-violet-2); }
html[data-look="night"] .plans__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(143, 99, 246, .35); }
html[data-look="night"] .plans__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(143, 99, 246, .35); }

/* ================================================================ AI path: the Agent Frank card */
/* violet frame lit from above, with a soft violet glow under it */
html[data-look="night"] .plans__ai {
  background: linear-gradient(180deg, #7b4de6, #6339d0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 80px -30px rgba(143, 99, 246, .65);
}
/* the inner box: the same violet-tinted ink as the footer's Agent Frank card */
html[data-look="night"] .plans__ai-box { background: linear-gradient(180deg, #17142a, #11121b 60%); }
/* "To Achieve 10x Pipeline Coverage": the accent words of this heading carry the night accent, like every heading */
html[data-look="night"] .plans__ai-line--brand > span:not(.plans__x10) {
  color: transparent; -webkit-text-fill-color: transparent;
  background-image: var(--n-accent); -webkit-background-clip: text; background-clip: text;
}
html[data-look="night"] .plans__x10 { background: rgba(143, 99, 246, .2); color: var(--n-violet-text); }
html[data-look="night"] .plans__ai-features li::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3327 4L5.99935 11.3333L2.66602 8' stroke='%23B7A4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-look="night"] .plans__ai-total { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--n-line); }
/* "Learn more": the same quiet outline button as the rest of the night site */
html[data-look="night"] .plans__btn { background: rgba(255, 255, 255, .04); border-color: var(--n-line-2); color: var(--n-ink); box-shadow: none; }
html[data-look="night"] .plans__btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--n-ink); }

/* ================================================================ VIP treatment and the Forge Expert session */
html[data-look="night"] :is(.pr-vip, .pr-expert) { background: var(--n-bg-2); box-shadow: 0 0 0 1px var(--n-line); }
/* the support illustration is a lit object on the dark panel */
html[data-look="night"] .pr-vip__art { box-shadow: var(--n-glow); }
/* the ring that separates the two overlapping photos takes the panel colour */
html[data-look="night"] .pr-expert__avatar { box-shadow: 0 0 0 2px var(--n-bg-2); }

/* ================================================================ "Choose Your Path or Combine Both" */
/* The night type scale made this heading one line taller than the original, so it ran into "Source the data";
   the original size keeps the task list lined up with the boxes on the right without the overlap. */
html[data-look="night"] .paths__title { font-size: 36px; }
@media (max-width: 991px) { html[data-look="night"] .paths__title { font-size: 2rem; } }
@media (max-width: 767px) { html[data-look="night"] .paths__title { font-size: 1.75rem; } }   /* phones: the original size too */
html[data-look="night"] .paths__rule::before { background: var(--n-line-2); }
html[data-look="night"] .paths__card { background: var(--n-bg-2); box-shadow: 0 0 0 1px var(--n-line); }
/* Agent path: violet glass instead of a deep tint (the same glass as the reviews video box) */
html[data-look="night"] .paths__card--agent { background: rgba(143, 99, 246, .1); box-shadow: inset 0 0 0 1px rgba(183, 164, 255, .14); }
html[data-look="night"] .paths__icon24 path { stroke: var(--n-violet-text); }
html[data-look="night"] .paths__box { background: var(--n-surface); border-color: rgba(255, 255, 255, .14); }
/* Forge product wordmarks (drawn in the page): the dark letters turn light, each coloured mark keeps its exact colour */
html[data-look="night"] :is(.paths__logo, .olayer__logo svg) :is([fill="#101828"], [fill="#1C1917"]) { fill: var(--n-ink); }
/* "Pipeline" and "Close the Deal" icons: violet glass disc, light violet line */
html[data-look="night"] .paths__icon40 svg > rect:first-of-type { fill: rgba(143, 99, 246, .18); }
html[data-look="night"] .paths__icon40 svg > rect:nth-of-type(2) { stroke: rgba(143, 99, 246, .07); }
html[data-look="night"] .paths__icon40 path[stroke] { stroke: var(--n-violet-text); }
html[data-look="night"] .paths__ring { border-color: rgba(183, 164, 255, .3); }
/* buttons under Frank's photo: the night primary and outline buttons */
html[data-look="night"] .paths__btn {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 28px -10px rgba(143, 99, 246, .85);
}
html[data-look="night"] .paths__btn:hover {
  background-color: #7a4ae6; border-color: #7a4ae6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 34px -8px rgba(143, 99, 246, 1);
}
html[data-look="night"] .paths__btn--light,
html[data-look="night"] .paths__btn--light:hover { background-image: none; box-shadow: none; color: var(--n-ink); }
html[data-look="night"] .paths__btn--light { background-color: rgba(255, 255, 255, .04); border-color: var(--n-line-2); }
html[data-look="night"] .paths__btn--light:hover { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }

/* ================================================================ stack price builder (Outreach, Lead Generation, Infrastructure) */
html[data-look="night"] .olayer__layer { background: var(--n-bg-2); box-shadow: 0 0 0 1px var(--n-line); }
html[data-look="night"] .olayer__card { background: var(--n-surface); box-shadow: 0 0 0 1px var(--n-line-2); }
html[data-look="night"] .olayer__divider { background: var(--n-line); }
html[data-look="night"] .olayer__price { background: rgba(255, 255, 255, .025); border-left-color: var(--n-line); }
@media (max-width: 479px) { html[data-look="night"] .olayer__price { border-top-color: var(--n-line); } }
html[data-look="night"] .olayer__icon20 path[stroke="#6E40D7"] { stroke: var(--n-violet-text); }
html[data-look="night"] .olayer__ends { color: var(--n-muted); }
/* sliders: the page script paints a bar under each track from these two colours (light grey and violet in day) */
html[data-look="night"] .olayer__range { --olayer-fill: var(--n-violet-2); --olayer-rest: rgba(255, 255, 255, .12); }
html[data-look="night"] .olayer__range::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .12); }
html[data-look="night"] .olayer__range::-webkit-slider-thumb { background: #f4f4fa; border-color: var(--n-violet-2); }
html[data-look="night"] .olayer__range::-moz-range-track { background: rgba(255, 255, 255, .12); }
html[data-look="night"] .olayer__range::-moz-range-progress { background: var(--n-violet-2); }
html[data-look="night"] .olayer__range::-moz-range-thumb { background-color: #f4f4fa; border-color: var(--n-violet-2); }
html[data-look="night"] .olayer__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(143, 99, 246, .35); }
html[data-look="night"] .olayer__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(143, 99, 246, .35); }
/* "Selected products": the hairlines between products come back, the help box becomes glass */
html[data-look="night"] .olayer__summary { box-shadow: 0 0 0 1px var(--n-line); }
html[data-look="night"] .olayer__item { border-top-color: rgba(255, 255, 255, .15); }
html[data-look="night"] .olayer__cta { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* ================================================================ Agent Frank email form (demo: sends nothing) */
html[data-look="night"] .pr-ai__panel { background: var(--n-bg-2); box-shadow: 0 0 0 1px var(--n-line); }
html[data-look="night"] .pr-ai__select { color-scheme: dark; }
html[data-look="night"] .pr-ai__hint { color: var(--n-muted); }
/* the arrow box of the tonality list: the white box drops away, the arrow turns light */
html[data-look="night"] .pr-ai__chev { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; opacity: .85; }
/* thank-you message */
html[data-look="night"] .pr-ai__done { background: rgba(143, 99, 246, .12); box-shadow: inset 0 0 0 1px rgba(183, 164, 255, .2); }
html[data-look="night"] .pr-ai__done-text { color: var(--n-body); }
html[data-look="night"] .pr-ai__done-cta { color: var(--n-violet-text); }
html[data-look="night"] .pr-ai__done-art { filter: invert(1) hue-rotate(180deg) brightness(1.15); }   /* white discs become dark chips */

/* ================================================================ reviews (the same block as on the Solutions pages, styled the same way) */
html[data-look="night"] .reviews__media--violet { background: rgba(143, 99, 246, .1); box-shadow: inset 0 0 0 1px rgba(183, 164, 255, .14); }
/* the soft shadow under the video becomes a soft violet glow */
html[data-look="night"] .reviews__video-shadow { background: var(--n-violet); opacity: .32; }
html[data-look="night"] .video { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
/* the play arrow on the video picture is white again (the generated layer had made it nearly invisible) */
html[data-look="night"] .video__play::after { border-color: transparent transparent transparent #fff; }
/* the violet stars, lifted a little so they hold on the dark page */
html[data-look="night"] .stars { filter: brightness(1.3); }
html[data-look="night"] .quote { border-top-color: var(--n-line-2); }
html[data-look="night"] .quote__role { color: var(--n-muted); }

/* ================================================================ questions */
html[data-look="night"] .pfaq__plus::before,
html[data-look="night"] .pfaq__plus::after { background: var(--n-muted); }
@media (min-width: 992px) {
  html[data-look="night"] .pfaq__q:hover .pfaq__plus::before,
  html[data-look="night"] .pfaq__q:hover .pfaq__plus::after { background: var(--n-violet-text); }
}
html[data-look="night"] .pfaq__grow { background: var(--n-violet-2); }
html[data-look="night"] .pfaq__a-inner p { color: var(--n-body); }
