/* ─────────────────────────────────────────────────────────
   SEO CMS Platform Migration to Shopify
   /products/seo-cms-platform-migration-to-shopify/
   Cyan accent (legacy .cyan-color = #25F4EE).
   ───────────────────────────────────────────────────────── */

/* Per-product accent — scopes site-wide via body class */
body.ld-tpl-seo-migration-application { --red: #25F4EE; }

/* Cyan is too bright for white text — flip primary CTAs to black */
body.ld-tpl-seo-migration-application .sm-btn--primary,
body.ld-tpl-seo-migration-application .sm-app-submit,
body.ld-tpl-seo-migration-application .ld-contact-form .hs-button,
body.ld-tpl-seo-migration-application .ld-contact-form input[type="submit"] {
  color: var(--black) !important;
}
body.ld-tpl-seo-migration-application .sm-btn--primary:hover,
body.ld-tpl-seo-migration-application .sm-app-submit:hover,
body.ld-tpl-seo-migration-application .ld-contact-form .hs-button:hover,
body.ld-tpl-seo-migration-application .ld-contact-form input[type="submit"]:hover {
  color: var(--white) !important;
}

.sm-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.sm-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 18px; color: var(--black); text-transform: uppercase; }
.sm-h2 em { font-style: normal; color: var(--red); font-weight: 900; }
.sm-h2--center { text-align: center; }
.sm-section-inner { max-width: 1200px; margin: 0 auto; }
.sm-section-head { max-width: 820px; margin: 0 auto 36px; text-align: center; }

/* Buttons */
.sm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-radius: 8px; white-space: nowrap; transition: background 0.22s, color 0.22s, transform 0.22s, border-color 0.22s; }
.sm-btn svg { width: 14px; height: 14px; transition: transform 0.22s; }
.sm-btn:hover svg:last-child { transform: translateX(4px); }
.sm-btn--primary { background: var(--red); color: var(--white); box-shadow: 0 12px 28px color-mix(in srgb, var(--red) 32%, transparent); }
.sm-btn--primary:hover { background: var(--black); transform: translateY(-2px); }
.sm-btn--ghost { background: transparent; color: inherit; border: 2px solid currentColor; }

/* ── HERO ──────────────────────────────────────────── */
.sm-hero { position: relative; padding: 96px 48px; background: radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--red) 22%, transparent) 0%, transparent 45%), radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--red) 10%, transparent) 0%, transparent 50%), var(--black); color: var(--white); overflow: hidden; }
.sm-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%); }
.sm-hero-watermark { position: absolute; bottom: -36px; right: -24px; font-size: clamp(7rem, 18vw, 16rem); font-weight: 900; letter-spacing: -0.05em; color: rgba(255,255,255,0.04); pointer-events: none; white-space: nowrap; line-height: 1; }
.sm-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sm-hero-text { min-width: 0; }
.sm-hero-h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 22px; color: var(--white); text-transform: uppercase; }
.sm-hero-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 0 0 26px; max-width: 580px; }
.sm-hero-sub strong { color: var(--white); font-weight: 700; }

.sm-hero-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; padding: 12px 20px; background: color-mix(in srgb, var(--red) 14%, transparent); border: 1px solid color-mix(in srgb, var(--red) 32%, transparent); border-radius: 999px; margin-bottom: 28px; }
.sm-hero-price-prefix { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.sm-hero-price-amount { font-size: 22px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.sm-hero-price-amount .woocommerce-Price-amount { color: var(--red); }
.sm-hero-price-unit { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); white-space: nowrap; }

.sm-hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.sm-hero .sm-btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.sm-hero .sm-btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.sm-hero-chat { font-size: 13.5px; color: rgba(255,255,255,0.6); margin: 0; }
.sm-hero-chat a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.sm-hero-chat a:hover { color: var(--white); }
.sm-hero-media { display: flex; justify-content: center; min-width: 0; }
.sm-hero-thumb { width: 100%; max-width: 480px; height: auto; display: block; border-radius: 14px; box-shadow: 0 28px 70px rgba(0,0,0,0.45); }

/* ── INTRO BAND (cyan-bordered callouts) ──────────────── */
.sm-intro { padding: 80px 48px; background: var(--white); border-top: 1px solid var(--rule); }
.sm-intro .sm-section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sm-callout { padding: 32px 36px; border-radius: 14px; }
.sm-callout p { font-size: 16px; line-height: 1.65; color: var(--black); margin: 0 0 14px; }
.sm-callout p:last-child { margin-bottom: 0; }
.sm-callout strong { font-weight: 700; }
.sm-callout--bordered {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--red) 25%, var(--rule));
  border-left: 4px solid var(--red);
}
.sm-callout--filled {
  background: color-mix(in srgb, var(--red) 10%, var(--white));
  border: 1px solid color-mix(in srgb, var(--red) 25%, transparent);
}
.sm-shopify-badge { display: block; max-width: 175px; margin-top: 18px; }

