/* ==========================================================================
   Code1001 - Shopify Development Service Page Stylesheet
   Strictly aligned with code1001/note.md Design System & Dual Theme Support
   ========================================================================== */

/* ---------- PAGE ROOT & GENERAL SECTION SPACING ---------- */
.shopify-dev-page {
  position: relative;
  overflow-x: hidden;
}

.sp-hero {
  padding: 100px 0 80px;
  position: relative;
}

.sp-storefront-sec,
.sp-theme-sec,
.sp-integrations-sec,
.sp-perf-sec,
.sp-cro-sec,
.sp-migration-sec,
.sp-cases-sec,
.sp-faq-sec {
  padding: 85px 0;
  position: relative;
}

/* Sub-Kicker Label */
.sub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* Badges and Semantic Accents */
.tag-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.tag-purple {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}


/* ==========================================================================
   1. HERO SECTION & MODERN SHOPIFY STOREFRONT MOCKUP
   ========================================================================== */
.sp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.sp-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.sp-grid-lines {
  display: none !important;
}

.sp-hero-radial-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12), transparent 70%);
  pointer-events: none;
}

.sp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sp-hero-content {
  max-width: 620px;
}

.sp-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sp-pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: sp-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes sp-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sp-hero-title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
  text-wrap: balance;
}

.sp-gradient-text {
  background: linear-gradient(135deg, var(--text) 30%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sp-hero-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.sp-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 40px;
}

.sp-hero-btn {
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.sp-hero-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Features Grid - Exact WordPress Dev Parity */
.sp-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  max-width: 520px;
}

/* ==========================================================================
   SHOPIFY 3D LAYERED ISOMETRIC ECOSYSTEM STAGE (HOMEPAGE PARITY)
   ========================================================================== */
.sp-hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 520px;
  perspective: 1200px;
  overflow: visible; /* Prevent any cutting from sides */
}

.sp-iso-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sp-mockup-glow {
  position: absolute;
  width: 480px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.12) 0%, rgba(16, 185, 129, 0.1) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/* 3D Isometric Canvas Scene */
.sp-iso-scene-3d {
  position: relative;
  width: 540px;
  height: 500px;
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-14deg) rotateZ(5deg);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 2;
}

/* Base Isometric Card Widget */
.sp-iso-card {
  position: absolute;
  background: rgba(28, 28, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.sp-iso-card:hover {
  transform: translateY(-4px) translateZ(14px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 26px 52px -8px rgba(0, 0, 0, 0.85),
    0 0 16px rgba(255, 255, 255, 0.08);
}

/* Light Mode Overrides */
html[data-theme="light"] .sp-iso-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow:
    0 16px 36px -8px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .sp-iso-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.18);
}

/* Common Typography & Micro-elements */
.spc-sub-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}

.spc-big-stat {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.spc-delta {
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
  display: inline-block;
}

.spc-delta.positive {
  color: #10b981;
}

/* -------------------------------------------------------------------------
   LAYERED POSITIONING OF EACH CARD (MATCHING HOMEPAGE STACKING ARCHITECTURE)
   ------------------------------------------------------------------------- */

/* Card 1: Top-Left - Shopify Balance & Settlement */
.iso-balance-card {
  top: 0;
  left: 10px;
  width: 220px;
  z-index: 2;
}

.spc-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.spc-icon-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--card-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.spc-icon-badge svg {
  width: 14px;
  height: 14px;
}

.spc-status-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.spc-status-pill.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.spc-balance-val {
  margin-bottom: 10px;
}

.spc-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  display: block;
  line-height: 1.15;
}

.spc-micro-card {
  background: var(--card-3);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smc-chip {
  width: 13px;
  height: 9px;
  border-radius: 2px;
  background: #b38800;
}

.smc-digits {
  font-size: 9.5px;
  font-family: monospace;
  color: var(--text-dim);
}

.smc-tag {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text-faint);
}

/* Card 2: Top-Right - AOV Trendline & Glowing Wave */
.iso-trend-card {
  top: 15px;
  right: 10px;
  width: 235px;
  z-index: 2;
}

.spc-wave-wrap {
  margin-top: 8px;
  height: 48px;
  overflow: hidden;
}

.spc-wave-svg {
  width: 100%;
  height: 100%;
}

