/* ============================================================
   Strategy Generator service page
   ============================================================ */
.strategy-generator-page {
  --sg-ink: #0B0F19;
  --sg-blue: #3385FF;
  --sg-blue-dark: #0B4FA8;
  --sg-line: #E4EAF3;
  --sg-soft: #F5F9FF;
  --sg-green: #0F9F6E;
  background: #F6F8FB;
}

.strategy-generator-page .portfolio-nav-wrap {
  position: relative;
  z-index: 20;
  background: rgba(246, 248, 251, .92);
  backdrop-filter: blur(16px);
}

.sg-page {
  overflow: hidden;
  background: #F6F8FB;
}

.sg-page:focus {
  outline: none;
}

.sg-hero-stage.hero {
  padding: 28px 0 72px;
  min-height: auto;
}

.sg-hero-stage .hero-grad {
  opacity: .72;
}

.sg-hero-stage .hero-rings {
  opacity: .5;
}

.sg-hero-decor {
  top: 34px;
  opacity: .96;
}

.sg-hero-inner {
  position: relative;
  z-index: 4;
}

.sg-breadcrumb {
  max-width: 980px;
  margin: 0 auto 4px;
}

.sg-loved {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 0 18px;
}

.sg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}

.sg-hero-copy {
  text-align: left;
}

.sg-hero-stage .service-hero {
  justify-content: flex-start;
}

.sg-hero-title {
  font-family: 'Instrument Sans', 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 800;
  max-width: 690px;
  margin: 16px 0 20px;
  white-space: normal;
  font-size: clamp(46px, 5.1vw, 82px);
  line-height: .96;
  letter-spacing: -.035em;
}

.sg-hero-sub {
  max-width: 650px;
  margin: 0 0 30px;
  color: #313847;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
}

.sg-hero-stage .hero-cta-row {
  width: min(100%, 460px);
  margin-bottom: 28px;
}

.sg-hero-kpis.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.sg-hero-kpis .stat-card {
  min-height: 118px;
  padding: 20px;
  border-radius: var(--r-xl);
  box-shadow: 0 16px 42px rgba(15, 25, 50, .08);
}

.sg-hero-kpis .stat-num {
  font-size: clamp(30px, 3vw, 40px);
}

.sg-hero-kpis .stat-num [data-count-to] {
  color: var(--sg-ink);
}

.sg-command-center {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(145, 171, 211, .55);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(245, 249, 255, .9)),
    radial-gradient(100% 100% at 50% 0%, rgba(51, 133, 255, .16), transparent 62%);
  box-shadow: 0 34px 90px rgba(21, 44, 92, .18);
}

.sg-command-center::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(51, 133, 255, .28), transparent 34%, rgba(255, 255, 255, .8) 52%, transparent 78%);
  opacity: .8;
  pointer-events: none;
  z-index: -1;
}

.sg-command-center::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 133, 255, .22), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.sg-command-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px 12px;
  color: #586477;
  font-size: 13px;
}

.sg-command-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C8D4E6;
}

.sg-command-bar span:first-child {
  background: #FF7B7B;
}

.sg-command-bar span:nth-child(2) {
  background: #FFD166;
}

.sg-command-bar span:nth-child(3) {
  background: #38D996;
}

.sg-command-bar strong {
  margin-left: 8px;
  color: var(--sg-ink);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 800;
}

.sg-command-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid #DCE6F4;
  border-radius: 24px;
  background: #fff;
}

.sg-command-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .45) 48%, transparent 58%);
  transform: translateX(-120%);
  z-index: 2;
  pointer-events: none;
}

.sg-command-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.sg-floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 136px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(15, 25, 50, .18);
  backdrop-filter: blur(12px);
}

.sg-floating-card span {
  color: #687180;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sg-floating-card strong {
  color: var(--sg-ink);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 20px;
}

.sg-float-channel {
  left: 18px;
  top: 22px;
}

.sg-float-retention {
  right: 18px;
  bottom: 20px;
}

.sg-command-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 2px 0;
}

.sg-command-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #DCE6F4;
  border-radius: 999px;
  background: #fff;
  color: #303746;
  font-size: 12px;
  font-weight: 800;
}

