/* ============================================================
   SHOPIFY LANDING PAGE - PAGE-SPECIFIC STYLES ONLY
   All reusable primitives (trust-badge, cta-microcopy, feature-list,
   problem-card KPI, steps timeline, testimonial stars, comparison
   highlight, final-cta stats, dark-section secondary button) live in
   common.css.
   Only truly page-unique compositions remain here.
   ============================================================ */

/* Shopify problem-card KPI color override (blessed --lp-kpi-color pattern) */
#problem { --lp-kpi-color: #ef4444; }

/* --- Hero chip variant (Shopify logo row) --- */
.lp-hero__chip--shopify {
  padding: 0.7rem 1rem;
  box-shadow: 0 18px 40px rgba(3, 7, 18, 0.18);
  font-weight: 600;
}

.lp-hero__chip--shopify svg {
  flex-shrink: 0;
}

/* --- Hero h1 sizing tweak (Shopify content-specific) --- */
.lp-hero h1 {
  max-width: 22ch;
  margin: 0.5em auto;
}

/* Secondary text link under hero chips (ROI hint) */
.lp-hero__secondary-link {
  margin-top: var(--space-md);
  font-size: 0.88rem;
}
.lp-hero__secondary-link a {
  color: var(--noem-blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile: hide the decorative hero image so the CTA clears the fold. */
@media (max-width: 640px) {
  .lp-hero__visual {
    display: none;
  }
}

/* --- Composed "app-window" hero visual (Shopify admin mock) --- */
.hero-visual-card {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero-visual-card__window {
  padding: var(--space-lg);
  border-radius: calc(var(--radius-xl) + 2px);
  border: 1px solid rgba(165,175,246,0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    linear-gradient(180deg, rgba(5, 11, 23, 0.96), rgba(9, 19, 34, 0.96));
  box-shadow: 0 32px 80px rgba(3, 7, 18, 0.42);
  backdrop-filter: blur(12px);
}

.hero-visual-card__topbar {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.hero-visual-card__topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.hero-visual-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--space-lg);
  text-align: left;
}

.hero-visual-card__store,
.hero-visual-card__chat {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-visual-card__label {
  display: inline-flex;
  margin-bottom: var(--space-md);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(165,175,246,0.12);
  color: var(--noem-blue-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-card__product {
  min-height: 190px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 35%, rgba(200,74,241,0.24), transparent 36%),
    linear-gradient(135deg, rgba(77,97,254,0.22), rgba(165,175,246,0.08)),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-visual-card__meta {
  display: grid;
  gap: 10px;
  margin-top: var(--space-md);
}

.hero-visual-card__meta div {
  height: 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
}

.hero-visual-card__meta div:nth-child(1) { width: 78%; }
.hero-visual-card__meta div:nth-child(2) { width: 92%; }
.hero-visual-card__meta div:nth-child(3) { width: 48%; }

.hero-bubble {
  max-width: 92%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-bubble + .hero-bubble {
  margin-top: var(--space-sm);
}

.hero-bubble--question {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  color: var(--noem-gray-200);
}

.hero-bubble--answer {
  background: linear-gradient(135deg, rgba(77,97,254,0.3), rgba(165,175,246,0.16));
  color: var(--noem-white);
}

.hero-insight-card {
  position: absolute;
  right: -22px;
  bottom: -24px;
  display: grid;
  gap: 0.4rem;
  max-width: 270px;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,74,241,0.24);
  background: linear-gradient(135deg, rgba(14, 27, 52, 0.96), rgba(24, 15, 49, 0.92));
  box-shadow: 0 26px 60px rgba(3, 7, 18, 0.36);
  text-align: left;
}

.hero-insight-card__eyebrow {
  color: var(--noem-purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-insight-card strong {
  color: var(--noem-white);
  font-size: 1.2rem;
}

.hero-insight-card span {
  color: var(--noem-gray-300);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero__visual-note,
.hero__visual-required {
  max-width: 760px;
  margin: var(--space-md) auto 0;
  color: var(--noem-gray-300);
  font-size: 0.82rem;
}

.hero__visual-required {
  color: var(--noem-blue-light);
}

/* --- Demo Section (page-unique composition; candidate to promote if reused) --- */
.demo-container {
  max-width: 800px;
  margin: 0 auto;
}

.demo-cta-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(165,175,246,0.15);
  backdrop-filter: blur(8px);
}

.demo-cta-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.demo-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  position: relative;
  transition: transform var(--transition-slow), border-color var(--transition-slow);
}

.demo-option .btn-primary,
.demo-option .btn-secondary {
  margin-top: auto;
  padding-top: 0.85em;
}

.demo-option:hover {
  transform: translateY(-4px);
  border-color: rgba(165,175,246,0.25);
}

.demo-option--highlight {
  border-color: var(--noem-blue);
  background: rgba(77,97,254,0.08);
}

.demo-option__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25em 0.8em;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--noem-blue), var(--noem-purple));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.demo-option__icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

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

/* --- ROI Calculator (page-unique composition; candidate to promote if reused) --- */
.roi-calculator {
  background: var(--noem-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--noem-gray-200);
}

.roi-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 576px) {
  .roi-inputs { grid-template-columns: 1fr; }
}

.roi-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--noem-gray-800);
  margin-bottom: var(--space-xs);
}

.roi-input-group input {
  width: 100%;
  padding: 0.75em 1em;
  border: 2px solid var(--noem-gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--noem-gray-900);
  transition: border-color var(--transition-fast);
  background: var(--noem-gray-100);
}

.roi-input-group input:focus {
  outline: none;
  border-color: var(--noem-blue);
  background: var(--noem-white);
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--noem-gray-100);
  border-radius: var(--radius-lg);
}

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

.roi-result-card {
  text-align: center;
  padding: var(--space-lg);
}

.roi-result-card--primary {
  background: var(--noem-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.roi-result-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--noem-gray-600);
  margin-bottom: var(--space-xs);
}

.roi-result-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--noem-blue);
  line-height: 1.1;
}