/* Card 3: Center Hero - Today's GMV Multi-Channel Donut */
.iso-donut-card {
  top: 80px;
  left: 55px;
  width: 255px;
  z-index: 4;
  box-shadow:
    0 24px 48px -10px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.spc-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.spc-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
}

.live-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  animation: sp-pulse 2s infinite;
}

.spc-donut-chart-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 4px auto 10px;
}

.spc-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.spc-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sdc-num {
  font-size: 15px;
  font-weight: 800;
  color: #ff3b30;
  line-height: 1;
}

.sdc-lbl {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

.spc-donut-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
  font-size: 9.5px;
  color: var(--text-dim);
  font-weight: 600;
}

.sdl-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.sdl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-coral { background: #ff3b30; }
.dot-slate { background: #64748b; }
.dot-gray { background: #94a3b8; }
.dot-green { background: #10b981; }

/* Card 4: Mid-Right Overlapping - Shop Pay Virtual Card */
.iso-shoppay-card {
  top: 140px;
  right: 0;
  width: 245px;
  z-index: 6;
  background: linear-gradient(135deg, rgba(34, 34, 40, 0.96) 0%, rgba(20, 20, 24, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .iso-shoppay-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4f4f2 100%);
  border-color: rgba(0, 0, 0, 0.12);
}

.scc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.scc-chip-svg svg {
  width: 28px;
  height: 20px;
}

.scc-contactless svg {
  width: 15px;
  height: 15px;
  color: var(--text-dim);
}

.scc-digits {
  font-family: monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.scc-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.scc-lbl {
  font-size: 8px;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  letter-spacing: 0.04em;
}

.scc-holder {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
}

.sc-shoppay-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  background: #5a31f4;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
}

.sc-shoppay-badge i {
  font-style: italic;
  font-weight: 400;
}

/* Card 5: Bottom-Left Overlapping - VIP Loyalty & Live Orders */
.iso-loyalty-card {
  bottom: 0;
  left: 5px;
  width: 260px;
  z-index: 5;
}

.spc-loyalty-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 6px;
}

.slt-main {
  display: flex;
  align-items: center;
  gap: 5px;
}

.slt-accent-bar {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: #ff3b30;
}

.slt-count {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.slt-unit {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 600;
  margin-left: 2px;
}

.slt-level-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text);
}

.level-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff3b30;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
}

.spc-orders-table-head {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-soft);
}

.spc-orders-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  white-space: nowrap;
  font-size: 10px;
}

.sos-info {
  display: flex;
  flex-direction: column;
  max-width: 115px;
  min-width: 0;
}

