/* Page styles for services.html (SMM catalog + in-page checkout panel + live
   feed + order status). Shared tokens/reset/navbar/footer live in base.css. */

/* Initial-hidden checkout-panel sections. The in-page order form reveals these
   at runtime by setting an EXPLICIT element.style.display (inline 'block'/'flex'
   — see services.page.js), which outranks these ID rules. Important: reveal with
   the element's real display value, never with '' — clearing the inline style
   lets this ID rule re-hide the element (that bug once hid the success panel). */
#m-variants,
#m-variant-desc,
#m-requirements,
#m-requirements-screenshot,
#m-comments-field,
#m-eta,
#m-balance,
#m-insufficient,
#m-success {
  display: none;
}

/* Classes used in place of inline styles inside JS-rendered markup. */
.label-note {
  text-transform: none;
  color: var(--text-muted);
}
.status-note {
  color: var(--text-muted);
  font-size: 13px;
}
.lk-accent {
  color: var(--accent);
}
.lk-underline {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mono-xs {
  font-family: monospace;
  font-size: 11px;
}
.status-row-mt2 {
  margin-top: 2px;
}
.status-row-mt6 {
  margin-top: 6px;
}
.btn-resume {
  display: inline-block;
  padding: 8px 14px;
}

/* Keep content above the Stripe-style guide lines (.guides sits at z-index 0).
       The navbar keeps its own higher z-index (base: sticky, z-index 50) so its
       account dropdown stays above the ticker. */
.ticker-strip,
.hero,
.status-panel,
.svc-block,
.help-card,
footer {
  position: relative;
  z-index: 1;
}

/* ── Top bar (logo + ticker + page nav) ── */
/* Slim username ticker strip — sits just under the shared navbar. */
.ticker-strip {
  width: min(calc(var(--page-width) - 48px), calc(100% - 96px));
  margin: 32px auto 0;
  height: 36px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
  animation: fade-down 0.5s ease both;
}
.ticker-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 16px;
  transition: color 0.12s;
}
a.ticker-logo:hover {
  color: var(--text);
}
.ticker-vline {
  width: 1px;
  height: 14px;
  background: var(--border-hover);
  flex-shrink: 0;
}
.ticker-scroll {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  /* very subtle fade on both edges so items don't pop in/out abruptly */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 24px,
    #000 calc(100% - 24px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 24px,
    #000 calc(100% - 24px),
    transparent 100%
  );
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0 2px;
  transition: color 0.12s;
  cursor: pointer;
  flex-shrink: 0;
}
.ticker-item:hover {
  color: var(--text);
}
.ticker-item-sep {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.55;
  padding: 0 8px;
  flex-shrink: 0;
}
.ticker-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  flex-shrink: 0;
}
.ticker-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 8px;
  text-decoration: none;
  transition: color 0.12s;
}
.ticker-nav a:hover {
  color: var(--text);
}
.ticker-nav a.active {
  color: var(--text);
}
.ticker-nav .ticker-sep {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--border-hover);
}
@media (max-width: 580px) {
  .ticker-strip {
    width: calc(100% - 32px);
    margin: 16px auto 0;
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Hero masthead — typographic, centered (matches landing/marketplace) ── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  min-height: 1.1em;
  animation: fade-up 0.55s 0.26s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.hero p {
  color: var(--text-sub);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  animation: fade-up 0.55s 0.4s ease both;
}

/* Trust row — inline tick + text (matches landing/marketplace) */
.stat-chips {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
  animation: fade-up 0.55s 0.5s ease both;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
}
.stat-chip .tick {
  width: 14px;
  height: 14px;
  color: var(--accent-bright);
  flex: none;
}
.stat-chip strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0;
}

/* Telegram contact — secondary ghost CTA */
.hero-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  background: var(--btn-dark-bg);
  border: 1px solid var(--btn-dark-border);
  box-shadow: var(--btn-shadow);
  animation: fade-up 0.55s 0.6s ease both;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.hero-contact:hover {
  background: var(--btn-dark-bg-hover);
  border-color: var(--btn-dark-border-hover);
}
.hero-contact svg {
  width: 15px;
  height: 15px;
  fill: var(--accent);
}

/* ── Order status panel (return from NOWPayments) ── */
.status-panel {
  max-width: var(--page-width);
  margin: 24px auto 0;
  padding: 0 24px;
  animation: fade-up 0.5s ease both;
}
.status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.status-row span:first-child {
  color: var(--text-muted);
}
.status-row span:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pill.ok {
  background: rgb(99, 102, 241, 0.12);
  color: var(--green);
}
.status-pill.wait {
  background: rgb(255, 188, 60, 0.12);
  color: var(--warn);
}
.status-pill.fail {
  background: rgb(220, 39, 67, 0.12);
  color: var(--danger);
}

/* ── Status card header ── */
.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.status-card-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text);
}
.status-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0 4px;
}