.sg-command-footer [data-icon] {
  width: 16px;
  height: 16px;
}

.sg-trusted {
  margin-top: 58px;
}

.sg-hero-stage .brand-marquee {
  max-width: 1020px;
  margin: 0 auto;
}

.sg-hero-stage .brand-track {
  animation: sgLogoLoop 42s linear infinite;
}

.sg-content {
  position: relative;
  z-index: 2;
  padding: 76px 0 96px;
}

.sg-section {
  position: relative;
  margin-top: 88px;
  scroll-margin-top: 118px;
}

.sg-section:first-child {
  margin-top: 0;
}

.sg-section-head {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 120px;
  margin-bottom: 34px;
}

.sg-section-head p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.sg-tool-shell {
  overflow: hidden;
  padding: 32px;
  border: 1px solid #DCE6F4;
  border-radius: 34px;
  background:
    radial-gradient(680px 300px at 50% 0%, rgba(51, 133, 255, .13), transparent 70%),
    linear-gradient(180deg, #fff, #F8FBFF);
  box-shadow: 0 28px 80px rgba(20, 40, 90, .09);
}

.sg-tool-shell .sg-section-head {
  padding-top: 92px;
}

.sg-wizard {
  overflow: hidden;
  border: 1px solid #DCE5F2;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 62px rgba(20, 40, 90, .12);
}

.sg-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: #EEF5FE;
  border-bottom: 1px solid #DCE5F2;
}

.sg-progress button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: #687180;
  font-size: 13px;
  font-weight: 800;
  transition: color .24s ease, background .24s ease, transform .24s ease, box-shadow .24s ease;
}

.sg-progress button span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #B7C1CF;
  transition: background .24s ease, box-shadow .24s ease, transform .24s ease;
}