.sos-name {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sos-meta {
  font-size: 8.5px;
  color: var(--text-dim);
}

.sos-val {
  font-weight: 700;
  color: var(--text);
  font-size: 10.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sos-pts {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.pts-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff3b30;
}

/* Card 6: Bottom-Right Overlapping - Mobile Storefront PDP Mockup */
.iso-pdp-card {
  bottom: 10px;
  right: 15px;
  width: 225px;
  z-index: 7;
}

.scp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.scp-badge {
  font-size: 8.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.scp-step {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-faint);
}

.scp-visual-hero {
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  margin-bottom: 8px;
}

.scp-dynamic-art {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scp-geo-accent {
  position: absolute;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff3b30 0%, #ff7b00 100%);
  clip-path: polygon(50% 0%, 100% 85%, 0% 85%);
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(255, 59, 48, 0.4));
}

.scp-watch-silhouette {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #17171a;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.scp-watch-silhouette svg {
  width: 14px;
  height: 14px;
}

.scp-info h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 3px;
}

.scp-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.scp-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.scp-orig {
  font-size: 10px;
  text-decoration: line-through;
  color: var(--text-faint);
}

.btn-scp-next {
  width: 100%;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-scp-next:hover {
  transform: translateY(-1px);
}

/* Floating Telemetry Badges */
.sp-floating-badge {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.badge-plus {
  top: -12px;
  left: 120px;
  border-color: rgba(16, 185, 129, 0.35);
}

.badge-speed {
  bottom: -12px;
  right: 60px;
}

.sfb-icon {
  color: #10b981;
}

.sfb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: sp-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Responsive Breakpoints for Layered Scene */
@media (max-width: 1024px) {
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sp-hero-mockup-wrap {
    min-height: 460px;
  }
  .sp-iso-scene-3d {
    transform: scale(0.85) rotateX(14deg) rotateY(-10deg) rotateZ(4deg);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sp-hero-mockup-wrap {
    min-height: 380px;
  }
  .sp-iso-scene-3d {
    transform: scale(0.68) rotateX(10deg) rotateY(-6deg) rotateZ(2deg);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .sp-hero-mockup-wrap {
    min-height: 330px;
  }
  .sp-iso-scene-3d {
    transform: scale(0.56) rotateX(8deg) rotateY(-4deg) rotateZ(1deg);
    margin: 0 auto;
  }
}


/* ==========================================================================
   2. STOREFRONT DEVELOPMENT (DUAL ENGINE COMPARATOR)
   ========================================================================== */
.sp-dual-engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.sp-engine-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.sp-engine-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
}

.ec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ec-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ec-version {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
}

.sp-engine-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.sp-engine-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.ec-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.ecf-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ecf-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.ecf-item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 3px;
}

.ecf-item p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

.ec-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.ec-metric .metric-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.ec-metric .metric-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Architecture Flow Pipeline */
.sp-flow-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 28px;
  margin-top: 36px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fs-num {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.05em;
}

.flow-step strong {
  font-size: 14px;
  color: var(--text);
}

.flow-step span {
  font-size: 12px;
  color: var(--text-dim);
}

.flow-arrow {
  color: var(--text-faint);
  font-size: 16px;
}


/* ==========================================================================
   3. THEME CUSTOMIZATION (MODULAR SECTION BUILDER & STUDIO)
   ========================================================================== */
.sp-studio-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 40px;
}

/* Top Controls Header */
.sp-sf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--card-2);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.sp-sf-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-sf-dots {
  display: flex;
  gap: 6px;
}

.sf-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.sp-sf-path-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--card);
  border: 1px solid var(--border-soft);
  padding: 3px 10px;
  border-radius: 6px;
}

.sfp-icon {
  color: #10b981;
}

/* Center Tabs */
.sp-sf-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.sf-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.sf-tab-btn:hover {
  color: var(--text);
  background: var(--card-2);
}

.sf-tab-btn.active {
  color: var(--text);
  background: var(--card-2);
  border-color: var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.sft-icon {
  font-size: 14px;
}

/* Right Mode Switcher */
.sp-sf-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-mode-switch {
  display: flex;
  align-items: center;
  background: var(--card);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
}

.sf-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sf-mode-btn:hover {
  color: var(--text);
}

.sf-mode-btn.active {
  color: var(--btn-text);
  background: var(--btn-bg);
}

.sf-mode-btn svg {
  width: 13px;
  height: 13px;
}

/* Studio Body Canvas */
.sp-sf-body {
  padding: 36px;
  background: var(--card);
  min-height: 480px;
}

.sf-pane-preview,
.sf-pane-code {
  display: none;
}

.sf-pane-preview.active,
.sf-pane-code.active {
  display: block;
}

.sf-component-panel {
  display: none;
  animation: sfFadeIn 0.25s ease forwards;
}

.sf-component-panel.active {
  display: block;
}

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

/* ==================== TAB 1: DYNAMIC BUNDLE BUILDER ==================== */
.bundle-component-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.bc-head {
  text-align: center;
  margin-bottom: 28px;
}

.bc-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.bc-pill-kicker {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bc-status-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  background: var(--card-2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
}

.bc-head h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.bc-head p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
}

.bundle-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.bundle-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
}

.bundle-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.bundle-card.selected {
  border-color: #10b981;
  background: var(--card);
  box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.18);
}

.bci-check {
  position: absolute;
  top: 14px;
  right: 14px;
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: transparent;
  transition: all 0.18s ease;
}

