.sc-section {
  position: relative;
  padding: 4.5rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.06);
  overflow: hidden;
}

.sc-section::before,
.sc-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.sc-section::before {
  top: 10%;
  left: -10%;
  width: 420px;
  height: 420px;
  background: rgb(29 155 240 / 0.12);
}

.sc-section::after {
  bottom: 0;
  right: -5%;
  width: 360px;
  height: 360px;
  background: rgb(16 185 129 / 0.08);
}

.sc-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.sc-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sc-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.sc-header p {
  color: rgb(248 250 252 / 0.65);
  font-size: 1rem;
  max-width: 40rem;
  margin: 0 auto;
}

.sc-keys-callout {
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: rgb(29 155 240 / 0.06);
  border: 1px solid rgb(29 155 240 / 0.2);
  border-radius: 1rem;
}

.sc-keys-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1d9bf0;
  margin-bottom: 0.75rem;
}

.sc-keys-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(248 250 252 / 0.8);
}

.sc-keys-steps code {
  font-size: 0.8125em;
}

.sc-keys-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.sc-keys-link:hover {
  text-decoration: underline;
}

.sc-controls {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .sc-controls {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.sc-slider-wrap label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: rgb(248 250 252 / 0.85);
}

.sc-slider-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #1d9bf0;
  font-size: 1.125rem;
}

.sc-slider {
  width: 100%;
  accent-color: #1d9bf0;
  cursor: pointer;
}

.sc-slider-meta {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.sc-toggle {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgb(248 250 252 / 0.75);
  cursor: pointer;
  user-select: none;
}

.sc-toggle input {
  accent-color: #1d9bf0;
  width: 1rem;
  height: 1rem;
}

.sc-hero-cost {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sc-hero-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.sc-hero-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: #1d9bf0;
  text-shadow: 0 0 40px rgb(29 155 240 / 0.35);
}

.sc-hero-period {
  font-size: 1.125rem;
  color: rgb(248 250 252 / 0.55);
}

.sc-card {
  background: linear-gradient(165deg, rgb(24 24 27 / 0.95), rgb(9 9 11 / 0.98));
  border: 1px solid rgb(63 63 70 / 0.8);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgb(29 155 240 / 0.08),
    0 32px 80px rgb(0 0 0 / 0.45);
}

.sc-panels {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .sc-panels {
    grid-template-columns: 1fr 1fr;
  }
}

.sc-panel {
  padding: 1.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

@media (min-width: 900px) {
  .sc-panel:first-child {
    border-right: 1px solid rgb(255 255 255 / 0.06);
    border-bottom: none;
  }

  .sc-panel:last-child {
    border-bottom: none;
  }
}

.sc-panel-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.sc-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 220px;
  padding: 1rem 0.5rem 0;
  background:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(rgb(255 255 255 / 0.02) 1px, transparent 1px) 0 0 / 100% 12.5%;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.05);
}

.sc-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.sc-bar-value {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgb(248 250 252 / 0.75);
  margin-bottom: 0.375rem;
  white-space: nowrap;
}

.sc-bar-col-you .sc-bar-value {
  color: #1d9bf0;
}

.sc-bar-track {
  width: 100%;
  max-width: 3rem;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sc-bar-fill {
  width: 100%;
  height: var(--bar-height, 0%);
  min-height: 4px;
  border-radius: 0.375rem 0.375rem 0.125rem 0.125rem;
  animation: sc-bar-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: bottom;
}

.sc-bar-fill-you {
  background: linear-gradient(180deg, #38bdf8, #1d9bf0);
  box-shadow: 0 0 24px rgb(29 155 240 / 0.45);
}

.sc-bar-fill-competitor {
  background: linear-gradient(180deg, rgb(113 113 122 / 0.7), rgb(63 63 70 / 0.9));
}

.sc-bar-name {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: rgb(248 250 252 / 0.55);
  text-align: center;
  line-height: 1.2;
}

.sc-bar-col-you .sc-bar-name {
  color: rgb(248 250 252 / 0.9);
  font-weight: 600;
}

@keyframes sc-bar-grow {
  from {
    transform: scaleY(0);
    opacity: 0.5;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

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

.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.sc-table th {
  text-align: left;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.sc-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
  color: rgb(248 250 252 / 0.85);
  vertical-align: middle;
}

.sc-row-you {
  background: rgb(29 155 240 / 0.08);
}

.sc-row-you td:first-child strong {
  color: #1d9bf0;
}

.sc-mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-weight: 600;
}

.sc-tool-site {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.sc-save-pill {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(52 211 153);
  background: rgb(16 185 129 / 0.12);
  border-radius: 9999px;
  white-space: nowrap;
}

.sc-formula {
  font-size: 0.8125rem !important;
  color: var(--muted) !important;
  text-align: center;
  padding-top: 1rem !important;
}

.sc-card-footer {
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgb(52 211 153);
  background: rgb(16 185 129 / 0.06);
  border-top: 1px solid rgb(16 185 129 / 0.15);
}

.sc-disclaimer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.sc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .sc-table thead {
    display: none;
  }

  .sc-table tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgb(255 255 255 / 0.02);
    border-radius: 0.5rem;
  }

  .sc-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 0.375rem 0;
  }

  .sc-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    margin-right: 1rem;
  }

  .sc-table tfoot tr {
    background: none;
    padding: 0;
  }

  .sc-table tfoot td {
    display: block;
    text-align: center;
  }
}

/* Compare page extras */
.compare-page .sc-section {
  border-top: none;
  padding-top: 2rem;
}

.compare-detail {
  padding: 4rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.compare-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compare-tool-card {
  padding: 1.5rem;
  background: rgb(30 41 59 / 0.35);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: 1rem;
}

.compare-tool-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.compare-tool-card .compare-price {
  font-family: ui-monospace, monospace;
  color: rgb(248 113 113 / 0.9);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.compare-tool-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(248 250 252 / 0.65);
}

.compare-tool-card.compare-you {
  border-color: rgb(29 155 240 / 0.35);
  background: rgb(29 155 240 / 0.06);
}

.compare-tool-card.compare-you .compare-price {
  color: #1d9bf0;
}

.compare-why {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.compare-why h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
}

.compare-why p {
  color: rgb(248 250 252 / 0.65);
  line-height: 1.65;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 36rem;
  display: grid;
  gap: 0.75rem;
}

.compare-list li {
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
  color: rgb(248 250 252 / 0.8);
  font-size: 0.9375rem;
}

.compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(52 211 153);
  font-weight: 700;
}

.compare-keys-section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.compare-keys-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.compare-keys-lead {
  text-align: center;
  color: rgb(248 250 252 / 0.65);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.compare-keys-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .compare-keys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compare-keys-card {
  padding: 1.25rem;
  background: rgb(30 41 59 / 0.35);
  border: 1px solid rgb(255 255 255 / 0.07);
  border-radius: 0.75rem;
}

.compare-keys-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #1d9bf0;
}

.compare-keys-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(248 250 252 / 0.75);
  margin-bottom: 0.5rem;
}

.compare-keys-card p:last-child {
  margin-bottom: 0;
}

.compare-keys-note {
  font-size: 0.8125rem !important;
  color: var(--muted) !important;
}

.compare-keys-card code {
  font-size: 0.75rem;
}
