:root {
  --bg: #040615;
  --panel: rgba(17, 22, 39, 0.55);
  --text: #f8fafc;
  --muted: #86a0c8;
  --border: rgba(255, 255, 255, 0.1);
  --gold: #f59e0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 40%, rgba(239, 68, 68, 0.17), transparent 44%),
    radial-gradient(circle at 20% 25%, rgba(59, 130, 246, 0.09), transparent 35%),
    var(--bg);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 18px 18px 10px;
}

.slides-wrapper {
  position: relative;
  overflow: hidden;
}

.slides-track {
  position: relative;
  min-height: calc(100vh - 95px);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  height: calc(100vh - 120px);
  align-items: center;
}

.slide-left {
  padding: 8px 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #9db5dd;
  font-size: 12px;
  letter-spacing: 2px;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fb7185;
  box-shadow: 0 0 9px rgba(251, 113, 133, 0.8);
}

.badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.popular {
  background: rgba(124, 58, 237, 0.22);
  color: #ddd6fe;
}

.badge.best {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.3), rgba(239, 68, 68, 0.24));
  color: #fff;
}

.plan-name {
  margin: 0;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -1.5px;
}

.plan-tagline {
  margin: 8px 0 18px;
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
  letter-spacing: 2px;
}

.price-box {
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0;
  margin: 0 0 14px;
  cursor: pointer;
}

.price-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 2px;
  color: #adc5e8;
}

.price-main {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -2px;
}

.price-currency {
  margin-right: 4px;
  font-size: 22px;
  color: #f87171;
}

.price-per {
  font-size: 14px;
  color: #9cc0e8;
}

.chips {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

.chip {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
}

.setup {
  margin: 10px 0 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 23, 0.45);
  font-size: 12px;
  color: #fdba74;
}

.setup strong {
  color: #f59e0b;
}

.setup-extra {
  display: block;
  margin-top: 6px;
  color: #fdba74;
}

.add-user {
  margin: 10px 0 12px;
  padding: 8px 12px;
  border-left: 2px solid #fb7185;
  background: rgba(15, 23, 42, 0.38);
  border-radius: 0 8px 8px 0;
}

.add-user strong {
  color: #f87171;
}

.btn {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #d5e6ff;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn.secondary {
  width: 100%;
  margin-top: 6px;
}

.addons-title {
  margin: 16px 0 8px;
}

.addons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.addon-chip {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 12px;
  background: rgba(245, 158, 11, 0.08);
}

.slide-right {
  padding-right: 8px;
}

.section-title {
  margin: 0 0 10px;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

.feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 82px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(17, 24, 39, 0.45);
  padding: 12px;
  font-size: 12.5px;
}

.feature.off {
  border-color: rgba(148, 163, 184, 0.25);
  color: #7f94b4;
  opacity: 0.6;
}

.feature.addon {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.feature.highlight {
  border-color: rgba(239, 68, 68, 0.6);
}

.feature-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
}

.feature.addon .feature-icon {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
}

.feature.off .feature-icon {
  border-color: rgba(148, 163, 184, 0.45);
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
}

.bottom-bar {
  margin-top: 2px;
  height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.bar-left,
.bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-right {
  justify-content: flex-end;
}

.footer-brand {
  font-size: 12px;
  color: #9eb8dd;
  letter-spacing: 0.8px;
}

.footer-brand strong {
  color: #a855f7;
}

.slide-index {
  color: #627a9f;
  font-size: 10px;
  letter-spacing: 1px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(148, 163, 184, 0.4);
}

.dot.active {
  width: 22px;
  background: var(--dot-accent);
}

.nav-btn.arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  color: #d8e9ff;
  font-size: 18px;
}

.nav-btn:disabled,
.btn:disabled,
.stepper button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.overlay-card {
  width: min(920px, 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #13131f;
  padding: 20px;
  position: relative;
}

.offer-card {
  width: min(460px, 100%);
  text-align: center;
}

.offer-old {
  margin: 0;
  color: var(--muted);
  text-decoration: line-through;
}

.offer-new {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 10px;
}

.offer-value {
  font-size: 2.2rem;
  font-weight: 800;
}

.proposal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-label {
  display: block;
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.field {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
}

.field-error {
  border-color: #ef4444;
}

.sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper button {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #d5e6ff;
}

.check-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.proposal-summary {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.summary-main {
  font-size: 1.5rem;
  margin: 4px 0;
}

.summary-sub {
  margin: 0;
  color: var(--muted);
}

.proposal-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .slide-inner {
    grid-template-columns: 1fr;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 4px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .app-shell {
    padding: 10px 10px 8px;
  }

  .plan-name {
    font-size: 44px;
  }

  .price-main {
    font-size: 54px;
  }

  .proposal-grid {
    grid-template-columns: 1fr;
  }

  .proposal-actions {
    flex-direction: column;
  }

  .bottom-bar {
    grid-template-columns: 1fr;
    height: auto;
    gap: 8px;
    padding-top: 8px;
  }

  .bar-left,
  .bar-right {
    justify-content: center;
  }
}
