/* Jämförelsetabell mot ModFiveM och FiveForge — Obsidian + Varm Sand (Arctic / Ränderna). */
.smidity-compare {
  color: #f4f6fa;
  scroll-margin-top: 32px;
}

.smidity-compare--home {
  width: calc(100% - 2 * var(--page-gutter, 48px));
  max-width: var(--content-width, 1200px);
  margin: 0 auto;
  padding: 72px 0 80px;
  border-top: 1px solid var(--linje, rgba(148, 163, 184, 0.18));
}

.smidity-compare--seo {
  margin: 0;
  padding: 28px 22px;
  border-radius: 20px;
  border: 1px solid rgba(241, 212, 177, 0.24);
  background: linear-gradient(160deg, rgba(18, 28, 42, 0.96) 0%, rgba(10, 16, 26, 0.98) 100%);
}

.smidity-compare--pricing {
  margin: 36px 0 28px;
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid rgba(241, 212, 177, 0.24);
  background: linear-gradient(160deg, rgba(18, 28, 42, 0.96) 0%, rgba(10, 16, 26, 0.98) 100%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.cmp-head {
  max-width: 68ch;
  margin-bottom: 28px;
}

.cmp-kicker {
  margin: 0 0 10px;
  color: #f1d4b1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.smidity-compare h2 {
  margin: 0;
  font-family: SpaceGrotesk, Manrope, sans-serif;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}

.smidity-compare--pricing h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

.cmp-lead {
  margin: 14px 0 0;
  color: #b8c4d4;
  font-size: 17px;
  line-height: 1.6;
}

.cmp-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.cmp-stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(241, 212, 177, 0.26);
  background:
    linear-gradient(104deg, transparent 0 76%, rgba(241, 212, 177, 0.08) 76% 83%, transparent 83% 85.5%, rgba(241, 212, 177, 0.055) 85.5% 87%, transparent 87%),
    linear-gradient(155deg, rgba(22, 33, 49, 0.95) 0%, rgba(12, 18, 29, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(241, 212, 177, 0.09);
}

.cmp-stat-num {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: #6ee7b7;
  font-family: SpaceGrotesk, Manrope, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cmp-stat-card h3 {
  margin: 0 0 6px;
  font-family: SpaceGrotesk, Manrope, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
}

.cmp-stat-card p {
  margin: 0;
  color: #aebbc9;
  font-size: 14.5px;
  line-height: 1.5;
}

.cmp-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(14, 22, 34, 0.98) 0%, rgba(9, 14, 23, 0.99) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.cmp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 15px;
}

.cmp-table thead th {
  padding: 20px 18px 18px;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(12, 19, 30, 0.95);
}

.cmp-th-feature {
  width: 31%;
  color: #93a3b6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cmp-th-smidity {
  width: 25%;
  position: relative;
  background:
    linear-gradient(104deg, transparent 0 70%, rgba(241, 212, 177, 0.11) 70% 80%, transparent 80% 84%, rgba(241, 212, 177, 0.08) 84% 86%, transparent 86%),
    linear-gradient(180deg, rgba(241, 212, 177, 0.22) 0%, rgba(241, 212, 177, 0.08) 100%) !important;
  border-left: 2px solid rgba(241, 212, 177, 0.72);
  border-right: 2px solid rgba(241, 212, 177, 0.72);
  border-top: 3px solid #f1d4b1;
}

.cmp-th-other {
  width: 22%;
  color: #8f9fb3;
}

.cmp-winner-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1d4b1;
  color: #09101a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cmp-brand-name {
  display: block;
  font-family: SpaceGrotesk, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cmp-th-smidity .cmp-brand-name {
  color: #fff;
  font-size: 22px;
}

.cmp-table tbody tr {
  transition: background-color 0.15s ease;
}

.cmp-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.cmp-table tbody th,
.cmp-table tbody td {
  padding: 15px 18px;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}

.cmp-row-title {
  display: block;
  font-weight: 700;
  color: #f4f6fa;
  line-height: 1.35;
}

.cmp-row-sub {
  display: block;
  margin-top: 3px;
  color: #8fa0b5;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.cmp-col-smidity {
  background: linear-gradient(180deg, rgba(241, 212, 177, 0.085), rgba(241, 212, 177, 0.055));
  border-left: 2px solid rgba(241, 212, 177, 0.62);
  border-right: 2px solid rgba(241, 212, 177, 0.62);
}

.cmp-table tbody tr:last-child .cmp-col-smidity {
  border-bottom: 2px solid rgba(241, 212, 177, 0.62);
}

.cmp-cell-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cmp-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmp-icon--yes circle {
  fill: rgba(52, 211, 153, 0.16);
  stroke: #34d399;
}

.cmp-icon--yes path {
  stroke: #6ee7b7;
}

.cmp-icon--no circle {
  fill: rgba(248, 113, 113, 0.12);
  stroke: rgba(248, 113, 113, 0.55);
}

.cmp-icon--no path {
  stroke: #f87171;
}

.cmp-icon--mid circle {
  fill: rgba(251, 191, 36, 0.12);
  stroke: rgba(251, 191, 36, 0.52);
}

.cmp-icon--mid path {
  stroke: #fbbf24;
}

.cmp-cell-copy {
  min-width: 0;
}

.cmp-val {
  display: block;
  font-weight: 700;
  line-height: 1.3;
}

.cmp-col-smidity .cmp-val {
  color: #fff;
  font-size: 15.5px;
}

.cmp-col-other .cmp-cell-inner--no .cmp-val {
  color: #c9a3a8;
  font-weight: 600;
}

.cmp-col-other .cmp-cell-inner--mid .cmp-val {
  color: #cfd8e3;
  font-weight: 600;
}

.cmp-col-other .cmp-cell-inner--yes .cmp-val {
  color: #cfd8e3;
}

.cmp-note {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #93a3b6;
}

.cmp-col-smidity .cmp-note {
  color: #d8c8b4;
}

.cmp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.cmp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

.cmp-btn--primary {
  background: #f1d4b1;
  color: #09101a;
}

.cmp-btn--primary:hover {
  background: #f8e4cb;
}

.cmp-btn--ghost {
  background: rgba(241, 212, 177, 0.08);
  color: #f1d4b1;
  border: 1px solid rgba(241, 212, 177, 0.34);
}

.cmp-btn--ghost:hover {
  background: rgba(241, 212, 177, 0.15);
  border-color: rgba(241, 212, 177, 0.55);
}

.cmp-footnote {
  margin: 16px 0 0;
  color: #7d8ea3;
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cmp-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .smidity-compare--home {
    width: calc(100% - 32px);
    padding: 44px 0 52px;
  }

  .smidity-compare--pricing {
    padding: 24px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-btn,
  .cmp-table tbody tr {
    transition: none;
  }
}