.bundle-card.selected .check-box {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.bci-visual {
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
}

.bci-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.bundle-card:hover .bci-icon-wrap {
  transform: scale(1.08);
}

.icon-watch {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.icon-strap {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.icon-case {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.bci-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.bci-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bci-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 3px;
}

.bci-details h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.bci-variant {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.bci-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.orig-val {
  font-size: 12px;
  color: var(--text-faint);
  text-decoration: line-through;
}

/* Bundle Live Summary Dock */
.bundle-summary-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.bsd-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bsd-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsd-tier-pill {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
}

.bsd-count-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}

.bsd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.bsd-total {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.bsd-orig {
  font-size: 14px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.bsd-savings {
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
}

.btn-bundle-action {
  background: #10b981;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-bundle-action:hover {
  background: #059669;
  transform: translateY(-1px);
}

.bba-arrow {
  transition: transform 0.2s ease;
}

.btn-bundle-action:hover .bba-arrow {
  transform: translateX(3px);
}


/* ==================== TAB 2: SLIDE-OUT CART DRAWER ==================== */
.drawer-component-wrap {
  max-width: 540px;
  margin: 0 auto;
}

.dc-mock-drawer {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.dcm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}

.dcm-header h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 2px 0;
}

.dcm-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}

.dcm-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-dim);
  cursor: pointer;
}

.dcm-shipping-bar {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.dsb-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.dsb-tag {
  font-size: 10px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  padding: 1px 6px;
  border-radius: 4px;
}

.dsb-track {
  height: 6px;
  background: var(--card-2);
  border-radius: 999px;
  overflow: hidden;
}

.dsb-fill {
  height: 100%;
  background: #10b981;
  border-radius: 999px;
}

.dcm-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.dcm-item {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px;
  align-items: center;
}

.dcmi-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  flex-shrink: 0;
}

.dcmi-thumb svg {
  width: 22px;
  height: 22px;
}

.dcmi-info {
  flex-grow: 1;
}

.dcmi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dcmi-top h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.dcmi-remove {
  font-size: 10px;
  color: var(--text-faint);
  cursor: pointer;
}

.dcmi-var {
  font-size: 10.5px;
  color: var(--text-dim);
  display: block;
  margin: 2px 0 6px;
}

.dcmi-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dcmi-qty {
  display: flex;
  align-items: center;
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  font-size: 11px;
}

.dcmi-qty button {
  background: transparent;
  border: none;
  padding: 2px 7px;
  color: var(--text);
  cursor: pointer;
}

.dcmi-qty span {
  padding: 0 4px;
  font-weight: 700;
  color: var(--text);
}

.dcmi-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.dcm-upsell-card {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.duc-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.duc-pill {
  color: #10b981;
}

.duc-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.duc-icon {
  font-size: 20px;
}

.duc-details strong {
  display: block;
  font-size: 12px;
  color: var(--text);
}

.duc-details span {
  font-size: 10.5px;
  color: var(--text-dim);
}

.btn-quick-add {
  margin-left: auto;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-quick-add:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.dcm-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dcmf-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
}

.dcmf-row strong {
  color: var(--text);
  font-size: 14px;
}

.free-tag {
  color: #10b981;
  font-weight: 800;
}

.dcmf-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.btn-dcm-checkout {
  width: 100%;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-dcm-shoppay {
  width: 100%;
  background: #5a31f4;
  color: #ffffff;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}


/* ==================== TAB 3: SPEC COMPARISON ==================== */
.compare-component-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.cc-head {
  text-align: center;
  margin-bottom: 28px;
}

.cc-head h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.cc-head p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
}

.compare-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comp-col {
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.comp-standard {
  background: var(--bg-soft);
}

.comp-premium {
  background: var(--card);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 28px -10px rgba(16, 185, 129, 0.18);
}

.cc-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.standard-badge {
  background: var(--card-2);
  color: var(--text-faint);
  border: 1px solid var(--border);
}

.premium-badge {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.comp-col h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.metric-meter-row {
  margin-bottom: 16px;
}

.mm-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 5px;
}

.mm-label strong {
  color: var(--text);
}

.emerald-text {
  color: #10b981 !important;
}

.mm-bar {
  height: 6px;
  background: var(--card-2);
  border-radius: 999px;
  overflow: hidden;
}

.mm-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s ease;
}

.standard-fill {
  background: var(--text-faint);
}

.emerald-fill {
  background: #10b981;
}

.comp-checklist {
  list-style: none;
  padding: 16px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comp-checklist li {
  font-size: 12px;
  line-height: 1.45;
}

.comp-checklist.negative li {
  color: var(--text-faint);
}

.comp-checklist.positive li {
  color: var(--text);
}


/* ==================== VIEW 2: LIQUID SCHEMA CODE ==================== */
.schema-code-viewer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.scv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--card-2);
  border-bottom: 1px solid var(--border-soft);
}

.scv-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scv-filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}

.scv-badge {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-copy-code {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-code:hover {
  color: var(--text);
  border-color: #10b981;
}

.scv-pre {
  padding: 22px;
  margin: 0;
  max-height: 480px;
  overflow-y: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  background: var(--bg);
}


/* ==================== STUDIO FOOTER STRIP ==================== */
.sp-sf-footer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 28px;
  background: var(--card-2);
  border-top: 1px solid var(--border);
}

.sff-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sff-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sff-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 3px;
}

.sff-item p {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}



/* ==========================================================================
   4. APPS & INTEGRATIONS (CENTRAL COMMERCE ECOSYSTEM HUB)
   ========================================================================== */
.sp-mesh-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.mesh-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mesh-node-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mesh-node-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.35);
}