/* ── WHY YOU NEED A SPECIALIST ────────────────────────── */
.sm-specialist { padding: 96px 48px; background: var(--bg); border-top: 1px solid var(--rule); }
.sm-specialist-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sm-specialist-text p { font-size: 16px; line-height: 1.7; color: var(--black); margin: 0 0 18px; }
.sm-failed-fig { margin: 18px 0 0; padding: 16px; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; }
.sm-failed-fig img { width: 100%; height: auto; display: block; border-radius: 8px; }
.sm-failed-fig figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; text-align: center; }

.sm-testimonial { position: sticky; top: 100px; padding: 36px 32px 28px; background: var(--white); border-radius: 14px; border-left: 4px solid var(--red); box-shadow: 0 14px 36px rgba(0,0,0,0.05); }
.sm-testimonial-stars { display: inline-flex; gap: 2px; color: #FFC000; margin-bottom: 16px; }
.sm-testimonial-stars svg { width: 18px; height: 18px; }
.sm-testimonial blockquote { margin: 0 0 18px; padding: 0; }
.sm-testimonial blockquote p { font-size: 15.5px; line-height: 1.65; color: var(--black); margin: 0; font-style: italic; }
.sm-testimonial figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
.sm-testimonial figcaption strong { font-size: 15px; font-weight: 900; color: var(--red); letter-spacing: -0.01em; }
.sm-testimonial figcaption span { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ── WHAT'S INCLUDED ───────────────────────────────── */
.sm-includes { padding: 96px 48px 24px; background: var(--white); border-top: 1px solid var(--rule); }
.sm-includes-content { max-width: 1100px; margin: 0 auto; counter-reset: smi; }
.sm-includes-content p { font-size: 17px; line-height: 1.7; color: var(--black); margin: 0 0 24px; text-align: center; }
.sm-includes-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.sm-includes-content li {
  counter-increment: smi;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 26px 22px 22px;
  background: linear-gradient(155deg, var(--white) 0%, var(--bg) 100%);
  border: 1px solid var(--rule);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--black);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.sm-includes-content li::before {
  /* Number counter on the left, large + accent-coloured */
  content: counter(smi, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--red) 22%, transparent), color-mix(in srgb, var(--red) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.sm-includes-content li:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--red) 35%, transparent);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}
.sm-includes-content li:hover::before {
  background: var(--red);
  color: var(--black);
  transform: scale(1.04);
}

/* ── PRICING SPOTLIGHT (dark gradient, dramatic) ─────── */
.sm-pricing { padding: 24px 48px 48px; background: var(--white); }
.sm-pricing-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 56px 44px;
  background: linear-gradient(155deg, #0F0F0F 0%, #1A1A1A 100%);
  color: var(--white);
  border: 1px solid color-mix(in srgb, var(--red) 25%, transparent);
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 36px 80px rgba(0,0,0,0.18), 0 0 0 8px color-mix(in srgb, var(--red) 8%, transparent);
}
.sm-pricing-card::before {
  /* Soft accent glow behind the price */
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 240px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--red) 35%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.sm-pricing-tag {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--red) 95%, var(--white));
  margin: 0 0 14px;
}

