:root {
  --bg: #000000;
  --panel: #050505;
  --surface: #0b0b0b;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #ffff00;
  --accent-2: #ffff00;
  --text: #f6f7fb;
  --muted: #9aa2b5;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 120% at 30% 20%, rgba(50, 240, 200, 0.12), transparent 50%),
    radial-gradient(120% 120% at 70% 0%, rgba(255, 255, 0, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  padding: 32px 16px 48px;
}

.rb100-app {
  max-width: 1100px;
  margin: 0 auto;
}

.rb100-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.rb100-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
  font-size: 12px;
  padding-bottom: 0px;
}

.rb100-hero h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.rb100-lede {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.rb100-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.rb100-badge {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.rb100-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.rb100-panel {
  background: linear-gradient(145deg, var(--panel), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.rb100-summary__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rb100-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 11px;
  margin: 0 0 4px;
  padding-bottom: 0px;
}

.rb100-toggle {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  gap: 4px;
}

.rb100-toggle button {
  border: none;
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.rb100-toggle button.is-active {
  background: var(--text);
  color: #0b1118;
}

.rb100-cost-pill {
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--muted);
}

.rb100-cost-pill strong {
  color: var(--text);
  margin-right: 4px;
}

.rb100-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.rb100-kpi {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.rb100-kpi--accent {
  background: linear-gradient(135deg, rgba(50, 240, 200, 0.14), rgba(50, 240, 200, 0.05));
  border-color: rgba(221, 240, 50, 0.35);
}

.rb100-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rb100-subtext {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.rb100-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.rb100-highlight {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 0, 0.08);
  border: 1px solid rgba(255, 255, 0, 0.5);
}

.rb100-highlight__text {
  margin: 6px 0 0;
  font-size: 15px;
}

.rb100-highlight strong {
  color: var(--text);
}

.rb100-breakdown {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.rb100-details {
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 12px;
}

.rb100-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.rb100-cta {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rb100-cta__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rb100-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 180ms ease;
}

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

.rb100-btn--primary {
  background: linear-gradient(135deg, var(--accent), #23c39f);
  color: #032016;
  box-shadow: 0 8px 24px rgba(50, 240, 200, 0.25);
}

.rb100-btn--secondary {
  background: rgba(255, 255, 0, 0.14);
  color: var(--text);
  border: 1px solid rgba(255, 255, 0, 0.6);
}

.rb100-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.rb100-controls {
  display: grid;
  gap: 16px;
}

.rb100-control {
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.rb100-control__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
}

.rb100-chip {
  background: rgba(230, 240, 50, 0.14);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid rgba(224, 240, 50, 0.4);
}

input[type="range"] {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(50, 240, 200, 0.35));
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 18px rgba(50, 240, 200, 0.35);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 8px 18px rgba(50, 240, 200, 0.35);
  cursor: pointer;
}

.rb100-control__scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.rb100-presets {
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.rb100-preset__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rb100-preset__buttons button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.rb100-preset__buttons button:hover {
  background: rgba(50, 240, 200, 0.08);
  transform: translateY(-1px);
}

.rb100-compare {
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.rb100-compare ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.rb100-email {
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

.rb100-email__controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rb100-email input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.rb100-email__status {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  min-height: 18px;
}

.rb100-value.bump {
  animation: bump 260ms ease;
}

@keyframes bump {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .rb100-grid {
    grid-template-columns: 1fr;
  }

  .rb100-summary__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rb100-hero {
    flex-direction: column;
  }

  .rb100-badges {
    justify-content: flex-start;
  }
}
