:root {
  --category-accent: var(--sim, #0891b2);
  --sim-navy: #091a34;
  --sim-blue: #176bff;
  --sim-cyan: #37c7ee;
  --sim-muted: #61708a;
  --sim-line: #dfe6f0;
}

.sim-data-hero {
  max-width: none;
  margin: 0;
  padding: 34px 0 30px;
  background:
    radial-gradient(circle at 8% 8%, rgba(81, 183, 255, .19), transparent 32%),
    radial-gradient(circle at 90% 14%, rgba(80, 229, 205, .14), transparent 34%),
    linear-gradient(180deg, #f7fbff, #fff);
}

.sim-hero-grid {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: minmax(340px, .75fr) minmax(640px, 1.25fr);
  gap: 34px;
  align-items: center;
}

.sim-hero-copy {
  max-width: 520px;
  padding: 18px 4px 18px 14px;
}

.sim-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #075bd8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sim-hero-kicker::before {
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2cc9d1;
  box-shadow: 0 0 0 4px rgba(44, 201, 209, .16);
  content: "";
}

.sim-data-hero h1 {
  max-width: 540px;
  margin: 0;
  color: var(--sim-navy);
  font-size: clamp(40px, 4.5vw, 61px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.058em;
}

.sim-hero-lead {
  margin: 18px 0 0;
  color: var(--sim-muted);
  font-size: 15px;
  line-height: 1.7;
}

.sim-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.sim-primary,
.sim-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.sim-primary {
  background: var(--sim-blue);
  box-shadow: 0 10px 24px rgba(23, 107, 255, .23);
  color: #fff;
}

.sim-primary:hover { background: #075bd8; }
.sim-secondary { border-color: var(--sim-line); background: #fff; color: #42516a; }

.sim-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.sim-trust-row span {
  border: 1px solid #dfe8f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  padding: 6px 9px;
  color: #4f6078;
  font-size: 10px;
  font-weight: 800;
}

.sim-planner {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(235px, .82fr) minmax(330px, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(194, 210, 231, .92);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(16, 53, 99, .13);
}

.sim-planner-visual {
  position: relative;
  min-height: 505px;
  overflow: hidden;
  background: #0c2244;
  isolation: isolate;
}

.sim-planner-backdrop,
.sim-planner-backdrop picture,
.sim-planner-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sim-planner-backdrop img {
  object-fit: cover;
  object-position: center;
  opacity: .42;
}

.sim-planner-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 25, 56, .15), rgba(5, 25, 56, .84)),
    radial-gradient(circle at 48% 42%, rgba(40, 190, 250, .22), transparent 40%);
  pointer-events: none;
  content: "";
}

.sim-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(72%, 224px);
  min-height: 388px;
  border: 7px solid #06142a;
  border-radius: 34px;
  background: linear-gradient(155deg, #0e3970, #071a36 72%);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .12);
  padding: 23px 18px 18px;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.sim-phone::before {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 62px;
  height: 16px;
  border-radius: 999px;
  background: #030a15;
  content: "";
  transform: translateX(-50%);
}

.sim-phone-status {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(255, 255, 255, .78);
  font-size: 8px;
  font-weight: 800;
}

.sim-signal {
  display: flex;
  height: 13px;
  align-items: end;
  gap: 2px;
}

.sim-signal i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #69e2f1;
}

.sim-signal i:nth-child(1) { height: 4px; }
.sim-signal i:nth-child(2) { height: 7px; }
.sim-signal i:nth-child(3) { height: 10px; }
.sim-signal i:nth-child(4) { height: 13px; }

.sim-data-ring {
  --ring-progress: 150deg;
  position: relative;
  display: grid;
  width: 132px;
  height: 132px;
  margin: 34px auto 16px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#49d8ef var(--ring-progress), rgba(255, 255, 255, .12) 0);
  transition: background .2s ease;
}

.sim-data-ring::before {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #0a254b;
  box-shadow: inset 0 0 24px rgba(59, 200, 240, .12);
  content: "";
}

.sim-ring-copy { position: relative; z-index: 1; color: #fff; text-align: center; }
.sim-ring-copy strong { display: block; font-size: 25px; line-height: 1; }
.sim-ring-copy span { display: block; margin-top: 6px; color: #a9c2df; font-size: 8px; font-weight: 800; }

.sim-route-preview { display: grid; gap: 9px; margin-top: 22px; }
.sim-route-row { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center; color: #dceafb; font-size: 8px; font-weight: 750; }
.sim-route-dot { width: 10px; height: 10px; border: 2px solid #6fe0ed; border-radius: 50%; box-shadow: 0 0 0 3px rgba(111, 224, 237, .12); }
.sim-route-row:last-child .sim-route-dot { border-color: #63ffa9; }
.sim-route-row em { color: #8daaca; font-style: normal; }

.sim-planner-controls {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 25px 24px 22px;
}

.sim-planner-eyebrow {
  margin: 0;
  color: #075bd8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sim-planner-controls h2 {
  margin: 7px 0 0;
  color: var(--sim-navy);
  font-size: 25px;
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.sim-control-group { margin-top: 21px; }

.sim-control-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #273650;
  font-size: 11px;
  font-weight: 850;
}

.sim-control-label output { color: #075bd8; font-size: 13px; }

.sim-days-range {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #176bff var(--range-progress, 20%), #e5ebf4 0);
  appearance: none;
}

.sim-days-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #176bff;
  box-shadow: 0 3px 10px rgba(23, 107, 255, .35);
  appearance: none;
}

.sim-days-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #176bff;
  box-shadow: 0 3px 10px rgba(23, 107, 255, .35);
}

.sim-range-scale { display: flex; justify-content: space-between; margin-top: 7px; color: #8995a8; font-size: 8px; font-weight: 750; }

.sim-usage-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }

.sim-usage-option {
  min-height: 58px;
  border: 1px solid var(--sim-line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 5px;
  color: #59677d;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
}

.sim-usage-option span { display: block; margin-top: 3px; color: #96a1b3; font-size: 7px; font-weight: 700; }
.sim-usage-option[aria-pressed="true"] { border-color: #176bff; background: #f1f6ff; color: #075bd8; box-shadow: inset 0 0 0 1px rgba(23, 107, 255, .08); }

.sim-hotspot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  border-top: 1px solid #edf1f6;
  padding-top: 15px;
}

.sim-hotspot-row strong { display: block; color: #273650; font-size: 10px; }
.sim-hotspot-row span { display: block; margin-top: 2px; color: #8995a8; font-size: 8px; }

.sim-switch { position: relative; display: inline-flex; flex: 0 0 auto; }
.sim-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sim-switch-track { position: relative; display: block; width: 42px; height: 24px; border-radius: 999px; background: #dce3ed; transition: background .2s ease; }
.sim-switch-track::after { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20, 35, 58, .22); content: ""; transition: transform .2s ease; }
.sim-switch input:checked + .sim-switch-track { background: #176bff; }
.sim-switch input:checked + .sim-switch-track::after { transform: translateX(18px); }
.sim-switch input:focus-visible + .sim-switch-track { outline: 3px solid rgba(23, 107, 255, .26); outline-offset: 2px; }

.sim-plan-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: auto;
  border: 1px solid #dce8fa;
  border-radius: 13px;
  background: linear-gradient(135deg, #f1f7ff, #f5fdff);
  padding: 13px 14px;
}

.sim-plan-result small { display: block; color: #718098; font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sim-plan-result strong { display: block; margin-top: 3px; color: #075bd8; font-size: 22px; line-height: 1.1; }
.sim-plan-result em { color: #58677d; font-size: 9px; font-style: normal; font-weight: 800; text-align: right; }

.sim-planner-note { margin: 9px 0 0; color: #8995a8; font-size: 8px; line-height: 1.45; }

.sim-data-hero button:focus-visible,
.sim-data-hero a:focus-visible { outline: 3px solid rgba(23, 107, 255, .3); outline-offset: 3px; }

@media (max-width: 1120px) {
  .sim-hero-grid { width: min(100% - 28px, 1040px); grid-template-columns: minmax(300px, .72fr) minmax(590px, 1.28fr); gap: 22px; }
  .sim-data-hero h1 { font-size: 43px; }
  .sim-planner { grid-template-columns: 225px minmax(320px, 1fr); }
}

@media (max-width: 960px) {
  .sim-hero-grid { grid-template-columns: 1fr; }
  .sim-hero-copy { max-width: 700px; padding: 10px 5px; text-align: center; }
  .sim-hero-kicker { justify-content: center; }
  .sim-data-hero h1 { max-width: 700px; margin-inline: auto; }
  .sim-hero-actions, .sim-trust-row { justify-content: center; }
  .sim-planner { width: min(100%, 760px); margin-inline: auto; }
}

@media (max-width: 650px) {
  .sim-data-hero { padding: 20px 0 24px; }
  .sim-hero-grid { width: calc(100% - 24px); gap: 14px; }
  .sim-hero-copy { display: contents; }
  .sim-hero-kicker { order: 1; margin: 0; font-size: 10px; }
  .sim-data-hero h1 { order: 2; font-size: 36px; text-align: center; }
  .sim-hero-lead { order: 3; margin: 0; padding: 0 5px; font-size: 12px; text-align: center; }
  .sim-hero-actions { order: 4; margin-top: 2px; }
  .sim-primary { width: min(100%, 280px); }
  .sim-secondary { display: none; }
  .sim-trust-row { order: 6; margin-top: 0; }
  .sim-planner { order: 5; grid-template-columns: 1fr; border-radius: 17px; }
  .sim-planner-visual { min-height: 270px; }
  .sim-phone { width: 158px; min-height: 242px; border-width: 5px; border-radius: 26px; padding: 19px 13px 11px; }
  .sim-phone::before { top: 6px; width: 45px; height: 11px; }
  .sim-data-ring { width: 90px; height: 90px; margin: 22px auto 10px; }
  .sim-data-ring::before { inset: 8px; }
  .sim-ring-copy strong { font-size: 19px; }
  .sim-route-preview { gap: 6px; margin-top: 12px; }
  .sim-route-row { font-size: 6.5px; }
  .sim-planner-controls { padding: 20px 16px 16px; }
  .sim-planner-controls h2 { font-size: 22px; }
  .sim-control-group { margin-top: 17px; }
  .sim-plan-result { margin-top: 18px; }
}