.sg-progress button.is-active {
  color: var(--sg-ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sg-progress button.is-active span,
.sg-progress button.is-complete span {
  background: var(--sg-blue);
  box-shadow: 0 0 0 5px rgba(51, 133, 255, .14);
}

.sg-step {
  display: none;
  padding: 30px;
}

.sg-step.is-active {
  display: block;
}

.sg-step-head {
  margin-bottom: 22px;
}

.sg-step-head h3 {
  margin: 0 0 7px;
  font-size: 24px;
}

.sg-step-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.sg-package-grid,
.sg-pricing-grid,
.sg-feature-grid {
  display: grid;
  gap: 16px;
}

.sg-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sg-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sg-package-card,
.sg-price-card,
.sg-deliverable-card,
.sg-trust-card,
.sg-calculator,
.sg-table-wrap {
  border: 1px solid var(--sg-line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sg-package-card,
.sg-price-card {
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  min-height: 100%;
  padding: 22px;
  color: var(--sg-ink);
  text-align: left;
}

.sg-package-card {
  cursor: pointer;
}

.sg-package-card::before,
.sg-price-card::before,
.sg-deliverable-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(51, 133, 255, .12), transparent 42%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.sg-package-card:hover,
.sg-package-card.is-selected,
.sg-price-card.is-featured,
.sg-deliverable-card:hover {
  border-color: rgba(51, 133, 255, .55);
  background: linear-gradient(180deg, #fff, #F5F9FF);
  box-shadow: 0 18px 42px rgba(51, 133, 255, .13);
}

.sg-package-card:hover::before,
.sg-package-card.is-selected::before,
.sg-price-card.is-featured::before,
.sg-deliverable-card:hover::before {
  opacity: 1;
}

.sg-card-label,
.sg-price-card h3,
.sg-deliverable-card h3,
.sg-trust-card strong {
  position: relative;
  z-index: 1;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--sg-ink);
}

.sg-package-card > strong,
.sg-price-card > strong {
  position: relative;
  z-index: 1;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 38px;
  line-height: 1;
  color: var(--sg-ink);
}

.sg-package-card em {
  position: relative;
  z-index: 1;
  font-style: normal;
  color: #1A76FF;
  font-size: 13px;
  font-weight: 800;
}

.sg-package-card span:not(.sg-card-label):not(.sg-badge),
.sg-package-card small,
.sg-price-card p,
.sg-deliverable-card p,
.sg-trust-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.55;
}

.sg-badge,
.sg-result-kicker {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 5px 10px;
  border: 1px solid rgba(51, 133, 255, .3);
  border-radius: 999px;
  background: rgba(51, 133, 255, .09);
  color: #1A76FF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sg-hint-box,
.sg-validation,
.sg-preview-card,
.sg-summary,
.sg-result,
.sg-roi-note {
  border: 1px solid var(--sg-line);
  border-radius: 16px;
  background: #F8FAFD;
}

.sg-hint-box,
.sg-summary,
.sg-result,
.sg-calculator {
  padding: 18px;
}

.sg-hint-box {
  margin-top: 18px;
  color: #303746;
  font-weight: 700;
}

.sg-label,
.sg-competitor-grid label,
.sg-mini-form label {
  display: block;
  color: #303746;
  font-size: 13px;
  font-weight: 800;
}

.sg-label span {
  color: #D94444;
}

.sg-input {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #DCE3ED;
  border-radius: 14px;
  background: #fff;
  color: var(--sg-ink);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sg-input:focus {
  border-color: var(--sg-blue);
  box-shadow: 0 0 0 4px rgba(51, 133, 255, .12);
}

.sg-validation {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.sg-validation.is-valid {
  display: block;
  border-color: rgba(15, 159, 110, .28);
  background: rgba(15, 159, 110, .08);
  color: #08724F;
}

.sg-validation.is-error {
  display: block;
  border-color: rgba(217, 68, 68, .3);
  background: rgba(217, 68, 68, .08);
  color: #A92E2E;
}

.sg-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: #F5F9FF;
}

.sg-preview-card[hidden],
.sg-result[hidden] {
  display: none;
}

.sg-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B0F19, #3385FF);
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 800;
}

.sg-competitor-grid {
  display: grid;
  gap: 12px;
}

.sg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--sg-line);
  border-radius: 14px;
  background: #F8FAFD;
  color: #303746;
  font-weight: 700;
}

.sg-check input,
.sg-option input {
  margin-top: 4px;
  accent-color: var(--sg-blue);
}

.sg-fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.sg-fieldset legend {
  margin-bottom: 12px;
  color: var(--sg-ink);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 800;
}

.sg-fieldset legend span {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(51, 133, 255, .1);
  color: #1A76FF;
  font-size: 10px;
  text-transform: uppercase;
}

.sg-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sg-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--sg-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.sg-option.is-checked {
  border-color: rgba(51, 133, 255, .48);
  background: #F5F9FF;
  box-shadow: 0 10px 24px rgba(51, 133, 255, .08);
}

.sg-option strong {
  display: block;
  color: var(--sg-ink);
  font-size: 14px;
}

.sg-option span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.sg-step-actions,
.sg-output-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.sg-summary-grid,
.sg-roi-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sg-roi-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sg-summary-grid div,
.sg-roi-stats div {
  padding: 12px;
  border: 1px solid #E3E8F1;
  border-radius: 12px;
  background: #fff;
}

.sg-summary-grid small,
.sg-roi-stats small {
  display: block;
  color: #7A8493;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sg-summary-grid strong,
.sg-roi-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--sg-ink);
}

.sg-chip-row,
.sg-niche-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sg-chip-row span,
.sg-niche-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #DCE3ED;
  border-radius: 999px;
  background: #fff;
  color: #303746;
  font-size: 12px;
  font-weight: 700;
}

.sg-result {
  margin: 20px 30px 30px;
  border-color: rgba(15, 159, 110, .25);
  background: linear-gradient(180deg, rgba(15, 159, 110, .08), #fff 42%);
}

.sg-result pre {
  max-height: 360px;
  overflow: auto;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid #DCE3ED;
  border-radius: 14px;
  background: #0B0F19;
  color: #E6ECF5;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.sg-how-panel {
  text-align: center;
}

.sg-how-panel .rings-bg {
  top: 20px;
}

.sg-works-grid {
  margin-bottom: 0;
}

.sg-works-grid .work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
}