/* ── Order timeline ── */
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(240, 180, 41, 0.35);
  }
  50% {
    box-shadow: 0 0 0 5px rgb(240, 180, 41, 0);
  }
}
.order-timeline {
  display: flex;
  align-items: flex-start;
  margin: 12px 0 10px;
}
.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
}
.timeline-step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 9px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.timeline-step.done:not(:first-child)::before {
  background: var(--green);
}
.timeline-step.active:not(:first-child)::before {
  background: linear-gradient(90deg, var(--green), var(--warn));
}
.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}
.timeline-step.done .timeline-dot {
  border-color: var(--green);
  background: rgb(99, 102, 241, 0.15);
  color: var(--green);
}
.timeline-step.active .timeline-dot {
  border-color: var(--warn);
  background: rgb(255, 188, 60, 0.1);
  color: var(--warn);
  animation: pulse-dot 1.8s ease infinite;
}
.timeline-step.fail .timeline-dot {
  border-color: var(--danger);
  background: rgb(220, 39, 67, 0.12);
  color: var(--danger);
}
.timeline-label {
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.timeline-step.done .timeline-label {
  color: var(--green);
}
.timeline-step.active .timeline-label {
  color: var(--warn);
}
.timeline-step.fail .timeline-label {
  color: var(--danger);
}

/* ── Delivery progress bar ── */
.delivery-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0 4px;
}
.delivery-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ── Tracking link copy row ── */
.copy-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}
.copy-link-label {
  font-size: 11.5px;
  color: var(--text-muted);
}
.copy-btn {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 7px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
}
.copy-btn:hover {
  border-color: var(--border-hover);
}

/* ── Support CTA (shown on error states) ── */
.support-cta {
  background: rgb(255, 188, 60, 0.06);
  border: 1px solid rgb(255, 188, 60, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.support-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.support-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}
.support-link:hover {
  text-decoration: underline;
}

/* ── Feedback widget ── */
.feedback-widget {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-label {
  font-size: 12.5px;
  color: var(--text-muted);
}
.fb-btns {
  display: flex;
  gap: 8px;
}
.fb-btn {
  flex: 1;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
  color: var(--text);
}
.fb-btn:hover:not(:disabled) {
  border-color: var(--border-hover);
}
.fb-btn.up:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green);
  background: rgb(99, 102, 241, 0.08);
}
.fb-btn.down:hover:not(:disabled) {
  border-color: var(--danger);
  color: var(--danger);
  background: rgb(220, 39, 67, 0.06);
}
.fb-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ── Track order + recent orders panel ── */
.track-section {
  max-width: var(--page-width);
  margin: 24px auto 0;
  padding: 0 24px;
}
.track-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.track-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.track-row {
  display: flex;
  gap: 8px;
}
.track-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 13px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}
.track-input::placeholder {
  color: var(--text-muted);
}
.track-input:focus {
  border-color: var(--border-hover);
}
.track-btn {
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: 0.15s;
}
.track-btn:hover {
  border-color: var(--border-hover);
}
.recent-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.recent-item:hover {
  border-color: var(--border-hover);
}
.recent-item-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}
.recent-item-date {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Section heading ── */
.section-head {
  max-width: var(--page-width);
  margin: 40px auto 14px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fade-up 0.5s ease both;
}
.section-head.head-platforms {
  animation-delay: 0.55s;
}
.section-head.head-services {
  animation-delay: 0.85s;
}
.section-head::before,
.section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.section-head span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── Value-prop strip (trust signals under hero) ── */
.value-strip {
  max-width: var(--page-width);
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.value-card {
  background: linear-gradient(180deg, var(--ov-line), var(--ov-soft));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 var(--ov-strong);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition:
    border-color 0.15s,
    transform 0.15s;
  animation: fade-up 0.5s ease both;
}
.value-card:nth-child(1) {
  animation-delay: 0.42s;
}
.value-card:nth-child(2) {
  animation-delay: 0.47s;
}
.value-card:nth-child(3) {
  animation-delay: 0.52s;
}
.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.value-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon svg {
  width: 16px;
  height: 16px;
}
.value-body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}
.value-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}
.value-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* ── Help / CTA card before footer ── */
.help-card {
  width: min(calc(var(--page-width) - 48px), calc(100% - 96px));
  margin: 8px auto 56px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.help-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.help-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.help-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}
