/* Homepage comparison section — new, self-contained redesign. */
#custom-comparison-section.custom-comparison-section {
  position: relative;
  overflow: hidden;
  padding: var(--sy-section-pad-y, clamp(20px, 4vw, 32px)) 0;
  border: 0;
  color: #111a38;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #fff;
}
#custom-comparison-section .custom-section-center {
  width: min(100%, 1600px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.2vw, 50px);
}
/* Intro lives inside the section, same style as the other section intros */
#custom-comparison-intro {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#custom-comparison-intro .custom-badge-pill { margin-bottom: 14px; }
#custom-comparison-intro .custom-section-title {
  margin-bottom: 18px;
  font-size: clamp(26px, 2.1vw + 10px, 40px);
  letter-spacing: -0.02em;
}
#custom-comparison-intro .custom-section-subtitle {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}
#custom-comparison-section .comparison-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 34px);
  width: min(100%, 1440px);
  margin: clamp(28px, 3vw, 48px) auto 0;
  text-align: left;
}
#custom-comparison-section .comparison-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 780px;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 22px 0;
  border: 1px solid rgba(224, 225, 244, .88);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 42px rgba(62, 54, 137, .08);
}
#custom-comparison-section .comparison-card.old-way {
  border-color: rgba(247, 219, 220, .85);
  background: linear-gradient(180deg, rgba(255, 250, 250, .97), rgba(255, 255, 255, .95));
}
#custom-comparison-section .comparison-card.samyoj-way {
  border-color: rgba(220, 216, 255, .92);
  background: linear-gradient(180deg, rgba(252, 251, 255, .97), rgba(255, 255, 255, .96));
  box-shadow: 0 15px 42px rgba(92, 66, 210, .10);
}
#custom-comparison-section .comparison-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  margin: 0 0 11px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}
#custom-comparison-section .old-way .comparison-badge { color: #f02d2b; background: #ffe8e7; }
#custom-comparison-section .samyoj-way .comparison-badge { color: #6334f5; background: #eeeaff; }
#custom-comparison-section .comparison-card-title {
  margin: 0 0 5px;
  color: #0f172a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 1.7vw + 9px, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
}
#custom-comparison-section .comparison-card-desc {
  max-width: 96%;
  margin: 0 0 14px;
  color: #64748b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.6;
}
#custom-comparison-section .comparison-art {
  position: relative;
  z-index: 1;
  width: calc(100% + 44px);
  height: 382px;
  flex: 0 0 382px;
  margin: 0 -22px;
  overflow: hidden;
  background: #f4f3fa;
}
#custom-comparison-section .comparison-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
#custom-comparison-section .old-way .comparison-art img { object-position: center; }
#custom-comparison-section .comparison-list {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 14px 22px;
  list-style: none;
  border: 1px solid rgba(235, 235, 246, .9);
  border-radius: 27px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(67, 57, 137, .05);
  backdrop-filter: blur(10px);
}
#custom-comparison-section .comparison-item {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #eeeef5;
  color: #18203f;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.35;
}
#custom-comparison-section .comparison-item:last-child { border-bottom: 0; }
#custom-comparison-section .comparison-icon {
  display: block;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  margin: 0;
  padding: 5px;
  border-radius: 50%;
  stroke: #fff;
  stroke-width: 2.9;
}
#custom-comparison-section .old-way .comparison-icon { background: #ff453d; }
#custom-comparison-section .old-way .comparison-icon circle { fill: #ff453d; stroke: #ff453d; }
#custom-comparison-section .old-way .comparison-icon line { stroke: #fff; }
#custom-comparison-section .samyoj-way .comparison-icon { background: #6935f5; }
#custom-comparison-section .samyoj-way .comparison-icon path { stroke: transparent; }
#custom-comparison-section .samyoj-way .comparison-icon polyline {
  stroke: #fff;
  transform: translate(-3.5px, 3px);
}
#custom-comparison-section .comparison-flow {
  position: absolute;
  z-index: 4;
  top: 43%;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(236, 233, 255, .9);
  border-radius: 50%;
  color: #6739f6;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(74, 50, 183, .14);
  transform: translate(-50%, -50%);
}
#custom-comparison-section .comparison-flow svg { width: 42px; height: 42px; }

@media (max-width: 1100px) {
  #custom-comparison-section .comparison-container { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  #custom-comparison-section .comparison-card { min-height: 720px; }
  #custom-comparison-section .comparison-art { height: auto; aspect-ratio: 1.72; flex-basis: auto; }
  #custom-comparison-section .comparison-list { position: relative; right: auto; bottom: auto; left: auto; margin: -12px 12px 12px; }
  #custom-comparison-section .comparison-flow { display: none; }
}
@media (max-width: 640px) {
  #custom-comparison-section.custom-comparison-section { padding: var(--sy-section-pad-y, clamp(20px, 4vw, 32px)) 0; }
  #custom-comparison-section .custom-section-center { padding-inline: 16px; }
  #custom-comparison-intro .custom-section-title { font-size: clamp(29px, 8.4vw, 38px); letter-spacing: -.04em; }
  #custom-comparison-intro .custom-section-subtitle { font-size: 15px; line-height: 1.5; }
  #custom-comparison-section .comparison-container { gap: 18px; margin-top: 22px; }
  #custom-comparison-section .comparison-card { min-height: 0; padding: 16px 16px 0; border-radius: 22px; }
  #custom-comparison-section .comparison-badge { min-height: 26px; margin-bottom: 9px; padding: 6px 10px; border-radius: 7px; font-size: 10.5px; }
  #custom-comparison-section .comparison-card-title { font-size: clamp(23px, 6vw, 29px); }
  #custom-comparison-section .comparison-card-desc { max-width: 100%; margin-bottom: 12px; font-size: 14px; }
  #custom-comparison-section .comparison-art { width: calc(100% + 32px); aspect-ratio: 1.5; margin-inline: -16px; }
  #custom-comparison-section .comparison-list { margin: -9px 6px 9px; padding: 10px 14px; border-radius: 20px; }
  #custom-comparison-section .comparison-item { min-height: 42px; gap: 10px; font-size: 13px; }
  #custom-comparison-section .comparison-icon { width: 25px; height: 25px; flex-basis: 25px; padding: 5px; }
}