.sg-works-grid .work-illu {
  height: 300px;
}

.sg-media-section,
.sg-video-audit,
.sg-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 34px;
  align-items: center;
}

.sg-media-section {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
}

.sg-media-card,
.sg-video-media {
  overflow: hidden;
  border: 1px solid var(--sg-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 40, 90, .1);
}

.sg-media-card img,
.sg-video-media img {
  display: block;
  width: 100%;
  height: auto;
}

.sg-media-section h2,
.sg-video-audit h2,
.sg-trust h2 {
  margin-top: 12px;
}

.sg-media-section p,
.sg-video-audit p,
.sg-trust p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.sg-check-list,
.sg-pricing-grid ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.sg-check-list li,
.sg-pricing-grid li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
  color: #303746;
}

.sg-check-list li::before,
.sg-pricing-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--sg-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
}

.sg-deliverable-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.sg-deliverable-card .service-head {
  align-items: flex-start;
}

.sg-deliverable-card h3 {
  margin: 3px 0 0;
  line-height: 1.15;
}

.sg-table-wrap {
  overflow-x: auto;
}

.sg-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.sg-table th,
.sg-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #E9EEF5;
  text-align: left;
  font-size: 14px;
}

.sg-table th {
  color: #687180;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sg-table td:first-child {
  color: var(--sg-ink);
  font-weight: 800;
}

.sg-table td:last-child,
.sg-table th:last-child {
  background: #F5F9FF;
  color: var(--sg-blue-dark);
  font-weight: 800;
}

.sg-calculator {
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(51, 133, 255, .09), transparent 72%),
    #fff;
}

.sg-calculator > label {
  display: grid;
  grid-template-columns: minmax(190px, .35fr) 90px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #303746;
  font-weight: 700;
}

.sg-calculator input[type="range"] {
  width: 100%;
  accent-color: var(--sg-blue);
}

.sg-roi-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-color: rgba(15, 159, 110, .25);
  background: rgba(15, 159, 110, .08);
  color: #08724F;
  font-weight: 800;
}

.sg-price-card .btn {
  margin-top: auto;
}

.sg-video-audit,
.sg-niches {
  padding: 30px;
  border: 1px solid var(--sg-line);
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #F8FBFF);
  box-shadow: 0 24px 64px rgba(20, 40, 90, .08);
}

.sg-mini-form {
  margin-top: 20px;
}

.sg-mini-form .btn {
  margin-top: 12px;
}