.help-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--btn-green-bg);
  color: var(--btn-green-text);
  border: 1px solid var(--btn-green-border);
  border-radius: var(--r-btn);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--btn-shadow);
  transition: background 0.15s;
  white-space: nowrap;
}
.help-cta:hover {
  background: var(--btn-green-bg-hover);
}
.help-cta svg {
  width: 14px;
  height: 14px;
}

/* ── Footer (same as index.html) ── */
footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
       Service chooser — one glossy block: platform pills + service rows.
       ════════════════════════════════════════════════════════════ */
.svc-block {
  width: min(calc(var(--page-width) - 48px), calc(100% - 96px));
  margin: 30px auto 70px;
  padding: 24px 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: 0 12px 40px rgb(0, 0, 0, 0.3);
  animation: fade-up 0.55s 0.5s ease both;
}
.svc-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 14px;
}
.svc-block-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.svc-block-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* Platform pills — squared segmented filter */
.platform-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-sub);
  background: var(--input-bg);
  border: 1px solid var(--border);
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s;
}
.platform-pill:hover {
  color: var(--text);
  border-color: var(--border-hover);
}
.platform-pill-ico {
  width: 16px;
  height: 16px;
  display: inline-flex;
}
.platform-pill-ico svg {
  width: 100%;
  height: 100%;
}
.platform-pill-count {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--ov-line);
  color: var(--text-muted);
}
.platform-pill.active {
  color: var(--text-on-accent);
  background: var(--accent);
  border-color: transparent;
}
.platform-pill.active:hover {
  background: var(--accent-hover);
}
.platform-pill.active .platform-pill-count {
  /* Dark "well" over the green pill + white number — works in both themes
     (var(--sunken) is white in light, which hid the number). */
  background: rgb(0, 0, 0, 0.22);
  color: #fff;
}

/* Service options — clean two-column catalog */
.service-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 720px) {
  .service-rows {
    grid-template-columns: 1fr;
  }
  /* No vertical guide lines on mobile (matches marketplace). */
  .guides::before,
  .guides::after {
    display: none;
  }
}
.service-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--ov-soft);
  transition:
    border-color 0.14s,
    background 0.14s;
  animation: fade-up 0.3s ease both;
}
.service-row:hover {
  border-color: var(--accent-ring);
  background: var(--ov-line);
}
.service-row.flash {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgb(99, 102, 241, 0.18),
    0 12px 32px rgb(0, 0, 0, 0.5);
}
.row-ico {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  background: var(--ov-hover);
  border: 1px solid var(--border);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.row-ico svg {
  width: 18px;
  height: 18px;
}
.service-row:hover .row-ico {
  transform: translateY(-1px) scale(1.07);
  color: var(--accent-bright);
  border-color: var(--accent-ring);
}
.row-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.row-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
/* Editorial tag — one tasteful highlight per category. */
.row-tag {
  flex: none;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  line-height: 1.4;
  color: var(--accent-bright);
  background: var(--accent-weak);
  border: 1px solid var(--accent-ring);
}
.row-tag.value {
  color: var(--warn);
  background: rgb(255, 188, 60, 0.1);
  border-color: rgb(255, 188, 60, 0.28);
}
/* Meta flags removed for a cleaner row (icon · name · price). */
.row-flags {
  display: none;
}
.row-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}
.row-flag.refill {
  color: var(--accent-bright);
}
.row-flag svg {
  width: 11px;
  height: 11px;
  opacity: 0.85;
}
.row-price {
  flex: none;
  text-align: right;
  white-space: nowrap;
}
.row-price b {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: -0.01em;
  transition: text-shadow 0.2s ease;
}
.service-row:hover .row-price b {
  text-shadow: 0 0 16px rgb(99, 102, 241, 0.5);
}
.row-price small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}
.row-go {
  flex: none;
  color: var(--text-muted);
  transition:
    color 0.15s,
    transform 0.2s ease;
}
.row-go svg {
  width: 16px;
  height: 16px;
}
.service-row:hover .row-go {
  color: var(--accent-bright);
  transform: translateX(4px);
}