.roi-result-value--gold {
  color: var(--noem-purple);
}

.roi-result-detail {
  display: block;
  font-size: 0.8rem;
  color: var(--noem-gray-600);
  margin-top: var(--space-xs);
}

.roi-cta {
  margin-top: var(--space-xl);
}

.roi-cta .cta-input-group {
  margin: 0 auto;
}

/* --- Feature card Shopify-only highlight variant --- */
.feature-card--highlight {
  border: 2px solid var(--noem-blue);
}

/* --- Responsive tweaks for page-unique compositions --- */
@media (max-width: 768px) {
  .hero__proof { gap: 0.65rem; }
  .hero-visual-card__body { grid-template-columns: 1fr; }
  .hero-insight-card {
    position: static;
    max-width: none;
    margin-top: var(--space-md);
  }
  .trust-bar { gap: var(--space-md); }
}

@media (max-width: 576px) {
  .lp-container { padding: 0 var(--space-md); }
  .lp-hero h1 { max-width: 100%; }
  .hero__proof-rating,
  .hero__proof-item { width: 100%; }
  .lp-cta-microcopy { line-height: 1.5; }
  .hero-visual-card__window,
  .hero-visual-card__store,
  .hero-visual-card__chat,
  .hero-insight-card { padding: var(--space-md); }
}

/* ============================================================
   PROOF BAR - scoped stat typography
   Make the KPI numbers actually pop. Vertical layout: huge
   display number on top, supporting copy beneath.
   ============================================================ */
#proof .trust-bar {
  gap: var(--space-2xl);
  flex-wrap: wrap;
  align-items: stretch;
}

#proof .lp-trust-badge {
  flex: 1 1 180px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-md);
  background: transparent;
  border: 0;
  position: relative;
}

#proof .lp-trust-badge + .lp-trust-badge::before {
  content: "";
  position: absolute;
  left: calc(var(--space-2xl) * -0.5);
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(77,97,254,0.18), transparent);
}

#proof .lp-trust-badge__icon--stat {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--noem-blue) 0%, var(--noem-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 8px 24px rgba(77,97,254,0.18);
  display: inline-block;
}

#proof .lp-trust-badge__text {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--noem-gray-700, #334155);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.35;
}