.mnc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mnc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mnc-icon svg {
  width: 18px;
  height: 18px;
}

.icon-blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #06b6d4; }

.mnc-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mesh-node-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.mesh-node-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}

.mnc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mnc-tags span {
  font-size: 10.5px;
  font-weight: 600;
  background: var(--card-2);
  color: var(--text-dim);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
}

/* Center Core Pillar */
.mcp-core-card {
  background: var(--card);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 36px -12px rgba(16, 185, 129, 0.2);
}

.mcp-brand-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin: 0 auto 16px;
}

.mcp-brand-circle svg {
  width: 32px;
  height: 32px;
}

.mcp-core-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.mcp-core-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.mcp-custom-app-box {
  background: var(--card-2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: left;
}

.cab-label {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.mcp-custom-app-box p {
  font-size: 11.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
}

/* App Pruning Guarantee Bar */
.app-pruning-bar {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 28px;
  margin-top: 36px;
}

.apb-content {
  display: flex;
  gap: 16px;
  align-items: center;
}

.apb-icon {
  font-size: 28px;
  color: #10b981;
}

.apb-content strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.apb-content p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}


/* ==========================================================================
   5. PERFORMANCE (SHOPIFY SPEED LAB & CORE WEB VITALS COMMAND CENTER)
   ========================================================================== */
.sp-perf-dashboard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}

.spd-dials-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-soft);
}

.spd-dial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dial-ring {
  width: 90px;
  height: 90px;
  position: relative;
  margin-bottom: 12px;
}

.dial-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 3.2;
}

.circle-fill {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.dial-green {
  stroke: #10b981;
}

.dial-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.dial-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.dial-sub {
  font-size: 11.5px;
  color: var(--text-faint);
}

.spd-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 0;
}

.bp-tile {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.bpt-num {
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 8px;
}

.bp-tile h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}

.bp-tile p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.spd-roi-formula {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 28px;
}

.roif-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.roif-icon {
  font-size: 26px;
}

.roif-left strong {
  display: block;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 3px;
}

.roif-left p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

.roif-badge {
  text-align: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 18px;
  border-radius: 8px;
  flex-shrink: 0;
}

.roif-badge span {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #10b981;
}

.roif-badge small {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-dim);
}


/* ==========================================================================
   6. CONVERSION CONSIDERATIONS (4-STAGE CRO FUNNEL PIPELINE)
   ========================================================================== */
.sp-funnel-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.funnel-stage-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.funnel-stage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
}

.funnel-stage-card.highlight-funnel {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.2);
}

.fsc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fsc-stage-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-faint);
}

.fsc-gain-badge {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.funnel-stage-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.funnel-stage-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.fsc-tactics {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.fsc-tactics span {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.cro-assurance-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 28px;
  margin-top: 36px;
}

.cab-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cab-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.cab-point strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.cab-point p {
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}


/* ==========================================================================
   7. MIGRATION SUPPORT (ENTERPRISE SHOPIFY PLUS MATRIX)
   ========================================================================== */
.sp-migration-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.smm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

.smm-step {
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 12px;
}

.smm-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.smm-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.smm-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}

.sp-sources-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 24px;
  margin-top: 28px;
}

.sss-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.sss-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plat-tag {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--card);
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
}


/* ==========================================================================
   8. WORK & CASE STUDIES (E-COMMERCE RESULTS MATRIX & SHOWCASE)
   ========================================================================== */
.sp-cases-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  margin-top: 40px;
}

.sp-flagship-case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sfc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sfc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.sfc-gain {
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
}

.sp-flagship-case h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.sp-flagship-case p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.sfc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 24px;
}

.sfc-stat .stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.sfc-stat .stat-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
}