/* Live order feed — rotating social-proof line under the hero. */
.live-feed {
  width: min(calc(var(--page-width) - 48px), calc(100% - 96px));
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-muted);
  min-height: 18px;
}
.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex: none;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(99, 102, 241, 0.5);
  animation: live-pulse 1.9s ease-out infinite;
}
@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(99, 102, 241, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgb(99, 102, 241, 0);
  }
}
.live-text {
  transition: opacity 0.35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-text b {
  color: var(--text-sub);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .live-dot::after {
    animation: none;
  }
}

/* Skeletons for the chooser */
.skel-pill {
  width: 104px;
  height: 36px;
  border-radius: 8px;
}
.skel-row {
  height: 66px;
  border-radius: 10px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Skeleton loading (same recipe as index.html) ── */
@keyframes skeleton-sweep {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes skel-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.skel {
  background: linear-gradient(90deg, var(--surface) 25%, var(--skel-base) 50%, var(--surface) 75%);
  background-size: 400% auto;
  /* one-shot fade-in + looping sweep. delays are applied per-instance below */
  animation:
    skel-in 0.35s ease both,
    skeleton-sweep 1.6s ease infinite;
  pointer-events: none;
  border: 1px solid var(--border);
  border-radius: 11px;
}
.platform-pills .skel-pill:nth-child(2) {
  animation-delay: 0.06s, 0s;
}
.platform-pills .skel-pill:nth-child(3) {
  animation-delay: 0.12s, 0s;
}
.platform-pills .skel-pill:nth-child(4) {
  animation-delay: 0.18s, 0s;
}
.service-rows .skel-row:nth-child(2) {
  animation-delay: 0.05s, 0s;
}
.service-rows .skel-row:nth-child(3) {
  animation-delay: 0.1s, 0s;
}
.service-rows .skel-row:nth-child(4) {
  animation-delay: 0.15s, 0s;
}
.service-rows .skel-row:nth-child(5) {
  animation-delay: 0.2s, 0s;
}

.btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.btn:hover {
  background: var(--surface-hover);
}
.btn-primary {
  background: var(--btn-green-bg);
  background-size: 200% 200%;
  border-color: var(--btn-green-border);
  color: var(--btn-green-text);
  box-shadow: var(--btn-green-shadow);
  animation: orb-shift 9s ease-in-out infinite;
}
.btn-primary:hover {
  box-shadow: var(--btn-green-shadow-hover);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ════ In-page checkout panel — carousel that slides over the chooser ════ */
.svc-stage {
  position: relative;
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-track {
  display: flex;
  align-items: flex-start;
  width: 200%;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-pane {
  width: 50%;
  flex: 0 0 50%;
  min-width: 0;
}
.svc-chooser {
  transition: opacity 0.26s ease;
}
.co-panel {
  opacity: 0;
  transition: opacity 0.26s ease;
}
.svc-stage.co-open .svc-track {
  transform: translateX(-50%);
}
.svc-stage.co-open .svc-chooser {
  opacity: 0;
  pointer-events: none;
}
.svc-stage.co-open .co-panel {
  opacity: 1;
}

.co-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 0 16px;
  transition: color 0.12s;
}
.co-back:hover {
  color: var(--text);
}
.co-back svg {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
}

.co-head {
  margin-bottom: 18px;
  padding: 0 2px;
}
.co-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 27px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}
.co-sub {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.co-panel .err-msg {
  background: rgb(220, 39, 67, 0.08);
  border: 1px solid rgb(220, 39, 67, 0.3);
  color: var(--danger);
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: 9px;
  margin-bottom: 16px;
  display: none;
}
.co-panel .err-msg.show {
  display: block;
}

.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.variant-pill {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text-sub);
  cursor: pointer;
  transition:
    color 0.14s,
    background 0.14s,
    border-color 0.14s;
}
.variant-pill:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.variant-pill.active {
  background: var(--accent-weak);
  border-color: var(--accent);
  color: var(--accent-bright);
  font-weight: 600;
}

.variant-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-sub);
  margin-bottom: 16px;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.requirements {
  margin-bottom: 18px;
  padding: 15px 16px;
  border: 1px solid rgb(255, 188, 60, 0.3);
  border-radius: 12px;
  background: rgb(255, 188, 60, 0.055);
}
.requirements-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--warn);
  margin-bottom: 11px;
}
.requirements-title svg {
  width: 15px;
  height: 15px;
  color: var(--warn);
}
.requirements ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.requirements li {
  position: relative;
  padding-left: 17px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.requirements li:last-child {
  margin-bottom: 0;
}
.requirements li b {
  color: var(--text);
}
.requirements li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warn);
  opacity: 0.8;
}
.requirements li code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--ov-line);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text-sub);
}
.requirements-screenshot {
  display: block;
  margin-top: 12px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.requirements-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
.requirements-screenshot-caption {
  display: block;
  padding: 7px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--surface);
}