.sg-mini-form p {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.sg-mini-form p.is-error {
  color: #A92E2E;
}

.sg-mini-form p.is-valid {
  color: #08724F;
}

.sg-niches .sg-section-head {
  padding-top: 82px;
}

.sg-niche-row {
  justify-content: center;
}

.sg-trust {
  padding: 34px;
  border: 1px solid #17223A;
  border-radius: 30px;
  background:
    radial-gradient(80% 130% at 50% 0%, #1A365F 0%, transparent 58%),
    linear-gradient(135deg, #0B0F19, #14264B);
  box-shadow: var(--shadow-lg);
}

.sg-trust h2,
.sg-trust .pill {
  color: #fff;
}

.sg-trust p {
  color: rgba(255, 255, 255, .72);
}

.sg-trust-card {
  padding: 24px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.sg-trust-card strong {
  color: #fff;
}

.sg-final-cta {
  margin-top: 88px;
}

.sg-final-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.sg-final-cta .pill {
  color: #1F2530;
}

.sg-final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.03em;
}

.sg-final-cta p {
  max-width: 520px;
  margin: 14px auto 24px;
  color: rgba(255, 255, 255, .74);
  font-size: 18px;
}

.sg-final-cta .btn {
  margin: 0 auto;
}

.related-services {
  margin-top: 70px;
}

@media (prefers-reduced-motion: no-preference) {
  .sg-command-center {
    animation: sgFloat 7s ease-in-out infinite;
  }

  .sg-command-preview::before {
    animation: sgSheen 4.8s ease-in-out infinite;
  }

  .sg-floating-card {
    animation: sgMiniFloat 5.4s ease-in-out infinite;
  }

  .sg-float-retention {
    animation-delay: -2.2s;
  }

  .sg-step.is-active,
  .sg-result:not([hidden]) {
    animation: sgStepIn .36s cubic-bezier(.22, 1, .36, 1);
  }

  .sg-progress button.is-active span {
    animation: sgPulse 1.8s ease-in-out infinite;
  }

  .sg-package-card,
  .sg-price-card,
  .sg-deliverable-card,
  .sg-option,
  .sg-media-card,
  .sg-video-media,
  .sg-table-wrap,
  .sg-calculator {
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .3s ease, background .3s ease;
  }

  .sg-package-card:hover,
  .sg-price-card:hover,
  .sg-deliverable-card:hover,
  .sg-option:hover,
  .sg-media-card:hover,
  .sg-video-media:hover,
  .sg-table-wrap:hover,
  .sg-calculator:hover {
    transform: translateY(-4px);
  }

  .sg-command-center:hover .sg-command-preview img,
  .sg-media-card:hover img,
  .sg-video-media:hover img {
    transform: scale(1.035);
  }

  .sg-command-preview img,
  .sg-media-card img,
  .sg-video-media img {
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  }
}

@keyframes sgLogoLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes sgFloat {
  0%, 100% { transform: translateY(0) rotate(.001deg); }
  50% { transform: translateY(-10px) rotate(.001deg); }
}

@keyframes sgMiniFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sgSheen {
  0%, 44% { transform: translateX(-120%); opacity: 0; }
  55% { opacity: 1; }
  72%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes sgPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(51, 133, 255, .14); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 9px rgba(51, 133, 255, .06); }
}

@keyframes sgStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .sg-hero-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
  }

  .sg-hero-copy,
  .sg-hero-stage .service-hero {
    text-align: center;
    justify-content: center;
  }

  .sg-hero-title,
  .sg-hero-sub,
  .sg-hero-kpis.stats-grid {
    margin-right: auto;
    margin-left: auto;
  }

  .sg-hero-stage .hero-cta-row {
    margin-right: auto;
    margin-left: auto;
  }

  .sg-command-center {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .sg-hero-decor {
    display: none;
  }

  .sg-media-section,
  .sg-video-audit,
  .sg-trust {
    grid-template-columns: 1fr;
  }

  .sg-package-grid,
  .sg-pricing-grid,
  .sg-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-works-grid.works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .sg-hero-stage.hero {
    padding: 12px 0 50px;
  }

  .sg-loved {
    padding-top: 22px;
  }

  .sg-loved .loved-line {
    display: none;
  }

  .sg-hero-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .sg-hero-stage .hero-cta-row {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .sg-hero-kpis.stats-grid,
  .sg-package-grid,
  .sg-pricing-grid,
  .sg-feature-grid,
  .sg-option-grid,
  .sg-summary-grid,
  .sg-roi-stats {
    grid-template-columns: 1fr;
  }

  .sg-command-center,
  .sg-tool-shell,
  .sg-video-audit,
  .sg-niches,
  .sg-trust {
    padding: 20px;
    border-radius: 22px;
  }

  .sg-command-footer {
    display: grid;
  }

  .sg-floating-card {
    position: static;
    display: inline-grid;
    margin: 10px 0 0;
    width: calc(50% - 6px);
    min-width: 0;
  }

  .sg-float-retention {
    margin-left: 8px;
  }

  .sg-content {
    padding: 54px 0 76px;
  }

  .sg-section {
    margin-top: 70px;
  }

  .sg-section-head {
    padding-top: 94px;
    margin-bottom: 26px;
  }

  .sg-tool-shell .sg-section-head,
  .sg-niches .sg-section-head {
    padding-top: 84px;
  }

  .sg-step {
    padding: 20px;
  }

  .sg-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg-step-actions,
  .sg-output-actions {
    flex-direction: column;
  }

  .sg-step-actions .btn,
  .sg-output-actions .btn,
  .sg-mini-form .btn {
    width: 100%;
  }

  .sg-result {
    margin: 18px 20px 20px;
  }

  .sg-calculator > label {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sg-final-cta {
    margin-top: 72px;
    padding: 42px 22px;
  }
}
