body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #fff;
}

.select-wrap {
  position: relative;
  display: block;
  border-radius: 14px;
  padding: 1px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(27, 44, 80, .08);
}
.select-wrap select {
  width: 100%;
  border: 1px solid #daddea;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1f2349;
  background: #fff;
}
.select-wrap[data-fancy-ready="1"] select {
  display: none;
}
.custom-select-display {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, rgba(102, 117, 247, .08), rgba(87, 0, 123, .05));
  border-radius: 12px;
  padding: 14px 48px 14px 16px;
  font-weight: 600;
  color: #2b2b2b;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: box-shadow .15s ease;
}
.custom-select-display::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-top-color: #7b80a6;
  pointer-events: none;
}
.custom-select-display.open {
  box-shadow: 0 0 0 3px rgba(102, 117, 247, .2);
}
.custom-select-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #dfe3f5;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(22, 34, 88, .15);
  padding: 6px;
  list-style: none;
  margin: 0;
  max-height: 220px;
  overflow: auto;
  display: none;
  z-index: 40;
}
.custom-select-panel.open {
  display: block;
}
.custom-select-option {
  border: 0;
  width: 100%;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: #2b2b2b;
  cursor: pointer;
}
.custom-select-option[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(102, 117, 247, .12), rgba(87, 0, 123, .08));
}
.custom-select-option:disabled {
  color: #9ea2bb;
  cursor: default;
}
.custom-select-option:not(:disabled):hover {
  background: rgba(102, 117, 247, .08);
}

.notify-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(2px);
  z-index: 2000;
}
.notify-overlay.active {
  display: flex;
}
.notify-card {
  width: min(380px, 100%);
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e7fb;
  box-shadow: 0 25px 65px rgba(21, 24, 71, 0.16);
  padding: 20px 22px 18px;
  display: grid;
  gap: 10px;
  position: relative;
}
.notify-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(125deg, rgba(102,117,247,.45), rgba(48,192,220,.35));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.notify-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #1f2349;
}
.notify-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4a4f6b;
  line-height: 1.45;
}
.notify-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}
.notify-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  background: #eef2ff;
  color: #2b2f6b;
  transition: transform .1s ease, box-shadow .15s ease;
}
.notify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(54, 65, 174, 0.2);
}
.notify-btn.primary {
  background: linear-gradient(135deg, #6675F7, #57007B);
  color: #fff;
  box-shadow: 0 12px 25px rgba(87, 0, 123, 0.25);
}
.notify-btn.ghost {
  background: transparent;
  color: #4b4f73;
  border: 1px solid #dfe3f9;
  box-shadow: none;
}
.notify-btn.ghost:hover {
  box-shadow: 0 6px 14px rgba(88, 95, 151, .18);
}
.notify-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.notify-input label {
  font-size: 0.78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6f7392;
}
.notify-input input {
  border: 1px solid #dfe3f9;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #1f2349;
}
.notify-input.error input {
  border-color: #f97316;
}
.notify-input .notify-error {
  font-size: 0.78rem;
  color: #f97316;
  display: none;
}
.notify-input.error .notify-error {
  display: block;
}
.notify-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  color: #6f7392;
  cursor: pointer;
}
.notify-card.info::after,
.notify-card.success::after,
.notify-card.warning::after {
  content: attr(data-label);
  position: absolute;
  top: -12px;
  left: 18px;
  font-size: 0.7rem;
  letter-spacing: .08em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.notify-card.info::after {
  background: #3b82f6;
}
.notify-card.success::after {
  background: #10b981;
}
.notify-card.warning::after {
  background: #f97316;
}

.content {
  text-align: center;
  padding: 60px 20px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.intro {
  color: #555;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 20px;
  text-align: justify;
}

.desc {
  color: #777;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: justify;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

/* FIX: 135deg (top-left -> bottom-right) */
.btn-gradient {
  background: linear-gradient(135deg, #6675F7, #57007B);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.btn-gray {
  background: #d9d9d9;
  color: #333;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

/* Feature Section Styling */
.feature-section {
  margin-top: 30px;
  background: transparent;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.feature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  --feature-gap: 20px;
  --feature-edge-left: 500px;
  --feature-edge-right: 500px;
  --feature-boundary-left: 10px;
  --feature-boundary-right: 0px;
  padding-left: var(--feature-boundary-left);
  padding-right: var(--feature-boundary-right);
}
.feature-row::before,
.feature-row::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}
.feature-row::before {
  left: 0;
  width: var(--feature-edge-left);
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0));
}
.feature-row::after {
  right: 0;
  width: var(--feature-edge-right);
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0));
}
.feature-track {
  display: inline-flex;
  align-items: center;
  gap: var(--feature-gap);
  will-change: transform;
}
.bottom-row {
  opacity: 0.65;
}

.center-labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: transform 0.2s ease;
}

.tag.good {
  background: #f0f7ff;
  color: #007aff;
  border: 1px solid #d0e6ff;
}

.tag.bad {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #e0e0e0;
}

.tag.info {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #e0e0e0;
}

.tag.label {
  background: transparent;
  color: #777;
  font-weight: 600;
}

.tag.chain {
  background: #efefef;
  color: #000;
  font-weight: 600;
  border: 1px solid #ccc;
}

.feature-tooltip {
  position: absolute;
  z-index: 50;
  background: #fff;
  color: #2f3146;
  border: 1px solid #e4e7f1;
  box-shadow: 0 12px 32px rgba(26, 39, 89, .12);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 320px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.feature-tooltip::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 2px 4px rgba(27, 44, 80, .18));
}
.feature-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations removed; movement handled via JS */