.co-panel .field {
  margin-bottom: 16px;
}
.co-panel .field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  margin-bottom: 7px;
}
.co-panel .field input,
.co-panel .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  transition:
    border-color 0.14s,
    box-shadow 0.14s;
}
.co-panel .field textarea {
  resize: vertical;
  line-height: 1.5;
}
.co-panel .field input:focus,
.co-panel .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}
.co-panel .field input::placeholder,
.co-panel .field textarea::placeholder {
  color: var(--text-muted);
}
.co-panel .field input[type='number']::-webkit-outer-spin-button,
.co-panel .field input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.co-panel .field input[type='number'] {
  -moz-appearance: textfield;
}
.co-panel .field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.co-panel .field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.co-panel .total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.co-panel .total-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.co-panel .total-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-bright);
}
.co-panel .eta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
  padding-bottom: 8px;
}
.co-panel .eta-line svg {
  width: 11px;
  height: 11px;
}
.co-panel .eta-line b {
  color: var(--text-sub);
}

.co-actions {
  margin-top: 20px;
}
.co-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 14px;
  cursor: pointer;
  user-select: none;
}
.co-consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.co-consent a {
  color: var(--accent-bright);
  font-weight: 600;
}
.co-panel .bal-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 2px 0 10px;
}
.co-panel .bal-line span:last-child {
  font-family: var(--font-mono);
  color: var(--text-sub);
}
.insufficient {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--warn);
}
.insufficient a {
  color: var(--accent-bright);
  font-weight: 600;
}
.co-panel .btn-primary {
  width: 100%;
  flex: none;
  padding: 13px 22px;
  font-size: 15px;
  border-radius: var(--r-btn);
}

.co-success {
  text-align: center;
  padding: 14px 8px 6px;
  animation: fade-up 0.35s ease both;
}
.co-success-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-weak);
  border: 1px solid var(--accent-ring);
}
.co-success-ico svg {
  width: 25px;
  height: 25px;
  color: var(--accent-bright);
}
.co-success h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}
.co-success p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0 auto 18px;
  max-width: 320px;
}
.co-success p a {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ── Mobile ── */
@media (max-width: 580px) {
  .hero {
    padding: 64px 16px 44px;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
  }
  .hero p {
    margin: 0 auto;
  }
  /* Centered, and keep the three hero chips on one row on phones. */
  .stat-chips {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .hero-orb-wrap {
    display: none;
  } /* drop the mascot on mobile */
  .svc-block {
    width: calc(100% - 32px);
    margin: 20px auto 48px;
    padding: 16px 14px 14px;
    border-radius: var(--r-card);
  }
  .platform-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .platform-pills::-webkit-scrollbar {
    display: none;
  }
  .platform-pill {
    flex: none;
  }
  .hero h1 {
    font-size: 36px;
  }
  .stat-chip {
    padding: 6px 9px;
    font-size: 10px;
    gap: 4px;
    white-space: nowrap;
  }
  .stat-chip strong {
    font-size: 11px;
  }
  .help-card {
    width: calc(100% - 32px);
    margin: 8px auto 40px;
    padding: 18px;
  }
  .help-cta {
    width: 100%;
    justify-content: center;
  }
  .track-row {
    flex-direction: column;
  }
  .track-btn {
    width: 100%;
    text-align: center;
  }
  .timeline-label {
    font-size: 8px;
  }
  .status-card-header {
    flex-wrap: wrap;
    gap: 6px;
  }
}