.sfc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sfc-tags span {
  font-size: 11px;
  font-weight: 600;
  background: var(--card-2);
  color: var(--text-dim);
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
}

.sp-subcases-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-subcase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sp-subcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.35);
}

.ssc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ssc-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.ssc-gain {
  font-size: 11.5px;
  font-weight: 700;
  color: #10b981;
}

.sp-subcase-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.sp-subcase-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ssc-meta {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 11.5px;
  color: var(--text-dim);
}

.ssc-meta strong {
  color: var(--text);
}


/* ==========================================================================
   9. FAQ ACCORDION (SPLIT 2-COLUMN LAYOUT)
   ========================================================================== */
.sp-faq-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

.faq-left-col h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.faq-left-col p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 32px;
}

.faq-help-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.fhc-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.faq-help-card strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-help-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
}

.link-arrow {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  color: #10b981;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  transform: translateX(3px);
}

.faq-right-col .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-right-col .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-right-col .faq-item.open {
  border-color: rgba(16, 185, 129, 0.4);
}

.faq-right-col .faq-q {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  user-select: none;
}

.faq-right-col .faq-plus {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-faint);
  transition: transform 0.2s ease;
}

.faq-right-col .faq-item.open .faq-plus {
  transform: rotate(45deg);
  color: #10b981;
}

.faq-right-col .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-right-col .faq-a p {
  padding: 0 20px 20px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-hero-content {
    max-width: 100%;
  }
  .sp-hero-mockup-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .sp-iso-stage {
    max-width: 100%;
    overflow: hidden;
  }
  .sp-iso-scene-3d {
    transform: scale(0.85) rotateX(16deg) rotateY(-12deg) rotateZ(4deg);
    transform-origin: top center;
    margin: 0 auto;
  }
  .sp-dual-engine-grid,
  .sp-studio-layout,
  .sp-cases-layout,
  .sp-faq-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-left-col {
    position: static;
  }
  .sp-mesh-wrapper {
    grid-template-columns: 1fr;
  }
  .spd-dials-row,
  .spd-blueprint-grid,
  .sp-funnel-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-migration-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-flow-pipeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .sp-hero {
    padding: 50px 0 40px;
  }
  .shopify-dev-page .wrap {
    padding: 0 20px;
  }
  .sp-hero-title {
    font-size: 34px;
    line-height: 1.15;
  }
  .sp-hero-lead {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .sp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .sp-hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
  }
  .sp-hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }
  .sp-hero-mockup-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .sp-iso-stage {
    max-width: 100%;
    overflow: hidden;
    height: auto;
    min-height: 380px;
  }
  .sp-iso-scene-3d {
    width: 500px;
    max-width: none;
    transform: scale(0.66) rotateX(14deg) rotateY(-10deg) rotateZ(3deg);
    transform-origin: top center;
    margin: 0 auto;
  }
  .iso-balance-card {
    left: 0;
  }
  .iso-trend-card {
    right: 0;
  }
  .spw-workspace {
    grid-template-columns: 1fr;
  }
  .spd-dials-row,
  .spd-blueprint-grid,
  .sp-funnel-pipeline,
  .cro-assurance-bar,
  .sp-migration-matrix {
    grid-template-columns: 1fr;
  }
  .compare-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sfc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-storefront-sec,
  .sp-theme-sec,
  .sp-integrations-sec,
  .sp-perf-sec,
  .sp-cro-sec,
  .sp-migration-sec,
  .sp-cases-sec,
  .sp-faq-sec {
    padding: 54px 0;
  }
  .faq-left-col h2 {
    font-size: 26px;
  }
  .faq-right-col .faq-q {
    padding: 15px 16px;
    font-size: 14px;
  }
  .cta-pill-btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    padding: 13px 20px;
  }
}

@media (max-width: 480px) {
  .shopify-dev-page .wrap {
    padding: 0 20px;
  }
  .sp-hero-title {
    font-size: 28px;
  }
  .sp-hero-lead {
    font-size: 14px;
  }
  .sp-iso-stage {
    min-height: 310px;
  }
  .sp-iso-scene-3d {
    transform: scale(0.55) rotateX(12deg) rotateY(-8deg) rotateZ(2deg);
  }
  .sfc-stats-grid {
    grid-template-columns: 1fr;
  }
  .sp-floating-badge {
    display: none;
  }
}