@media (max-width: 768px) {
  #proof .trust-bar { gap: var(--space-md); }
  #proof .lp-trust-badge { flex: 1 1 140px; padding: var(--space-md) var(--space-sm); }
  #proof .lp-trust-badge + .lp-trust-badge::before { display: none; }
  #proof .lp-trust-badge__text { font-size: 0.75rem; }
}

/* ============================================================
   SAMPLE DEMO PILLS - "try a concierge on a popular store"
   Used in hero (compact teaser) and #demo section (full grid).
   These are NOT customers. Copy + disclaimer must make that
   clear (see .github/skills/shopify-landing-messaging).
   ============================================================ */
.lp-sample-demos {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-lg);
}

.lp-sample-demos__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--noem-gray-500, #64748b);
  margin: 0;
}

.lp-sample-demos__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  max-width: 720px;
}

.lp-sample-demos__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.95em;
  border-radius: 999px;
  background: var(--noem-white, #fff);
  border: 1px solid var(--noem-gray-200, #e2e8f0);
  color: var(--noem-gray-800, #1e293b);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.lp-sample-demos__pill:hover,
.lp-sample-demos__pill:focus-visible {
  transform: translateY(-2px);
  border-color: var(--noem-blue);
  box-shadow: 0 8px 20px rgba(77, 97, 254, 0.18);
  color: var(--noem-blue);
  text-decoration: none;
}

.lp-sample-demos__favicon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex: 0 0 auto;
  background: var(--noem-gray-100, #f1f5f9);
  object-fit: contain;
}

.lp-sample-demos__disclaimer {
  font-size: 0.75rem;
  color: var(--noem-gray-500, #64748b);
  margin: 0;
  text-align: center;
}

.lp-sample-demos__more {
  font-size: 0.85rem;
  color: var(--noem-blue);
  text-decoration: none;
  font-weight: 600;
}
.lp-sample-demos__more:hover { text-decoration: underline; }

/* Hero variant: compact, sits on the dark hero background */
.lp-sample-demos--hero {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  gap: var(--space-xs);
}
.lp-sample-demos--hero .lp-sample-demos__label,
.lp-sample-demos--hero .lp-sample-demos__disclaimer,
.lp-sample-demos--hero .lp-sample-demos__more {
  color: rgba(255, 255, 255, 0.7);
}
.lp-sample-demos--hero .lp-sample-demos__more { color: #a8b8ff; }
.lp-sample-demos--hero .lp-sample-demos__pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lp-sample-demos--hero .lp-sample-demos__pill:hover,
.lp-sample-demos--hero .lp-sample-demos__pill:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: 0 8px 24px rgba(77, 97, 254, 0.35);
}

/* Demo-section variant: sits on dark section, but more spacious */
.lp-sample-demos--demo {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-sample-demos--demo .lp-sample-demos__label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.lp-sample-demos--demo .lp-sample-demos__disclaimer {
  color: rgba(255, 255, 255, 0.45);
}
.lp-sample-demos--demo .lp-sample-demos__pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.lp-sample-demos--demo .lp-sample-demos__pill:hover,
.lp-sample-demos--demo .lp-sample-demos__pill:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--noem-blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(77, 97, 254, 0.4);
}

@media (max-width: 768px) {
  .lp-sample-demos__pill { font-size: 0.8rem; padding: 0.45em 0.8em; }
  .lp-sample-demos__favicon { width: 16px; height: 16px; }
}

/* --- Sample-demo pill -> CTA input/button highlight (try-with-your-own-domain UX) --- */
@keyframes lp-cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 74, 241, 0.55); transform: scale(1); }
  40%  { transform: scale(1.04); }
  70%  { box-shadow: 0 0 0 16px rgba(200, 74, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 74, 241, 0); transform: scale(1); }
}
.cta-input-group .btn-primary.is-pulsing {
  animation: lp-cta-pulse 1.2s ease-out 2;
}
.cta-input-group input.is-flashed {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background-color: rgba(200, 74, 241, 0.08);
  box-shadow: 0 0 0 2px rgba(200, 74, 241, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .cta-input-group .btn-primary.is-pulsing { animation: none; }
}