.sm-pricing-price {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.sm-pricing-amount {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 6px 32px color-mix(in srgb, var(--red) 35%, transparent);
}
.sm-pricing-amount .woocommerce-Price-amount { color: var(--red); }
.sm-pricing-unit {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.sm-pricing-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.sm-pricing-actions .sm-btn { width: 100%; max-width: 380px; justify-content: center; }
.sm-pricing-card .sm-btn--primary {
  box-shadow: 0 14px 36px color-mix(in srgb, var(--red) 38%, transparent), 0 0 0 1px color-mix(in srgb, var(--red) 50%, transparent);
}
.sm-pricing-card .sm-btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.sm-pricing-card .sm-btn--ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.sm-pricing-chat { position: relative; font-size: 13px; color: rgba(255,255,255,0.6); margin: 22px 0 0; }
.sm-pricing-chat a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sm-pricing-chat a:hover { color: var(--white); }

/* ─────────────────────────────────────────────────────────
   APPLICATION MODE — multi-step product details form
   ───────────────────────────────────────────────────────── */
.sm-app { padding: 96px 48px; background: var(--white); }
.sm-app-inner { max-width: 880px; margin: 0 auto; }
.sm-app-head { margin-bottom: 36px; }
.sm-app-head h1 {
  position: relative;
  display: inline-block;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 12px;
}
.sm-app-head h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 6px;
  background: var(--red);
  border-radius: 3px;
}
.sm-app-subtitle { font-size: 17px; font-weight: 600; color: var(--black); margin: 28px 0 0; }

.sm-app-form { background: var(--bg); border: 1px solid var(--rule); border-radius: 14px; padding: 48px 56px; }
.sm-app-group { margin-bottom: 36px; }
.sm-app-group:last-child { margin-bottom: 0; }
.sm-app-group h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.02em; color: var(--black); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; text-transform: none; }

.sm-app-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #9F9F9F;
  color: #9F9F9F;
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  position: relative;
}
.sm-app-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--black);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.sm-app-tip:hover::after { opacity: 1; }

/* Form inputs */
.sm-app-input,
.sm-app-select {
  display: block;
  width: 100%;
  max-width: 420px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.sm-app-input:focus,
.sm-app-select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }
.sm-app-select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }

/* Radio + checkbox groups */
.sm-app-radios, .sm-app-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sm-app-checks--cols { gap: 10px 32px; }
.sm-app-radios label,
.sm-app-checks label,
.sm-app-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  margin: 0;
}
.sm-app-check { margin-top: 18px; }

.sm-app-form input[type="radio"],
.sm-app-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  box-sizing: border-box;
  margin: 0;
  border: 1.5px solid #9CA3AF;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: border-color 0.18s;
  flex-shrink: 0;
}
.sm-app-form input[type="checkbox"] { border-radius: 4px; }
.sm-app-form input[type="radio"]:hover,
.sm-app-form input[type="checkbox"]:hover { border-color: var(--red); }
.sm-app-form input[type="radio"]:checked,
.sm-app-form input[type="checkbox"]:checked { border-color: var(--red); }
.sm-app-form input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--red);
}
.sm-app-form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* Submit */
.sm-app-submit-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--rule); }
.sm-app-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.sm-app-submit:hover { background: var(--black); transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--red) 24%, transparent); }
.sm-app-submit svg { width: 14px; height: 14px; }
.sm-app-back { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.18s; }
.sm-app-back:hover { color: var(--red); }

/* ── MOBILE ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sm-specialist-grid { grid-template-columns: 1fr; }
  .sm-testimonial { position: static; }
}
@media (max-width: 960px) {
  .sm-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .sm-intro .sm-section-inner { grid-template-columns: 1fr; }
  .sm-includes-content ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sm-hero { padding: 64px 24px; }
  .sm-hero-watermark { display: none; }
  .sm-intro, .sm-specialist, .sm-includes, .sm-pricing, .sm-app { padding: 64px 20px; }
  .sm-callout { padding: 24px 22px; }
  .sm-hero-actions { flex-direction: column; width: 100%; }
  .sm-btn { width: 100%; justify-content: center; }
  .sm-app-form { padding: 32px 22px; }
  .sm-app-radios, .sm-app-checks { flex-direction: column; align-items: flex-start; gap: 12px; }
}
